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

3608 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % |3 ]8 X, B0 q* k
1 w# l$ v" {) x/ `) y

  1. " E! A& I9 {" f% j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( \* L5 K3 l! o* D' m
  3. ( X# M% C6 P" o8 ^) V
  4. ### What we need ###0 s  D6 F0 X% `  s7 y* S
  5. Naturally, we will need a MySQL server to store the data for us, this document & h3 ?# h* z. I, x& _
  6. will not explain how this can be done - there are documents out there for the
    1 y: }, `7 Y- {* S% f0 B- y
  7. interested. The requirements include a (empty) database for TeamSpeak to use  _& c* {* ^8 Z5 Y
  8. and a user account (username + password) that has the permissions to do stuff7 b) ]& t! k. S7 X7 F
  9. with the database. Additionally, you will need a vendor library installed on the! h  q8 x0 C) S1 o/ f# \: N
  10. local machine, this came with my MySQL install.$ G! _# v+ _- K" J9 t$ Z1 q/ U  Q# |: q8 R. |
  11. These instructions will not tell you how you might transfer your data from the
    8 v& E; W" u9 N+ J) P+ T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / f* [% t9 A1 L( r) e/ h
  13. database.
    8 x7 R1 u, H5 g4 C9 t. ]5 Z/ |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " F  H# E- ~/ V% Y0 K' j  y& D
  15. the time of writing, there are still too many issues - check the current status
    . m7 C$ x$ E, A! x' L9 T% _
  16. in the TeamSpeak forums if you are interested.' z* Q" D0 A$ ]; b1 ^7 S* J8 I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 C6 J, @+ ^( X9 u, n! z! m
  18. Borland was used. This driver can only interface with the client library that
    ; o4 Y! \! z+ \9 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# r7 ~" R% A/ i6 `8 h
  20. client library - basically all you have to do is to use a 3.x client library as $ T7 X) `7 j& r+ Q; i7 ~+ w6 V
  21. "VendorLib" and a 4.x database to connect to.
    6 i3 Y8 _3 {" K# E
  22. If you need more info about dbExpress, you can contact Borland.
    & @  }' w( f. e8 X# N+ j

  23. " [3 b8 f" k, Y
  24. ### Doing the work ###0 n% _6 b  ^" O4 @8 J: Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' J* A) z+ b- }  u* J
  26. the perquisites right, just open your server.ini file, and add this section at
    $ R0 @+ e; P, z" A; ?" C. q
  27. the end:2 v% ]+ N2 u+ K# D/ {; |( W
  28. ---cut here---7 v+ o4 Y  O& H+ v7 F
  29. [DBEXPRESS]
    ) e  p( R6 e- R
  30. sqldir=mysql_sql
    5 _/ a# {( M# b
  31. Drivername=mysql
    " Z1 s/ a7 N2 E& W  w
  32. Database=Your_Database_Name_Here
    % ]" C/ x! N; Y$ j$ h
  33. Hostname=The_PC_the_MySQL-Server_is_on9 k- H! y" ?7 R# {6 I* j8 B
  34. User_name=User_name_on_the_MySQL-Server3 `' }* K2 i: x7 ]3 H# m' h5 x; b
  35. Password=Password_to_go_with_above_user_name
    0 Y0 D- r0 a, q* R5 y* s
  36. GetDriverFunc=getSQLDriverMYSQL1 U/ Q" A% B8 h  C1 L& W1 z, {* d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! E4 D: l; }( A/ q
  38. LibraryName=path_to_libsqlmy_libary3 V7 C% y/ [  S% k1 v' C3 r
  39. Active=1
    7 [7 B/ V1 R  x' h( f% ]
  40. ---cut here---( k0 O  {$ |) W0 \( B! \5 J
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 A( e2 `; I* \! E# B2 d
  42. ---example---
    - m& E; V9 |' C% l
  43. [DBEXPRESS]  z, T7 {1 I7 B! V$ D' `, O
  44. sqldir=mysql_sql
    1 B) Y& L# v1 B/ `' s# }7 z2 c& t
  45. Drivername=mysql- J' H, [" \8 u9 A! w. i5 P
  46. Database=test+ w/ P7 f7 I! `" h  n
  47. Hostname=localhost
    ; f4 p4 G' X' `& G5 D
  48. User_name=testuser
    : p/ ]$ z; h9 q! \6 m; N) G
  49. Password=my_password' q7 f8 }8 l% N* f* v
  50. GetDriverFunc=getSQLDriverMYSQL
    2 M! G4 P3 N- H9 F  @: u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * G3 |7 J" B, R1 V' |* @
  52. LibraryName=./libsqlmy.so
    ( T, e6 O( h6 Y9 v' ?
  53. Active=1
    : e# l  L3 i# Y6 r8 D
  54. ---example---% j8 @/ A2 C( r6 y7 |
  55. 5 a& [8 U0 h# R: I& T
  56. On a windows box, also running the MySQL server locally, it would be:
    4 W. ]% Z; m- [3 q9 L3 j6 f  `
  57. ---example---
    4 P) m, B( x) [6 r( h9 W) I
  58. [DBEXPRESS]/ M. y3 \7 L& }9 a, q7 H/ j
  59. sqldir=mysql_sql/ i3 j5 p3 I5 ~! w4 e# w
  60. Drivername=mysql
    " a/ o* C$ h7 o( Y
  61. Database=test5 P+ j8 ^. ^! d- U2 ^- X
  62. Hostname=127.0.0.1
    5 Y$ R2 W! |* m9 X) i
  63. User_name=testuser
    . X. k" P# D) b; P9 M, M7 a
  64. Password=my_password  [0 W) Z! C, j
  65. GetDriverFunc=getSQLDriverMYSQL# |1 Q7 z5 F1 S, K: h7 W
  66. VendorLib=libmysql.dll
    ) x9 P3 {. S3 j5 K4 C
  67. LibraryName=dbexpmysql.dll
    3 a' \1 s$ g9 I1 q2 m" o, w# r  H
  68. Active=1+ M- `  G; K& l2 {# @9 K
  69. ---example----
    3 A1 g( Y3 v5 a  ]
  70. - written 02.03.04 by pwk.linuxfan
    / ~) X0 i1 j$ [8 B8 e* @% P
  71. # |0 Z. d) p* S5 W
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  r, B6 h7 x! @4 f3 f

  1. ; i, o8 {4 ^+ y% ]( V" W7 f6 @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - E0 k: {4 }$ s$ o& G

  3. 0 z2 ~( `% X; W! }
  4. # # #我们所需要# # # 6 ]& {8 J3 i4 ~* w7 l5 g6 V$ U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! o2 m5 c: _& l0 ?  B# y
  6. 不会解释如何做到这一点-也有文件存在,为/ p2 D$ l$ s6 o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% r, t2 f6 T# ]) }7 o5 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& Q7 Q# z& g# j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; d8 l9 w7 n/ h' l" c3 a
  10. 本地机器,这是我的MySQL安装。
    / d- }9 v- }, `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 B, M: P( g! z, @. W, g3 P9 l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' e' e5 F1 {- A5 J6 X; b. C
  13. 数据库。 8 m2 K+ j3 }& z2 p1 e( _0 s, a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 b( F$ a+ j4 Z/ `! K5 J6 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ s1 a& w& ]% e( D$ \- j
  16. 在teamspeak论坛,如果你有兴趣。 " E0 B0 v1 `  h' p" d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( D7 p2 q) x# r6 e
  18. Borland公司使用。这个司机只能界面与客户端库4 c6 k8 b, L- |8 i0 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / h# g" E$ }1 I9 b* C0 P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 q; {5 P* w3 Q) Z* A0 z
  21. " vendorlib " ,并解数据库连接。
    ( a6 g; u* ~( L! b8 ~- @. K( D
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - j2 O. B, Y  L# V4 s0 V/ v3 V

  23. 8 g  D  L1 {9 ]3 ?" ]
  24. # # #做好工作# # #
    7 ]: L" A4 O6 q  u4 z6 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 r" L2 T) M3 Q4 C' U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 A; ]- Z% A0 x) v' ^0 s  r* _
  27. 结束: ; y% w, X( D) s5 h2 K1 b- T9 k
  28. ---削减这里--- & q- ~. H; @- o+ _% A
  29. [ dbexpress ] , X. q" W3 d7 a2 s" P
  30. sqldir = mysql_sql
    , V1 N7 x5 e/ n+ o
  31. drivername = MySQL中
    ( A/ p0 X8 D9 D: D2 X( U/ x; x
  32. 数据库= your_database_name_here % ]( o  E, i& k9 U. t5 q7 t
  33. 主机= the_pc_the_mysql - server_is_on
    3 k( `. `1 w7 n5 [
  34. user_name = user_name_on_the_mysql服务器
    3 C; t  i; P  q6 ~# q& @* Z0 a
  35. 密码= password_to_go_with_above_user_name
    2 E4 G  P* d8 K' M  V. D
  36. getdriverfunc = getsqldrivermysql * H: I* r6 r5 C) b, w+ \% d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ E$ D5 F  r/ j0 t* W
  38. libraryname = path_to_libsqlmy_libary
    & |$ J4 m  S/ U  f+ [' j
  39. 积极= 1
    + g, h5 R! J: H! Y% N: O9 O
  40. ---削减这里--- 2 z5 L- q# w) o8 M% a" k. L+ @9 R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : ]- @" \* _" _* t& S. Y( q7 A
  42. ---例如---
    0 Q1 O5 R9 x6 b8 R/ O" g# o3 n
  43. [ dbexpress ]
    3 a( e8 Q( j. `& S3 i
  44. sqldir = mysql_sql
      @, c' L0 A& Z
  45. drivername = MySQL中
    ! w3 S& {. q$ [5 I$ f
  46. 数据库=测试3 }, O0 A) q2 E4 s( C5 B  u! |; T
  47. 主机=本地主机
    9 ~) W1 U0 r. |, ^$ A% H
  48. user_name = testuser
    : [  P8 d. V6 t
  49. 密码= my_password ( |% Z1 g5 i: b
  50. getdriverfunc = getsqldrivermysql 3 P! U, S1 n, i7 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - _: u6 ]; L# O, T" n* N
  52. libraryname =. / libsqlmy.so
    $ R5 _/ X3 N+ v. w; _: N! a% E% v
  53. 积极= 1 . ^) R/ U4 _3 V1 K4 k
  54. ---例如--- ! U  l+ R# ^: G& |( i" b2 E
  55. 7 z) F5 l- h8 L+ I4 U0 q: z* d; V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . A8 S7 A# T/ C9 v( J
  57. ---例如---
    + f" g! M1 |: F$ p+ P9 T
  58. [ dbexpress ]
    - D$ p' W: b* z" b+ z
  59. sqldir = mysql_sql
    ) o7 A. B7 m" T/ D
  60. drivername = MySQL中
      m, w$ {0 W9 f0 U" I
  61. 数据库=测试% E+ ~& Y9 G8 X( N0 y0 ?
  62. 主机= 127.0.0.1 9 o& E$ I! W: X& w0 @$ \
  63. user_name = testuser
    1 n! v1 W6 K' v5 z7 `/ Y
  64. 密码= my_password
    9 w: [& \$ k- r$ D( G$ K
  65. getdriverfunc = getsqldrivermysql . J. @2 j( G8 E  Z
  66. vendorlib = libmysql.dll在7 g3 x9 j' E  ~' O3 P# x5 H* G
  67. libraryname = dbexpmysql.dll # }  v1 U; `3 o% r5 X/ j& d
  68. 积极= 1
    & ^( U- E9 S( n# U0 u
  69. ---例如----
    8 W6 h8 O2 Z9 H3 N- X
  70. -写在0 2.03.04由p wk.linuxfan* F2 r4 L7 L7 C
复制代码
发表于 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
8 R% W* l1 t" H1 k, H0 F. W+ c4 P  y+ k  `$ `
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-3 16:15 , Processed in 0.056929 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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