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

3318 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& |$ T1 Y! C' T' ~+ u  j+ ^2 H
  a9 ~1 q  P1 f' j
  1. ' n) ^6 k9 S$ \0 X, A2 k7 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) w8 o$ p: d0 i- j1 b1 z
  3. " ?6 ]7 h* Y6 J/ ]
  4. ### What we need ###
    ) S& I$ d. N8 M# B
  5. Naturally, we will need a MySQL server to store the data for us, this document ! w1 X0 ]- G! b$ g  A! G
  6. will not explain how this can be done - there are documents out there for the $ X- B8 r. U1 ]5 z' l. S& _3 g5 e) _
  7. interested. The requirements include a (empty) database for TeamSpeak to use- g' A! \1 D! ]* i) i+ z/ G( q
  8. and a user account (username + password) that has the permissions to do stuff
    ) Y; l8 [( m9 U4 ?8 N/ M  I
  9. with the database. Additionally, you will need a vendor library installed on the* p* p) m' j+ K9 a/ A! V
  10. local machine, this came with my MySQL install.
    % @! Y0 P# _4 ^3 r
  11. These instructions will not tell you how you might transfer your data from the; @1 }' c% R& D+ l3 s) J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ }9 |! M4 f8 C
  13. database.
    - O; g- m9 A, \4 N! O
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & \& V* b7 x: P2 u" |' N8 R
  15. the time of writing, there are still too many issues - check the current status' Y- [/ s/ q* B
  16. in the TeamSpeak forums if you are interested.& o" _6 C% T1 H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ n& D7 C8 g6 O! g% y. t7 A
  18. Borland was used. This driver can only interface with the client library that   |" H* _6 a6 E7 d; R, R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' |+ \/ Z3 K: U* o* x
  20. client library - basically all you have to do is to use a 3.x client library as " |* K& E7 s+ c" v
  21. "VendorLib" and a 4.x database to connect to.1 S% [- |: |3 H7 _
  22. If you need more info about dbExpress, you can contact Borland.7 M3 o& L9 p1 v  A7 a( n3 J
  23. + M: {1 [5 W$ I, _* f8 i' u
  24. ### Doing the work ###
    0 h; {: o. h# _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 z; J# }5 w4 t4 S6 _; @& k6 g5 M
  26. the perquisites right, just open your server.ini file, and add this section at0 q& P/ R- T0 R" \% y. K
  27. the end:# E3 t9 H& D9 F% f8 L: i4 U1 p: D
  28. ---cut here---
    " d9 U9 b) j3 V+ y8 k
  29. [DBEXPRESS]4 {3 C7 ~* |* ~4 s
  30. sqldir=mysql_sql
    * H- l: g! K' e! r7 I  N
  31. Drivername=mysql
    $ L* C& G' c% e  P7 \3 U- x
  32. Database=Your_Database_Name_Here
    ; X) [% z, f& h5 }/ Y) i; y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 Y% o) l6 H5 p3 }3 i
  34. User_name=User_name_on_the_MySQL-Server! a1 F) ^. j/ i- C! m6 Z
  35. Password=Password_to_go_with_above_user_name1 G5 f6 Q0 _7 v! k* W, A7 I0 Q& B
  36. GetDriverFunc=getSQLDriverMYSQL
    - z* [+ U1 o6 C) N5 ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ [+ H' ^+ `& g# A1 W
  38. LibraryName=path_to_libsqlmy_libary% S- |1 q5 [" c$ v
  39. Active=10 O/ s! N5 h: c3 }: h8 x
  40. ---cut here---
    " ]9 _3 P& a( c! k" @& A* @2 `
  41. In my environment (a linux box with a MySQL server running locally) I have:% W9 C1 D! O/ s" Q1 Z& ~! M: `: g
  42. ---example---6 k: a1 p* ?2 U8 o8 S, D* i
  43. [DBEXPRESS]1 s9 m' W" {( [* X) q
  44. sqldir=mysql_sql
    6 d; V/ L# B& B$ b: }
  45. Drivername=mysql
      v4 Y3 a3 b  j6 q
  46. Database=test* [* B4 V, v2 F% k3 ?
  47. Hostname=localhost3 @' U! v, R5 f- L1 M
  48. User_name=testuser
    , N0 Z* K; b; f. X/ Q; k
  49. Password=my_password' M* s4 v* k- ?. {2 n
  50. GetDriverFunc=getSQLDriverMYSQL
    8 o/ x( P  P. {9 {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) @+ p0 Q/ V+ r% Z8 W4 y/ I
  52. LibraryName=./libsqlmy.so. p, `8 v0 V0 o! b, Z6 V( Z; Y
  53. Active=1
    & N+ N8 G, Y# i, A( a. B0 e& D% y
  54. ---example---
    5 [. N6 v( S; W3 d0 _  Z+ a

  55. ' N) _! x4 d2 |8 ]$ R
  56. On a windows box, also running the MySQL server locally, it would be:6 n' L) c) s  K4 D) |' q
  57. ---example---
    ' D: x0 B# p. _/ l6 |% W
  58. [DBEXPRESS]
    7 }; _) b0 Z: f; f
  59. sqldir=mysql_sql
    $ T8 v6 j. E2 W5 F8 L9 e# v
  60. Drivername=mysql
    8 C% h: F5 t, q- @1 F
  61. Database=test% k, C; }5 K6 H# Z6 X/ }. c* C
  62. Hostname=127.0.0.1
    8 w/ n$ M* L  m8 }. [/ E! g
  63. User_name=testuser
    7 q! r0 m: M- t, R3 ]; {
  64. Password=my_password
    6 }3 L" N" h, e" J% G* Y! W. x! k9 g
  65. GetDriverFunc=getSQLDriverMYSQL1 G* l, c2 Y: b3 ^/ O$ X6 Q
  66. VendorLib=libmysql.dll
    ' U' \9 ^' `8 E. v7 m
  67. LibraryName=dbexpmysql.dll( _% e3 Q5 ?5 Z  p2 l5 K3 P. j
  68. Active=1
    1 f, R( G! {: N/ t: R5 @
  69. ---example----2 t. l, m, f4 Y8 j* u
  70. - written 02.03.04 by pwk.linuxfan
    / P7 y; }0 j  h: I
  71. . b$ P& j4 K9 }! ^& I; h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: r  V+ g2 o6 _" h. E

  1. 3 h' k; ^' e& F+ @0 M$ _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 E7 M7 t+ I' k) f
  3. 2 q, {- M  z: ]: Z0 F  W0 t$ P
  4. # # #我们所需要# # #
    ( [) [8 D" K& f, H* j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) l2 J% R) w) b/ G* ?% h( E
  6. 不会解释如何做到这一点-也有文件存在,为8 q3 W4 M4 C/ ]/ |7 ^* ~3 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . v! N/ n& V  a: v4 k" z. p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & k+ U7 p! p3 |; l4 H% X/ `' f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " @9 R0 B4 G9 N
  10. 本地机器,这是我的MySQL安装。 % H; |' m4 s3 }* T( R/ E/ y1 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% x* |, w3 X& r) y7 z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 D& N1 t  m" }' x
  13. 数据库。 3 @4 J, n, E# t4 H: j; X* j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( ]' q; Q7 ^  B: b
  15. 编写本报告的时候,仍然有太多的问题-检查现状! n& V' ~5 K; B  t7 L$ U
  16. 在teamspeak论坛,如果你有兴趣。 ; w1 Q% F2 \; _: {7 @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ M. K3 u' q% a3 `3 ]
  18. Borland公司使用。这个司机只能界面与客户端库: E1 @' X7 R1 p& _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) ?: _& `  d& z* P5 |% T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & f* R. F2 X  |: L; u2 u9 B" K
  21. " vendorlib " ,并解数据库连接。
    % Z- V. T/ P5 I$ m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % p4 K- _/ _9 P9 S

  23. 5 e0 r' p" D5 ]- b  m  q
  24. # # #做好工作# # # # N% }3 U+ I# r4 I1 ?5 s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 D1 c; J- a  S4 P% f/ x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - ~( W% E. P8 `5 H& r' o
  27. 结束:
    # ?) y- Q% s* h
  28. ---削减这里---
    ' l4 j2 Z+ z! Q( Q; _
  29. [ dbexpress ] 5 W/ f2 u1 N  z
  30. sqldir = mysql_sql
    ( ^) m1 H$ `, [7 a3 h/ `
  31. drivername = MySQL中! L1 i$ U" k0 j% z
  32. 数据库= your_database_name_here & F8 F1 l# o7 |. X& @
  33. 主机= the_pc_the_mysql - server_is_on ; Y% {7 c  |& M3 @# `+ A% C
  34. user_name = user_name_on_the_mysql服务器& C) E% c% H8 W5 j$ j
  35. 密码= password_to_go_with_above_user_name
    ) W$ u+ F( |) |
  36. getdriverfunc = getsqldrivermysql
    4 f( [/ s5 f" H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & L. |! q& x6 V, i5 H
  38. libraryname = path_to_libsqlmy_libary
    # s+ d8 s$ `3 \# t
  39. 积极= 1 3 m7 b  C7 t% r' v* F
  40. ---削减这里--- - j+ }6 x$ j- B5 a7 Q1 n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ M& K* c: {) z
  42. ---例如--- $ z- g- j3 H$ h8 h. Y1 m# ?
  43. [ dbexpress ] 0 L6 c3 l" z! A! k5 G% b7 E
  44. sqldir = mysql_sql + G0 \9 T6 A! r
  45. drivername = MySQL中6 N# d0 G  G* h8 [- v
  46. 数据库=测试' u- K5 r! f6 q) ?/ U* i
  47. 主机=本地主机
    + g" o7 Y1 ^% T8 V
  48. user_name = testuser
    8 G) w3 r3 R/ k- d. G; t
  49. 密码= my_password
    $ O0 i1 M. d, ]+ w1 q" ]
  50. getdriverfunc = getsqldrivermysql
    1 K  F+ H9 l0 _& v* D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( H! G9 O' }7 f% |0 C
  52. libraryname =. / libsqlmy.so ! I% |, H# Y) `" o9 @
  53. 积极= 1
    4 {! T: J. h. G1 w% O; _( ]- V
  54. ---例如---   y) M! W1 b' q7 h

  55.   g1 q" N0 b( ~. I' W: S  R. y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + |! ]& P' X4 _$ R6 S) w
  57. ---例如--- / _" _. z+ ?1 T
  58. [ dbexpress ] + T! K! n2 \& n+ J9 }/ q7 I
  59. sqldir = mysql_sql
    1 M2 p* T7 g* W0 b6 M5 S
  60. drivername = MySQL中
    : Y. Q+ f2 l# ^* f
  61. 数据库=测试) ~% l) J( \* n1 `0 H: P7 v. O
  62. 主机= 127.0.0.1 6 V0 {0 g1 D  v
  63. user_name = testuser
    : ?$ h4 b4 R* a7 C  A& g/ j
  64. 密码= my_password
    9 Z( q/ d0 K% a# X9 ?7 t
  65. getdriverfunc = getsqldrivermysql 5 G! ^9 i7 H* n2 k; |
  66. vendorlib = libmysql.dll在! s8 d6 K" r7 m$ @6 W2 G3 P; c) f
  67. libraryname = dbexpmysql.dll 9 z# c' T6 M1 k6 h: Y" Z
  68. 积极= 1 $ E/ j; s6 ?  _8 e: m# Q* d
  69. ---例如----
    7 b2 P( u- R" q% j# U2 T/ z
  70. -写在0 2.03.04由p wk.linuxfan! a. W) I1 x/ S& J! i, a
复制代码
发表于 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$ r! E6 x4 r" H3 A$ D

7 U' y! z; y3 E8 }* gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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