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

2928 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- i2 ^3 ]3 L5 ]2 O7 S
7 w2 [5 W5 |: n5 N8 v4 T. q# K# k7 L
  1. 6 H6 N# G0 P3 F( }$ v3 k1 q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * v0 [& x4 ?4 z5 l5 w
  3. # h7 ]; z' _# E2 L
  4. ### What we need ###
    ) I* t& W# X3 Q+ X* }
  5. Naturally, we will need a MySQL server to store the data for us, this document % `# A! ]/ Q" r* V3 O7 _5 A9 B1 W. s
  6. will not explain how this can be done - there are documents out there for the 1 J, D2 \& a" n" s
  7. interested. The requirements include a (empty) database for TeamSpeak to use- A/ H4 c  _; ~
  8. and a user account (username + password) that has the permissions to do stuff
    . q4 R9 A, y. E6 i
  9. with the database. Additionally, you will need a vendor library installed on the
    5 _' A2 a" l  U* g# [2 b( g
  10. local machine, this came with my MySQL install.
    - i4 [! [( n( j
  11. These instructions will not tell you how you might transfer your data from the& F' m. X% B. S5 x" i% q; Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . ^+ a* n% h! V1 @8 K( b
  13. database.8 X. k; q$ M  T3 F
  14. Some users have reported ways to import a SQLite database into MySQL, but at! Y+ ?' U9 d: S) W8 p- d( P
  15. the time of writing, there are still too many issues - check the current status" a% d6 N0 h3 |( o. a8 @. G9 Z
  16. in the TeamSpeak forums if you are interested." B- F; K) T6 v" g( F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * D% k3 X. z. @
  18. Borland was used. This driver can only interface with the client library that
    # F# q. E  K3 E. b. F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; }0 P' G* D# ^% S( j4 c
  20. client library - basically all you have to do is to use a 3.x client library as ' N- |( s4 L' v. c- B# v7 t3 e$ i) h. J
  21. "VendorLib" and a 4.x database to connect to.9 D  h9 r; J6 I: ]: u5 S
  22. If you need more info about dbExpress, you can contact Borland.9 G8 u% v: x2 `

  23. , q: V2 {, G/ p6 Y( n& m
  24. ### Doing the work ###- u4 m* p8 _2 q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      V% [+ r7 g2 w7 X
  26. the perquisites right, just open your server.ini file, and add this section at7 Q$ j, k8 ?4 U1 y0 Q' k9 c8 _: Z
  27. the end:3 `  E- [( e4 n. O+ O1 d
  28. ---cut here---
      m7 T% u- U1 Q8 A! j
  29. [DBEXPRESS]1 s$ m( r* E2 L5 v" `" z
  30. sqldir=mysql_sql  c5 T( r6 }$ u1 L
  31. Drivername=mysql& ^9 O! L  i  h; M* {" E
  32. Database=Your_Database_Name_Here
    6 s3 L' }3 |5 z) X" F7 b6 t
  33. Hostname=The_PC_the_MySQL-Server_is_on2 ^$ j- i, f  H! G% A" |2 S' t
  34. User_name=User_name_on_the_MySQL-Server: r" U% _0 ]5 i
  35. Password=Password_to_go_with_above_user_name3 Q: v3 H1 }& E, D3 n# G$ @; [: e
  36. GetDriverFunc=getSQLDriverMYSQL
    - u1 p- a8 i) B2 {# d1 d, ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* B  J9 q+ e9 ]! s+ L5 N7 [- S
  38. LibraryName=path_to_libsqlmy_libary( v3 ?" C5 M: x. h5 y
  39. Active=19 k! r; Z( c0 y
  40. ---cut here---
    % p0 x& D, n3 |; n
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . {* y2 B: w' c5 X% Z& g/ ~: }
  42. ---example---3 o" i% \: q6 U4 j6 C
  43. [DBEXPRESS]
    % g6 S" u& Z. q  X$ y. o0 m
  44. sqldir=mysql_sql6 C4 C, w* k8 d2 `2 ]0 f* Y
  45. Drivername=mysql
    ( N; D" O4 I  C  w3 D) O
  46. Database=test2 {7 h9 M; `) t& K# p8 Z* r' P
  47. Hostname=localhost* V' C: f& m1 X7 v8 m) [: k5 Z8 p% [; G- L
  48. User_name=testuser3 T+ ^6 D7 U( z$ r+ e. j
  49. Password=my_password4 q& c# T( E8 o: S: U$ D8 g& X
  50. GetDriverFunc=getSQLDriverMYSQL; w1 U! ?* Z5 T1 |8 c: U% p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 ~, \- u3 S# K" R; ^
  52. LibraryName=./libsqlmy.so
    0 G. b0 O' G" e* F1 L  A: m; Z
  53. Active=1
    4 r: s) x' u. P8 ?# x, [
  54. ---example---
    " g- o: w8 U5 q  f: `3 J; C

  55. $ |4 G2 n/ l* I, h8 m$ k; w  `
  56. On a windows box, also running the MySQL server locally, it would be:
    ; {0 H! \! L0 H( W9 `. Z& @
  57. ---example---4 }, k) D0 k+ S/ }" `* @' J# R
  58. [DBEXPRESS]/ s& }5 v& S# c& x2 b  C
  59. sqldir=mysql_sql1 R# t) r( \0 ?$ p
  60. Drivername=mysql
    % w) H( S/ X# Z) L1 \: O
  61. Database=test
    1 Q3 c4 n8 W" p2 O/ b- k4 t
  62. Hostname=127.0.0.13 u6 n  o6 B5 m2 G: V
  63. User_name=testuser
    ) `+ z9 [/ W2 P) X0 R2 B% O4 L, O
  64. Password=my_password, e0 M: Q/ i# y$ |, z" M6 m
  65. GetDriverFunc=getSQLDriverMYSQL/ i6 ~7 I) m! |8 }% L- X# L. Z
  66. VendorLib=libmysql.dll
    6 Z$ l! O; ~; y$ z5 O* v, p. I
  67. LibraryName=dbexpmysql.dll8 d: R5 G+ C- H) g: D" M) y
  68. Active=1, v  {) }" b1 A4 ?' T
  69. ---example----3 z3 o  P1 f' Z: @8 ]) e. f
  70. - written 02.03.04 by pwk.linuxfan
    8 q& m" R2 ?/ V& ^: t/ F$ D
  71. 9 I# E. ?5 e4 V; N+ @) T/ P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* w' k0 U4 s) n: n0 \

  1. . T0 c8 W/ t! F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' o9 G) J- N) K1 Z# U

  3. . j7 w1 P/ H1 f: u+ R) a/ B4 T
  4. # # #我们所需要# # # 4 P' h4 I$ D9 a8 H0 X3 E1 @: ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! N0 N$ c. u5 q2 L8 p
  6. 不会解释如何做到这一点-也有文件存在,为) _2 T$ z* M1 s* T0 q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# v% a4 I& g- n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # x8 U; N. z, I, }7 Z4 H# k& |' Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 |8 H- U7 _! q
  10. 本地机器,这是我的MySQL安装。
    # E5 B5 P  u( c+ X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- ~( E& ~7 }* G2 e  ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! X# k* q8 A! M4 `" W+ f4 M
  13. 数据库。
    % o( I4 ~& {; u. Z2 V( S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 N/ r1 J8 w6 B: v$ }8 y0 b5 N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # c* T$ C2 z8 P, Q; X" Y1 I
  16. 在teamspeak论坛,如果你有兴趣。
    ( A8 L. |2 P* w; u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) x" j3 \- U- p3 V
  18. Borland公司使用。这个司机只能界面与客户端库" j) e. O# T/ N" e$ q, \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  X! h% j6 @% X& S2 d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 t$ E) I- d2 x" t+ Z
  21. " vendorlib " ,并解数据库连接。
    ' F6 M5 E# A4 \' d! b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " T: P2 ^" b, j. a* P- }& ^
  23. # c* P- N( j1 j# E
  24. # # #做好工作# # # 9 J* p6 y7 i  u( a' H' k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# Y7 D5 v# r) [! s( y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 ?; ]" W8 [6 i1 C+ ]; T% W
  27. 结束:
    , n/ y3 `, F- Q. A! E' R
  28. ---削减这里---
    1 }, `7 e$ a$ _; \! [
  29. [ dbexpress ]
    ( \) Y( K+ D$ ~3 a4 |" e: |4 G  l5 Q# c
  30. sqldir = mysql_sql 8 c( m" i6 Y4 k0 @
  31. drivername = MySQL中
    5 s% H  P8 }" E: T2 m
  32. 数据库= your_database_name_here ; b% T' }$ f) I3 S
  33. 主机= the_pc_the_mysql - server_is_on
    0 J0 `% E# B' p& o0 ^( M* n
  34. user_name = user_name_on_the_mysql服务器! a, }# x4 w7 W' W$ G3 W
  35. 密码= password_to_go_with_above_user_name   q) l, K( r& P+ p) @, K5 H8 b! M
  36. getdriverfunc = getsqldrivermysql
    - q. d3 R  x8 Z0 H1 B% \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % F! e! B$ O8 b" Q& w! U
  38. libraryname = path_to_libsqlmy_libary 1 Q, }+ o+ g4 M
  39. 积极= 1
    . B6 F9 U% H3 o
  40. ---削减这里--- " n1 l& t% V. x7 T; m, S4 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 T( g4 C  t) r3 B4 y% L
  42. ---例如--- 0 L1 A& V& T+ _: ~
  43. [ dbexpress ] . \1 T8 _" q9 B
  44. sqldir = mysql_sql , b: ^  t% U0 b  {8 E
  45. drivername = MySQL中
    ' s/ o  F, x- d
  46. 数据库=测试
      V& i! d. N- p  a' Y: F! T7 j
  47. 主机=本地主机
    & B: _: ]0 b- ?4 ~+ v
  48. user_name = testuser 8 D% N( W3 k: }( V% g8 w
  49. 密码= my_password 0 r  a, h* W3 s5 C
  50. getdriverfunc = getsqldrivermysql 3 P0 F( c! Y4 ], T2 q* W/ \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' K7 g9 V! H7 a4 G
  52. libraryname =. / libsqlmy.so - W, r& K0 I4 b0 G) j) T0 t$ O+ D
  53. 积极= 1
    8 o! y* }+ }& M- a6 N; y( a
  54. ---例如---
    6 H$ L4 F+ C2 L2 N1 e" P( {3 S
  55. 7 Y3 D7 C  [; p7 U  v9 L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; t3 V- P; s+ R9 b5 g' M
  57. ---例如---
      E+ D" L" F# U4 b' j% t. e4 f$ I* y
  58. [ dbexpress ] " |: ^: p; u+ E. m7 M3 @0 F
  59. sqldir = mysql_sql
    / X5 z( J7 R0 m- N0 y1 P
  60. drivername = MySQL中
    ! a0 ?% W9 C- H' y
  61. 数据库=测试
    ; M% r1 w  _! Z  K
  62. 主机= 127.0.0.1
    ) `1 |( t9 d  e
  63. user_name = testuser
    2 U+ J* y; v4 x+ `2 [! u
  64. 密码= my_password . Y; J9 N1 F( k# z8 [. C4 Q4 l" K3 I
  65. getdriverfunc = getsqldrivermysql " h3 O1 D8 f4 x* ~  y$ X
  66. vendorlib = libmysql.dll在# B  n0 R9 s/ @  C$ _5 C: r  j
  67. libraryname = dbexpmysql.dll
    8 v1 D! ^8 c: r, G0 {6 S; U. E) ?5 X
  68. 积极= 1 * Z$ t! k9 A' `7 ]) H
  69. ---例如----
    & ^- z0 y$ `  ^( I( t8 R7 F
  70. -写在0 2.03.04由p wk.linuxfan
    5 r( i+ |# @0 G# B
复制代码
发表于 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( }, i% R6 L0 g
+ R9 j  e- k' M7 j9 a
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-23 14:19 , Processed in 0.090934 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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