完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

2277 17

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# W& \3 ]; N1 n* r/ Q- R3 {* o7 F2 b8 I& M/ q  H

  1. , M$ i! t4 ]" O, W: V4 }) r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 I2 b' T: `3 e' M2 T) s

  3. ' s: P- D$ z& c
  4. ### What we need ###7 [8 Q9 I9 c* B: J% F6 Y: Z# `, w. w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 |2 |7 ?# c8 {$ g8 e7 t
  6. will not explain how this can be done - there are documents out there for the 5 t) W5 `- s4 W" u  e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 N5 Q& }, z6 {" U  {+ m+ A$ y
  8. and a user account (username + password) that has the permissions to do stuff" K6 x2 z+ }6 q$ h
  9. with the database. Additionally, you will need a vendor library installed on the& @' U% |1 ^: h/ h; ]
  10. local machine, this came with my MySQL install.
    # s% g5 ~+ t; z, |# a2 ~7 p
  11. These instructions will not tell you how you might transfer your data from the
    + N' G  B4 g+ S& D7 w5 T# _9 x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * [; k% y: K' m. s3 R% q
  13. database.. e( r* v5 _# J' U( @+ h
  14. Some users have reported ways to import a SQLite database into MySQL, but at- ^2 n) i4 X3 [, i1 \4 t
  15. the time of writing, there are still too many issues - check the current status+ @0 h2 `1 n, F( Y7 s* h! x
  16. in the TeamSpeak forums if you are interested.
    + C3 b' D( v% p5 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 c$ a) Q4 g$ }; {( P) d
  18. Borland was used. This driver can only interface with the client library that
      B8 y: l3 H" A6 x" r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' }, I' E7 |% g% V& J
  20. client library - basically all you have to do is to use a 3.x client library as + K: H6 U% M8 L2 i2 q, ^1 J. a+ m
  21. "VendorLib" and a 4.x database to connect to.
    ) V7 r% Y5 b- i1 p: Z  \7 e6 h" P
  22. If you need more info about dbExpress, you can contact Borland./ D" G! k5 f6 h( h% h& x9 J

  23.   e' R' O+ T# s( d1 p  j
  24. ### Doing the work ###
    8 B6 |. K/ y; M% G' W2 C# g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( f" J* G- h# G* X) J
  26. the perquisites right, just open your server.ini file, and add this section at0 u3 N9 ^, V0 f9 \
  27. the end:
    . f, I7 x; t( Q
  28. ---cut here---5 @1 g! f% K1 l; D
  29. [DBEXPRESS]
    0 i  D! S3 {0 @+ b
  30. sqldir=mysql_sql
    8 h7 x, J+ Z6 ^- r
  31. Drivername=mysql  b8 B- {# F# _' [$ ~: P4 }
  32. Database=Your_Database_Name_Here
    7 g: @, w' X1 I
  33. Hostname=The_PC_the_MySQL-Server_is_on+ \$ T" A! z, E+ _1 k. A
  34. User_name=User_name_on_the_MySQL-Server0 S& X! w# a1 X4 f+ o
  35. Password=Password_to_go_with_above_user_name
    - f* q' M2 g; [" A/ \! k
  36. GetDriverFunc=getSQLDriverMYSQL, z% y1 r* a6 d3 t1 W0 H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ H1 N% w, b% b
  38. LibraryName=path_to_libsqlmy_libary
    0 i+ s! x9 h4 M3 I7 w! R* E4 G
  39. Active=1& p5 T0 a1 J- K  p& d4 }
  40. ---cut here---
    + _* t" J' D  `
  41. In my environment (a linux box with a MySQL server running locally) I have:/ a( |0 z  n0 T7 {( q
  42. ---example---
    # A. o4 _3 h. r& H4 T3 V
  43. [DBEXPRESS]
      T/ }3 p6 x$ b$ T$ a/ y$ Y: H
  44. sqldir=mysql_sql
    ( b, y# c: I3 {- X# G- L, H# v- D" J. I
  45. Drivername=mysql% Z  ^5 ]3 i) t9 [8 A
  46. Database=test4 C5 {& S& _. {
  47. Hostname=localhost
    $ {( w3 ]' M, ^" |+ }8 u2 E6 f% A
  48. User_name=testuser
    * y/ x0 y* i/ x( B& n
  49. Password=my_password
    5 W, |, a0 k- b& Q
  50. GetDriverFunc=getSQLDriverMYSQL
    - \& C4 k% g# u8 q" H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; D/ C: N) a+ n3 R" ?) E
  52. LibraryName=./libsqlmy.so8 O4 O  z2 O( T0 m. Y5 x3 G3 ~
  53. Active=13 H9 H# U  {5 q/ c2 Y
  54. ---example---
    3 F0 Y. \2 f- S) Q9 J; F+ F0 w
  55. ( v  m$ A. ]$ B7 z0 q0 y" s
  56. On a windows box, also running the MySQL server locally, it would be:
    : e! @& Q9 n8 \% B$ X% l
  57. ---example---
      j/ G, {: c: i  x0 S6 y7 U
  58. [DBEXPRESS]/ C' ]& k" v  \% R
  59. sqldir=mysql_sql
      o8 H. P& o6 p/ V1 f+ M! h8 g
  60. Drivername=mysql( b6 a! w" {9 C4 P7 f* G. t2 |3 Z- L
  61. Database=test
    + t: q& ]% u1 E4 Z. J( K- e! \
  62. Hostname=127.0.0.1) C5 b2 {( F6 ~, F/ `
  63. User_name=testuser0 P7 o- Y! o, h
  64. Password=my_password, I& d. A5 Z; _
  65. GetDriverFunc=getSQLDriverMYSQL
    % V1 |! q2 H) L) z
  66. VendorLib=libmysql.dll1 S9 X! Z5 c! t0 x% H# s6 h- }' P
  67. LibraryName=dbexpmysql.dll. B4 `0 t8 k# m5 L* `) Y, q
  68. Active=1$ ~" {/ J. B7 N1 D# Z. l$ ?& \
  69. ---example----) O$ J& N* ~9 @
  70. - written 02.03.04 by pwk.linuxfan) z' m% }/ A1 r

  71. * H3 F0 h* D8 [: O; M4 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- |2 z% M# P3 W: F# f+ b' k) w

  1. & T+ Z7 h' Z6 a1 z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / z* C- F5 u4 Y% ^: A8 V- v
  3. ; R- P! \( x8 \6 x3 S( ?% l; O
  4. # # #我们所需要# # # * B. R, `8 T9 ^. a$ j6 s8 ^- K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 l7 A/ u3 [; B$ W, I. W
  6. 不会解释如何做到这一点-也有文件存在,为5 H" r% Y' J' Z* ]9 G$ w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. ]' y$ d2 O. k% }' l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; c' q: U4 X* W# t0 V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) W. `0 H4 R1 V
  10. 本地机器,这是我的MySQL安装。
    9 U* `+ C- t5 q  c0 j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ Q' g) w( S$ z5 g9 U' y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * ~) b% i0 B2 m3 I" v
  13. 数据库。 0 ^7 n. H: D- Z$ T- I! o& R# |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / [4 H' |9 M( u" l! d) n9 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状" ?2 Z5 Q/ K  n' {% J' l- C  q* w
  16. 在teamspeak论坛,如果你有兴趣。 * _' k* P% o- u, V$ B* f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 N4 E0 ]/ Q5 A3 @! ^; q
  18. Borland公司使用。这个司机只能界面与客户端库
    ' ^+ x' ~8 V& G  \; M& b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: y. }0 V" S+ c2 Z* _3 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 v* M0 d- X8 X# w0 x
  21. " vendorlib " ,并解数据库连接。
    - e; U2 ]% l  {3 a, i" G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 B7 @; _* I( I- H

  23. , r# f3 x* T: b' ]6 {/ p
  24. # # #做好工作# # #
    3 z: G) K! D. e. A: C" p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ N2 x3 _8 n5 G, k& ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / G6 H  M3 f( B' p7 O7 U  N
  27. 结束:
    % L' U0 V$ Y1 d+ w2 K2 }( T; e) r
  28. ---削减这里---
      v! p1 x& f& D. f" t
  29. [ dbexpress ]
    1 x+ f& e. g, ?& W. N6 b
  30. sqldir = mysql_sql
    $ P% r1 G7 X4 q- ^5 t4 F; g7 D
  31. drivername = MySQL中& [; u! ?& h) n5 e% K: B
  32. 数据库= your_database_name_here
    / |- z& h& E. i1 w$ R" s
  33. 主机= the_pc_the_mysql - server_is_on % Y/ |7 \4 e: Q0 i+ ?5 y
  34. user_name = user_name_on_the_mysql服务器
    6 c3 U5 N% W5 k' L% Q
  35. 密码= password_to_go_with_above_user_name ( u2 g9 {! u, ~0 H! F* s$ S  y9 ^0 L
  36. getdriverfunc = getsqldrivermysql 6 A$ ]! c6 x; X4 r7 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( e3 o; j) A" j- ?2 k- h4 ]
  38. libraryname = path_to_libsqlmy_libary
    / u8 Z' N& z, o9 Q! e) B$ K
  39. 积极= 1
    6 ~' W! A. j' i) h
  40. ---削减这里--- # M* @6 d; _# I5 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 g6 ]# n+ d  z; K( N, S; w- r7 Q
  42. ---例如---
    $ ?( ]- N! s6 U3 F- }$ Z
  43. [ dbexpress ] ( b. }& ?2 o% F- X- ?
  44. sqldir = mysql_sql
    $ }" {+ g( U, z+ u6 F3 }
  45. drivername = MySQL中
    % u9 ~- G! e# K& w' W8 k
  46. 数据库=测试9 T6 B% R+ N$ ^) M
  47. 主机=本地主机
    & l( D2 H1 Z) ?! P7 z# a) U
  48. user_name = testuser
    : h" _+ t, r) ]0 l
  49. 密码= my_password 2 a  }- Q: T$ }  W
  50. getdriverfunc = getsqldrivermysql
    ; v  k: E. s8 o4 y0 Z9 Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " h# Y( I1 k! R: \" k  c9 G& N- Z
  52. libraryname =. / libsqlmy.so
    / S8 e8 R9 ^$ g; d0 C
  53. 积极= 1
    8 s' i% ~! u0 C" O, [9 L
  54. ---例如--- 0 l5 a: `* e; k

  55. * a  I* s& J8 v% j4 K
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , ^( Q2 W9 U. q- u; h) `8 s/ a2 [* G
  57. ---例如---
    * G) a7 u; L+ k1 \! D1 ?& Y7 f
  58. [ dbexpress ]
    6 V2 J' B$ q8 s2 ?( `( l7 a" T
  59. sqldir = mysql_sql + R( r* B+ B6 t8 N' e
  60. drivername = MySQL中0 j- T' {! g4 ~8 S
  61. 数据库=测试( W+ C! m0 E* e* M" w, a, e+ `# x
  62. 主机= 127.0.0.1
    9 s9 K' l/ Z8 b4 M$ ?: M
  63. user_name = testuser " X( G0 a6 T! ?
  64. 密码= my_password . h9 L( b0 N8 y& o9 l& Z4 X
  65. getdriverfunc = getsqldrivermysql 2 W9 M& Z, ~5 J% @! `
  66. vendorlib = libmysql.dll在
    $ A" x  ?5 T' S, I- I9 V0 Z
  67. libraryname = dbexpmysql.dll
    1 s8 F- [5 i6 o  R, W3 U0 G
  68. 积极= 1 ' O0 J; t4 d. J8 c3 \
  69. ---例如----   W! Y% m! d- ^& Y) I
  70. -写在0 2.03.04由p wk.linuxfan
    * l; \$ A8 U% r$ Y/ q' n! f" ]
复制代码
发表于 2008-1-18 15:57:50 | 显示全部楼层
zhu48t zhu48t zhu48t 火星语言
发表于 2008-1-18 16:02:23 | 显示全部楼层
我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan
发表于 2008-1-18 18:45:35 | 显示全部楼层
那你只有找哪个马来人了。。。
发表于 2008-1-20 18:35:58 | 显示全部楼层
zhu45t 俄有自知之明
发表于 2008-1-21 11:37:51 | 显示全部楼层
比 考4级还难懂!!
发表于 2008-1-21 13:54:07 | 显示全部楼层
怎么不问我呢 我晕
发表于 2008-1-21 14:15:44 | 显示全部楼层
sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words
3 A- a4 \/ V  P) R
5 I* h# P* n4 @' A1 Abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-2-9 11:50 , Processed in 0.100253 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表