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

2528 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
2 {$ M# ]* ~* u1 Y1 j) {6 O5 j
' O$ E9 \& }/ z; A! m1 X, ^

  1. 8 u" `0 Q. g! r& g1 C7 f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* w$ P& r2 r/ `
  3. ! j, I& E) v. s* s
  4. ### What we need ###
    % h! d7 F8 [, }7 E" R; E( w
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 T. m2 Q1 z: `: X
  6. will not explain how this can be done - there are documents out there for the
    7 t( l4 C/ m& O3 y& U+ Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . O6 c  O  F1 q: Z: Z
  8. and a user account (username + password) that has the permissions to do stuff
    * `2 _' q& s3 m) R, }4 F8 M# K
  9. with the database. Additionally, you will need a vendor library installed on the$ y2 @8 j/ H$ M8 J' W" V1 Z
  10. local machine, this came with my MySQL install.3 R+ q3 h5 s( A: C+ v# M8 }
  11. These instructions will not tell you how you might transfer your data from the+ `8 z; a- {; a/ g& m! C, j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 i0 r. Z% `: b; {' g- p, \9 d6 k
  13. database.0 Z* ?4 b2 S- G. ], ~& D: ]% M
  14. Some users have reported ways to import a SQLite database into MySQL, but at' h/ G+ o; b( G6 t, C
  15. the time of writing, there are still too many issues - check the current status
    * {9 s1 g- \, O& D2 m+ H7 p% U& E
  16. in the TeamSpeak forums if you are interested.! W1 L4 K) b7 @7 s7 L2 w, D" x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  j' f% o' c% ]% q6 J
  18. Borland was used. This driver can only interface with the client library that 2 r2 I' L4 {/ A# m& [+ H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , Y- J" \* v/ r, \. h
  20. client library - basically all you have to do is to use a 3.x client library as
    . w+ l7 Y+ C; G3 m& G3 W/ G. n
  21. "VendorLib" and a 4.x database to connect to.# z! q1 L. r. |' K+ _
  22. If you need more info about dbExpress, you can contact Borland.
    , }6 j2 q6 l0 y
  23. 4 q+ S4 U  g/ k& Z+ ]+ g- y7 u' L
  24. ### Doing the work ###
    . I  {& X  C% E  H) K+ X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' j7 u6 \4 c6 T0 b/ w! m
  26. the perquisites right, just open your server.ini file, and add this section at) Z" N4 T1 D0 |; }6 Q" g
  27. the end:
    2 M( I' o% d  @5 P% o1 D4 e5 l( z& V
  28. ---cut here---% M0 u% y8 W3 t0 j) S" A0 p
  29. [DBEXPRESS]# Z, @! K7 h- ^/ E! u# v; K
  30. sqldir=mysql_sql8 a# v+ c4 U) y3 ?' @" r- ~
  31. Drivername=mysql
    3 M& r8 h8 G! z  ?/ Q
  32. Database=Your_Database_Name_Here& e* `( o, I8 l7 M; }+ O
  33. Hostname=The_PC_the_MySQL-Server_is_on& `+ G- C: V7 n% t1 u
  34. User_name=User_name_on_the_MySQL-Server; a: [9 Q$ F! {: s" ]
  35. Password=Password_to_go_with_above_user_name
    / \' m/ u0 ?6 j9 D! a  |% S
  36. GetDriverFunc=getSQLDriverMYSQL! P# n/ w/ M6 g  ~5 G$ f( N1 K5 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 B; g3 ~; s1 g9 B; q
  38. LibraryName=path_to_libsqlmy_libary7 a6 |! ^  e5 n( d) w$ k$ g7 C: l
  39. Active=1
    ( a; s3 q/ a+ y" Z$ A& J% J
  40. ---cut here---, g  Z: c' x5 D, V2 a
  41. In my environment (a linux box with a MySQL server running locally) I have:& j" F3 u* a. V" N6 N/ k
  42. ---example---
    : F% }  L; o# F' l3 m
  43. [DBEXPRESS]' d" H( q5 y6 m0 `8 x: `
  44. sqldir=mysql_sql6 v' b+ H  C# _/ ?6 K
  45. Drivername=mysql
    8 P: o; K6 o2 t  q
  46. Database=test
    4 U6 ?& [; J0 `/ @8 d
  47. Hostname=localhost
    3 W. Q, K: y+ H. f7 f! ?, ?
  48. User_name=testuser5 \0 y% N/ k& D5 o
  49. Password=my_password
    7 K" _5 D& m" {& D6 z6 D8 X$ o- ]
  50. GetDriverFunc=getSQLDriverMYSQL. |3 d! A4 _4 V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 w4 M" i- p( N- n, s$ X
  52. LibraryName=./libsqlmy.so
    ' d8 S0 f( ^/ u, ^: ~
  53. Active=19 q, S* I& c' h+ T2 B
  54. ---example---
    " }' V' G- z$ w6 W; }; S
  55. 3 l. `1 w: [) T. i& P' v$ y. y
  56. On a windows box, also running the MySQL server locally, it would be:
    6 |0 I; n4 Z6 q4 S# D* o
  57. ---example---, w* n/ I$ T9 O4 ^& o. O
  58. [DBEXPRESS]
    1 ~9 r1 E2 ~7 }: q0 B4 {
  59. sqldir=mysql_sql
    , ?* p4 m) e2 Q- C3 v" N; z0 t
  60. Drivername=mysql1 E3 [7 m/ j. [+ j
  61. Database=test0 A, C3 d- O; z* {
  62. Hostname=127.0.0.1& w: T- }+ `: Q$ q  K
  63. User_name=testuser
    % {: ]9 v1 z& t& H3 Q! ^
  64. Password=my_password
    ' N' V- r) A# J' c7 |0 h
  65. GetDriverFunc=getSQLDriverMYSQL
    6 \# L) u9 J) u' ^3 h
  66. VendorLib=libmysql.dll
    - ?+ T5 C( q) {. R  f
  67. LibraryName=dbexpmysql.dll1 ?! d2 w8 ]6 w3 r
  68. Active=1  ~: N4 X' i3 y1 _4 P
  69. ---example----1 Q4 n0 F. E, y2 M$ L& F+ l
  70. - written 02.03.04 by pwk.linuxfan
    : s/ K3 p0 s$ @; l" v8 L
  71. 6 {3 V% {& w! q2 a4 x+ p! x* d& {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' p$ k  \: o! a9 m. @
  1. , _4 X/ b: n' e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % l& B  v$ u" G
  3. ; l4 x- B* x; k) [2 I0 W8 a' r
  4. # # #我们所需要# # # + `0 Z7 \+ P7 W0 L! g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) ?5 D4 u3 ^2 ?. D$ S# q0 A
  6. 不会解释如何做到这一点-也有文件存在,为! u. d1 L+ d: o% E% a- r, J5 a( Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , v$ s4 L" [3 M' v7 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 @8 F$ Z. S0 G$ i. C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ |7 B7 M9 @" W& f/ V
  10. 本地机器,这是我的MySQL安装。
    & N; x* y: T( t: \+ t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 L" @# F7 m2 N9 a$ D  _; @  W, D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , l9 E! z9 r0 }4 Y- z
  13. 数据库。 : [6 c" u# U$ M, Z' b8 ?( d; `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # T" i+ E- _# `# C1 u
  15. 编写本报告的时候,仍然有太多的问题-检查现状* q6 V/ V+ c7 W* g! g# V5 b
  16. 在teamspeak论坛,如果你有兴趣。 % M* y! O9 s/ D" D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 j  u* m4 e0 f$ B3 A
  18. Borland公司使用。这个司机只能界面与客户端库
    : M* T/ E$ X- J' n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 P! b" e  t) H/ a9 `3 a1 @6 X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - _2 ~0 j6 f3 t4 @% a
  21. " vendorlib " ,并解数据库连接。 3 X- ]0 s# ?( a* d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( D. ~# ?8 N1 A) {
  23. 7 c/ l+ s1 }& A  B
  24. # # #做好工作# # #
    8 U; g# T5 v) L4 z. \, g3 C3 b: N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. _  S; P  [  `3 [" k& f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : a8 l5 z4 f- x$ G2 m- j. G' y9 U
  27. 结束:
    0 g, r% Y2 }2 Y1 D
  28. ---削减这里---
      a" ]0 s% C( W% D
  29. [ dbexpress ] $ i* s: ?* s0 u0 |
  30. sqldir = mysql_sql
    : W1 h. V8 S. H6 u
  31. drivername = MySQL中
    8 _6 [# o0 X4 \7 S1 g- Y1 O' @
  32. 数据库= your_database_name_here 6 N- L9 J$ w( C
  33. 主机= the_pc_the_mysql - server_is_on ! x2 o  ^+ ?* D' \- @
  34. user_name = user_name_on_the_mysql服务器7 N& a, R: E. \% A& m1 t6 M4 u4 G
  35. 密码= password_to_go_with_above_user_name ( T- l% Y1 r+ v+ q2 S! G
  36. getdriverfunc = getsqldrivermysql
    4 ]* R" d$ L. X% {7 w2 P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 Q# A. P  u& v- w5 e
  38. libraryname = path_to_libsqlmy_libary 0 i) B" m) Q4 R* c
  39. 积极= 1 6 t1 [0 ]5 f8 A6 m% }) E1 r
  40. ---削减这里--- + U8 w/ F  E% I1 k! B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 F0 f  X4 x8 S0 x
  42. ---例如--- 3 m7 @* H4 V9 z0 K
  43. [ dbexpress ] $ X# N+ N8 {' F+ `7 c" T0 r
  44. sqldir = mysql_sql # j% y( |6 `: r
  45. drivername = MySQL中# L7 A5 p7 ]2 A+ O" @# x9 k8 ?) I
  46. 数据库=测试8 {) `" m, Y) i2 x1 H" A; [' c
  47. 主机=本地主机0 R0 F7 J1 R* x" d9 n0 m% `
  48. user_name = testuser
    ' O: I2 ]4 S& @) o/ I
  49. 密码= my_password
    ( J( e- p: u* m6 }: h' W
  50. getdriverfunc = getsqldrivermysql
    8 P$ `1 {' |4 B; U1 q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 v3 R7 e7 F: D$ h
  52. libraryname =. / libsqlmy.so
    8 m( G% E9 G: _& x3 z
  53. 积极= 1
    . I$ I. E4 u6 n- q' {9 N& T7 y9 i0 n# f6 ?
  54. ---例如--- 0 M% c- W" r- a1 W2 K

  55. 6 e, @. t4 {! O! Z, K# m
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 h- \# S1 ^# ~* g8 r6 t, k' X  R
  57. ---例如--- 4 U( T4 Y. D9 p) |' f$ l( f! t' M
  58. [ dbexpress ]
      A) n* f2 u& K' E
  59. sqldir = mysql_sql
    8 a4 X' G- [. L2 U5 l
  60. drivername = MySQL中/ _: x( E4 y# P& I
  61. 数据库=测试
    - ~. n0 d  w" m0 `
  62. 主机= 127.0.0.1
    $ }5 n) T* b" a
  63. user_name = testuser ; R8 B) k7 w- p
  64. 密码= my_password 6 f$ d& w+ ^7 b- T' Q6 ?+ t) b( d
  65. getdriverfunc = getsqldrivermysql % L2 H, L- U* c
  66. vendorlib = libmysql.dll在
    + n) F2 |' z5 a$ ~2 F
  67. libraryname = dbexpmysql.dll
    ( j& J' e& ]: u( ?3 p0 u' K
  68. 积极= 1
    + J" d9 L# y2 n! _2 ~* D
  69. ---例如----
    * A5 N9 R: b* W2 t) [
  70. -写在0 2.03.04由p wk.linuxfan, a0 H- i9 A. z  a4 N9 u" k
复制代码
发表于 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( ?/ L1 q' S( c+ n! {. y

2 x: V8 x+ I' x' H" r1 T/ C; B( lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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