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

3367 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 f. O: j  a  L: E, k- k

- P! `" I! V+ K9 ^+ A8 S5 B: z

  1. 1 u' \2 V5 K* K- C7 D3 |9 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! q& K. Y7 }/ ]# G8 S4 B6 a) F
  3. 4 ~. t8 {5 L( D5 F, }: O
  4. ### What we need ###* m0 I4 `4 W: b4 e8 O1 s; E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . c0 R' l2 T. W5 ^
  6. will not explain how this can be done - there are documents out there for the $ q! F6 K( i! ]0 _, o7 W9 H! n; r
  7. interested. The requirements include a (empty) database for TeamSpeak to use" \8 N( n' w. r: ~$ _' k% n$ _
  8. and a user account (username + password) that has the permissions to do stuff
    ( @* J, W7 g3 n" A
  9. with the database. Additionally, you will need a vendor library installed on the1 D! Y: I6 y+ d2 {- `4 }1 x
  10. local machine, this came with my MySQL install.
    " C% \+ @9 R, x$ Y8 H9 v
  11. These instructions will not tell you how you might transfer your data from the
    5 m- W7 ^, l: m+ N3 [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# T) d) ]7 v% x4 H! y5 d
  13. database.
    * X. c6 c- F3 q9 l& H3 X' g  }
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 b. o) u8 L* ^8 T& T
  15. the time of writing, there are still too many issues - check the current status
    , v" D/ z0 Z) [: c5 _0 ~0 L
  16. in the TeamSpeak forums if you are interested.5 g% D! y1 r( d, {$ W1 n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % a8 T! ?' t% Y/ {" z9 ?5 B6 J
  18. Borland was used. This driver can only interface with the client library that
    % r  \( s+ Y% [+ x" ]- R/ c+ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! T, Q) |* A+ f
  20. client library - basically all you have to do is to use a 3.x client library as # y6 G# o$ ~: o8 S
  21. "VendorLib" and a 4.x database to connect to.. t$ m, _) r  D# u3 Q& o
  22. If you need more info about dbExpress, you can contact Borland.$ r. |  p- |6 E, v8 e
  23. $ ]1 i; m$ n" Y$ o5 C1 c
  24. ### Doing the work ###1 B" U( m8 r0 w8 g) O+ Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 W- G7 a* x# ~/ j
  26. the perquisites right, just open your server.ini file, and add this section at6 I- R1 ?4 s$ T! D- p
  27. the end:: M: U2 K" T3 p6 ]; G# F) Y
  28. ---cut here---
    ! _6 x0 Y3 @) J$ g6 H
  29. [DBEXPRESS]0 Z9 `8 h2 @( }4 s# Z% w/ w) [5 n
  30. sqldir=mysql_sql  G5 Z& ^7 T6 K6 |; F6 b1 B( ^9 e
  31. Drivername=mysql# `/ O' o& s; a- K# T
  32. Database=Your_Database_Name_Here
    : Z' i+ i1 t& G1 \% k
  33. Hostname=The_PC_the_MySQL-Server_is_on& B& G. Z1 {7 h0 h
  34. User_name=User_name_on_the_MySQL-Server- d, E" q2 L0 ~7 S" ]# O+ d
  35. Password=Password_to_go_with_above_user_name
    5 L2 c5 X+ u* F" z3 ?
  36. GetDriverFunc=getSQLDriverMYSQL( m3 D3 f: `; T' U) W& S! o; z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) {+ \1 h8 [  s, g5 y# O, e. j/ T
  38. LibraryName=path_to_libsqlmy_libary
    4 _0 M5 |' M) S2 F
  39. Active=1; O: D" s5 z- }7 G. N) N; s" X
  40. ---cut here---
    0 R* B0 v. \. w5 e# Y9 X
  41. In my environment (a linux box with a MySQL server running locally) I have:. [- R3 F' B2 R  r
  42. ---example---
    : ^3 m* \2 L4 T0 F' G) m% G1 h1 R
  43. [DBEXPRESS]
    + J4 d8 W; i( R$ N+ O$ J
  44. sqldir=mysql_sql, e8 g$ d! S$ N1 I4 x; L0 W  v
  45. Drivername=mysql2 A+ c& M; [+ l3 x; R
  46. Database=test
    1 h  O3 D4 S0 n
  47. Hostname=localhost
    % r; d1 r- t9 l$ {5 @
  48. User_name=testuser
    : E5 M# n) K7 o# K4 v, a
  49. Password=my_password
    7 K4 Y4 S$ b1 S8 x; v6 ?
  50. GetDriverFunc=getSQLDriverMYSQL
    * b& n; g& ?3 t6 ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - D/ v4 t) X. g: s; o2 o: T
  52. LibraryName=./libsqlmy.so
    6 O; C  G9 Q" l1 O
  53. Active=1
    * n0 Y( n- `  g5 `0 \
  54. ---example---, F, I( V& Y3 V* o  D5 r' n

  55. 8 a; M4 U/ ^7 X+ \* U( @$ j% Q! U
  56. On a windows box, also running the MySQL server locally, it would be:/ w: F0 v5 R) j% d
  57. ---example---
    / q4 l+ Z; @+ x7 c8 [  O* o
  58. [DBEXPRESS]
    / k5 Z; o' g# t/ H' f8 Y
  59. sqldir=mysql_sql
    7 P( E7 _+ y8 F5 r3 j/ Y
  60. Drivername=mysql4 @0 Q) e4 l, l5 o" V: j5 w: c
  61. Database=test
    # T$ v4 \) B, @4 ^1 p; J
  62. Hostname=127.0.0.1
    / R& ]6 U% i3 A7 F6 `- d; P2 U
  63. User_name=testuser3 y8 P% M0 E6 q' u
  64. Password=my_password
    ; ^% y( a8 e% o0 _
  65. GetDriverFunc=getSQLDriverMYSQL' e9 J3 a1 Z! b
  66. VendorLib=libmysql.dll9 Q7 w9 q$ X. F( a( L0 o
  67. LibraryName=dbexpmysql.dll* A- @. H( q9 B6 R6 b
  68. Active=1
    1 `6 Z+ e4 B7 K7 a8 t3 Z+ T
  69. ---example----
    6 c4 f$ I3 E" U& Q1 L, y* ]
  70. - written 02.03.04 by pwk.linuxfan
    ' ~3 X  u  n# `" e# B1 x
  71. ' n+ E+ _: ?2 Z# a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 \) H2 C( t" I$ s: @: O
  1. ; T. j  B  T1 g5 {" N" w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % G* r: R  R  b- u; e7 [, K
  3. : z' C1 j6 @: ]4 h9 L# l
  4. # # #我们所需要# # #
    + u# |$ m$ S) n, n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 o; u. R1 c- Y2 J
  6. 不会解释如何做到这一点-也有文件存在,为
    " _$ @2 Z% I, ^% \! n7 o8 M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' @* l! W+ C4 O/ ^, ^% U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- e+ ]6 \! Q6 f2 p" |9 u* u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % U0 q1 e# _4 l& j
  10. 本地机器,这是我的MySQL安装。 7 z7 h% i5 v4 f, @. D4 V2 L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 L4 `  X) ?4 R' r0 |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      H: D3 [# d. \. ]- v
  13. 数据库。
    ! Q4 p) s$ i7 L( ~0 `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ x! ?; Z* K# G  ~& V) i
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 t/ Q1 T) C) y* Y' D* L
  16. 在teamspeak论坛,如果你有兴趣。 8 g$ D! u2 C. |0 c' t" N6 K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. w. Y: m( P! R
  18. Borland公司使用。这个司机只能界面与客户端库7 u3 Q0 o% T( C- y# s! W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 G6 T/ T: A3 K) B; x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 j  U. Q5 M) E3 o) v: T
  21. " vendorlib " ,并解数据库连接。
    9 b7 R0 u  c7 `4 k9 t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! P" K6 P3 Z/ x" b) |  b  J

  23. + D. @2 W% X4 W/ ?# i
  24. # # #做好工作# # # # M4 S( S- l# }- U8 I8 B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! M! N$ {; y5 R8 z. M) k7 z2 v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 y" K" {0 I3 r7 J4 j9 q
  27. 结束:
    ! G$ v" |5 f/ ^2 V% G
  28. ---削减这里---
    * S. n- H$ }7 ?. @/ a4 Z7 Z
  29. [ dbexpress ] 8 ~9 e. G- Q2 Y; B/ S, L. R4 L- N
  30. sqldir = mysql_sql
    8 M  s! K) X9 |# G$ q/ S
  31. drivername = MySQL中
    ( Y+ R% z/ d; a1 C  ^
  32. 数据库= your_database_name_here 9 w) i9 R4 W: W" e
  33. 主机= the_pc_the_mysql - server_is_on
    % Y. g6 s( ~5 @$ s( {/ b) s
  34. user_name = user_name_on_the_mysql服务器$ O2 L$ T, g2 Q) H
  35. 密码= password_to_go_with_above_user_name $ N& w$ a9 y$ `, `- O. e- i+ J, G6 n( ]
  36. getdriverfunc = getsqldrivermysql ' f- R: l. ~! h; j1 w$ I5 R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # ^& A6 j$ y8 a0 w  p9 ]2 I, d% g
  38. libraryname = path_to_libsqlmy_libary ' X5 H# M3 D/ u( p8 M+ I! l5 c) A
  39. 积极= 1
    : M8 u7 V2 _6 W) e
  40. ---削减这里---
    & G& S8 t% a6 _! _5 M2 R* J: |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # q+ R5 v$ q% J6 C, k( T& T$ ?3 u
  42. ---例如--- " \0 c# k9 ~2 d4 ^, |
  43. [ dbexpress ] . v8 ~* x+ M6 _$ ?+ Q0 |( c
  44. sqldir = mysql_sql
    ' H* q1 s5 G: m5 Z: f' u% m- z+ ?
  45. drivername = MySQL中
    ' ]: b7 M' |# V# O  o
  46. 数据库=测试1 P- c5 X! O! w& I  N2 @; |& {
  47. 主机=本地主机7 H. Y, {+ ]( e, v* M# S
  48. user_name = testuser ! F% |6 w# b& j, W# W) V
  49. 密码= my_password
    . U' @) c" y& T; M
  50. getdriverfunc = getsqldrivermysql # C0 O. H% a# {0 A) ?' d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 S) R* F" O5 U2 z, ~. G+ N+ v  q
  52. libraryname =. / libsqlmy.so
      ^/ r! S. S# q7 g( |5 E" U
  53. 积极= 1 * v2 h/ i9 ?% G" x# G6 I, |( ~
  54. ---例如---
    7 k6 @- Z6 M- ^# [: C0 o

  55. 3 `$ P( I2 c: n7 G, V. n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 e+ S( Y  x/ c% H8 L7 P
  57. ---例如---
    ( k2 ]( S3 q3 i, i
  58. [ dbexpress ]   a5 l' G' ?9 k' q, B
  59. sqldir = mysql_sql
    ) ~5 J- T$ N  u, Y. P1 T! F
  60. drivername = MySQL中3 U* u/ U) W$ v* d
  61. 数据库=测试
    6 g4 w. ?3 u1 W* `/ c: V3 n: r: p7 b9 _
  62. 主机= 127.0.0.1 * n  Z* g. c. Z* P- {, i  b6 I- S
  63. user_name = testuser 8 @5 v* i. O/ U, A
  64. 密码= my_password $ [, t# e9 U) L! X
  65. getdriverfunc = getsqldrivermysql 3 A: p" ^4 C8 v+ E, O- Z
  66. vendorlib = libmysql.dll在
    6 N  V4 P+ K, z" N# N
  67. libraryname = dbexpmysql.dll
    3 B9 q4 K" A* Q& W# i
  68. 积极= 1
    ' a* x/ f; ~6 Z1 S% N1 @( L: @
  69. ---例如---- % o4 t# K! `4 a& P5 {: D* s
  70. -写在0 2.03.04由p wk.linuxfan$ r. F7 F" n) n
复制代码
发表于 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# f  [5 j, o* ]4 [! U7 ^

. z6 @/ Z' x" [/ p( ^* X+ a2 k( bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-21 02:47 , Processed in 0.109711 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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