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

2606 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* Y8 I4 M, P" ]
, b5 c: x4 Y$ F6 P: J

  1. # n" u7 a+ {% R0 V. n6 p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & g' q7 f- T1 e
  3. / }* m  l$ x6 h' X. s+ `$ Q
  4. ### What we need ###
    ( M. P2 A8 b7 O6 f
  5. Naturally, we will need a MySQL server to store the data for us, this document / [/ k+ k8 L% d- O# I7 ~
  6. will not explain how this can be done - there are documents out there for the
    # N3 N6 y' g/ p/ B0 U8 g2 r  W" B3 ]5 v$ N
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 {  H% a+ u2 k2 Q" x' Q8 e( N1 V
  8. and a user account (username + password) that has the permissions to do stuff
    0 R; x6 \, U9 T. N: S8 m0 R4 k
  9. with the database. Additionally, you will need a vendor library installed on the
    . z+ v$ e: C3 [6 K) A' u3 a
  10. local machine, this came with my MySQL install.
    6 K0 H2 d! i/ u0 b( L- M8 X
  11. These instructions will not tell you how you might transfer your data from the' x0 j, ^# k, ~
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / C; H- N" T  v( W
  13. database.
    $ [$ _& D7 P- Y6 M2 _2 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at( [5 h: x! |# C5 M/ j; ^
  15. the time of writing, there are still too many issues - check the current status/ S: \/ n- ]) t! w, \/ I% ^
  16. in the TeamSpeak forums if you are interested.+ p: h0 X2 d9 ~$ x$ ]. Y" d: s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 v' `8 G( D: @; t5 H# h
  18. Borland was used. This driver can only interface with the client library that & d: G# _6 V% Q0 X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 E2 F/ I6 \' ?- ]* F( N
  20. client library - basically all you have to do is to use a 3.x client library as
    % _. q- _$ q! X* t% F' f3 S2 _
  21. "VendorLib" and a 4.x database to connect to.0 ?% U, k2 M0 O
  22. If you need more info about dbExpress, you can contact Borland.; N+ W0 l* D  u

  23. 7 k% o) m, q- c& P
  24. ### Doing the work ###  \# K" V9 o2 j9 C6 @6 k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' g! G' ]* e5 b# P
  26. the perquisites right, just open your server.ini file, and add this section at
    ) H- R/ o9 {+ N+ |9 {
  27. the end:( H0 w4 b6 |) a3 O5 M# J" }6 l
  28. ---cut here---4 [' U$ p2 n, \2 e( H% i2 ^3 H1 w
  29. [DBEXPRESS]
    * U" g# y2 ]6 p4 V6 T  h9 l0 U
  30. sqldir=mysql_sql
    ; t2 n" P+ x/ ?
  31. Drivername=mysql5 l2 r6 N2 \& ]% i  r' |
  32. Database=Your_Database_Name_Here; h7 W* C; ]  C1 u! G4 o/ n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 R2 ]8 g% W1 B) O4 @  {
  34. User_name=User_name_on_the_MySQL-Server0 ~/ i5 x) d" k% J+ ~. f& X: d7 ~
  35. Password=Password_to_go_with_above_user_name0 [+ s* Q4 c: h- c! C" Y7 f
  36. GetDriverFunc=getSQLDriverMYSQL
    6 Q1 m3 r: P3 {& C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # I! u5 L3 Q! S. k1 z0 `
  38. LibraryName=path_to_libsqlmy_libary
    & h, T5 ~8 y4 s9 p" c
  39. Active=1; P3 i' C! a: s# h$ m
  40. ---cut here---
      c7 \5 u& D0 O* r7 S: L# V+ b
  41. In my environment (a linux box with a MySQL server running locally) I have:6 G$ }1 d: m% l
  42. ---example---# h  P0 z8 k+ Z
  43. [DBEXPRESS]/ ~& f- S: {0 \8 ~* |: G
  44. sqldir=mysql_sql' N. V1 {. z& f* N7 [- d
  45. Drivername=mysql
      c7 E5 Y- f5 R. j3 t0 j7 |9 d
  46. Database=test
    ' R" o0 T8 G8 W, I
  47. Hostname=localhost
    ! e6 t: U  f6 a0 u1 V1 j: ]7 v3 {3 M
  48. User_name=testuser7 }4 a- S1 ?* w. r" w5 c& Y
  49. Password=my_password
    5 J: w# X. c! i8 e
  50. GetDriverFunc=getSQLDriverMYSQL
    : w4 Q& ^/ a/ b  X* z5 L/ F/ {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , \5 e6 B. G( E- [5 |
  52. LibraryName=./libsqlmy.so
    4 a& U( U% V1 |# g
  53. Active=1) \4 [: S' v/ M9 Y( Y. b. Z; I
  54. ---example---9 Z1 x# w8 l% v: D  i3 x

  55. . G; H5 t8 X# ~
  56. On a windows box, also running the MySQL server locally, it would be:: Q9 E7 K; B# `
  57. ---example---; S+ c- S5 ^& O5 [& {7 o
  58. [DBEXPRESS]0 k' @% p0 s6 s
  59. sqldir=mysql_sql+ ?  q0 y+ A7 E: U. O' R0 l
  60. Drivername=mysql* m$ ]; n- i( ]; A
  61. Database=test! D  U5 l- |6 W- n2 Z4 d2 `
  62. Hostname=127.0.0.1: e2 O" ~1 t$ P9 r" b
  63. User_name=testuser5 K0 J  a4 z2 _
  64. Password=my_password
    % V$ S2 m9 N6 g4 x) `% N) U; A
  65. GetDriverFunc=getSQLDriverMYSQL
    + v( F8 ]7 N" I
  66. VendorLib=libmysql.dll
    5 h& x" K# t! H" Z
  67. LibraryName=dbexpmysql.dll
    " M' i/ t0 E+ |" G3 R% q
  68. Active=1/ T2 N7 F" Q! i( \/ R
  69. ---example----" ?& j8 J- K4 p
  70. - written 02.03.04 by pwk.linuxfan1 ?; U$ D# A  ^# h( f

  71. ) Y2 e# M% V) k0 x& g" C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; J3 A6 q1 V+ G* p/ R# `
  1. " S0 z; p. c% b5 D1 q) q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 j7 I( i, C; ^) Q

  3. + q, O  H: T8 A- ]8 r
  4. # # #我们所需要# # #
    ( }) }3 K7 M: n/ M+ i0 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 f, w2 k: X( i0 D- r7 K
  6. 不会解释如何做到这一点-也有文件存在,为
    ( C1 u8 Z, U/ f3 H8 L$ ?! [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! O. K1 _3 b- O# z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 p! @& @5 y$ o7 E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- i+ C! I0 `( P/ d: r: f
  10. 本地机器,这是我的MySQL安装。 % E* z: h' V" w; p; Q6 `, a- O7 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # G. U/ L# r1 T- a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) `5 v) D' U% w3 j0 a3 X  ]
  13. 数据库。
    . s& y# C( g8 A4 U( r5 t+ h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " A3 Q7 }. z' g8 W* s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 k, b9 K( @  d# ~
  16. 在teamspeak论坛,如果你有兴趣。
    2 R, }' a0 O: h- X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 O* |: x! y! |4 u* z) Y% l
  18. Borland公司使用。这个司机只能界面与客户端库$ ]3 R1 x: k  i1 w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 Z2 Y6 E. O: ~/ g! f: q2 h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % }) `  P% k, ?" m; d, O+ _3 U
  21. " vendorlib " ,并解数据库连接。 3 y: q% I) W5 c3 n7 g/ X$ Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " j& c' ~8 g; U# C! r5 D" ^

  23. 0 f0 p4 A7 t4 o& {' a5 z, c
  24. # # #做好工作# # # $ C. l8 ?' S: B/ s1 F: d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- m9 N9 N. y* [* o/ T( H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 T8 w1 h7 l1 o) X0 k% ^
  27. 结束: 4 f# n2 _. i+ m8 ]
  28. ---削减这里--- . Z8 M: {% |; X
  29. [ dbexpress ] % I  \& e" W6 b9 O
  30. sqldir = mysql_sql 0 G: R/ P9 I7 N$ S
  31. drivername = MySQL中
    ' U& v2 H' m+ H5 Y! u; X6 w
  32. 数据库= your_database_name_here
    ! X8 y2 ^8 a5 a# ?
  33. 主机= the_pc_the_mysql - server_is_on
    9 ]& x' I2 U' ]5 [0 k# A1 D0 O# O
  34. user_name = user_name_on_the_mysql服务器
    9 q2 c2 {4 e& M
  35. 密码= password_to_go_with_above_user_name
    . C% N2 G9 J2 I2 o/ F2 l# o
  36. getdriverfunc = getsqldrivermysql . N+ J, ]& H& G. |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - _: C' {8 n0 N1 W' r- {$ b
  38. libraryname = path_to_libsqlmy_libary
    & n; J! ^- _# o% @* E; L/ l
  39. 积极= 1
    . }% D) D' w# o
  40. ---削减这里--- ! V" c5 c( J" O( p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) \- Q) \2 I/ m7 h' C/ V
  42. ---例如--- 9 ?' Y. y) C5 H9 x2 j
  43. [ dbexpress ]
    $ S, I9 b; _6 x  V, v' f
  44. sqldir = mysql_sql 4 J3 M- O# J3 R; k: J
  45. drivername = MySQL中7 h; J4 ?  F# j: C1 G
  46. 数据库=测试
    ' u+ `3 _. ^3 M2 e& A
  47. 主机=本地主机
    " q4 \6 v. \+ `  d
  48. user_name = testuser
    0 b1 S) s" e* W
  49. 密码= my_password 1 l5 W# H/ m' f  G% k
  50. getdriverfunc = getsqldrivermysql % |: x) y3 l$ t, T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 x3 b# N+ _8 T- P3 j. i7 t( k
  52. libraryname =. / libsqlmy.so
    " q) z  p' Y- g* f
  53. 积极= 1
      Q7 g) _: g# ?
  54. ---例如---
    & ~7 m; Z. a  ^
  55. : c( `. Z' `, R8 o1 \" x
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 t. u5 w  l5 U0 K
  57. ---例如---
    : `9 C" I. G5 g/ \
  58. [ dbexpress ] ' C9 C7 C4 q6 ?  D
  59. sqldir = mysql_sql
    ; J* V  q9 c& i2 f: Y$ L8 A
  60. drivername = MySQL中
    $ b# ]% n3 A5 o$ A  G+ S3 h5 q& v
  61. 数据库=测试
    & i- s" u0 @3 t+ V" v+ O
  62. 主机= 127.0.0.1 + R2 i) e" f$ {; j
  63. user_name = testuser ; ?. [5 H' x0 |. ]8 e' ?, Y, j. |
  64. 密码= my_password / u: {+ |' _8 P1 j" d
  65. getdriverfunc = getsqldrivermysql   Z1 s, T/ W/ E) L
  66. vendorlib = libmysql.dll在
    ( W; o/ I  l" B
  67. libraryname = dbexpmysql.dll   Q  ?/ A, q. R# _3 q+ F2 B7 P
  68. 积极= 1
    % L& X8 j: c# R" ^2 x' n6 ?
  69. ---例如----
    / L/ B. ?( C2 M/ \3 P  K$ U
  70. -写在0 2.03.04由p wk.linuxfan
    2 z5 _7 z$ v& t
复制代码
发表于 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
& x6 d. v7 S( K7 D2 q9 V1 r
9 s: o$ k2 n, ~4 `) B7 Ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-11 23:31 , Processed in 0.103246 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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