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

2940 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( S1 r5 M  ~  n2 F; w# k7 K7 U- f: M9 ~* c0 `& ?  n  ~
  1. $ y: M" i. S! N  D0 z% J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 D! B6 ~1 M3 |  J

  3. + `& T8 {7 ]8 e. }1 L/ J
  4. ### What we need ###
    % ?* g, e% M/ r5 E+ i: r& J2 x& ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' K0 e* `( G( l( y7 p
  6. will not explain how this can be done - there are documents out there for the ' d" B# X: A* y; I1 B0 [% O3 s# A" _
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 w% }8 _3 C0 I& d
  8. and a user account (username + password) that has the permissions to do stuff7 O) s" ]  g, y: I
  9. with the database. Additionally, you will need a vendor library installed on the/ u; v7 F* t' F3 y; ]$ ]
  10. local machine, this came with my MySQL install.) |2 n7 ~: ]% y. d6 U4 b
  11. These instructions will not tell you how you might transfer your data from the% K9 \  l' C" H1 Z" M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & c' w; h2 N. X0 [+ w
  13. database.
    2 g0 ~7 ^0 _" p1 M: [% Q1 d! R  W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      w8 s: D" X; g8 I. Y- P! ^$ u* [) N# A
  15. the time of writing, there are still too many issues - check the current status
    7 b$ d; ?( x( x; K1 B! n6 z1 X9 H
  16. in the TeamSpeak forums if you are interested.6 [% w8 `& c) t7 H% b) C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " z8 A( G4 r% a
  18. Borland was used. This driver can only interface with the client library that
    6 l+ c1 x: S7 ?4 }/ U* r( }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! _# x9 ~6 M2 E0 L
  20. client library - basically all you have to do is to use a 3.x client library as
    - U! L9 g: J2 Z# _. d* j/ ]9 u3 U
  21. "VendorLib" and a 4.x database to connect to.
    " w3 e" V4 I5 _" ^4 f" O
  22. If you need more info about dbExpress, you can contact Borland.% J3 q% p) T: D! A5 N0 [; {# \
  23. 4 A% i. U% L# a, }6 P0 ]
  24. ### Doing the work ###
    7 g" d  D: J& S. h4 z- e2 N. m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 p, C( [0 m$ q  I: E
  26. the perquisites right, just open your server.ini file, and add this section at
      I6 j6 L* |% S# a( X
  27. the end:
    ( x& L9 w. U, ]( g1 e
  28. ---cut here---4 [8 O: _- N6 Z# M: ]7 c
  29. [DBEXPRESS]
    $ w9 x* \3 m9 q: W
  30. sqldir=mysql_sql
    2 X# p% }4 x, h- B* a
  31. Drivername=mysql
    ' H6 K8 t/ R, ^2 v; O  o( P# M" p
  32. Database=Your_Database_Name_Here
    % g& J2 g# {* b9 F+ X& m
  33. Hostname=The_PC_the_MySQL-Server_is_on, k$ C: y2 W, M% {6 R& w% q
  34. User_name=User_name_on_the_MySQL-Server( b" Y" @1 ]. |  v
  35. Password=Password_to_go_with_above_user_name
    ) e+ Q  V, j6 f8 ^1 \# e3 k6 e8 ?, U
  36. GetDriverFunc=getSQLDriverMYSQL
    6 E; ?- |: m8 J8 |7 u. z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( b( |! a/ u5 _3 x# c4 J
  38. LibraryName=path_to_libsqlmy_libary. I2 V% \' ~, {% n) h5 q( x
  39. Active=1
    ; ^! ]7 y0 N. Q( e! ]) w# d/ X
  40. ---cut here---, ~% ^' ~+ X9 i/ J4 M/ ~7 f1 Q  o
  41. In my environment (a linux box with a MySQL server running locally) I have:9 Q# K5 f3 N4 e
  42. ---example---
    + [( D6 h! H; F
  43. [DBEXPRESS]/ j& ^, F; D3 s0 s/ `1 `( h4 U
  44. sqldir=mysql_sql
    1 @" t) R$ I" ?  ?2 ^* C
  45. Drivername=mysql$ o/ t8 I& q$ A6 Y3 o" O# q% H/ D
  46. Database=test- F, f, S1 A1 M2 H0 \. O1 V' B
  47. Hostname=localhost
    & {1 d1 `4 o- |, j+ X* q
  48. User_name=testuser
    * `, [2 r$ Y$ ]
  49. Password=my_password2 {' L4 z/ W+ v3 b4 c) j
  50. GetDriverFunc=getSQLDriverMYSQL3 X7 V+ y8 v8 h" n  }& s# u. a% g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * L( Q  w, Z3 s' T
  52. LibraryName=./libsqlmy.so
    & A; L  ~8 f/ ~' r
  53. Active=18 N9 [+ \) _1 m, ?+ r; E% V
  54. ---example---
    + ^$ m" L8 l- v$ u9 Y# t0 ^

  55. : y9 V+ S7 @+ u1 ^, }+ |: ~! ^
  56. On a windows box, also running the MySQL server locally, it would be:1 {) N4 |3 M6 T" B- s
  57. ---example---* {6 U4 G3 R$ O1 h
  58. [DBEXPRESS]
    , B- h8 r& ?+ V1 x! q2 F
  59. sqldir=mysql_sql
    # v( ~% h; W& N% U! H2 n; P
  60. Drivername=mysql  H. l0 F6 T9 }3 M
  61. Database=test/ t! E) K7 b; Q  l- F
  62. Hostname=127.0.0.1( h7 f+ U; Q' o1 {/ h# ]/ Y3 J' ~
  63. User_name=testuser
    & h6 {9 Y8 o% j* c
  64. Password=my_password; W2 h0 K' K' r
  65. GetDriverFunc=getSQLDriverMYSQL
    7 y  T: J- l4 I  _: P
  66. VendorLib=libmysql.dll( T$ I5 G) o( A+ l3 H/ r
  67. LibraryName=dbexpmysql.dll
    / [# f% ]2 T1 J2 K$ N) ]9 ^
  68. Active=1
    " M0 z) O1 W: }; M
  69. ---example----
      ~. B3 e: A- v: R
  70. - written 02.03.04 by pwk.linuxfan' t4 |  Y7 i. L. k( o0 T' q
  71. 9 _. G/ M+ S8 U$ I' z" B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 s3 V0 \! ?$ |/ I+ Z/ o9 L

  1. + `& T  M& D# T2 e1 Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; @2 X6 X! g0 j1 a
  3. " z& l0 Y/ D, ^2 f6 D/ D
  4. # # #我们所需要# # #
    ; R5 m* p3 S( c: `+ v: ^+ D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 a1 G4 L6 r; Z# s( s* K
  6. 不会解释如何做到这一点-也有文件存在,为
    ' P; s2 s1 d1 q8 X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. B% h  N1 J  k0 t9 p; y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, B  E  x9 _4 Q, r" D4 n8 I3 L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " x* z- s$ l$ Z# a
  10. 本地机器,这是我的MySQL安装。 $ [. \& l3 x# z, i( j- ]& j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! \" t) K- F/ e3 N; N# X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 W3 A( w* ~6 P% o9 C' h) n2 J
  13. 数据库。
    ; y% m0 E- l  ^# K, _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, n3 B: h1 }, w3 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * P3 K: r$ u3 A
  16. 在teamspeak论坛,如果你有兴趣。 ' y( |0 u. u3 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) G/ j! j$ z$ n  D3 ]& g# N
  18. Borland公司使用。这个司机只能界面与客户端库
    6 z& R8 P; ^6 y; Y% Z, Y: D; k+ A" L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 c, d5 Y+ q+ t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; N% l, Z. m, {4 z" {" [
  21. " vendorlib " ,并解数据库连接。
    1 i2 q- m' q2 X( X9 M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - P! C9 Z3 ^5 b  n# p  `2 {& k
  23. 2 f) u7 m) P% @& c
  24. # # #做好工作# # #
    : C4 ~4 @3 B; |3 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " a, v; E# ~+ `6 z$ x1 D! j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 g, c: d$ c" Y) z7 X+ Z3 R
  27. 结束: 6 Q" C4 l) |3 J! T7 t0 P
  28. ---削减这里--- 4 i2 w, I' h! Y3 R4 S  d
  29. [ dbexpress ] ; z" }9 W& x1 g! I" Z1 ^
  30. sqldir = mysql_sql
    5 I: j- C8 F1 D
  31. drivername = MySQL中
    % n: m- a+ f3 T1 r! v5 ~. V1 C
  32. 数据库= your_database_name_here
    , f" X; k; e; V) v- V
  33. 主机= the_pc_the_mysql - server_is_on
    - K' _$ V- ]- B
  34. user_name = user_name_on_the_mysql服务器7 j) x$ ^. o* S( n. k0 ?" ~4 L
  35. 密码= password_to_go_with_above_user_name % B$ G8 B0 ]8 f
  36. getdriverfunc = getsqldrivermysql
    ; X, X- l' G/ T5 l5 ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - F$ Y# P$ F: O2 q/ L+ f. i& |
  38. libraryname = path_to_libsqlmy_libary
    . ]! }4 R/ d. ~9 J7 M- P
  39. 积极= 1 ! X& r* g+ e+ q7 m# D0 i4 e7 ?$ D
  40. ---削减这里--- ! J8 p: ]. I/ [' A' Z( ?. h+ x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 X9 d2 @% F, a. H1 \% S0 c4 X
  42. ---例如--- 1 `: O4 P! u/ A6 p  I4 b
  43. [ dbexpress ]
    2 k: {" X( G9 Q1 P, K: Q( \
  44. sqldir = mysql_sql ( [4 [8 J/ W; S9 i; H5 w4 s# v; k) [
  45. drivername = MySQL中- X- C! c# l& }. Z2 m- H
  46. 数据库=测试& d0 v- N- h% y4 f5 P8 H( `% @
  47. 主机=本地主机
    - y: F0 q/ ]* j, Z, v
  48. user_name = testuser ' I3 C  }$ y3 v/ W+ ]
  49. 密码= my_password
    ( Q7 e9 B/ Q, |7 ]
  50. getdriverfunc = getsqldrivermysql # o+ q0 B( P- n+ m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , P* G$ {" q0 ?1 f+ z% j
  52. libraryname =. / libsqlmy.so 7 s0 W- ]4 B9 u: m9 X0 e. Y. \8 U
  53. 积极= 1 1 c; E2 m2 x4 ^" F9 h% g& w3 i
  54. ---例如--- + Z# i  X1 J9 O, t  Q

  55. 9 m; o. B( C2 \; j1 h2 u# @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 m" }. L$ w. B2 I# O+ R
  57. ---例如---
    / X$ @7 ^/ |+ ~( m6 j
  58. [ dbexpress ] 4 X" i5 G4 n& {1 Y1 Z  A
  59. sqldir = mysql_sql
    ! }4 j+ }. V  ]$ c
  60. drivername = MySQL中/ c4 e; d( a6 Z7 u! B3 b
  61. 数据库=测试9 z% `; D0 B% w
  62. 主机= 127.0.0.1 6 U/ X; E8 H6 w* o; z# }1 {
  63. user_name = testuser ! j% w& ^) n' P. _! ]
  64. 密码= my_password 9 i/ G3 ^- s- C' T
  65. getdriverfunc = getsqldrivermysql
    5 h) ?: G* A/ d) F
  66. vendorlib = libmysql.dll在  v8 ]! `  l; i2 i2 D
  67. libraryname = dbexpmysql.dll # x6 e, y) P$ ?
  68. 积极= 1 ' c/ Z# x6 ]8 K4 V
  69. ---例如----
    * f% M' t8 c) ?4 t: M5 Q
  70. -写在0 2.03.04由p wk.linuxfan
    % ]; u/ x4 U3 c) _4 z
复制代码
发表于 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+ W: ?7 g; Q4 n0 z5 k" o1 o

% Y& h4 ?  ~+ L0 [9 lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-26 19:31 , Processed in 0.090953 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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