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

2908 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 Z0 ~( U' ~' J1 R& I' P7 U* y! [: U3 S
  1. : e6 E/ G, W) E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " b% T4 N  H5 c; G) v
  3. 1 l" G% I6 ~: ~7 V: e- F: ~/ i, Q4 L
  4. ### What we need ###
    : D6 ]. u% Y+ z- T# j% ?
  5. Naturally, we will need a MySQL server to store the data for us, this document . t7 l  R+ z+ Z8 N% S+ q+ [
  6. will not explain how this can be done - there are documents out there for the
    6 j6 m3 Y3 ?7 M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % k/ d" @2 W3 _: E
  8. and a user account (username + password) that has the permissions to do stuff
    " y; X9 c3 s# g+ G2 H/ L2 P
  9. with the database. Additionally, you will need a vendor library installed on the1 t: M- ~& g+ ^3 b! G9 r0 p( M
  10. local machine, this came with my MySQL install.9 @9 ?  o& B3 ]1 @% K3 ^
  11. These instructions will not tell you how you might transfer your data from the9 y# L  G& \  e+ j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# O4 E6 J/ {" V$ \
  13. database.
    0 U# o. \8 C; X; U- X& S5 ^& K
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / ]* U8 |) ?* y; d( B$ v
  15. the time of writing, there are still too many issues - check the current status' M! N( a1 i; B$ K3 ^
  16. in the TeamSpeak forums if you are interested." W. W1 s; G- o) n+ d& ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 T- W5 U) g8 t9 m/ g0 E+ Z' B$ B
  18. Borland was used. This driver can only interface with the client library that % V. I* P0 O( K. W4 o, m. Z1 O8 J/ s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ J0 o4 w) }% D4 Y  E% r) J7 t; H
  20. client library - basically all you have to do is to use a 3.x client library as 0 s5 ^: Z5 j1 E! T7 c, [2 g
  21. "VendorLib" and a 4.x database to connect to.. t: m$ z' u& Q9 `7 |, y+ ]: k
  22. If you need more info about dbExpress, you can contact Borland.% C- Z$ }- J) I/ f! @; l7 d

  23. 3 d2 Z; r6 q6 D+ |
  24. ### Doing the work ###
    ! S4 s" i* J$ `" g+ j& m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & k+ _, [9 d) W8 Q8 `# i) m- A: u- m
  26. the perquisites right, just open your server.ini file, and add this section at: e" t' P2 \2 t3 i) P- p7 n1 o5 O
  27. the end:
    ' u4 j. ]4 H( \" V/ U. L' s
  28. ---cut here---
    - F4 w0 F2 Z1 m9 I9 U6 G; ~6 I" H
  29. [DBEXPRESS]! R! U8 H+ J$ Z
  30. sqldir=mysql_sql9 e. w4 W" z! F' A
  31. Drivername=mysql
    " h* U. y8 p8 t3 y
  32. Database=Your_Database_Name_Here# l9 x" w5 Y* G3 j/ I# K
  33. Hostname=The_PC_the_MySQL-Server_is_on3 [/ o6 E+ y7 w1 B; t, A9 h: j
  34. User_name=User_name_on_the_MySQL-Server4 k/ ^4 ?/ u& ~
  35. Password=Password_to_go_with_above_user_name) ~( T0 @3 K/ Z' b* ]$ M: E1 B) l+ q
  36. GetDriverFunc=getSQLDriverMYSQL
    ) s: y* O! n2 M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 R. p; b& b1 Z; q7 L# n
  38. LibraryName=path_to_libsqlmy_libary
    7 r6 X  l; D/ @" X/ Q: P7 c
  39. Active=15 |; j  L9 s* y: H/ n6 d* z& e. {
  40. ---cut here---
    0 L" G2 V) I% o8 U+ L2 \* W2 p. q& H
  41. In my environment (a linux box with a MySQL server running locally) I have:# B/ L% {8 x. B' T4 A4 @: X! a
  42. ---example---
    # E, n- b* [) r* h/ O3 R
  43. [DBEXPRESS]+ @- q* S' A" C: C
  44. sqldir=mysql_sql6 I2 V: ^5 O2 S# c! C2 v7 l7 Y, a
  45. Drivername=mysql* J8 m4 S$ P$ _3 F+ C4 S- C3 q9 n
  46. Database=test
    * A8 ^. D4 ~  w: n# M  ^' s4 Y
  47. Hostname=localhost- S) m0 z! e" t8 Z# b4 @1 [3 Y
  48. User_name=testuser" X, q6 `8 J/ R8 r% m( r
  49. Password=my_password) W& U; _9 d/ u5 @
  50. GetDriverFunc=getSQLDriverMYSQL
    3 @7 K$ |; P( T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 q% J2 o3 T3 ~/ u
  52. LibraryName=./libsqlmy.so( h) J; |2 D8 Z1 U6 n  R
  53. Active=1
    + w6 d6 Z8 J$ r$ f" T
  54. ---example---
    0 P  q. g8 C6 O1 ^

  55. ' K+ n' d3 s6 R4 e& A
  56. On a windows box, also running the MySQL server locally, it would be:- D& H" U" r. s. U/ v9 K
  57. ---example---/ Q9 A* F) Q7 ]# p( U
  58. [DBEXPRESS]
    ! e3 Z% u! d; l) a* B2 R% v, c  x! e
  59. sqldir=mysql_sql  W- a5 X( U4 c# }
  60. Drivername=mysql
    8 n- A+ l( x- N. d2 }* b
  61. Database=test0 `6 F) a" m) V/ G( H
  62. Hostname=127.0.0.1
      X( g  ]" d3 `. v* J% a
  63. User_name=testuser
    2 U: x( @4 }2 J3 f$ w  W
  64. Password=my_password1 ~% n6 f: {& u7 h+ U
  65. GetDriverFunc=getSQLDriverMYSQL
    - Y  m! Z4 H  ~
  66. VendorLib=libmysql.dll
    ( N9 L0 e. \- \
  67. LibraryName=dbexpmysql.dll
    0 H% |* P% ?/ d$ A- J
  68. Active=1# H0 }% ~! ?! R7 A- k; g: \
  69. ---example----
    . I2 T; R) }( R1 M) K  Z) j
  70. - written 02.03.04 by pwk.linuxfan! t. b. \; F6 }' x* @. p/ p

  71. 1 `8 }# d  y6 ]' @/ i  A1 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 J6 Q3 t1 A2 }: d9 b6 ^

  1. 1 R/ J6 B6 k5 Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 Y, p1 i8 B( h
  3. % i+ _8 M5 D! i) E; b% k: ]
  4. # # #我们所需要# # # 4 Z4 X0 P& \- x( s1 o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % Q  K% v& F* e+ y" n; {( h
  6. 不会解释如何做到这一点-也有文件存在,为: p8 {7 A' c& {' a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : e, S3 h; {% U$ ^9 _5 H, R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 j) j1 U. R# y( s' B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 A0 Q, P# p2 u/ i
  10. 本地机器,这是我的MySQL安装。 0 c* {$ `8 S$ C. O, [/ C0 ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& K$ I( `) j  K, d/ P  h* f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      A! a* r( [8 C6 |. A# O
  13. 数据库。
    $ U: m& D2 k- \4 p5 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : I% j3 q0 f* S% v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " V; w( I2 r, P* U
  16. 在teamspeak论坛,如果你有兴趣。 3 D- G/ b6 E2 G% [( ]" f. f: D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 y& R4 ]/ f9 B
  18. Borland公司使用。这个司机只能界面与客户端库- p7 k. E; M$ m$ ], |( i0 C: T7 ~9 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # a  S; u8 Y) G% a5 c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . i/ }' j3 j$ K% B
  21. " vendorlib " ,并解数据库连接。
    2 w3 }5 v. X  b7 F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 F- m7 _& p. l& w# T5 e8 u: a* Y

  23. 3 p: K" S8 C3 x7 U3 ^8 z! w
  24. # # #做好工作# # # - X# l& w/ P# Q; D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , r8 J9 H- Y3 k. Q8 v' C/ _! q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 E5 I5 H7 Y/ B2 Q. z" c3 e
  27. 结束: . d' f! }& g! C0 h. S  V
  28. ---削减这里--- 8 F( n! g8 h8 f/ {
  29. [ dbexpress ] % K: p. A0 @( f8 z) _1 c
  30. sqldir = mysql_sql
    ( c+ j6 y' b4 Q% B$ Y2 t) B
  31. drivername = MySQL中# B" ~% E, G7 D2 K# m7 B3 ]) f
  32. 数据库= your_database_name_here
    % s$ O, p3 _! k" D0 W) y) E( Y
  33. 主机= the_pc_the_mysql - server_is_on 4 r' X! {3 a+ A+ u5 p" o" u
  34. user_name = user_name_on_the_mysql服务器
    4 ?' G% a7 y5 q3 q6 M/ _
  35. 密码= password_to_go_with_above_user_name
    ! i' x7 X7 K; N/ z
  36. getdriverfunc = getsqldrivermysql ' o. n/ B; r5 W' k/ Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , }+ m: X* |- n  H( T% W
  38. libraryname = path_to_libsqlmy_libary
    , ?- y9 `: t; p0 `$ |
  39. 积极= 1
    " w- w0 ]/ `2 a: {
  40. ---削减这里---
      l- D* X  o; J( X8 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) k0 e2 @# u& R" b3 L6 Y
  42. ---例如--- 1 P: c% h- k2 J; b' T5 n0 `0 T" a% O
  43. [ dbexpress ] 9 ~0 Y# p& W4 C* G! D1 L( }6 d" Q
  44. sqldir = mysql_sql " S+ i  \; D+ }+ _$ @1 ?
  45. drivername = MySQL中6 R7 ^" c: m8 S+ d% e8 i
  46. 数据库=测试; |0 O# S- P8 V* Z
  47. 主机=本地主机
    ! Y! d5 u& W2 ~! D4 n
  48. user_name = testuser
    ! _* a0 |+ v7 T$ S. _6 H6 v
  49. 密码= my_password
    & F7 K$ g; U) J. i% Z" H
  50. getdriverfunc = getsqldrivermysql
    % M$ l# y9 J/ l0 [& u6 t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! C. R' H3 Q8 r; O" f4 k8 K
  52. libraryname =. / libsqlmy.so
    , @5 ?( i# ^5 m: N1 T( v( \6 \
  53. 积极= 1
    $ c3 @6 O+ b# A6 N6 ^/ F! U
  54. ---例如---
    * [, k9 |' ?" G' e
  55. & y+ C+ H" {7 q3 [# z" {8 L- ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * `1 P* V1 |/ i; l! ]; C. X# x
  57. ---例如---
    ) d$ r/ H" a  j5 W/ l
  58. [ dbexpress ]
    / P" D2 P. J, ]7 J% x& K5 n$ u4 i
  59. sqldir = mysql_sql & }5 @. `+ _' }+ P  f
  60. drivername = MySQL中5 l; b0 F5 z- S9 E: q# V- S
  61. 数据库=测试
    % J2 ?5 b/ O0 D
  62. 主机= 127.0.0.1 5 T- k, o# W" u( o4 ?- F+ V1 `1 Q- C
  63. user_name = testuser
    7 |, U) H  |( p  @4 }
  64. 密码= my_password " n7 [2 L2 U* j9 S
  65. getdriverfunc = getsqldrivermysql 4 {! P% F) w$ V0 u  {$ w
  66. vendorlib = libmysql.dll在
      v: T' {$ m' W/ r
  67. libraryname = dbexpmysql.dll
    6 x* S6 n1 h0 R, a  ^
  68. 积极= 1 # q( b: G; o3 ]+ u, s7 S) z
  69. ---例如---- 4 D! k" ~+ h) s* k$ f
  70. -写在0 2.03.04由p wk.linuxfan
      b" e* y' O. |, a* _* G4 a( c* g
复制代码
发表于 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
8 y' [( Q( L* Z" H; q3 O* ?
8 T- R( w9 p8 p5 x8 ^3 abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-18 05:05 , Processed in 0.103185 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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