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

2581 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 U* N# y1 ~, ?9 I8 \4 b0 x  |- }
; Z' V. W  ~* P

  1. , ^1 r5 h) x! @  U4 S0 ?" q( o+ G+ _& O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% ?2 n. P% ]9 _, h

  3. ( G- n/ w3 l- E1 k9 N& O
  4. ### What we need ###2 x8 ?# K' R" `' I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : L0 a/ ]3 S: }/ t2 K+ }: H
  6. will not explain how this can be done - there are documents out there for the $ R0 s5 I' W/ i, a- b
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " T0 S1 Q4 T7 ^) n* `( v) [9 q
  8. and a user account (username + password) that has the permissions to do stuff
      j, F% i2 L, E/ Y
  9. with the database. Additionally, you will need a vendor library installed on the
    4 [& v8 o" p  k1 \
  10. local machine, this came with my MySQL install.5 V& r, h$ h; q' q8 |
  11. These instructions will not tell you how you might transfer your data from the; E- s# A% }7 i4 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( Y8 v6 I% a" y
  13. database.. u1 c* q8 P! g8 N& A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 r" C3 M6 \$ F* v$ R' f( L
  15. the time of writing, there are still too many issues - check the current status
    ( V' G4 m  D4 s3 V
  16. in the TeamSpeak forums if you are interested.
    : o$ H* ]% a1 V# I# a, j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 x3 c7 K/ o6 O9 K, t- u1 k6 V, i
  18. Borland was used. This driver can only interface with the client library that $ a' o7 S6 f; k+ n& r$ M1 }( N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' M" [% V4 w. |6 r1 ?
  20. client library - basically all you have to do is to use a 3.x client library as
    * G, U) w$ d- ?. Q
  21. "VendorLib" and a 4.x database to connect to.5 A: r  f* X( x7 Z7 p' `1 l
  22. If you need more info about dbExpress, you can contact Borland.
    / ~9 @( f$ |7 ]* J4 Y' m- `

  23. 2 R! X" }* X9 L. W, s9 ~
  24. ### Doing the work ###+ B5 p  F1 m1 W1 {; P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * s+ \& S; C) a% s$ M0 b
  26. the perquisites right, just open your server.ini file, and add this section at3 C, s* J% m1 y, n) ?
  27. the end:
    8 d+ }3 [8 l7 ^* v* o
  28. ---cut here---
    " [$ C, ^2 \% \2 ]' @+ ]: E
  29. [DBEXPRESS]0 ~4 B. D, A* @) S( i5 f; S4 M+ G- |
  30. sqldir=mysql_sql0 A! p/ w, }1 K4 S
  31. Drivername=mysql, \! `1 y) h+ u( s( _" v9 j- _
  32. Database=Your_Database_Name_Here  I( x3 D- O+ T
  33. Hostname=The_PC_the_MySQL-Server_is_on- i% I( I  O: N% w  F
  34. User_name=User_name_on_the_MySQL-Server
    / p: _  k. P3 q
  35. Password=Password_to_go_with_above_user_name
    : F$ B$ ~) U9 m% f7 v
  36. GetDriverFunc=getSQLDriverMYSQL
    5 s& [& n9 y3 n! s8 N+ H( l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' z: P# x0 E  `! W$ L
  38. LibraryName=path_to_libsqlmy_libary( t; f% f+ A# y$ H* X4 ^
  39. Active=1
    , D' `, j; |& F5 e% \4 o, L* s
  40. ---cut here---
    # Q5 |0 ~7 }4 D0 ~$ q+ q9 K$ ^5 C
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * {- t9 G4 i! G+ l6 S7 l
  42. ---example---! t& p- `# m, n- Y! t, I
  43. [DBEXPRESS]
    4 [9 n  i2 ^, D& X5 c' a; {8 q' p
  44. sqldir=mysql_sql
    8 {" [* g( R) C! p
  45. Drivername=mysql
    & s& @5 y% z7 o( S
  46. Database=test7 r" {3 i$ C+ N7 f- s# T
  47. Hostname=localhost
    0 v* \/ c& S7 s* x. s
  48. User_name=testuser
    7 v/ p6 W/ r% v
  49. Password=my_password
    $ y5 h0 [' m8 Y% O2 y+ I0 v+ v, R
  50. GetDriverFunc=getSQLDriverMYSQL6 K" @; t  j3 x1 m' C' U' _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( y8 c( k! b+ F* Y
  52. LibraryName=./libsqlmy.so
    ( Q! l, H- I( u$ H5 a
  53. Active=1  R9 S, c  h/ X* c, X) V
  54. ---example---+ {: g3 \1 R( q% D" P

  55. + H" J4 H8 e5 m6 L, y4 }6 z
  56. On a windows box, also running the MySQL server locally, it would be:2 n6 u* K& e' E5 z* W2 |/ ^
  57. ---example---8 v3 V4 G7 a4 X2 {) s9 k$ H
  58. [DBEXPRESS]
    3 D2 B# W& P+ x4 p5 O
  59. sqldir=mysql_sql
      F! x3 n& P0 T$ q) x' \9 h% q
  60. Drivername=mysql* A# K% c- G0 B) T, `
  61. Database=test/ R3 k' ?+ V' R) a( ]
  62. Hostname=127.0.0.16 y; t  y  C/ C& M( i% U8 f6 i8 C
  63. User_name=testuser
      ]2 M7 X" M6 q
  64. Password=my_password! s) U5 H& Q5 Z0 b% B( y
  65. GetDriverFunc=getSQLDriverMYSQL
    7 W. x$ U1 E9 B9 Q% r3 g" r+ |
  66. VendorLib=libmysql.dll
    " a* }- i4 K( P$ c; d: L& b
  67. LibraryName=dbexpmysql.dll7 F8 z2 g* r3 i4 |( r9 W5 j8 |
  68. Active=1/ W9 a2 a* E; q" F
  69. ---example----
    7 ~- l7 T& q0 m4 ]) ~! q
  70. - written 02.03.04 by pwk.linuxfan% |4 R1 l; F1 u7 c+ l1 p. X! g

  71. 5 j2 B& n6 t6 D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( g( E: Q) z. N, H% q$ e" ?
  1. 1 G4 g( x. {; c% ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - E2 r0 S! y( {8 L

  3.   ]# H6 W3 ^# p! a; W* k4 }* j
  4. # # #我们所需要# # #
    0 N. K% l, m& u8 R+ c$ M2 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( G- h8 U  A7 n
  6. 不会解释如何做到这一点-也有文件存在,为5 d4 Z4 m1 X6 c# K! S( L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 D/ a! x* v: r$ _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 ?0 T* [! X; }! q4 F0 ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " e: }- ?5 o, ~$ b
  10. 本地机器,这是我的MySQL安装。 . b7 R. ?, Z6 M- u. x/ h* V! g8 a  m4 @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 a) |2 C7 q" L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : W4 E5 t) F: j( A2 t7 a1 _
  13. 数据库。 # s" o) Z: c( L) @" X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& o, c7 u- l+ K: Q7 l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 x. l# w1 m6 w: R
  16. 在teamspeak论坛,如果你有兴趣。 1 A- d" X! \3 h/ E) h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ ^3 y0 S, n* j0 ?; y  R0 p$ m
  18. Borland公司使用。这个司机只能界面与客户端库3 G5 L/ y; G" O* t- R- P8 Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( K8 Z% d1 [3 O, o1 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- f, J" {3 S, n- ~/ u
  21. " vendorlib " ,并解数据库连接。 * r2 A* `  O# F2 a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 y8 F0 K; y: ^# {+ R
  23. 3 W2 E1 C1 @; F0 b" m3 C' S9 w
  24. # # #做好工作# # #
      H' b1 E/ q, ~6 f/ M7 S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 ^) N9 Z5 S& ]# p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , D8 Z1 Z" }6 t* [0 k
  27. 结束: & J) v& E+ U/ O7 G+ Y( W
  28. ---削减这里---
    4 w& E1 V" Z! _: p7 x, h* \
  29. [ dbexpress ]
    ! g/ ]; I& N9 f% [8 J( J5 w
  30. sqldir = mysql_sql
    , g! r7 K9 M5 p" ]% u* Z
  31. drivername = MySQL中0 u, D! c, f4 z# [' G
  32. 数据库= your_database_name_here
    # W+ {8 p- O2 g: Y
  33. 主机= the_pc_the_mysql - server_is_on 4 e( L- `% i3 F8 Q* S/ D
  34. user_name = user_name_on_the_mysql服务器: r+ R' a* }# Z
  35. 密码= password_to_go_with_above_user_name
    ; A% O/ q  ]2 i- S& k+ O' _+ O
  36. getdriverfunc = getsqldrivermysql
    " ^  F+ q9 T" x9 ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . n5 t+ D7 U0 Y$ _( f
  38. libraryname = path_to_libsqlmy_libary ) u  q8 F$ r  t# M
  39. 积极= 1
    7 F+ n% E3 R8 p" A
  40. ---削减这里---
    ( z" q  }1 H% a, W1 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! T- A  S7 W" @. Q" H
  42. ---例如--- - F+ i! L& L. d( P# k3 z1 s
  43. [ dbexpress ]
    , n% t* E6 ]  J
  44. sqldir = mysql_sql . P. F0 Q# a# m7 ^
  45. drivername = MySQL中0 x, F' R/ h$ W8 Z. M" ^5 @
  46. 数据库=测试
    ( d, _+ T: B  N' D3 T
  47. 主机=本地主机
    $ B$ z6 I( ?- x1 L  T: K# Q5 K8 g
  48. user_name = testuser
    2 Z) Y0 L. K, a5 F( J# m
  49. 密码= my_password
    2 Z, l- h* F) [8 o4 D
  50. getdriverfunc = getsqldrivermysql
    2 C% q  g1 @+ r5 Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + n9 q; d, }# q4 Q
  52. libraryname =. / libsqlmy.so # p5 x. l8 B/ ^9 F
  53. 积极= 1 3 }3 h: d) {4 p6 _/ [' R
  54. ---例如---
    2 W( x/ f0 K7 F" d) h- R8 J; C. T

  55. 9 @! m7 Z2 y& `; b/ a, x& v+ S0 w8 O
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 K+ R+ c+ \& c
  57. ---例如---
    9 T: ?5 j( e8 X
  58. [ dbexpress ] 9 n$ V# M7 h9 T/ X, ]& @% I) ~* a
  59. sqldir = mysql_sql 8 b8 ^, {* t) A) X
  60. drivername = MySQL中
    & i% B9 z" l1 O6 {& L: C  t; l7 K- C
  61. 数据库=测试! Y2 }9 D+ O. [
  62. 主机= 127.0.0.1
      }) D5 j2 x3 z/ Q5 Z  Q+ @
  63. user_name = testuser
    9 [/ S0 j. o. L- G# g+ C; K
  64. 密码= my_password ' b! b7 o+ x3 o3 F; h! B
  65. getdriverfunc = getsqldrivermysql
    3 Q/ n2 d$ s6 F  E/ o, ]
  66. vendorlib = libmysql.dll在% @) @& {; b3 [0 ?. j0 |
  67. libraryname = dbexpmysql.dll
    ( F. U* g. g+ C
  68. 积极= 1 - j2 w0 x) n& T' O4 B: h) b
  69. ---例如----   [: Z1 z3 [( h, x8 N  h' Y
  70. -写在0 2.03.04由p wk.linuxfan6 Y6 ]% v) E5 N6 @8 A4 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 words8 H" Z: c+ k) V; b

' u) C4 J$ p8 I& W7 {/ B& P+ q& ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-4 22:21 , Processed in 0.094896 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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