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

2899 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, x$ H6 }  ^# s; t8 M6 y4 J8 o  ^1 ~6 d4 a) S: G

  1. ' u3 q) ]2 c! M6 ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & c( U& t( u5 C& _8 X

  3. 5 A4 M% `2 U! C+ K( k  e8 n( j
  4. ### What we need ###
    5 F( m: F' p- \, m
  5. Naturally, we will need a MySQL server to store the data for us, this document - ^" y2 x0 L0 @# x0 ~
  6. will not explain how this can be done - there are documents out there for the 7 z- m+ _/ ?0 H
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 _3 D; n% Y: s0 t7 w
  8. and a user account (username + password) that has the permissions to do stuff. L0 S8 E8 H: ~' i' N( u
  9. with the database. Additionally, you will need a vendor library installed on the4 A3 c- d; E9 ]- Z3 v
  10. local machine, this came with my MySQL install.
    0 c9 c* q% F- P0 E! Q& F8 K
  11. These instructions will not tell you how you might transfer your data from the
    : u6 c3 [  j# G- k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 l8 [7 }/ ^: M# X5 ^
  13. database." ?) i3 ~8 _  l* i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 _, }+ }+ [$ S& l7 W- m1 n
  15. the time of writing, there are still too many issues - check the current status
    , j0 ]0 ?! q: \3 N) u# o' N$ b5 x
  16. in the TeamSpeak forums if you are interested.( A4 m! c  Y$ i( D- ^' c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; ?1 D' U) |( A5 R) [0 `
  18. Borland was used. This driver can only interface with the client library that
      x6 ?' N) I0 g3 _  `6 \  w% R9 z- a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " y9 H/ t9 h  T* E" \+ m7 a4 a8 d
  20. client library - basically all you have to do is to use a 3.x client library as 7 T3 g8 v/ [5 j: h* S
  21. "VendorLib" and a 4.x database to connect to.% q) W' ^) c( g1 m
  22. If you need more info about dbExpress, you can contact Borland.  S: {1 l4 v( W. D! V, j' f( n0 w# _
  23. ! a9 I$ ?" x% }8 n. O
  24. ### Doing the work ###' S! ]8 {0 I, T/ y: f* I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 \6 B( b1 M" I+ ~
  26. the perquisites right, just open your server.ini file, and add this section at
    ! S, r# s; Q# b$ w4 w9 F& U
  27. the end:
    5 u' S) a' e8 d' f" R
  28. ---cut here---
    " i" Y6 v9 }; o) K2 a0 V
  29. [DBEXPRESS]6 Q) f$ p/ \  B2 m+ V% c0 S2 N
  30. sqldir=mysql_sql
    . |  i# y5 ]. y$ i
  31. Drivername=mysql  p) U* X' K% k: l! b7 \5 ~
  32. Database=Your_Database_Name_Here
    7 O. _1 v, ^! Q6 J( U/ K
  33. Hostname=The_PC_the_MySQL-Server_is_on3 u5 [! I3 N: g- z4 y
  34. User_name=User_name_on_the_MySQL-Server
    , p1 n" h) S0 P; ?$ F) b
  35. Password=Password_to_go_with_above_user_name% B7 S) D- r  Y6 C, p
  36. GetDriverFunc=getSQLDriverMYSQL- ^; n% m- h1 [% m/ S- u8 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 w& Q2 G) g1 f* S' y) D
  38. LibraryName=path_to_libsqlmy_libary
    - B3 x7 `5 X7 }
  39. Active=1
    ( _/ L& M3 @2 H) e7 A, n
  40. ---cut here---+ j) _4 @4 I& n; y7 w
  41. In my environment (a linux box with a MySQL server running locally) I have:0 {  @3 e0 p6 o5 r7 I
  42. ---example---5 F; |4 V, I& M
  43. [DBEXPRESS]6 ]8 Q2 d) p4 n5 I! @# h7 v' H
  44. sqldir=mysql_sql
    " n, }  }* d9 E( Z( x1 ]. U9 ?
  45. Drivername=mysql
    & `2 i/ ?  m. U8 j" _  [' z
  46. Database=test
    ! {9 ?1 m6 b9 f' a
  47. Hostname=localhost4 J. N4 k/ l2 b
  48. User_name=testuser1 O- j, `% G' h% G+ j* x7 y3 t
  49. Password=my_password# c/ u6 L6 j, z5 @9 o
  50. GetDriverFunc=getSQLDriverMYSQL! r9 o  s; ~& c" o, M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      e# l/ r$ |& G7 x. P" k# i
  52. LibraryName=./libsqlmy.so, {& ~3 _3 O# J/ R0 X3 |
  53. Active=15 ~; e  v7 \' Y2 E
  54. ---example---
    8 v9 `. f' q8 Z; A) x0 t  ^

  55. 0 M+ v8 x: U1 e# t5 k# b
  56. On a windows box, also running the MySQL server locally, it would be:
    , V2 `) I" C) D# t6 X! t- R% F
  57. ---example---, j# s6 o$ [! g3 r  E* k0 C% \( {
  58. [DBEXPRESS]
    ( g/ l+ w( u; A/ z. @9 R- s
  59. sqldir=mysql_sql
    : R/ V7 n% U) e7 F3 s- B! P- E' y
  60. Drivername=mysql
    / \1 H9 m" a' C8 X
  61. Database=test
    " U6 c  W  O: }% r/ z! R' `( @
  62. Hostname=127.0.0.1
    , B& m% s0 P. t0 M0 `
  63. User_name=testuser5 e4 i* q1 y) j5 m. F" t0 }
  64. Password=my_password
    . s9 d, j- W1 T' Z9 `6 d/ R4 L
  65. GetDriverFunc=getSQLDriverMYSQL
    % T) s  K( T! h2 y' O( o
  66. VendorLib=libmysql.dll
    * d6 {! O* N) y+ V+ ]
  67. LibraryName=dbexpmysql.dll
    " ?) D+ b) o7 |- a+ ?7 e9 Q
  68. Active=1- F) @9 h- R. X! n/ v2 W+ }1 S
  69. ---example----
      o! z0 s) K% c! }+ b
  70. - written 02.03.04 by pwk.linuxfan
    . W9 ^% q- i! F

  71. 9 ?+ v* T" j5 Q& T  `( W, W; V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% R7 \- K% K; X. R( o8 Q

  1.   {2 @7 Y: [' p$ l- h( H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( S7 r. P- I+ L
  3. * v1 _" c$ x8 O$ x+ V
  4. # # #我们所需要# # # * {/ z7 z; e) c3 V# \% ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; ^9 W. {( u7 j: ]) D
  6. 不会解释如何做到这一点-也有文件存在,为( H2 D' a; z; V5 U9 I' ~4 {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : k5 r6 t$ k  F/ x! v. ^6 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& v$ f+ T4 h/ H9 H( B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( @5 j. P0 _6 m7 I* {1 r) Y
  10. 本地机器,这是我的MySQL安装。 / Y5 R/ i# H# W$ t' B1 v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! x, ~1 e$ Q+ E* N( X+ L7 u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! i- P" B7 F& c
  13. 数据库。 + H0 p7 H1 `/ `( Q, t) E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( u' G* F' s6 n5 X5 m0 O5 n
  15. 编写本报告的时候,仍然有太多的问题-检查现状: q/ a/ C8 {; d, f6 ?. W5 q; Y5 k0 E
  16. 在teamspeak论坛,如果你有兴趣。
    ! |- j7 D4 L) p, x; N/ M1 d+ x' ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . ?; \7 T$ k" E7 G& Y
  18. Borland公司使用。这个司机只能界面与客户端库. ?) H( q+ e3 m# x0 t! o' F8 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: N1 u( Y" Q- q2 {0 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, ~4 e/ @$ \2 v9 u$ d4 |) _
  21. " vendorlib " ,并解数据库连接。
    - o. A: G* B1 s& {8 z) L; _3 `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! p( C0 u% Y$ g  @1 c8 ?

  23. 9 f+ k4 a# P* [4 A) {( k
  24. # # #做好工作# # # 9 X9 p* w$ ^4 d$ g! O! ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% i) h& Y1 Y* h, W. ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, K6 |9 z* ~$ K$ H
  27. 结束:
    . ~4 s- e: }/ Z3 d2 o$ h9 V: ^
  28. ---削减这里---
    : k7 Y  Q+ m, y8 h% I& L
  29. [ dbexpress ] % X/ T: C$ `8 h- i1 J; Q/ S: Z8 @
  30. sqldir = mysql_sql
    2 T+ X% V& ~; }7 Z. r# a3 {
  31. drivername = MySQL中7 S. l8 w3 [& v7 O" Z4 Q
  32. 数据库= your_database_name_here
    # f9 q, x+ B) [4 H2 X; z+ N2 V+ m
  33. 主机= the_pc_the_mysql - server_is_on
    , q' v( b: [. _5 A
  34. user_name = user_name_on_the_mysql服务器
    " a' p7 W1 E2 [  r% Y1 L3 ?
  35. 密码= password_to_go_with_above_user_name , N( V& E8 T# O/ v9 [, f% E
  36. getdriverfunc = getsqldrivermysql # |# T/ B. C! h; J* w5 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : H7 _) e1 `3 E, ]  e; C9 G
  38. libraryname = path_to_libsqlmy_libary . \' Q( Y* }' |
  39. 积极= 1 / `; x% L  [; j3 T+ s$ `
  40. ---削减这里--- 1 g3 H3 Q2 u( @) J0 _" w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 {* a. j' |/ }2 {; o
  42. ---例如--- / L1 F9 k( m: g) }3 c7 R  P# {
  43. [ dbexpress ]
    7 N$ ]# Y$ K& ~" V7 ^# w
  44. sqldir = mysql_sql
    ! O& ~! `4 n9 G; t! u# I
  45. drivername = MySQL中
    * y3 b% w. _! N5 `$ t
  46. 数据库=测试
    1 z% t( S8 U; Z$ M; S0 B! i' o& B  O
  47. 主机=本地主机
    5 {6 e4 f- c4 \, m7 s) q
  48. user_name = testuser # e1 Q, e* B- r% }
  49. 密码= my_password
    2 ]" R' p2 z- x  B: O$ r
  50. getdriverfunc = getsqldrivermysql 0 R" E  s! ]- j6 d7 \9 n* Y+ Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' m1 f7 ]( `% w$ B
  52. libraryname =. / libsqlmy.so
    * }: H4 g3 b+ n8 J; x
  53. 积极= 1
    0 z, Z* _" b' x+ X
  54. ---例如---
    " J: M4 W2 B, g- j, r/ J

  55. 8 L. t% H+ ?* ]: s
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - G! X* m1 K9 a& z& D
  57. ---例如---
    ( ^+ @+ T) W/ p  l7 y6 K; D
  58. [ dbexpress ]
    1 V0 q! f. K2 q0 ^# s  G
  59. sqldir = mysql_sql 1 t4 b, W7 y& j, V5 |3 Y) N4 j
  60. drivername = MySQL中
    1 N+ u$ H( x+ P- M/ @
  61. 数据库=测试; o# z7 f6 x; b* p
  62. 主机= 127.0.0.1 ' u6 I' ^% I5 f% G0 f7 z& k$ D& ^
  63. user_name = testuser ; j  x4 b4 t' U, A! U1 Z+ L, O  h6 c
  64. 密码= my_password + d+ _3 U, B1 _6 C# t' t; }" x$ S
  65. getdriverfunc = getsqldrivermysql 3 j- J8 k4 w$ }4 I
  66. vendorlib = libmysql.dll在
    , q( R0 d- a9 D9 n. {) a2 w
  67. libraryname = dbexpmysql.dll
    6 a3 \; I7 `% C$ f" w& S) E
  68. 积极= 1
    0 ~, B4 l2 `1 a
  69. ---例如---- 0 d+ _' h' H* m; _
  70. -写在0 2.03.04由p wk.linuxfan
    4 n# V4 r- A3 a- m3 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+ b+ |4 R, W2 i' h0 J$ N9 u

9 I) a* L: |5 ~6 {8 @( N( gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-15 09:41 , Processed in 0.084998 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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