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

3477 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 x$ ?* w5 R5 j" Q/ X3 [# ?5 C
9 \. _& P/ g* k" S

  1. 0 n+ G7 @6 T- H1 P  w# r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " O( Y1 y( ~. r

  3. . G+ p; d* I8 r+ t+ g
  4. ### What we need ###
    # c3 W3 W2 S4 U+ O5 P
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 K+ V1 S7 m+ V: `# X+ u
  6. will not explain how this can be done - there are documents out there for the 9 m. U2 S8 d( C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + y7 B7 C. I5 N- ]& I) I  [
  8. and a user account (username + password) that has the permissions to do stuff: E( l% y) g8 D/ x1 W3 M. R7 n7 Z/ A
  9. with the database. Additionally, you will need a vendor library installed on the% E4 T, p( x4 c" i0 q# \  i& w) \
  10. local machine, this came with my MySQL install.) s8 I5 n6 o7 B3 F4 b
  11. These instructions will not tell you how you might transfer your data from the
    ( l) u2 O; [2 v& }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , F9 z0 V+ v2 {4 z/ K1 ^
  13. database.* ?1 N% n- `' U6 p6 H: w
  14. Some users have reported ways to import a SQLite database into MySQL, but at* F( s! a$ \$ _8 p
  15. the time of writing, there are still too many issues - check the current status
    / r5 L0 R0 g6 q' j, k( G- A
  16. in the TeamSpeak forums if you are interested./ c. e( @. B% L0 j' `& r4 p/ d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 m% t7 Y8 H' F4 ]" p
  18. Borland was used. This driver can only interface with the client library that 7 A0 k% C7 K2 h4 j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 L9 W: E9 B* c, w2 G  R. F; b& E9 L6 {
  20. client library - basically all you have to do is to use a 3.x client library as
    # G+ ^$ h7 _/ K4 Z- s& v
  21. "VendorLib" and a 4.x database to connect to.
    ! W) \. {" \' f
  22. If you need more info about dbExpress, you can contact Borland.
    4 Z. X* _* l' \( {4 u

  23. + Y0 E: H+ P' @( l) Q
  24. ### Doing the work ###
    7 t) H3 _' k% h& p% {# J( a  K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      ?4 A9 c2 w8 N/ k& @% ^* g  M
  26. the perquisites right, just open your server.ini file, and add this section at1 E# p7 i: h: J$ q, ]% ^. P
  27. the end:" C, Q% O3 [% P2 R  F
  28. ---cut here---
    % M8 j: P. B0 i1 r, m( I0 @0 t+ Z+ B
  29. [DBEXPRESS]' b  z! t5 {4 }; U
  30. sqldir=mysql_sql  H1 E, b, q1 @( }" H! c
  31. Drivername=mysql
    9 U- C6 s' F1 ^% G2 w1 D2 w
  32. Database=Your_Database_Name_Here
    ' m; e6 h7 D4 T, }+ e
  33. Hostname=The_PC_the_MySQL-Server_is_on( r2 \0 H; t" e3 @! `
  34. User_name=User_name_on_the_MySQL-Server2 ]' P- p; l6 D* Q- {
  35. Password=Password_to_go_with_above_user_name
    . \# Q* S0 Y# F& J1 F6 Q' G! U- ^
  36. GetDriverFunc=getSQLDriverMYSQL
    ) F' n0 Q9 w/ ~0 i! f
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 r/ P5 h9 N  t' K0 W
  38. LibraryName=path_to_libsqlmy_libary9 \- U1 l. G/ A5 C; L0 F
  39. Active=1
    & a* T$ o' b! r9 w2 @5 K; \! Z; h
  40. ---cut here---+ f- D; `' y, {2 C! x; b+ _  W( D
  41. In my environment (a linux box with a MySQL server running locally) I have:- ^( C6 I5 a! V& }& S
  42. ---example---0 X# }$ u4 a  @* }, y; ?7 B; [
  43. [DBEXPRESS]& h% q3 u' a0 J3 {" R+ z& D# [
  44. sqldir=mysql_sql
    ) I- X( b0 T$ h+ G% U. C0 X
  45. Drivername=mysql8 v# [( ~6 C" W% A+ j& q
  46. Database=test
    2 l0 U0 k8 J/ q
  47. Hostname=localhost
    : ~( G2 N( v, k/ V2 q/ @
  48. User_name=testuser) E1 ?6 Q# w- d4 G( j% [
  49. Password=my_password
    8 }/ t, Z4 \# m2 ^" h
  50. GetDriverFunc=getSQLDriverMYSQL
    . F( ~. I. @9 E2 |( c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, y3 F& |8 Z7 z2 D6 l
  52. LibraryName=./libsqlmy.so8 e; T/ w6 @8 j; k  w" P
  53. Active=1
    / q* P2 h9 z3 @
  54. ---example---
    9 W, l9 P8 w, S' [+ p$ j& B1 G
  55. 2 @1 {. J" z6 v5 V
  56. On a windows box, also running the MySQL server locally, it would be:" \# A4 u9 ]* ^" i3 m% c  `1 w% L
  57. ---example---1 X4 A! i, z* d2 e
  58. [DBEXPRESS]+ L9 n! M3 {+ c# {! _& w
  59. sqldir=mysql_sql
      s5 Q6 _% T0 m  B7 ]+ T
  60. Drivername=mysql
    7 O* a3 ?; k& A7 G+ T
  61. Database=test, z# f/ C: U6 _) Z. w" q' ]
  62. Hostname=127.0.0.1
      I7 N0 t6 ?4 W9 e* B
  63. User_name=testuser3 a$ P' c, q( ~# R3 r
  64. Password=my_password
    - N: L9 X( f+ t
  65. GetDriverFunc=getSQLDriverMYSQL
    . S$ G) \; \! Y0 x: l
  66. VendorLib=libmysql.dll4 e9 n( P, }# S/ m1 A/ `
  67. LibraryName=dbexpmysql.dll
    ! M9 ~# r" l  V& @5 K0 Y
  68. Active=12 t* J3 X. G- j, B
  69. ---example----0 P1 D5 j. ~) ]3 Z. X% \
  70. - written 02.03.04 by pwk.linuxfan
    " p# p$ p9 }# l! V' e

  71. 3 h0 p" f, B0 V3 l! k- w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ M' z  n. A  I* t
  1. % d2 E- b4 Q) F( ^9 L3 [# B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 `+ ^0 q. |/ a0 c) @3 C
  3. 3 h$ U; i4 @! I
  4. # # #我们所需要# # #
    1 d% }: n, c( b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! ?7 ~5 R! n" B, ~/ M7 _
  6. 不会解释如何做到这一点-也有文件存在,为
    * H* t+ d  u; w2 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) F8 P4 z; F: g0 ~" x2 K4 [: V4 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) e+ v+ J& t" B% r$ Z0 B; H8 |$ H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 Y) I) ?6 f( c0 O: y
  10. 本地机器,这是我的MySQL安装。
    1 h5 i# f$ N6 Z7 j6 ?& Y/ m. |% o. m' |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 o8 d6 K: u0 F1 f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , X3 u. g; `, h% t" \
  13. 数据库。
    + C; C" r* @) w5 O  @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / _3 ^, M" @5 c4 s8 N, k
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 [" `  V! c( t* p3 t9 j3 ]
  16. 在teamspeak论坛,如果你有兴趣。 ( R/ a) _+ _8 L) X/ c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 \9 n% ~) }+ g3 x5 y) |& D
  18. Borland公司使用。这个司机只能界面与客户端库; b: ^5 m& n) g  F$ C/ m3 S  F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ q! i+ j6 M! d9 H( _' U+ y9 @6 g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 q; K; ?- Y8 D2 e
  21. " vendorlib " ,并解数据库连接。
    ( }2 U/ H- G$ L2 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - d) h$ j7 E! r1 t7 }0 J" [" ]

  23. / _( I( |( I: A4 N+ D) K  v
  24. # # #做好工作# # # % \0 l! H- g* F4 g. V% W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( v+ B* [" `5 V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , A( x2 o. @3 Z3 q3 K& R; L
  27. 结束: : O6 `1 n7 l" |+ n1 A- a
  28. ---削减这里--- 6 i# ]! z6 A) I4 M) {# J* q) C
  29. [ dbexpress ]
    ' y7 U& ^4 b4 k6 ~
  30. sqldir = mysql_sql
    ) \* w+ u: q! K& ]
  31. drivername = MySQL中
    , H( z4 b6 v( C2 h1 d6 v6 A* t
  32. 数据库= your_database_name_here   ?) e7 V" [$ q& b; Z0 Q) Z* g
  33. 主机= the_pc_the_mysql - server_is_on ( \, z$ r9 z6 z1 v7 D* c  }* [
  34. user_name = user_name_on_the_mysql服务器! r7 G! x5 _& p
  35. 密码= password_to_go_with_above_user_name
    0 m7 g2 Z% A( }0 Z! ~
  36. getdriverfunc = getsqldrivermysql
    / ^2 m8 d6 G1 ^. f4 K/ t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : B2 ^+ p# {. l
  38. libraryname = path_to_libsqlmy_libary 9 b4 \# ~/ F/ k! P
  39. 积极= 1
    7 g. [; }- C0 P* P
  40. ---削减这里--- . B* h, _( I- |- L+ ^4 q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; N7 Z3 ^" ^( U5 o3 X% q
  42. ---例如---   {. Y* v8 W: u/ J# a  `
  43. [ dbexpress ] 7 O) F2 R4 p6 j9 Z+ Z& D! l
  44. sqldir = mysql_sql
    $ w1 O* z: |5 e& Y* v2 k* g5 u& @
  45. drivername = MySQL中
    $ j; \& q; E# \" V
  46. 数据库=测试
    ' \5 W5 v& Y+ o5 R7 t
  47. 主机=本地主机
    , K2 \' X# c4 |2 s
  48. user_name = testuser ) O' D2 y7 k3 x. {% ^8 N; e7 o
  49. 密码= my_password   X3 D0 w$ F) R2 g& r6 [
  50. getdriverfunc = getsqldrivermysql " }2 W5 i6 m- J: ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & X4 b  w5 c& h. t# j
  52. libraryname =. / libsqlmy.so
    * i( v, u$ u* S) z' r
  53. 积极= 1 , d- C! L. A  }
  54. ---例如---
    & Q6 r9 E% T4 k9 ~

  55. 5 y5 D8 g# F5 N6 _( M
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & r) \/ I; o$ ?
  57. ---例如--- , p( E. J# e5 ~
  58. [ dbexpress ]
    2 P$ U! g5 ^( Y, c3 w
  59. sqldir = mysql_sql
    , u9 R, }, q; m+ c
  60. drivername = MySQL中
    2 [9 b8 K# J. m- n% d& p. ]0 W
  61. 数据库=测试
    1 R* X6 p* i& t
  62. 主机= 127.0.0.1 ) l, x3 |+ V/ S6 }1 i
  63. user_name = testuser
    * J* ]4 [- n0 m* l+ Q( t
  64. 密码= my_password
    " b/ X3 W5 c4 y
  65. getdriverfunc = getsqldrivermysql
    : p+ ]3 T1 c5 m- S6 E" G( _2 _
  66. vendorlib = libmysql.dll在
    5 ^1 r1 x* }) Q) |4 \+ k+ c
  67. libraryname = dbexpmysql.dll
    - N. t& Z6 |  t2 s
  68. 积极= 1 ; s: y1 B7 P" k
  69. ---例如----
    6 n& [) M/ ^6 `3 C+ f) t# {: W- l
  70. -写在0 2.03.04由p wk.linuxfan
    3 `1 J) h# Y, U1 M( X: Z% T
复制代码
发表于 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/ u4 o7 p" b) F+ Y" C8 q" X
4 P% z' O- o! }3 T
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-5 01:21 , Processed in 0.060323 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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