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

3602 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* `% `: F. _6 x, n, h4 ?5 |! H$ @
  1. ) t0 u, z  r% p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) y( J' |5 E- C/ @. \7 V: I: p
  3. ' l4 v/ B3 E1 H6 U) t5 c1 B# r
  4. ### What we need ###
    , J: m: A6 @/ a6 C" |0 i
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 y! L) J# \+ K2 U, s3 |
  6. will not explain how this can be done - there are documents out there for the
    ; a! V/ x9 [: |7 {; i6 o; g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % ^1 d6 _8 q) ]6 x) ^* j
  8. and a user account (username + password) that has the permissions to do stuff0 A8 o; y6 Y( Y5 c' I3 j! u$ K  N
  9. with the database. Additionally, you will need a vendor library installed on the/ r1 z5 h4 a( |. z
  10. local machine, this came with my MySQL install.2 ]( v3 A) J1 c7 D! U, Y! A
  11. These instructions will not tell you how you might transfer your data from the
    : Y5 I3 }# N5 D% {  Y" ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- O. N' b8 d" ~0 d
  13. database.+ x* U/ V8 R9 }" B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' c& Y- B5 D" K$ \$ F8 w
  15. the time of writing, there are still too many issues - check the current status, O; ^8 r  Y, Q
  16. in the TeamSpeak forums if you are interested.
    % f( d4 c% a3 O' `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 N; L2 r6 I( y! c7 J
  18. Borland was used. This driver can only interface with the client library that 7 H6 r# f# Y6 d8 f/ P% }' z3 p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : y1 j5 i4 s/ t
  20. client library - basically all you have to do is to use a 3.x client library as
    9 H, W6 y. P# a; d+ N1 E7 x
  21. "VendorLib" and a 4.x database to connect to.
    # z4 z$ E" T, q
  22. If you need more info about dbExpress, you can contact Borland.
    , t0 R1 Q" \( ]2 ]

  23. ' V5 ]9 m3 ^" w6 k8 n
  24. ### Doing the work ###
    ! m) S. n0 b8 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 O' h. J) G. m! F% e6 j/ W# A% U
  26. the perquisites right, just open your server.ini file, and add this section at  T/ Z* B, J6 U/ e$ f
  27. the end:/ Z& E" ~% q! d% z
  28. ---cut here---
    * s2 n) k" _! ?, E" Y' v# ^
  29. [DBEXPRESS], Q; Q% N6 C4 o! Z' O" i5 Z
  30. sqldir=mysql_sql7 I- T7 i/ e+ l: W
  31. Drivername=mysql$ V3 l/ q$ Z/ e. ?9 p
  32. Database=Your_Database_Name_Here/ B- L" h! W. `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 |% S7 t9 L- s3 r, m5 ~# i
  34. User_name=User_name_on_the_MySQL-Server" e$ M1 |. d/ m; N
  35. Password=Password_to_go_with_above_user_name
    + d# n6 b4 Z; E
  36. GetDriverFunc=getSQLDriverMYSQL
    0 n  e5 `1 B1 b  }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / b2 K) g) d9 M+ @8 D4 D2 b' C
  38. LibraryName=path_to_libsqlmy_libary1 o3 V) Q% u# e1 @' E' n
  39. Active=1
    4 b& d9 m5 ]; l' _/ C  d& r
  40. ---cut here---! W! n4 W# u! m$ x; ~5 a: ]3 K
  41. In my environment (a linux box with a MySQL server running locally) I have:* P. i- _/ P3 y+ P0 j" L
  42. ---example---
    6 b+ Z9 {; H4 G# ^& Z
  43. [DBEXPRESS]4 t& k5 @. w4 J4 T
  44. sqldir=mysql_sql
    ; b+ K+ k8 Z& H4 R& n
  45. Drivername=mysql
    3 c0 O9 j( J# ^
  46. Database=test
    8 Q8 d" j$ {: R& Z& e7 z
  47. Hostname=localhost
    3 t7 E+ N6 I7 b4 M' n/ |
  48. User_name=testuser! x# N) m5 A* k9 z
  49. Password=my_password
    % C* a( {3 y- r  X
  50. GetDriverFunc=getSQLDriverMYSQL
    1 ~  b7 P7 p# L, k4 e5 N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 U) |( U  U0 w8 r
  52. LibraryName=./libsqlmy.so
    1 U0 a. G) z3 t0 B7 O
  53. Active=1
    : |) }% t0 \- Y% k. O8 ?; |
  54. ---example---
    5 p1 B6 S9 \: `5 P. x' R* T+ G4 z' y

  55. $ l) u6 ]5 c# y
  56. On a windows box, also running the MySQL server locally, it would be:
    . ]/ O8 Q+ l( V6 y8 k1 H
  57. ---example---) U* B; [+ u4 j
  58. [DBEXPRESS]
    & r- C+ z4 ~% a
  59. sqldir=mysql_sql
    4 s$ J9 ~& n+ Z7 y; L" x
  60. Drivername=mysql, m* x, s: i6 x0 ~2 ^! F4 m8 B
  61. Database=test" z$ v  }0 r# L8 C, t6 p, g
  62. Hostname=127.0.0.1
    ) n2 F. _4 T1 n1 Y7 |( B
  63. User_name=testuser
    % d9 L& b" K! j. P" e0 v) e
  64. Password=my_password
    ) r7 X9 Q. {; W9 v- z
  65. GetDriverFunc=getSQLDriverMYSQL3 m1 O, W$ F" W9 K7 W7 n' |# _+ k+ X
  66. VendorLib=libmysql.dll
    ( `3 F( Y, S3 |- z
  67. LibraryName=dbexpmysql.dll
    ; G0 d, L$ b$ P" ^- a
  68. Active=1
    6 l* i) c. @# F7 B: S0 f4 [
  69. ---example----$ q) C4 U1 x3 x
  70. - written 02.03.04 by pwk.linuxfan1 r) ~- e) U* Y8 e- P

  71. ; p# c/ U% p: X+ o: `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. p/ F- L0 _, e) H' r- z/ r* g

  1. 6 i' J7 D2 ?" G* F( C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # P8 d) u7 p6 S5 @+ t& ~$ {' B+ e% U

  3. & E8 c6 S9 l# g5 f
  4. # # #我们所需要# # # 7 }- T* ]9 U; G9 R: }& ]% A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : J% f  i7 G: ~% `' Z& g$ `  }5 c2 D
  6. 不会解释如何做到这一点-也有文件存在,为, ^" ^( s/ f. ?6 y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* g* a  Z; x% w7 u* C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 ]; x& z% d4 e+ P% ~2 G0 U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 P4 o, Z4 u* C. V/ b
  10. 本地机器,这是我的MySQL安装。
    3 W# F5 F3 `: z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" ^8 z9 b: x5 `+ F" ]& M# x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 }) }" L2 b& B3 I2 h$ \! E# {
  13. 数据库。 9 X% `* c( m# z3 u7 y; W- l4 r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + T9 @% O/ R# _. Y! ^) f& i" I
  15. 编写本报告的时候,仍然有太多的问题-检查现状# |$ o$ m* _" B' R* \! M3 u
  16. 在teamspeak论坛,如果你有兴趣。
    ( [$ |6 o4 \! z; P6 b' {" D" h! d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( y. G1 }  E6 S/ N
  18. Borland公司使用。这个司机只能界面与客户端库
    & b7 t  G' n# D) w. }4 p4 y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 G. G; ~% q0 n* F7 |* N" ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . E, N% g1 l$ c. G1 m, C# G
  21. " vendorlib " ,并解数据库连接。 ' p% S9 ?3 ~$ k/ ^- M) b, I$ T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' e8 x( i' Y5 w" a7 [/ G
  23. 4 O5 j- a/ w' v# y( v- C% {8 A0 e
  24. # # #做好工作# # # 6 P6 g' L/ t5 D, g7 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 R0 q/ W* H. k5 Y- E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 v  s7 K1 m; [' [$ [% E
  27. 结束: 0 q, w, \$ y3 c
  28. ---削减这里--- $ y: y4 H, j/ F1 c. t4 G6 }
  29. [ dbexpress ]
    7 S. I. Q! W5 }
  30. sqldir = mysql_sql ( [; F# R, Y/ y1 x4 ?1 i' ?) w
  31. drivername = MySQL中
    % W* Y/ s8 |/ w9 x
  32. 数据库= your_database_name_here " R" r2 R( R6 _$ n
  33. 主机= the_pc_the_mysql - server_is_on ( w# |6 h0 i; K3 L- H! ?, f
  34. user_name = user_name_on_the_mysql服务器
    " q! R( \) H% Y: L+ I! t/ Z9 C6 Y
  35. 密码= password_to_go_with_above_user_name # t4 X# O0 P( u4 \/ ~6 l7 e, z
  36. getdriverfunc = getsqldrivermysql
    / e6 J. u7 T1 o: p* q9 P& p4 Y  {& O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + V. ^* g9 @% P" a: p! H
  38. libraryname = path_to_libsqlmy_libary
    % i* |8 S! O& V' b( w0 \
  39. 积极= 1 + c2 G8 J! W" V& _2 A; Q
  40. ---削减这里---
    7 M/ F1 O  U; q/ T8 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 _6 U" n" p5 v5 h4 O3 E
  42. ---例如--- 5 B1 d" g" c! }
  43. [ dbexpress ] 0 G; |4 @. s: w8 }; r6 O! G
  44. sqldir = mysql_sql $ u& l- N3 }; K
  45. drivername = MySQL中
    5 L5 L8 K2 `: }5 m/ s, n% J2 u9 v$ b
  46. 数据库=测试
    ! i9 b8 }0 j; u  D  ]
  47. 主机=本地主机
    - Q; A! s1 R6 w# t, z, p
  48. user_name = testuser
    # r  ^1 X  M$ @, b; J- ^
  49. 密码= my_password
    # W4 z' V; f# E) `3 y, Q
  50. getdriverfunc = getsqldrivermysql
    3 H* z5 m, u& g& }6 L- c$ q& ?0 I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 u0 z; j* p/ g, J
  52. libraryname =. / libsqlmy.so
    6 x: k) a. E2 O; A) H1 ?+ U$ T
  53. 积极= 1 5 `) X9 ^. a4 J( r, S5 l
  54. ---例如--- ! ~' o, j5 Q. k' P* z

  55. ' j, R* [7 C" {% {0 t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - M3 D6 X0 ~) V9 n! e5 c
  57. ---例如--- / F- s' ~& W7 y% j, U: x$ M
  58. [ dbexpress ]
    , \# \( k& t# s* ]
  59. sqldir = mysql_sql
    0 i) N' Z) [" \3 w
  60. drivername = MySQL中9 u, U5 ^. t/ l/ r% F, c
  61. 数据库=测试
    ' Y9 V7 c5 g) R1 d& o
  62. 主机= 127.0.0.1
    ( y% r* S5 W9 J8 U- G( p7 U$ V% x4 |9 a
  63. user_name = testuser 9 Q7 }4 ^% K. a6 h' C* g8 Z) ^3 c% K
  64. 密码= my_password
    " T: ]: j. V/ N2 f# a% _1 v
  65. getdriverfunc = getsqldrivermysql " F$ ?, H# ?& |  l/ V# S4 d! H' A) Z1 |
  66. vendorlib = libmysql.dll在/ I% w& s5 q3 ^
  67. libraryname = dbexpmysql.dll 7 D' u8 G# s$ Z4 u2 M
  68. 积极= 1
      i, ^, a0 X! p! R7 ?8 F4 {
  69. ---例如---- + Y$ D; b' c3 y) c! X
  70. -写在0 2.03.04由p wk.linuxfan
    ; U% F5 \% U, k8 x) J" |6 S5 P1 }
复制代码
发表于 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* g# d! B) o5 s' A* @( F0 \
* m, F+ j4 I+ m6 F6 V9 r/ H
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-2 06:33 , Processed in 0.053915 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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