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

3283 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 e, G2 _* m3 W$ {+ }
% _0 @2 B. i. y9 x: s' y3 {
  1. 8 ?- l4 q3 B* \" e3 t7 {" P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 ^( g8 c, j! a4 z+ C: A
  3. - L/ I& }9 t* L& W4 P" I4 o
  4. ### What we need ###/ g6 ^3 d7 e+ @/ V# Y# O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 z& M; i4 e7 J1 L
  6. will not explain how this can be done - there are documents out there for the & I- C8 k6 i7 D% g" O' m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! Z; [( o1 ]6 J1 {; |1 m
  8. and a user account (username + password) that has the permissions to do stuff8 o0 ~. ~! Y; g0 t- o
  9. with the database. Additionally, you will need a vendor library installed on the
    : z0 ?, ]' u7 Z+ q* V
  10. local machine, this came with my MySQL install.% X/ Z1 j2 N/ [6 }* m4 a) l/ f
  11. These instructions will not tell you how you might transfer your data from the
    7 h7 W9 M# D; k, B" S3 @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# W+ e0 P/ a# B: V/ P. I
  13. database.# _: g5 S. I; i/ V; A# w
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 e$ [- y+ h+ B4 E
  15. the time of writing, there are still too many issues - check the current status
    $ P- M" \4 d! c* Y- n
  16. in the TeamSpeak forums if you are interested.
    6 m/ N) W6 w1 P6 H2 j3 T- P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . ]& E) G6 N3 L, W  p1 V' t  y& i
  18. Borland was used. This driver can only interface with the client library that
    ' L# T: ~, p  E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# r% D: Z# P, L; U1 V8 N
  20. client library - basically all you have to do is to use a 3.x client library as
    ) F; e; L$ ^+ Z' ], g, ?" q
  21. "VendorLib" and a 4.x database to connect to., V) ?1 S! r6 e5 V9 _. y
  22. If you need more info about dbExpress, you can contact Borland.
    ) W0 j3 ?( @3 K& C$ X3 ~

  23. * H3 ~3 N6 O+ d' `4 \2 d' a
  24. ### Doing the work ###
    % u8 Y3 x: d$ V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 m6 M+ S. i" x8 H0 {* m0 r: {
  26. the perquisites right, just open your server.ini file, and add this section at
    # `4 H4 v4 Z% \/ N
  27. the end:
    ' ?$ t# K  z% W( _5 H2 a
  28. ---cut here---
    2 j, y* k7 M; ]" m4 x
  29. [DBEXPRESS]1 x: w6 A+ p, y1 Y) H/ k0 U
  30. sqldir=mysql_sql
    % ^" M: E4 Y/ \+ C
  31. Drivername=mysql* \' j. W( e! N: H* H  ?7 ]5 f
  32. Database=Your_Database_Name_Here# n& J- a% B: v1 R/ s" a3 _
  33. Hostname=The_PC_the_MySQL-Server_is_on. y" v% A1 |0 A' T, C1 M7 l) E
  34. User_name=User_name_on_the_MySQL-Server
    " b8 _- r/ y, x3 i' u' T: C
  35. Password=Password_to_go_with_above_user_name
    $ p& Q) t0 [2 O' s
  36. GetDriverFunc=getSQLDriverMYSQL
    8 m# W& z+ G/ E, G) I- \  l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( I6 J$ S# ~; z- v2 C4 b" R* E4 z
  38. LibraryName=path_to_libsqlmy_libary7 i% F3 y! J) t  R7 t7 |1 e1 f, P8 Q
  39. Active=1
    & ]- ^$ ]! s! g6 k: l9 K
  40. ---cut here---
    * T0 ^( ^2 Y" ]/ S# H2 I7 @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) T5 |* r& L( D7 {
  42. ---example---% S* d8 p+ F5 D4 ]0 \
  43. [DBEXPRESS]
    - ]* W, A, d: N2 Q
  44. sqldir=mysql_sql
    3 g2 w9 A" G! z) E4 Z5 l
  45. Drivername=mysql/ A- j5 W2 e) F! @1 a8 i
  46. Database=test* @  O) T1 {  \0 U
  47. Hostname=localhost
    7 ?- u0 E; K8 v
  48. User_name=testuser' r. |# l7 p0 g: a
  49. Password=my_password( m7 ?/ ^2 F( d  U3 w& x
  50. GetDriverFunc=getSQLDriverMYSQL
    : x0 z: H/ ?/ t. \) l* H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 G7 s/ l$ L8 E8 M% X1 i
  52. LibraryName=./libsqlmy.so
    7 G* y% \' d* ]# ^9 }
  53. Active=12 G8 E( f2 B# U9 {
  54. ---example---* `  U7 x4 w( f1 l% ^3 g- w
  55. ! x  W# @) c9 A  a2 V' o
  56. On a windows box, also running the MySQL server locally, it would be:
    & P; {' Z* l* E, U  O
  57. ---example---4 v5 c- x7 _7 G' ]0 K
  58. [DBEXPRESS]
    . A7 D' e  L  o
  59. sqldir=mysql_sql% B% o) e6 F% r9 h
  60. Drivername=mysql
    ; y5 h' v+ a1 [: f9 F  O
  61. Database=test2 _6 p& \9 ?+ {7 S1 z
  62. Hostname=127.0.0.12 m% p9 W8 |! L( c  I
  63. User_name=testuser
    3 O- _" j: X8 l; ]( ^: f4 q0 V0 N
  64. Password=my_password
      e- s. R/ `: F8 u# G9 U
  65. GetDriverFunc=getSQLDriverMYSQL% n7 s: r& W0 \2 l
  66. VendorLib=libmysql.dll  M. A) W" q3 C' `& z1 Z$ L2 X& v
  67. LibraryName=dbexpmysql.dll
    ' ^( f% V) {# l- s6 ^" q
  68. Active=1
    : G! p; o4 Q2 G9 d- }
  69. ---example----
    ' U3 p7 I! {+ n4 @% X7 x+ y5 w& m
  70. - written 02.03.04 by pwk.linuxfan
    " Q5 ?: B  [; n: a7 m8 @

  71. - ~1 s, r1 l* u5 U8 j9 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 o4 w& l4 t) g. u' `

  1. / s( s( _- Q% t: r! d5 f3 n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . `" L& R) @  {7 F+ `8 v

  3. 7 Y0 I7 E' e* O0 L' n
  4. # # #我们所需要# # #
    & u( e( Y# Z2 d6 Y, |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( H5 x1 ^5 y/ O4 |1 L
  6. 不会解释如何做到这一点-也有文件存在,为( Z0 x0 y! L( I+ q- g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' U0 k9 }0 B) v2 `% k' F- V2 o4 ]* n4 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      k  ~! C  Y: ]/ x/ l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      x6 o- P( a" g! r, J( ]
  10. 本地机器,这是我的MySQL安装。
    # X8 E# ?$ d, h3 g  I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . O0 w  ]- N: x5 j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . l, E2 N0 l7 A, }. U1 m
  13. 数据库。
    8 ?& O+ z  z! P8 x5 l7 t$ Z0 h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      W& b+ K7 t" x  F6 ?9 `- W
  15. 编写本报告的时候,仍然有太多的问题-检查现状. R; H* M5 d% }% k: ^5 q# d4 Y
  16. 在teamspeak论坛,如果你有兴趣。
    ) y# F8 y' f( f$ \6 w% C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 q" d! p- x- k6 I' M/ {+ Q$ k
  18. Borland公司使用。这个司机只能界面与客户端库
    : |/ D. n0 U$ W) _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' D, O; b6 l, E  t6 N4 g6 y* `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' s2 r& i5 \7 j  l, ^
  21. " vendorlib " ,并解数据库连接。 2 I% [8 E. `6 [9 R6 K& v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 C. q# L% a+ Y) l8 n

  23. 0 I) Q) w: w$ N: G6 M% M
  24. # # #做好工作# # # 1 t  ^" S4 G' F7 S; q$ ^7 q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; y5 m9 ?6 Q+ K$ A8 |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 q5 Y- L. P) G, x) y
  27. 结束:
    ; o6 U1 M2 M6 q
  28. ---削减这里---
    8 n0 t4 F( z. ?  U
  29. [ dbexpress ] 9 ], ?5 V7 s3 i4 f7 G* j3 o
  30. sqldir = mysql_sql
    1 s; \! D# P# u3 c& T0 w
  31. drivername = MySQL中
    # N! x7 M6 h& O/ R$ B( c% ~; _
  32. 数据库= your_database_name_here ( Y, K% N+ [' u& m6 @) {
  33. 主机= the_pc_the_mysql - server_is_on
    0 _5 I/ l" C$ Y. E- R4 Y
  34. user_name = user_name_on_the_mysql服务器
    ; ^. j1 Y" a3 {4 M3 y
  35. 密码= password_to_go_with_above_user_name ! C* H0 v% \6 \0 M' [5 N
  36. getdriverfunc = getsqldrivermysql ; l& f. s7 H  v8 O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! @& E5 e7 ?$ Z
  38. libraryname = path_to_libsqlmy_libary
    / C1 J, X( G" _( `# e
  39. 积极= 1 1 s! b' q  G- N! |0 T* W; ^
  40. ---削减这里--- ( X8 D7 Y) ~  t' O* X' B& _# }/ n6 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , F/ Z) }& e8 p1 `8 H9 ]/ D
  42. ---例如--- 9 A5 p6 K) a* Y+ ^# T, j
  43. [ dbexpress ]
    ) ~2 l! @0 ~' Q( C$ t! y
  44. sqldir = mysql_sql 1 _% j3 V3 u, @9 l
  45. drivername = MySQL中
    1 H. f: r7 L/ w# n# i- Z/ \
  46. 数据库=测试; d- `; H0 ^$ L$ b
  47. 主机=本地主机: G4 T7 R: C3 l/ a5 F- v* v
  48. user_name = testuser
    9 R1 R; p+ W+ s: F
  49. 密码= my_password
    " `. p3 ~# B1 {* k
  50. getdriverfunc = getsqldrivermysql . z* l- `" E1 d3 @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) N6 V7 c9 C9 V/ `  }. k
  52. libraryname =. / libsqlmy.so 8 y8 p* n+ J$ W. u5 C( u$ J5 B
  53. 积极= 1
    5 g  o3 C/ O& `1 \
  54. ---例如--- 4 Y1 R1 h- R- }  g5 l- d$ [# i
  55. 9 r2 x3 l# P; c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 `: l7 Y- l- e( h, d  o
  57. ---例如--- / q5 }6 L9 r( p7 q
  58. [ dbexpress ]
    8 }$ |9 L4 g$ M$ f
  59. sqldir = mysql_sql 9 J: v# K! s0 m! _  Q: x; H: @$ W
  60. drivername = MySQL中. y% w+ K5 Q/ b3 q
  61. 数据库=测试
    , j7 R3 d8 e$ Y: }5 u6 r
  62. 主机= 127.0.0.1 - h- e1 N- U$ Y; _* a; [
  63. user_name = testuser ; {9 R5 O/ Y3 K0 w! B' W
  64. 密码= my_password
    1 `/ _. F$ O. I0 }. H+ J5 Y
  65. getdriverfunc = getsqldrivermysql
    1 Q! E6 @3 ~1 O2 z. l( X: C
  66. vendorlib = libmysql.dll在- [2 x4 E) X. m6 u* J( C9 w! W
  67. libraryname = dbexpmysql.dll
    % b; h7 V7 u9 C9 h
  68. 积极= 1
    $ X3 N. O& t) g$ T$ o' c
  69. ---例如---- / f. `& G$ U  w* ?4 E% L* H( P
  70. -写在0 2.03.04由p wk.linuxfan
    6 y+ m+ z+ ?* m2 ^0 ]6 G
复制代码
发表于 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
+ g4 T2 S, h$ Y
9 m8 @9 D) h; i( g4 t7 R' S/ \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-3 07:22 , Processed in 0.113164 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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