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

2676 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ Y. Z' _8 y2 E6 f% Q

1 S7 q, {) U( p
  1. 5 u$ y7 K; V2 X$ ~& Q  U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% V- }& }4 Y% z3 M0 @

  3. " L6 j3 f0 {$ j) v/ l2 |
  4. ### What we need ###$ r; A) H1 ~( w9 H: o  e2 t
  5. Naturally, we will need a MySQL server to store the data for us, this document / f& ]6 O2 D5 ?/ K: O6 e2 L
  6. will not explain how this can be done - there are documents out there for the 8 `3 o! L5 ~, P9 z* r- D
  7. interested. The requirements include a (empty) database for TeamSpeak to use! h' P6 S' P- K
  8. and a user account (username + password) that has the permissions to do stuff2 W! v7 c6 J, q. V9 h& a
  9. with the database. Additionally, you will need a vendor library installed on the
    & I( G/ R. z; G4 m
  10. local machine, this came with my MySQL install.
    6 l; ?+ p$ Q" }  O. K
  11. These instructions will not tell you how you might transfer your data from the4 b' o) w5 D3 e* T" d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! f7 Q' a' ]" a" M) l
  13. database./ g! V) b: s% N' C
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ }2 T6 ?+ G2 N3 i$ ?
  15. the time of writing, there are still too many issues - check the current status5 U7 h+ @# T5 q9 M$ {4 _- R, i7 M
  16. in the TeamSpeak forums if you are interested.
      w- l* O5 f+ s3 Q- C- L; J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 m, A9 @7 j/ u6 s* z
  18. Borland was used. This driver can only interface with the client library that 1 E3 X- {' i' q7 ^3 B# W7 j3 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& }; w5 k! I  @2 m3 c% n" {: R8 d
  20. client library - basically all you have to do is to use a 3.x client library as 8 p1 G% _0 ~  n0 N0 _1 n
  21. "VendorLib" and a 4.x database to connect to.
    0 d2 e4 Y7 g3 a$ H1 O
  22. If you need more info about dbExpress, you can contact Borland.
    ! O! z5 \; e' P  n2 z; O$ |
  23. 7 H# ^) q, v0 }
  24. ### Doing the work ###) P0 c- V0 P/ C. t, ^* K2 [* x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) }* ]3 o9 M- b# E
  26. the perquisites right, just open your server.ini file, and add this section at- z9 k0 ]& O. Z% }9 ]. T
  27. the end:+ D  F! l( m- u, s0 F0 {7 J1 Y
  28. ---cut here---3 `; T+ X$ w8 c$ y; @
  29. [DBEXPRESS]& {3 ^3 N/ C* U! w. q7 n7 L$ m
  30. sqldir=mysql_sql
    - P0 }5 Q  W! Y
  31. Drivername=mysql
    2 P3 p& O0 z' l' Q' l; z9 ~$ Y: y
  32. Database=Your_Database_Name_Here  _0 I9 ?& _9 [  g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # S+ J% n# ~* x( M* Z% t
  34. User_name=User_name_on_the_MySQL-Server; m- D3 G1 S! W- Z; P
  35. Password=Password_to_go_with_above_user_name- J# L7 q+ o5 f' J
  36. GetDriverFunc=getSQLDriverMYSQL- a: V. }- h4 n9 |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; n+ m, N5 a( u, E; p
  38. LibraryName=path_to_libsqlmy_libary# g1 S# c/ Y/ O* }) b
  39. Active=12 x7 Q# J3 T" p+ Z
  40. ---cut here---
    : H) ]- S) W4 Y2 E! S! G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 o0 k, R9 i4 O
  42. ---example---
    & c4 C6 E6 x1 J
  43. [DBEXPRESS]  ^2 ]* }0 w3 G! d2 k5 J, q) `
  44. sqldir=mysql_sql% F5 `4 o+ p* u! b0 |2 ?
  45. Drivername=mysql
    + c9 B6 x/ S4 @/ Q0 L# W
  46. Database=test3 q. U( S: D! }/ A; X& n$ f
  47. Hostname=localhost  H" o5 m5 L; n/ p. x, z
  48. User_name=testuser
    & D& u0 h0 W0 b
  49. Password=my_password0 [8 O/ x+ z0 S  b
  50. GetDriverFunc=getSQLDriverMYSQL8 G; U* x2 ~$ O" V9 z& T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% }, @0 }1 \- q, ?2 f1 l
  52. LibraryName=./libsqlmy.so7 }* Z% v7 P2 p; {1 ]
  53. Active=1
    4 g5 i& y3 I. L2 Q2 L4 d8 `; f
  54. ---example---
    . @1 p' h9 m- W& U" {0 Q, [" Y

  55. * u4 ~) ~4 m% C
  56. On a windows box, also running the MySQL server locally, it would be:) l" V4 E0 V0 ^' H
  57. ---example---
    5 a- R3 o* f$ m# c: ?6 C) _+ e
  58. [DBEXPRESS]
    " C# }) o8 j# B4 Z6 m8 X4 U! L' F
  59. sqldir=mysql_sql
    * o& l  l- z! ]( l" ?
  60. Drivername=mysql
    ( e) B* A5 b$ @# _4 {
  61. Database=test
    ) Q- p; Q: ]8 v4 ?* E' @
  62. Hostname=127.0.0.1
    2 U  k  y1 l' J1 t9 O) f
  63. User_name=testuser1 ?  Q& Q: l" k( D# M: {' ]
  64. Password=my_password! P2 k  [% F' m* {/ B
  65. GetDriverFunc=getSQLDriverMYSQL% j: d: B6 ~' L- ?) y4 K
  66. VendorLib=libmysql.dll
    : P: H1 N3 j# L8 t$ F
  67. LibraryName=dbexpmysql.dll
    , I) F  z0 E& ]! _: K) ?% O1 I* A
  68. Active=1
    9 |8 Y: B+ p3 ~! T$ x9 j
  69. ---example----3 a: y/ A2 L( I& Z: O, ~* t
  70. - written 02.03.04 by pwk.linuxfan+ B' M/ ~  z  Q& y; m' t" H5 u
  71. ' i. x4 }4 L6 c6 S& e4 L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 c, U5 U; Q2 ~" `

  1. / `1 I/ [, j# ~; C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 E9 I: e6 \: P6 b" B, O2 D
  3. $ Z" [- [, p% [- o& r
  4. # # #我们所需要# # # 9 Q9 {, D# }& {1 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" I3 k7 D7 l7 }. M
  6. 不会解释如何做到这一点-也有文件存在,为
    " p; M0 O9 V$ k3 @9 F. e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - m2 C# X( }+ y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  r8 W' U6 i1 N/ E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- s2 ^& @: V* |" \1 x
  10. 本地机器,这是我的MySQL安装。 - W$ ]4 M4 b3 C% U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * g) z' s" r/ Z3 B( ?0 ^* K+ ]) M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " Y8 z) l# h' B- x1 A/ [6 X. ]
  13. 数据库。
    . ?2 [: a9 u, q( e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 n* z' \$ {. v/ m! M$ O8 u
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! o1 l1 I8 `# Y" j% V
  16. 在teamspeak论坛,如果你有兴趣。 ; n5 z9 Y, _( i6 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 `+ {5 ?, V# D* X: L: l) r9 C
  18. Borland公司使用。这个司机只能界面与客户端库7 g" V4 G7 ^* T3 O5 f( u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & a1 V3 A+ Y" \# T8 j8 D" L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' o. p  j' ]% t$ S
  21. " vendorlib " ,并解数据库连接。 # d- e4 f% _7 j$ I! }2 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * {, y& z1 C% t" U
  23. 6 g; T4 {0 o" Z+ W4 G) B
  24. # # #做好工作# # #
    ; u3 t; S- B+ E. T0 o2 F8 a- b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! T7 b/ |* Z: T7 h+ f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 k" T+ k7 K2 q7 k5 m, I
  27. 结束: ) L& ~4 X- z( ]& Z4 D5 D0 U
  28. ---削减这里--- ; c. C3 D' ?% a+ w  N
  29. [ dbexpress ] . @, A+ ]$ N1 V$ b
  30. sqldir = mysql_sql
    1 Y/ E& f: O$ s" G( ~2 @
  31. drivername = MySQL中
    ; C) R3 Q1 v- R$ R
  32. 数据库= your_database_name_here
    / n0 m' O$ n8 @+ P3 k
  33. 主机= the_pc_the_mysql - server_is_on
    / w6 z) Y0 r. q2 E3 Q
  34. user_name = user_name_on_the_mysql服务器9 d0 h# Q( G2 l* u
  35. 密码= password_to_go_with_above_user_name
    + t7 a: h7 N+ D2 t) G7 {9 @
  36. getdriverfunc = getsqldrivermysql
    ! \; D; h# R0 P2 z9 N0 r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . ^( K" Y2 T3 T" Q  a0 X% v; n
  38. libraryname = path_to_libsqlmy_libary
    4 D/ p7 [- `# r% M) y. u
  39. 积极= 1 - ?3 K- R6 T3 R5 U1 V5 ^
  40. ---削减这里---
    " A2 P: I  {) Q% b7 L% j0 L+ N+ E: ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + U' K+ E' E  ^+ I+ ?" a
  42. ---例如---
    8 k* d, j9 B+ ?# L8 W0 o
  43. [ dbexpress ]
    ) x9 y' j, ?" f( `) ]; Y( h8 \+ e
  44. sqldir = mysql_sql
    6 z- S  I! `6 H: e; i
  45. drivername = MySQL中
    1 s- B" O# ~$ Y
  46. 数据库=测试; Q( y4 |+ [5 B" s- O. a  g
  47. 主机=本地主机
    1 F/ _' S8 E% ]$ o$ u
  48. user_name = testuser
    / i- m) Q/ c1 h% L
  49. 密码= my_password 8 ~7 `, d) ]( P6 `
  50. getdriverfunc = getsqldrivermysql
    ' b" M1 |. V1 |2 q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 P" J5 w  Y' q2 p
  52. libraryname =. / libsqlmy.so # P& Z/ u! h2 f5 n2 F: F
  53. 积极= 1 ' P3 r! o) `$ Q
  54. ---例如---
    $ v7 w, X2 U4 S; U$ Z$ v- h

  55. & \/ b: i. `6 Y) w4 `. Q3 W# }
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + B2 x0 P  u5 Z. {! k0 b: i3 w
  57. ---例如---
      F% h1 B) ^) X- L# G# w
  58. [ dbexpress ]
    % d2 G& Y- q% C3 G' k
  59. sqldir = mysql_sql 7 n1 [4 G9 J4 c" m
  60. drivername = MySQL中
    - Y0 K' P- g4 H  G
  61. 数据库=测试
    1 J# {+ U4 a/ w" I
  62. 主机= 127.0.0.1 * P7 k! x! c. E$ g5 ^
  63. user_name = testuser
    7 T& D  Z$ G! I+ F# G5 T
  64. 密码= my_password
    ( _; h) V3 V  z% ~' g+ m
  65. getdriverfunc = getsqldrivermysql + U  P  r0 z. |$ Z- D8 h
  66. vendorlib = libmysql.dll在
    / v  u; [+ _5 D% h- ?1 C
  67. libraryname = dbexpmysql.dll # b# `% e/ T$ l3 \5 h' X( D, T9 L
  68. 积极= 1
    2 J1 G/ ?: v$ N- {
  69. ---例如---- 7 w* j: e% T/ h5 O  r4 K6 \, I
  70. -写在0 2.03.04由p wk.linuxfan
    ( T# h0 \$ v7 Q
复制代码
发表于 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; m# W! n" X* `( i9 V. g9 ~5 c
; w9 z) N7 Y7 R; 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-5-28 08:37 , Processed in 0.102542 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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