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

3509 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 u, ?% v7 R9 `8 M3 n* n/ l% I' m
& L7 v& ^$ _  w5 y& ^
  1. # d! l- l$ f: O; @. k5 K5 D* _% D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 t7 [1 l$ D- @: o
  3. 6 W, w2 E' H$ ?2 ]  v5 V. y2 B
  4. ### What we need ###
    ( G1 z4 r* B) m. o3 b
  5. Naturally, we will need a MySQL server to store the data for us, this document - j; F. v( U6 w9 ?7 P0 K& ~4 d! A- D) E
  6. will not explain how this can be done - there are documents out there for the
    * ?% Z& b' B% e/ k/ N6 G  j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      v) r6 X: `- }$ V! ?
  8. and a user account (username + password) that has the permissions to do stuff1 Y1 j2 |$ @" X) J
  9. with the database. Additionally, you will need a vendor library installed on the; K% Z& w; n' R' ?4 \
  10. local machine, this came with my MySQL install.# W2 {# B% O( J8 w# T, C3 B
  11. These instructions will not tell you how you might transfer your data from the5 }( N% U3 u5 l. }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . [1 M! M/ x, x$ C6 o
  13. database.
    % X3 }* `6 Z7 e7 j) b
  14. Some users have reported ways to import a SQLite database into MySQL, but at. M0 `4 X6 k* p' ^0 w- ?
  15. the time of writing, there are still too many issues - check the current status# C8 [+ w( b( r- L. C' L9 ^/ Z
  16. in the TeamSpeak forums if you are interested.7 B8 }  S& U. g! ^9 t+ z) X0 h1 m5 d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - C* s0 W+ ^/ l8 \
  18. Borland was used. This driver can only interface with the client library that 9 x, H" M8 e4 ^1 g( B2 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 T% o# `6 D* i0 Y9 x2 ]5 d. ]
  20. client library - basically all you have to do is to use a 3.x client library as
    3 U1 K' Q  M' d/ \& p
  21. "VendorLib" and a 4.x database to connect to.
    ; H" b/ @' T5 O7 j
  22. If you need more info about dbExpress, you can contact Borland.& n) d0 e/ L8 ]
  23. 2 A4 [  g8 h; v) `7 e
  24. ### Doing the work ###/ d4 |1 ?! m) i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      T2 I1 d! n% T4 V& i
  26. the perquisites right, just open your server.ini file, and add this section at- i7 Q( a4 g. d! g' v& C( c
  27. the end:( G" X" I+ R  D7 P7 l8 P
  28. ---cut here---3 d3 |8 o* S% g0 P; }
  29. [DBEXPRESS]
    & T/ `0 M1 @0 e
  30. sqldir=mysql_sql
    - U* v( p, J% `) W
  31. Drivername=mysql
    . ]/ ^8 D) |, j
  32. Database=Your_Database_Name_Here4 M* w$ A- r. k! ^# r2 v- t
  33. Hostname=The_PC_the_MySQL-Server_is_on
      L% d( q3 n* p# U. G8 ^
  34. User_name=User_name_on_the_MySQL-Server
    " `7 C4 f: }6 w) O3 E
  35. Password=Password_to_go_with_above_user_name
    ) i* H6 S: j9 L1 v, R! n
  36. GetDriverFunc=getSQLDriverMYSQL/ G4 Y" ]2 O# D9 [+ A& C& F' u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : c' _7 N5 ?2 h2 M
  38. LibraryName=path_to_libsqlmy_libary
    $ Y9 R1 \4 g- j8 f5 t/ y; G
  39. Active=1
    : A9 G* m4 ]& [+ P& \
  40. ---cut here---
    , j. K* C3 T' I
  41. In my environment (a linux box with a MySQL server running locally) I have:' c' A, T" U/ p/ U
  42. ---example---
    % Y/ p- T/ j) V
  43. [DBEXPRESS]& B% y$ s/ Y! ?6 z- O5 X- h( |- [/ j
  44. sqldir=mysql_sql
    6 d; u# J8 j9 h
  45. Drivername=mysql8 ~$ R8 }4 P& i
  46. Database=test. G% }3 K. M/ C( Q* {2 J
  47. Hostname=localhost
    5 S, J. O- R  h" G; J: V% u
  48. User_name=testuser% k7 d9 @% S6 U: R- ^7 z
  49. Password=my_password5 `# @$ E' T, f$ O' h8 e$ V/ U: f, U
  50. GetDriverFunc=getSQLDriverMYSQL1 I. e2 g: r& C+ X2 v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% O4 ^6 c6 D' m! _
  52. LibraryName=./libsqlmy.so
    0 ^9 E. W; j. q8 K: O1 V+ |; Y# a# {
  53. Active=1
    $ d9 O# L* m* r- Z! W- @7 z1 k
  54. ---example---+ Z+ I0 z( h+ `& Y. p2 m) S' f8 Z4 v2 V* ~

  55. 1 Z) v9 Q& w5 H$ X0 H7 d* b
  56. On a windows box, also running the MySQL server locally, it would be:! N) B* w4 k* y. m* Z$ @
  57. ---example---- W8 x- ^0 M3 q$ w9 L! X$ X1 d
  58. [DBEXPRESS]
    ' Y3 \- j7 S1 d0 {* H
  59. sqldir=mysql_sql% |0 c0 X  k  U: @
  60. Drivername=mysql6 c0 z8 p* c9 y& R
  61. Database=test  d, g$ `# R% R8 ?! j: c
  62. Hostname=127.0.0.1
    : ?3 [. ?$ {6 z( m
  63. User_name=testuser
    $ z& I0 [, w0 u1 K* z' f! j1 c% f, i
  64. Password=my_password: x$ h0 Y  d, ^
  65. GetDriverFunc=getSQLDriverMYSQL
      @) k5 a7 S& w) Q
  66. VendorLib=libmysql.dll
    " p' a0 @& Z! y9 M" ?
  67. LibraryName=dbexpmysql.dll3 e& P' t4 t  @+ s! X! h+ D- G
  68. Active=1; C4 H+ X5 O# `6 [- a
  69. ---example----7 k) t  w$ F2 Y1 e: _4 a
  70. - written 02.03.04 by pwk.linuxfan: b+ l& ]& p9 Y! y* U6 S
  71. + l" q( K! d7 y: m5 l, g- r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 ]! r7 D3 r. }& |  m/ ^
  1. & p" ]0 r  g  s) V6 ]: e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ M( }! J8 C2 Y0 N# J1 ~- o( s
  3. # P# u5 v/ Q! O! O+ z2 z
  4. # # #我们所需要# # #
    1 C: K4 q* I8 B: [& S* `/ n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* g; `3 b# w8 Z( H2 L' k8 a3 A& M
  6. 不会解释如何做到这一点-也有文件存在,为! F+ U+ M% l' {5 y4 V, D- ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 w+ |3 w! X- s3 D: v/ V3 K3 r% u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 E# H+ v0 R  z. w' I0 t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 Q% ^# x" K: _$ @) s$ ~
  10. 本地机器,这是我的MySQL安装。 5 a9 N7 B0 }) U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- L7 \1 l4 C' ?; M  j: \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , `& c' ^2 g0 P- S9 I- S" U) P
  13. 数据库。   ^+ ?4 M6 H. J: h& Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; f& {# D% P$ b2 j5 I1 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 B; K$ y  r  f8 ~; v5 W( i; O
  16. 在teamspeak论坛,如果你有兴趣。 3 F* I5 a* w3 a) _8 Z1 G/ W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# ]7 h# \( H0 I. K, A- ^
  18. Borland公司使用。这个司机只能界面与客户端库5 l/ M* h# j9 X! s9 G( W% B$ f" w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 p3 A9 @7 Y4 u- B7 U& ^( u+ @; I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% x4 s+ [$ e) \) ~- U
  21. " vendorlib " ,并解数据库连接。
    + w' G0 L* F8 {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) ?0 B, z0 o4 |( ?

  23. 6 x' H6 A! W1 w$ g
  24. # # #做好工作# # #
    ( r& p8 K, ?) ]4 v6 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 Q! I; B/ }; @1 O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: b% Z5 |$ y) t
  27. 结束: & N4 {% ]+ Q6 R* X7 M5 F
  28. ---削减这里--- 0 A7 T: k' w; a( K' q+ g
  29. [ dbexpress ]
    & y, \, X$ D/ [. F
  30. sqldir = mysql_sql
    6 r! w: }5 e5 n$ d: S/ K
  31. drivername = MySQL中; ~$ }" ?- f6 {) Q
  32. 数据库= your_database_name_here
      u8 d5 c4 x* r& D, p3 r' a
  33. 主机= the_pc_the_mysql - server_is_on
    & l5 L7 E8 @3 W7 `& _! i
  34. user_name = user_name_on_the_mysql服务器
    2 i: p; h9 d% k# X8 t
  35. 密码= password_to_go_with_above_user_name
    ! D% |. N2 l- A# e' P/ G% |
  36. getdriverfunc = getsqldrivermysql
    2 Q6 t+ r- \7 B7 E5 y2 E4 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - i; n1 E# u6 w0 N9 n
  38. libraryname = path_to_libsqlmy_libary
    + w. O% V& Q. u0 S
  39. 积极= 1
    , C* }, T' q( D4 h; F$ c- }6 j
  40. ---削减这里--- ( f2 w0 P4 S) ?* \$ \8 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' Q1 ^- m4 |5 C, Y8 z. G; B, ?
  42. ---例如--- " f+ e: Q6 I/ m! C
  43. [ dbexpress ]
    . R  Y: d0 e9 C
  44. sqldir = mysql_sql
    , N( Q8 H2 r/ @8 d2 I
  45. drivername = MySQL中  A- H4 r3 T& H) {# k0 ]: y8 ]
  46. 数据库=测试. W; I4 H1 Y5 y3 G+ E- a
  47. 主机=本地主机
    # e6 I# T7 ~% I& O$ |1 t' H
  48. user_name = testuser 0 Y, r1 V8 R$ R2 u" x& u
  49. 密码= my_password # e4 |# d0 C6 C& c* l6 o
  50. getdriverfunc = getsqldrivermysql ! N5 T8 @" s7 c1 M  k- J& ~$ d# T; I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % N/ p8 @2 ~* O7 r. ~% L1 k
  52. libraryname =. / libsqlmy.so
    ! G4 N! ]1 Z# \2 y- O
  53. 积极= 1
    7 q% D! {9 [, ?, e$ }0 N
  54. ---例如--- . F1 y0 }& Z* s  R

  55. 8 `1 K% U9 S# k; |* q5 @' O% H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % p/ k& f9 {: b3 H" B6 b9 V- |
  57. ---例如--- ) G$ e: W/ b, o; n- {8 }/ d
  58. [ dbexpress ] " v8 S" @5 W5 f; q* p  t
  59. sqldir = mysql_sql
    9 D$ U: i) \' ?
  60. drivername = MySQL中) I- M/ i8 Q4 u5 u4 t) G: c
  61. 数据库=测试
    , V0 d: G- h) V6 ~' Z5 z) v
  62. 主机= 127.0.0.1   j8 v8 t4 b0 Q: R# D, @& v, _
  63. user_name = testuser
    ' F- v' x! ^7 B! c# u/ P% D
  64. 密码= my_password
    ! K) c- {/ _) u0 f7 {
  65. getdriverfunc = getsqldrivermysql
    2 q4 Z3 @% F/ G' z0 [
  66. vendorlib = libmysql.dll在
    * R% l$ g. v- z# X) ^5 L. L
  67. libraryname = dbexpmysql.dll
    " u% l5 ^1 A4 x5 g" m
  68. 积极= 1 1 p( c$ t+ y: p: }' K; d3 m
  69. ---例如----
    : L! J) e4 i1 s2 f# R
  70. -写在0 2.03.04由p wk.linuxfan
      \- F2 Y% I' ?
复制代码
发表于 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 words9 H* B- }& }& Z1 S* j7 `2 ^
0 `2 ?( S) f  [) Q, n
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-13 09:14 , Processed in 0.054311 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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