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

3578 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % i3 T: Q3 ?, `( c3 u& q) N( i
1 n7 u0 w5 A( h7 [- q7 G

  1. , N8 s+ N4 |8 t7 {3 F6 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ P  H% r, i5 p7 _1 V
  3. 4 m# d( e5 t4 _! t
  4. ### What we need ###3 ?1 A& r/ h1 a# w2 x; {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 d; t9 W. o( P6 \8 `
  6. will not explain how this can be done - there are documents out there for the
    8 \; `5 i% p% c9 ~: a- W
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ @" c5 r& V) B( p! H8 i+ b$ L: P, g
  8. and a user account (username + password) that has the permissions to do stuff
    $ b- S" n7 W6 H
  9. with the database. Additionally, you will need a vendor library installed on the5 k; P( n- J, V2 p
  10. local machine, this came with my MySQL install.
    $ V6 @- _2 b% Q8 X2 O% X5 o* o" X/ l* E
  11. These instructions will not tell you how you might transfer your data from the
    7 o( n3 O/ I' Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ r6 W) @! I- J9 \) e! h
  13. database.
      C. \6 Z; e+ {4 K6 V2 x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! @' V8 s" E2 b4 V5 j) b5 U3 d' I: Y
  15. the time of writing, there are still too many issues - check the current status1 \$ Q# Y- p! L6 t0 e: s  b  T
  16. in the TeamSpeak forums if you are interested.
    4 F9 z, Z3 f* K/ s, c5 Q4 {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# ?1 l- @1 u0 e$ _+ W
  18. Borland was used. This driver can only interface with the client library that
    1 k$ G. L$ ?2 K+ D3 P4 N+ F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 L0 ]  W3 t" s4 K" K
  20. client library - basically all you have to do is to use a 3.x client library as
    2 Q+ r: p; E/ H5 k) P$ ?! k
  21. "VendorLib" and a 4.x database to connect to.8 J4 c' v( v, x
  22. If you need more info about dbExpress, you can contact Borland./ [# ]( H! Q6 t* ~
  23. ( F+ V  A$ p5 @% [+ p$ C
  24. ### Doing the work ###4 b- ?4 V; j  D# l& C& @  T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 n! o% U1 |) N/ `6 d( t
  26. the perquisites right, just open your server.ini file, and add this section at3 s" j  d2 Q' j
  27. the end:
    $ U5 [9 w6 ~: n& G- z
  28. ---cut here---( M0 k' S9 q; a- `3 j6 o0 L
  29. [DBEXPRESS]0 s/ ?: Z/ a3 t
  30. sqldir=mysql_sql
    1 T0 Y* h4 M" F) }( k" c, z( {
  31. Drivername=mysql
    3 l' h8 Q4 o  M5 M. j9 i8 B
  32. Database=Your_Database_Name_Here
    5 d( P. g) U1 d( d/ x' F" B1 A
  33. Hostname=The_PC_the_MySQL-Server_is_on4 P( A! @+ B7 O9 ]
  34. User_name=User_name_on_the_MySQL-Server
    : R& z( r8 z6 N5 p6 t8 I
  35. Password=Password_to_go_with_above_user_name
    2 `+ H3 w$ H6 T  E
  36. GetDriverFunc=getSQLDriverMYSQL  `; _7 C  N6 a- p% {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 V6 q' W$ z: M7 C
  38. LibraryName=path_to_libsqlmy_libary
    5 ^( V' F% }4 r7 k- H* j" q2 P
  39. Active=1
    , _0 |& ]# G  Z. C0 Y
  40. ---cut here---
    3 @+ X) D8 Q: S$ {- \# d
  41. In my environment (a linux box with a MySQL server running locally) I have:" m# {( v' g' p4 K
  42. ---example---' n! M9 X$ i8 N% O
  43. [DBEXPRESS]
    $ w, w9 V1 ~- J4 V9 ]2 J2 ]! h
  44. sqldir=mysql_sql4 |( \6 h* x% u1 o: m  c' S  n
  45. Drivername=mysql
    9 ~7 `& l' s1 i  D- c1 \
  46. Database=test
    $ E: l! A/ t- L
  47. Hostname=localhost
    $ o+ C' |* }7 E
  48. User_name=testuser
    - r4 E: F: [7 M4 J" f" p
  49. Password=my_password+ b* x8 X: x$ x' K
  50. GetDriverFunc=getSQLDriverMYSQL
    : S2 {3 m7 V/ P& O8 o* R6 v& i/ ?( `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 M% n" J2 @0 O1 |& j/ V
  52. LibraryName=./libsqlmy.so
    5 X/ n% E+ w$ d1 G
  53. Active=1* l4 J4 x. e4 A
  54. ---example---& t& g+ x" t3 \

  55. $ S; V( P  R& o4 p# ]0 K
  56. On a windows box, also running the MySQL server locally, it would be:2 d/ K6 v& D& O7 `8 X1 x4 v7 d5 _
  57. ---example---
    ! d% p  c/ @0 k! g, A
  58. [DBEXPRESS]
    9 s$ O( X- \3 I6 Z
  59. sqldir=mysql_sql
    & y% q9 @% [% N2 g0 k- s5 a
  60. Drivername=mysql, K* d2 }$ F) R) K$ |* e
  61. Database=test
      G8 f) \! j2 L( E+ k9 C% D
  62. Hostname=127.0.0.1& R, |5 \  {3 P% U4 |0 x( d2 z+ [
  63. User_name=testuser
    2 @% D4 O2 U9 z5 D5 c' `1 c" B
  64. Password=my_password
    3 S* b0 p, @( t. x8 q/ p
  65. GetDriverFunc=getSQLDriverMYSQL& C+ N. |- _! f
  66. VendorLib=libmysql.dll
    , b# x0 _( i, W7 C( S1 U+ L
  67. LibraryName=dbexpmysql.dll3 g7 K/ b2 ?* W$ f3 |6 }
  68. Active=18 B, I0 o9 T: |3 r$ U' V1 @  h
  69. ---example----
    ! v7 L, x" y/ J+ j0 D; ~9 U
  70. - written 02.03.04 by pwk.linuxfan3 B2 X% I  }, x9 Z: J( c1 p+ c. O

  71. & f" O0 ]- ^7 v! E7 \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 [% A" w* q' d" R* E) @

  1. 6 f6 [3 G/ ?# {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + Q" o6 Z" E9 a" f# }. H9 Q

  3. $ b) e* s0 y9 ~1 a; R5 x
  4. # # #我们所需要# # #
    ( _1 V1 j4 h! ]; @) }1 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  S2 L  z" q! Y7 s
  6. 不会解释如何做到这一点-也有文件存在,为
    % @3 h3 E+ j9 ?, {* X* }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; A( {# a$ n- G  ]2 l7 l0 ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ Q2 G8 N7 u+ G- Y$ ]% x( s3 ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ Y. u/ z& d6 B, f% e
  10. 本地机器,这是我的MySQL安装。
    3 k) J. X8 j( z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 b! c& ], ?* ^4 Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * S8 y+ {' g& a% k' V
  13. 数据库。
    : W: c5 l5 ]& W  t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, P, {$ i$ F3 Z) F4 P' U$ T
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 L  U& J; X2 \& t$ L4 b0 P
  16. 在teamspeak论坛,如果你有兴趣。 - S" n: L% i2 N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机  B6 j( X7 B: a4 N
  18. Borland公司使用。这个司机只能界面与客户端库
    * \5 B: R/ x; B4 I( Q/ A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% ?" A8 t' V; `8 ~( Y! z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! V& e; z0 s: A; m
  21. " vendorlib " ,并解数据库连接。 ' f, N) l2 E5 N8 D
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 V" z- ?% f0 J. q1 j. W
  23. 2 u, `( j4 ~) |. t& G' s4 m% n0 E& u
  24. # # #做好工作# # # 8 i* i& Q/ d1 B8 G1 K: A- L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 t1 b4 r0 y, M. A  A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 q9 W7 k% r3 A$ V; q: P
  27. 结束: * d2 m5 ^* x" l( q$ V' G
  28. ---削减这里---
    0 z6 e* A' Z3 N! W0 O
  29. [ dbexpress ]
    ! C- y' S0 E6 j6 ]. g4 ~
  30. sqldir = mysql_sql 5 Q9 n/ a' A$ ^8 l( M
  31. drivername = MySQL中
    9 Q# y/ ~# W/ e8 k& l! G' o
  32. 数据库= your_database_name_here
    1 N4 Z' J0 _& w! V. p6 D/ O
  33. 主机= the_pc_the_mysql - server_is_on
    7 D, A" e/ n; }% c0 u+ M( S* @
  34. user_name = user_name_on_the_mysql服务器6 c/ g& W; b0 T
  35. 密码= password_to_go_with_above_user_name # n7 [( \1 }9 q4 j  S* [; e7 G3 M
  36. getdriverfunc = getsqldrivermysql 2 ~+ T# M0 u8 b: G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + [! g5 `* F* s" P8 Q, F8 F; T
  38. libraryname = path_to_libsqlmy_libary ' ~; g5 M3 W! s* b$ y
  39. 积极= 1
    ; d) g0 G) M4 o# m# T* W7 E* a
  40. ---削减这里---
    % Q; v8 x: N  x" K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ @3 }& P" I! t
  42. ---例如--- : y1 ^. x1 e' _& F1 Y
  43. [ dbexpress ] ; G* x& W  r/ k9 a5 q# f. Z" f5 o
  44. sqldir = mysql_sql ( w- @! w* ]4 u9 V' }) u
  45. drivername = MySQL中& |9 }$ E  A6 P, A" i% B3 _& ?
  46. 数据库=测试
    4 E2 U' O2 X  Y( E) P' T
  47. 主机=本地主机2 R2 N7 C9 u( y4 ?0 J2 h
  48. user_name = testuser
    ( I2 U1 C, B/ G4 }1 L  p# {
  49. 密码= my_password 1 m, G0 Q3 [( o
  50. getdriverfunc = getsqldrivermysql 4 P4 e& ^. M+ J" E* `1 X5 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " E$ k2 d5 F  v1 K% z7 q/ p
  52. libraryname =. / libsqlmy.so , B- I4 w* V; U4 A- \# t
  53. 积极= 1 3 v! [& |1 Y: S2 I: I3 q
  54. ---例如--- 3 b6 J3 l0 Z8 A+ [7 E1 o

  55. ! o* d+ W7 K0 Z( D+ _6 j5 a# W
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . T) g/ }3 n. V( t2 s
  57. ---例如--- ) s$ f( W. w9 Z+ X
  58. [ dbexpress ]
    ! }/ Q7 f( _% k$ e8 x9 \# t+ Q
  59. sqldir = mysql_sql ; Q7 |, B5 w; u; O* y
  60. drivername = MySQL中
    / h+ u1 a0 i9 ~) k9 M( A( W9 f
  61. 数据库=测试
    * D+ m* `2 @% B$ E
  62. 主机= 127.0.0.1 " \4 ~5 ], Y' ~6 \% ?) o2 \- ]+ v% r- U
  63. user_name = testuser 5 N- D+ a# m3 S: m+ f, ?2 t: o
  64. 密码= my_password 4 Y8 ]% B" L. o$ g* _
  65. getdriverfunc = getsqldrivermysql
    0 B% g1 r9 I& m3 y8 C8 x" \5 i
  66. vendorlib = libmysql.dll在( D1 t/ s9 t* @6 ?
  67. libraryname = dbexpmysql.dll
    4 S  A# S! M/ a# Z7 @' k# b# S: Y
  68. 积极= 1 , T9 T* w6 y, s+ H
  69. ---例如---- + B7 c. W- T8 B0 W
  70. -写在0 2.03.04由p wk.linuxfan$ r( d6 V" i8 Q) o, {; L
复制代码
发表于 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. V7 s' h: n' j4 b, g
9 d- S! v: M* N9 U1 b8 \$ g
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-28 02:11 , Processed in 0.073649 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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