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

3010 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( y$ c- Q, N8 I' b' ]
7 ~- u, D1 m( ~
  1. : Z) M# z1 _( z8 u# d( s% P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" p1 _7 |/ E- V/ a
  3. : @6 C9 [! m$ x, T# m5 t
  4. ### What we need ###. |+ ~- |3 x% x. C
  5. Naturally, we will need a MySQL server to store the data for us, this document ' F  b" U4 W$ M( C) h  s  w
  6. will not explain how this can be done - there are documents out there for the
    ( S5 h  e+ |0 J* a% @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : I+ @+ p% R( U8 ~2 U
  8. and a user account (username + password) that has the permissions to do stuff
    . s+ d3 D, j8 ]& y4 I8 c
  9. with the database. Additionally, you will need a vendor library installed on the
    6 i# z2 D& ~' F) j) s
  10. local machine, this came with my MySQL install.1 _% `9 f8 O; x9 v
  11. These instructions will not tell you how you might transfer your data from the
    " Y3 u- d  l, J& z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * y$ c9 Y0 `5 ]0 r7 ^
  13. database.
    1 w' Y$ }( z  E0 i' ]7 l- R+ {
  14. Some users have reported ways to import a SQLite database into MySQL, but at( J; t4 n: R( i; J
  15. the time of writing, there are still too many issues - check the current status
    , |. h4 b0 I8 Y0 |  c7 T
  16. in the TeamSpeak forums if you are interested.
    8 y% u( S, D1 |2 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ K7 A6 \' B4 N2 l3 [1 ]
  18. Borland was used. This driver can only interface with the client library that 3 d) \( ^0 M6 {+ d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 _5 D4 |8 B/ o' _
  20. client library - basically all you have to do is to use a 3.x client library as
    6 G/ _" ^' X6 X$ X& W' z
  21. "VendorLib" and a 4.x database to connect to.
    + R0 Y1 J8 R0 e
  22. If you need more info about dbExpress, you can contact Borland.
    ) y& ?9 A0 x) E( N$ q% P8 q  D- b
  23. 1 a6 p/ X" G  R: K
  24. ### Doing the work ###8 \6 a* R( r$ y: S! g) ]/ X: [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 N2 m) n+ b& S! W* E& L0 S0 W0 x( ?$ i
  26. the perquisites right, just open your server.ini file, and add this section at5 F# ?4 @% n0 f0 f
  27. the end:4 H1 L6 n6 t. Z# ]! S0 h
  28. ---cut here---5 M+ w- v) k- _+ ^7 F) l
  29. [DBEXPRESS]
    3 T8 v# b4 [9 ~+ E/ k
  30. sqldir=mysql_sql2 B3 F# e& J% L) y! o9 f4 B
  31. Drivername=mysql
    + u) h& `; j( I) Y, s; c8 |
  32. Database=Your_Database_Name_Here& Y& {' P9 o, |
  33. Hostname=The_PC_the_MySQL-Server_is_on" q" L; ?+ E6 a  S
  34. User_name=User_name_on_the_MySQL-Server3 G- c" a, O2 H" ~; \
  35. Password=Password_to_go_with_above_user_name% d6 R& V& H! M# X0 E# t
  36. GetDriverFunc=getSQLDriverMYSQL6 `7 w" u; g6 t! ]. [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " K( `# n5 S( r& {, Y8 X# `
  38. LibraryName=path_to_libsqlmy_libary
    - H$ \1 V" ~* H* |  b% T/ n
  39. Active=1, |( z6 k5 O, w3 t7 v: I  D) L6 z
  40. ---cut here---* {. Z3 u6 L9 g) m# H) p; a' Y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / n; W4 I4 d! `& v5 m3 a/ F
  42. ---example---
    2 W) k9 R5 F  I8 B+ @' m* |
  43. [DBEXPRESS]) x; M7 i  Z/ W, c
  44. sqldir=mysql_sql
    % y0 w) _1 ?- S( c8 `. v
  45. Drivername=mysql
    9 T7 Q) i0 c- e0 k# [% O
  46. Database=test5 R2 J1 X0 n4 W# d- T: W. C# ^
  47. Hostname=localhost
    . c: u- ^0 ~% r
  48. User_name=testuser
    8 D9 q' r+ D3 n* v% z8 C
  49. Password=my_password, u/ s2 G0 f0 B, [( v  u
  50. GetDriverFunc=getSQLDriverMYSQL
    . Y% c& P( W/ V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; r) n+ p; I8 L. C
  52. LibraryName=./libsqlmy.so: Y/ y5 J( }1 @. s7 b1 u2 F
  53. Active=1  g; k3 U. B7 [
  54. ---example---
    8 Q0 i& U5 B. O3 Y- ~1 x
  55. ; i* }$ G8 l8 W2 _
  56. On a windows box, also running the MySQL server locally, it would be:, w! u0 n$ h: k3 k- g
  57. ---example---
    9 n3 ^+ m. y+ s& L% q
  58. [DBEXPRESS]
    + k: S) F, X% b! d- x4 B
  59. sqldir=mysql_sql5 I( h6 x: m: r2 i1 Q& a
  60. Drivername=mysql; x/ W: ~/ i# n" l& S" A
  61. Database=test
    ! ~8 {- X# s2 L6 u1 }
  62. Hostname=127.0.0.1" k& ^& S5 Y8 ]2 B; z' Q) q, @& J
  63. User_name=testuser* R! |) |' a$ h) M5 C) k
  64. Password=my_password
    + i8 b" t2 S- C' r3 V7 b# h: l) ~- V
  65. GetDriverFunc=getSQLDriverMYSQL! z: p1 g+ M. H# M
  66. VendorLib=libmysql.dll5 C1 b- y* {0 `# L8 l0 s
  67. LibraryName=dbexpmysql.dll
    ( H' t$ g! h# K! ?3 @
  68. Active=1
    " ~: F* F- g6 H$ ?
  69. ---example----
    ) k: P* W% @4 o1 P3 ?$ j+ S: ~/ Y- p
  70. - written 02.03.04 by pwk.linuxfan- O$ j6 b5 u$ E4 F! Y
  71. % W' I* r$ {  J/ o0 d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; j+ I# v/ u7 }) G$ s: _8 ^! b
  1. 4 x+ v8 E5 a% N. m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 v! \' B, u% j" f  _1 }, b

  3. 2 ^7 L7 B- G- }0 m- C# M/ P# [
  4. # # #我们所需要# # #
    9 c3 u8 U2 J5 x" w% u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # ?9 J" q4 @+ l" ]6 O
  6. 不会解释如何做到这一点-也有文件存在,为* S" u7 N6 @/ j6 W5 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 L- u: f. I/ V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! h3 Q% ~( @  d4 r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , m! s1 i! d) l7 r4 f8 e2 U# Z
  10. 本地机器,这是我的MySQL安装。
    6 ]/ z; x0 I, @8 n  c2 w1 K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # W+ g1 T+ a. i; |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 A: W% P/ r8 w: a
  13. 数据库。
    4 V1 ?! b- I6 n/ t6 H
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 k! r4 {, E9 X) s1 E2 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 h2 B2 J% B5 b. A
  16. 在teamspeak论坛,如果你有兴趣。 ( Z$ G0 W- O; Q) O% G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' s: P+ {" z7 I" c
  18. Borland公司使用。这个司机只能界面与客户端库+ }" E, i9 f. X5 T' h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " D" k/ i! f7 Y- p. J5 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 u' A" q, Q( B" H1 a
  21. " vendorlib " ,并解数据库连接。
    / n1 P/ b& w* M6 U- S' a6 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 O6 i  \5 H, X8 Q( e# b6 \2 \  ]

  23. 0 l5 S( F' V4 B" @& h
  24. # # #做好工作# # #
    ; @  w' T# Y! P) N0 a- Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 F) Y, `3 l' a8 B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 N+ @' E. ]5 }1 }/ q/ n- E
  27. 结束: . M9 h8 ~( S0 Y- f2 ]0 U
  28. ---削减这里---
    , }! a2 F7 \$ S* p; Q7 C7 c/ n
  29. [ dbexpress ] / E( e. ]+ N+ }) W: h: z
  30. sqldir = mysql_sql
    9 R7 g* P5 S$ L, G' n
  31. drivername = MySQL中
    $ p/ F4 ?, w) z  A1 ?
  32. 数据库= your_database_name_here
    2 A: [! K1 n% K
  33. 主机= the_pc_the_mysql - server_is_on
    & m: M: }, E/ \$ V% I
  34. user_name = user_name_on_the_mysql服务器
    4 z8 b$ U) V9 M
  35. 密码= password_to_go_with_above_user_name 1 P( J& g+ e7 h" [
  36. getdriverfunc = getsqldrivermysql
    % j0 N2 P  ?/ C5 W8 S- T" _0 z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 N; G1 {4 m( y1 Y9 q/ [2 }: r! J2 A
  38. libraryname = path_to_libsqlmy_libary 7 _1 Z6 l1 S8 G' q/ I0 ?3 ]
  39. 积极= 1
    - I  o% B0 }2 x/ x
  40. ---削减这里---
    ; f  z4 y$ g$ h2 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' O' ^0 N+ D+ v: c$ w; q/ ]* v+ O
  42. ---例如---
    0 g' n4 N" h6 f8 }* O0 w9 r
  43. [ dbexpress ]
    : [7 S9 J6 j5 r- d
  44. sqldir = mysql_sql
    : A; T( h" X) u1 d7 w* H) N
  45. drivername = MySQL中. P9 Z6 C9 u2 \
  46. 数据库=测试7 g( E1 A, A' ]# `( _$ ?2 q
  47. 主机=本地主机; ]- z8 o2 c& `9 y
  48. user_name = testuser 6 F2 b0 k; W3 ?5 V  u
  49. 密码= my_password
    ) Y7 \7 Q2 Z# X: z4 z
  50. getdriverfunc = getsqldrivermysql
    9 R, T' O7 A; B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( B- x, d$ a# [0 G
  52. libraryname =. / libsqlmy.so
    / c# o- p" T1 D( ?
  53. 积极= 1 % }) r  {3 {9 [8 I- T
  54. ---例如---
    " x0 r( H8 Y0 i/ \: R( `

  55. 7 V& j  Q# y) s  B' [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " P) A5 L- _  X! `5 g; ]
  57. ---例如---
    1 b- s- D/ G/ k
  58. [ dbexpress ] 7 @/ k* q2 z. x6 t1 y0 J& i
  59. sqldir = mysql_sql
    * G' ~6 s  H) @) O9 F
  60. drivername = MySQL中3 z- t9 C/ U. e' [2 B
  61. 数据库=测试
    : E9 z; F4 K5 m
  62. 主机= 127.0.0.1
    , Z0 ^. F+ f- {( D8 t1 Z. h) m
  63. user_name = testuser 6 D4 n! {0 d" g2 c
  64. 密码= my_password
    1 k  @' W: l; ]4 Z1 U5 z
  65. getdriverfunc = getsqldrivermysql
    : D4 F- g( }' K, R% i* P" H1 H7 O
  66. vendorlib = libmysql.dll在
    ( A+ Q8 }: t: ?) O5 k
  67. libraryname = dbexpmysql.dll
    4 O, Y6 U  N7 u6 D" i
  68. 积极= 1 1 {1 k  |6 _: j
  69. ---例如----
    5 |# b5 _: A  j0 r, i
  70. -写在0 2.03.04由p wk.linuxfan: A* H8 G! B( d( z+ Y: u
复制代码
发表于 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 words6 o7 {( p$ q$ H! Z
/ ^8 }. q3 G, k  P; ]4 r
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-12 01:02 , Processed in 0.101175 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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