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

3398 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; y) `( N- W8 t
. H' P2 P3 v' c1 L! h5 f. r' S7 w

  1. 3 O, A: k. y! m  K3 u) |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 Z, X6 w* g0 T9 i; R' R

  3. 1 B* ~( J$ ]8 Q6 G' s- a2 @
  4. ### What we need ###3 P. U+ r! r  R4 @( g  G+ H# g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; ]% }; k* @% H' I
  6. will not explain how this can be done - there are documents out there for the 9 _; p. B) U1 N" x5 a+ v
  7. interested. The requirements include a (empty) database for TeamSpeak to use# c) j6 R, r) t9 Y2 d% i
  8. and a user account (username + password) that has the permissions to do stuff  o& ?( V: ^# d
  9. with the database. Additionally, you will need a vendor library installed on the' J$ j: R1 F( f* Q7 R- {- s9 @
  10. local machine, this came with my MySQL install.
    & r$ T8 f1 D  c5 x
  11. These instructions will not tell you how you might transfer your data from the3 A/ F. g* |; g- P: ]( b& \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + s! v; M! E( o+ q- H+ C/ o6 _
  13. database.
    1 b! o3 l% O& A' |4 F. {
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 |0 g! w5 p6 y. {, O- T
  15. the time of writing, there are still too many issues - check the current status
    4 o! [5 z0 V; e# b$ S" g
  16. in the TeamSpeak forums if you are interested.
    9 N/ x/ O9 E) y* ]( o2 y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * ^+ b; q1 N9 ~
  18. Borland was used. This driver can only interface with the client library that * K8 ?% d2 G( H& ~; n$ Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 @; `( O' r) w6 ~
  20. client library - basically all you have to do is to use a 3.x client library as # Y3 d3 K+ y8 j* ]% V* G
  21. "VendorLib" and a 4.x database to connect to.
    % a7 \! o8 b; _5 t
  22. If you need more info about dbExpress, you can contact Borland.
    1 f/ Q  N8 R# H

  23. , Y3 U0 c& N  d# ~3 G6 {
  24. ### Doing the work ###
    / S/ Q. `8 F; Y' k$ d7 Q$ A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / q8 X3 s5 g8 t9 l9 j# n3 h. q1 y
  26. the perquisites right, just open your server.ini file, and add this section at
    2 {4 U1 o* O! y3 K0 @7 E/ Q8 v
  27. the end:
    $ R9 ^( Q; x* `+ ]+ G$ ~6 |
  28. ---cut here---4 h0 M+ g: Q! V  |, |
  29. [DBEXPRESS]' K' ~) [- c- d+ P
  30. sqldir=mysql_sql! K, K6 S+ Y2 q
  31. Drivername=mysql
    ' `( H* k4 r0 _" u" v6 W5 h. E
  32. Database=Your_Database_Name_Here6 W5 o" Y, e. O8 B, P+ S  h/ a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % c. ?- b* Z8 P$ p7 m+ A
  34. User_name=User_name_on_the_MySQL-Server
    ; e( e+ d) ?* Q' C# r
  35. Password=Password_to_go_with_above_user_name' a/ v' K: P) W6 @6 p
  36. GetDriverFunc=getSQLDriverMYSQL! v! E( z$ ~& M( L1 U% Y+ D3 ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 Z- W+ t$ I, O+ \4 W  c* T+ c
  38. LibraryName=path_to_libsqlmy_libary' P( V  o  a, n" u1 g; R3 c
  39. Active=1- _; Z% \4 \( T; p! @! ]- ~
  40. ---cut here---
    9 q( b; h% L# L9 m6 D
  41. In my environment (a linux box with a MySQL server running locally) I have:( s2 K) g9 T8 y2 v
  42. ---example---
    $ U2 E/ T' j5 a9 ]: J7 k
  43. [DBEXPRESS]! u; e0 S- ?9 t6 r; ~- k
  44. sqldir=mysql_sql
    ) g5 |9 G" @! d3 o) z3 |: u
  45. Drivername=mysql! ~/ c1 j% d: \* @: p
  46. Database=test3 V1 e- l  K. B" S( e
  47. Hostname=localhost1 a& B; M  p, q
  48. User_name=testuser, W' f3 b, k1 w; j" ]4 `
  49. Password=my_password
    0 }2 c4 q4 k& {2 b
  50. GetDriverFunc=getSQLDriverMYSQL
    + }0 _7 `! U0 g! j  x# Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 Z/ y% w: O+ u' k
  52. LibraryName=./libsqlmy.so$ w; @) R4 i  J5 j
  53. Active=1
    ' N6 @0 I, N8 n( l8 j# i* |  ~
  54. ---example---0 ]3 K( A0 z" G) |9 {  @
  55. ; v, C: k! o1 s( X7 k7 v! C% P" t
  56. On a windows box, also running the MySQL server locally, it would be:
    2 U- G4 M, [; X+ m1 ]
  57. ---example---- m$ B2 i9 M7 Y7 R2 B5 C
  58. [DBEXPRESS]
    " m+ X! N; ], d2 h2 F( j& i
  59. sqldir=mysql_sql" @0 o2 n5 T. b# ~
  60. Drivername=mysql% F. `- Y: d, F, u
  61. Database=test
    1 ?2 R: i* P  J* M( k
  62. Hostname=127.0.0.1- e! G/ h; p: D) o; B
  63. User_name=testuser9 H$ b) m/ ]. y( t
  64. Password=my_password
    5 k# v$ Q3 z9 Z( p% ?  Y
  65. GetDriverFunc=getSQLDriverMYSQL; x& F1 Z  s$ c' @' g* o0 w: x
  66. VendorLib=libmysql.dll1 d% \0 k' ?* Y4 `$ E
  67. LibraryName=dbexpmysql.dll5 O" E( s: s4 G9 L* U3 b8 M# q
  68. Active=1
    ! h, n6 S6 Y8 P3 ?2 M
  69. ---example----
    ( h- A" Z7 Y$ K: @; t
  70. - written 02.03.04 by pwk.linuxfan; D  B9 X; l7 j7 a. ~
  71. ) p7 [* E8 @4 ?4 l! o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 `; k  o) C9 g7 Q

  1. : P) F6 b( L. K% W* P. h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' p9 M+ R: H9 q+ I  W5 I
  3. 7 J1 E) e: j, E! A
  4. # # #我们所需要# # #
    - t- W& F. l, o# Q/ _4 S: U8 m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ i2 G0 X4 E! t6 H0 q  v
  6. 不会解释如何做到这一点-也有文件存在,为
    1 K2 x7 [% G$ C" k  u6 G/ C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 P. U2 x! V3 l% c, A. {1 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : m) X6 |  u0 ^2 S/ ?! t% k3 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 Y' I2 H, j/ X- i( A7 @
  10. 本地机器,这是我的MySQL安装。 / T7 E5 ~& H+ E# q6 ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; u$ D9 Y' h  x3 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 |3 D- A1 a8 ]/ j
  13. 数据库。   _( K* u6 j! n  ]1 w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 {; m) _& o5 I& w7 d; A4 |; _; p
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ }, @' Z3 t/ p$ I% v$ D; B8 P
  16. 在teamspeak论坛,如果你有兴趣。
    + G3 q6 O4 W% F2 M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      T+ k8 d: t$ ^/ w( B6 z7 Y7 K
  18. Borland公司使用。这个司机只能界面与客户端库0 y9 u8 v0 [! s1 m/ V  b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; W+ O' H3 R# R8 p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 @+ {1 U; L! v" P: t
  21. " vendorlib " ,并解数据库连接。
    ' o, z9 Z/ R* ?# \- i6 A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 t: H. |" x* `$ U
  23. % [2 r2 M4 V8 K9 E( a
  24. # # #做好工作# # #
    ! C& i' u7 U& A% v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + @! A) `. w' a+ A( v4 \3 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在& s2 s1 e# O/ m. w2 G* ?
  27. 结束:
    6 |9 a$ R$ c& G0 W
  28. ---削减这里--- $ j- U, Z. x3 h8 H* i
  29. [ dbexpress ] ' w3 Z( |$ ?+ q* W! _
  30. sqldir = mysql_sql 9 A; i1 D* m/ ~7 w: j( h
  31. drivername = MySQL中$ e2 j" S) n: {% a
  32. 数据库= your_database_name_here
    % @8 u. C; p: b
  33. 主机= the_pc_the_mysql - server_is_on
    & E" ^8 X- s0 J4 D3 a$ O
  34. user_name = user_name_on_the_mysql服务器6 q  a% _! d1 a& V2 d5 f, s
  35. 密码= password_to_go_with_above_user_name 7 B/ n+ K1 T  D, A4 P1 j
  36. getdriverfunc = getsqldrivermysql
    4 g# a; ^, z3 v! l' x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 M+ a, g) ?7 T1 D) Y: M; C) x
  38. libraryname = path_to_libsqlmy_libary 8 T' w! V3 z+ x- S! L- W) ?
  39. 积极= 1 $ Z- G% C2 j# Z! h7 N- G* @9 {( u
  40. ---削减这里--- : S5 O- ?0 h4 |$ J7 [3 B+ s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : h2 p9 J4 z" J& N+ `. u9 @
  42. ---例如--- . [) C% g" ?# K+ u) k8 N
  43. [ dbexpress ] 3 j4 m! R, {* `  ~* q6 [$ z# T
  44. sqldir = mysql_sql 3 A* P3 O" Q  ]  t% U
  45. drivername = MySQL中
    . W2 b! H# y2 ^, F8 ?- |5 s- D9 c
  46. 数据库=测试1 f$ d5 w  t' ~. Q* _% k+ f
  47. 主机=本地主机8 y  C) i* T9 A" |8 {( p
  48. user_name = testuser . A9 ~" ^% g& Q
  49. 密码= my_password
    3 o6 l' \5 U2 q7 e% G# s
  50. getdriverfunc = getsqldrivermysql
    7 x5 Z( B5 F6 b% {, ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * \" t( n/ ^& H! Q: i3 V6 S; y" f
  52. libraryname =. / libsqlmy.so
    * A8 h, N& k  q( g: _7 M8 o. W
  53. 积极= 1
      ?3 c8 i( Y( G1 o. D, B
  54. ---例如---
    6 M5 m0 _3 B3 E  {0 e# H$ I7 u

  55. + Z  f; O2 K& O$ V0 g; J
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      R# _7 h$ d5 v  Y6 w$ S# Q2 a
  57. ---例如--- ( g: T3 ]3 L; a
  58. [ dbexpress ] . M- h+ u# p7 {
  59. sqldir = mysql_sql . B3 Y. J5 ^6 p2 G" V; T% R! Z
  60. drivername = MySQL中
    1 ?" R" f" {' u( b# s/ t2 w6 Q
  61. 数据库=测试. U3 `; G- }* G" ^  E" y
  62. 主机= 127.0.0.1
    $ _* Z( Y) Y6 c" T% }
  63. user_name = testuser & b9 O* R9 \' S, H9 S
  64. 密码= my_password
    1 a6 g0 h$ F2 p' k
  65. getdriverfunc = getsqldrivermysql   b+ V$ V' A) m0 B/ b% y9 w8 u
  66. vendorlib = libmysql.dll在
    ) |0 B( W- R( \+ a: @; F3 i  E
  67. libraryname = dbexpmysql.dll % N5 J# _# M% K& x! ~
  68. 积极= 1 1 ?1 t2 ?6 @- I( n
  69. ---例如---- : G+ E9 P1 d; t- {7 L# H+ r' d( M
  70. -写在0 2.03.04由p wk.linuxfan' G1 Y! O* |/ C  ^* f% U
复制代码
发表于 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 words3 @; E. U7 Z) a3 }
; T0 Y! ~& ^9 O: b3 z! v- |6 l
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-27 07:10 , Processed in 0.073378 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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