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

2800 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- |- {5 s/ w) J9 F3 d' r, h( ^- }4 a9 q; U
  1. " q  _! f: A! I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' v8 J# ]: v( o

  3. 2 l0 K1 G( N* L, G
  4. ### What we need ###. t$ I9 a7 a1 M" x  c
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # O& J! a7 S# |5 w' J5 h7 o" O
  6. will not explain how this can be done - there are documents out there for the 8 B0 U; W" g( T, g1 B+ T& @7 @  y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : g2 \& @) H6 Y
  8. and a user account (username + password) that has the permissions to do stuff
    4 W% R& l6 W5 L0 q- w! L
  9. with the database. Additionally, you will need a vendor library installed on the
    - R9 d* _" X. s7 f! u: h
  10. local machine, this came with my MySQL install.- ^* g! g6 c, `
  11. These instructions will not tell you how you might transfer your data from the
    , H$ \7 F  k( Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 r3 s6 Y% [" C% X' B2 W5 q4 B
  13. database.4 p. U2 Z: |4 m% _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' z/ x. O3 k: `3 x  Q
  15. the time of writing, there are still too many issues - check the current status
    # b: c2 m% m. O7 ~0 R
  16. in the TeamSpeak forums if you are interested.
    4 }, ?9 Q; p: H; |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 V3 r1 A& W& N- P/ O. |
  18. Borland was used. This driver can only interface with the client library that
    " j! J3 N, D- y  K% ]7 x0 V: \
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 C! j' R. j. l2 }1 e
  20. client library - basically all you have to do is to use a 3.x client library as
    ; L7 X+ ]( {7 W, T3 ~
  21. "VendorLib" and a 4.x database to connect to.
    9 b; c7 N, O2 `: }3 v: \7 }+ ~
  22. If you need more info about dbExpress, you can contact Borland.0 b3 i& `2 v! M+ n. u& t5 |
  23. 6 ^/ ^* ^* j' [: V
  24. ### Doing the work ###
    5 z( Z5 K. d/ ?$ ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * \: S2 y/ @% e7 @8 u5 [
  26. the perquisites right, just open your server.ini file, and add this section at
    ; M; C7 g- f. M% K, g- A1 l
  27. the end:
    9 P& V8 @( ~2 ^9 `6 y2 ^6 O3 K/ N2 r
  28. ---cut here---5 q9 [+ v2 l) n+ L* X: S  n
  29. [DBEXPRESS]& h" ~7 U. [# S7 K# I$ A
  30. sqldir=mysql_sql
    2 c5 V4 T& H; F1 ^
  31. Drivername=mysql
    % y$ Z" N! Y6 Q* N9 _. T8 ?" @
  32. Database=Your_Database_Name_Here
    3 w0 p- ^, ?: j5 r( j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 J4 t  j9 ?+ f8 p- d
  34. User_name=User_name_on_the_MySQL-Server
    % T* x0 X6 y# y) u( d% h; H
  35. Password=Password_to_go_with_above_user_name
    ! l1 D1 d! M0 H. Y; B9 ~  z
  36. GetDriverFunc=getSQLDriverMYSQL' b2 y" j4 G& J3 C8 Y# A$ u+ D" a2 @0 k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, P" z9 n6 u4 B
  38. LibraryName=path_to_libsqlmy_libary. y9 S7 {+ ?1 g1 D6 a
  39. Active=1  R# Z$ g- k2 L2 W! c
  40. ---cut here---
    . f- ~8 l/ X& l& V, B
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / V" t+ P0 b4 d$ [# X/ ?
  42. ---example---
    ) R- S- j" w* a2 G: _$ _, ]
  43. [DBEXPRESS]
    0 h: {* w$ b( r7 M2 b
  44. sqldir=mysql_sql
    ' d2 ]9 I+ x7 e4 Z
  45. Drivername=mysql
    & u( r# I" b1 f& O# r
  46. Database=test
    ) V' v) U% p" s0 D6 j
  47. Hostname=localhost( |0 `0 t& a$ u# V( N
  48. User_name=testuser
    ' N# P  ^7 N4 ]/ W7 e% X
  49. Password=my_password# l' s+ W- N: a+ z0 y- R* z5 g
  50. GetDriverFunc=getSQLDriverMYSQL
    7 Z; N. J3 l0 A- S! N% u) _" G7 Y8 D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . C  ^4 T, i4 l/ y/ D4 z
  52. LibraryName=./libsqlmy.so
    3 Y" g) l# w% L& T4 n  C3 q
  53. Active=1
    . t5 P% o" r% q: ?
  54. ---example---% q2 t8 O; \+ V4 H

  55. & Y- C  U+ J& T! L) s# y
  56. On a windows box, also running the MySQL server locally, it would be:
    8 \, C3 W+ |6 I+ H7 B9 p: h
  57. ---example---) g/ J, }5 W3 m5 h
  58. [DBEXPRESS]7 y$ _$ S; w( E9 A0 J- c: U
  59. sqldir=mysql_sql
    2 g6 n/ W# {1 U7 c/ B
  60. Drivername=mysql
    - Q, E/ Z* a- |! I
  61. Database=test
    ! C+ y, L) A1 |: ^) l
  62. Hostname=127.0.0.1
    / [8 t/ M* C; g4 k! E
  63. User_name=testuser
    0 B4 }$ n5 }7 d/ y/ `
  64. Password=my_password
    : m- W; o. E7 F9 B: _# m
  65. GetDriverFunc=getSQLDriverMYSQL2 I1 W4 @6 C+ w. W5 @. Y
  66. VendorLib=libmysql.dll
    $ O" h  G6 T  c6 @4 A) d9 J
  67. LibraryName=dbexpmysql.dll1 I+ \  s- h. L% @$ A6 w
  68. Active=1
    0 ~* I3 t$ ?: D" G% V3 `. E9 H
  69. ---example----
    5 m* A9 J/ b# y" g5 Q' k
  70. - written 02.03.04 by pwk.linuxfan
    * H' p$ O* l) H; G/ q

  71. " j  F' K- l2 T8 y) E4 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% `9 a# T% j$ i
  1. - t8 d/ B+ I/ v0 |  _0 h/ \9 P9 c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ( F! n3 k. j( `5 q- k
  3. % R3 n1 \% {" G
  4. # # #我们所需要# # # 6 R6 U( R. g  R( P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! v9 o( l, a6 [, j
  6. 不会解释如何做到这一点-也有文件存在,为8 Z0 v. L- h6 C* ?' ^2 `( p0 u6 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' ]2 u( E" w, g1 o( C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 V' O2 |5 X* d* d3 [6 e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! F. a, g# c# {5 k
  10. 本地机器,这是我的MySQL安装。 5 R2 O% d( z0 A) M) v' r2 D& x& ?# C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ o4 a& H. \+ F$ y) s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " ?" f7 @7 B; f" P1 q1 o0 h: ~
  13. 数据库。
    / S! V& J7 s: J1 [2 |& L. W1 i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # X5 Z; q# ~) ^, {
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 K, A3 t2 \- w$ Q. ]0 P7 l! |
  16. 在teamspeak论坛,如果你有兴趣。 & K# t0 h7 M& ]4 J5 f+ t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: O: I6 K( m% ?) j6 E- c( h* {- O; e
  18. Borland公司使用。这个司机只能界面与客户端库. i, Z8 L4 ^* C2 e3 P3 `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& A- i" a5 k. W! `8 t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - G7 T/ J  E8 c1 N, g5 E
  21. " vendorlib " ,并解数据库连接。
    ; y8 c+ y( ^  e' Y) |/ ?5 B- y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 R. W( K* F- F+ {6 d; t" o

  23. : [; ^" D& o9 f
  24. # # #做好工作# # # # ^2 {. [8 p; B, a+ B2 j0 M& ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 w/ H# K0 F, z6 Z. J) z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 [- c0 \" `* [) P  h
  27. 结束: ( ?6 H$ r2 F0 f4 W7 e
  28. ---削减这里--- ; w0 V3 u. |# |4 l
  29. [ dbexpress ]
    6 a4 _$ x; Z, Z: H" M" T
  30. sqldir = mysql_sql 1 T' R1 X9 W( R
  31. drivername = MySQL中( o9 g) ]5 O7 B
  32. 数据库= your_database_name_here + }" D7 M" P6 H& b8 t9 f6 j+ F
  33. 主机= the_pc_the_mysql - server_is_on
    1 ?+ p) d  e! B  Z
  34. user_name = user_name_on_the_mysql服务器
    . n, P9 h: h7 P6 ^2 ?6 K5 A
  35. 密码= password_to_go_with_above_user_name
    & p# y/ M! g4 x5 |8 X
  36. getdriverfunc = getsqldrivermysql & M6 l  _# L0 L1 q' n& j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % M2 N+ V3 R. P' k- E
  38. libraryname = path_to_libsqlmy_libary
    4 I) f4 O: Y6 c8 G
  39. 积极= 1
    " p5 Y5 ]1 W0 r# m3 f, w; ~; |7 G
  40. ---削减这里---
    , z. v# p: m$ i( l' k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - v% _: z/ A( ^1 g
  42. ---例如--- $ V2 H/ V: v8 K% |8 E4 p3 E5 X
  43. [ dbexpress ]   C  I" i2 p/ P% Z! A( q: w
  44. sqldir = mysql_sql
    ; [% ]# _5 D4 B! }
  45. drivername = MySQL中: q# q% S$ g7 Y9 K- D
  46. 数据库=测试
    : X$ z, w4 N, h' E4 P
  47. 主机=本地主机  p$ H8 @0 P1 G. g
  48. user_name = testuser
    , O3 H. p: r6 R. E: N
  49. 密码= my_password 6 j/ O0 ~3 ]( V/ b+ y* h
  50. getdriverfunc = getsqldrivermysql
    " |- u* o! _0 ^- W3 B7 Z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 b; O" u. B$ x! Q! R4 K1 C4 i5 c
  52. libraryname =. / libsqlmy.so
    . U! `/ {4 A1 m+ \4 s
  53. 积极= 1 ' O9 F5 ]  E' R& [( k
  54. ---例如---
    8 z$ ~" y( y9 p( W" r

  55. 5 e. A8 c9 G  s$ _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( e3 S4 j: V; k' `
  57. ---例如--- " C! e6 t* G6 {2 [' k
  58. [ dbexpress ]
    ! `4 z7 O- `" }# L
  59. sqldir = mysql_sql
    5 ?1 _' {: P2 }' n9 K1 k0 a1 f
  60. drivername = MySQL中
    5 O- V% d8 V& B( R% V, `
  61. 数据库=测试4 Q& `1 r: M5 m3 t# V% r
  62. 主机= 127.0.0.1
    ( _' d" c- m9 v
  63. user_name = testuser 0 K* P: Q, Z9 S! z; a4 ~
  64. 密码= my_password : D2 S( A0 G' l' e2 m1 x/ g
  65. getdriverfunc = getsqldrivermysql
    2 J6 t# ~6 y5 B5 ], K# \
  66. vendorlib = libmysql.dll在
    4 I+ I" I; ~8 Y2 A$ R" s
  67. libraryname = dbexpmysql.dll
    . ^* n# _3 y" L6 r% P* I3 S
  68. 积极= 1   [. @3 d4 u1 J! X
  69. ---例如----
    ) S2 _- e) {5 B" z$ {5 U+ e6 f
  70. -写在0 2.03.04由p wk.linuxfan
    % L3 ^, X0 |9 Y. H; r9 A( h
复制代码
发表于 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; s# z! C. F2 `1 H

; Q: `  a0 ]' v; v+ Ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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