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

3144 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 S. b' C9 V0 D* ^
7 ^* \: {' E- [: T1 T

  1. ( H9 j0 S5 v! l# ]& K1 q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( M% U. N1 @6 O9 w/ a

  3. + D1 O6 `0 B; q0 U2 {" i! i. U+ b
  4. ### What we need ###
    ; X0 X# M! V; v# }9 ?; Z. b- F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' b& y& B% T) [8 ^6 y  @8 H0 o
  6. will not explain how this can be done - there are documents out there for the ) h. D& t! X* n/ E
  7. interested. The requirements include a (empty) database for TeamSpeak to use; Z# l$ x# k/ ^5 a
  8. and a user account (username + password) that has the permissions to do stuff  C* a  Q- D6 W( T
  9. with the database. Additionally, you will need a vendor library installed on the
    # K/ M, G5 C. M7 Q
  10. local machine, this came with my MySQL install.
    ) x# R+ t/ o. P. t1 K
  11. These instructions will not tell you how you might transfer your data from the' S  ?# q$ m9 Z/ \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' O' W7 \# ~- t5 ?; B4 p$ ]+ F% p# Y0 n
  13. database.# Q3 [+ ]0 J+ t- V$ m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 {! V7 E/ H- l! }  K6 u4 n# d
  15. the time of writing, there are still too many issues - check the current status1 p; j* u; Z3 v4 Y* r/ h: F8 ~
  16. in the TeamSpeak forums if you are interested.5 X5 ^: S  G( {) m% |' P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: M% Q' H; s0 [8 N2 o
  18. Borland was used. This driver can only interface with the client library that
    9 w6 A/ s' |% `5 I$ q) `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' O9 i& @) O: y4 t2 q9 I& ^/ {
  20. client library - basically all you have to do is to use a 3.x client library as
    , }" A, X5 M8 _! ^
  21. "VendorLib" and a 4.x database to connect to.) N9 S" r/ j* t2 U7 i) _; _8 f/ {
  22. If you need more info about dbExpress, you can contact Borland.- a$ L2 j8 ^0 b
  23. ' r$ G; A9 z. B) m+ f/ M
  24. ### Doing the work ###2 h% l+ i5 M" s( e* Y4 Z$ J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- z0 s2 [2 E5 d. ~1 g  X
  26. the perquisites right, just open your server.ini file, and add this section at6 v) ]+ \$ M/ [& k) }( V
  27. the end:4 S9 q7 G6 ?3 i- s" E
  28. ---cut here---
    ( K! m6 b) ^: h" `5 u' i
  29. [DBEXPRESS]8 @" j" ?7 Q; ^8 q, L
  30. sqldir=mysql_sql' H1 ^3 {. K) A  G0 r+ X% O
  31. Drivername=mysql% \" L; o3 v0 b* s3 T
  32. Database=Your_Database_Name_Here
    / O9 u- o7 B7 y9 n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( H8 w$ G' s0 k) K  a
  34. User_name=User_name_on_the_MySQL-Server
    7 }5 H- |! g8 q7 J; B* }4 @! _
  35. Password=Password_to_go_with_above_user_name
    8 ]; B! {1 V2 k+ E" S  G
  36. GetDriverFunc=getSQLDriverMYSQL
    . l& r$ B1 x+ A6 C5 L% H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 }3 C7 C8 e3 T& K. P# z9 G& I% w* \
  38. LibraryName=path_to_libsqlmy_libary
    ( f: U" e# q: A+ T
  39. Active=1: R9 N; v5 ?3 w. z4 a, [
  40. ---cut here---
    . P! E. s7 R% O* `( ]! E' @( E
  41. In my environment (a linux box with a MySQL server running locally) I have:% n3 u0 S/ n7 r0 U; Y
  42. ---example---
    ' t6 w" _: b7 s- J* v1 D
  43. [DBEXPRESS]
    6 e+ T; E  S# F5 j# g- m# P* O
  44. sqldir=mysql_sql3 D4 ^' t  H6 ?. V5 N
  45. Drivername=mysql
    ' o: \& |2 R% z% {
  46. Database=test
    8 G* b2 d; e& |; V* a( s
  47. Hostname=localhost
    % ?% i. A/ R% |% f
  48. User_name=testuser2 U! }  j1 D0 z7 x+ `' U& X
  49. Password=my_password
    * b" x8 k9 ~6 C% B6 n5 @
  50. GetDriverFunc=getSQLDriverMYSQL& o9 e' s& t0 r1 C/ z) K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- F% A  Z6 V% Z' G) w! a  K
  52. LibraryName=./libsqlmy.so
    5 a, J; P! _. m) o- A5 _  Q
  53. Active=1
    ( u2 L! F0 W4 y! |4 f' ]
  54. ---example---+ c1 a) \8 n3 R: A. @# x

  55. 3 O- u, W! q, _. I! y
  56. On a windows box, also running the MySQL server locally, it would be:
    3 w* g+ y. _' [0 u* l
  57. ---example---
    & u2 W4 k/ Q; ?, H
  58. [DBEXPRESS]& x2 |) Q- }- K( j- V9 Y" G
  59. sqldir=mysql_sql
    % Q: j0 ~/ B( C9 G
  60. Drivername=mysql" v+ \3 {6 p& `6 J1 P
  61. Database=test' w8 |' u. v9 \) m8 G* V/ a6 {
  62. Hostname=127.0.0.1
    " M; E) |' A' U- M+ j% _6 X
  63. User_name=testuser
    / ?9 A2 X  _! L" {) W' c
  64. Password=my_password  t$ ~2 e% l5 b* v# i0 y' o, s
  65. GetDriverFunc=getSQLDriverMYSQL
    ( G" C. U- D" m6 `
  66. VendorLib=libmysql.dll
    + f9 g1 ^1 _8 _
  67. LibraryName=dbexpmysql.dll
    5 C  n$ J% K* i, @
  68. Active=1* e# {5 R. F* ~# q4 x' X
  69. ---example----, q+ |8 Z( O  _* p5 x& D8 }" y
  70. - written 02.03.04 by pwk.linuxfan
    5 k8 I' ]) W' b6 K/ x

  71. ( g  y: u7 v2 U4 ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- l: _  y! c( b, p1 \5 `
  1. - K9 u7 z  x+ G# a0 t* v2 u3 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , a. @6 d  S# |9 d6 K
  3. 6 W; F& J. Y3 A5 q" b
  4. # # #我们所需要# # # 9 r6 g2 U% d# S) N) x4 y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . ?3 r; j1 D, c. [& ]( I
  6. 不会解释如何做到这一点-也有文件存在,为
    ) A  e1 v% ]" O" D5 I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : U+ X7 S$ r: ~; r0 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 z& Z9 T/ _6 K. o* X; C- w5 E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & E! e2 O% L7 Y
  10. 本地机器,这是我的MySQL安装。
    7 ~2 D' x* |& J- N: j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 b4 A/ M5 o' \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) O- j- V1 u- M( Z- K
  13. 数据库。
    % ^+ j/ @1 g+ }! \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 `: V7 o. Q! ~/ R4 z5 }
  15. 编写本报告的时候,仍然有太多的问题-检查现状* ~& }$ N2 b8 J) H, N
  16. 在teamspeak论坛,如果你有兴趣。
    8 O: k; F+ Y1 {- x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & q4 k4 t9 \" I
  18. Borland公司使用。这个司机只能界面与客户端库7 ^: @3 j# r) d4 \, K/ [: l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 t$ n% I1 L+ B* M' b* V" [+ k5 v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % `. g2 b- L7 }4 {& j
  21. " vendorlib " ,并解数据库连接。 3 o) j: `/ B& u* t, y5 _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 \4 F! @- ]$ G0 C

  23.   L" R* j( _4 @2 S) y4 i; f
  24. # # #做好工作# # #
    # A( M4 e9 O" X: N9 G4 r# |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# m) q+ U1 P1 Q- ~7 |: q1 j* g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + r* c7 ]/ a5 W! w  N) n
  27. 结束:
    2 Y$ r  Y" U5 `7 T8 q
  28. ---削减这里--- / y& ~/ ?  k$ s" U9 P1 n
  29. [ dbexpress ]
    % C$ g- |# O& x  B7 K1 ]# T
  30. sqldir = mysql_sql 4 h3 K) X- ~, ~1 B5 B
  31. drivername = MySQL中
      c( w/ |4 A3 N+ s9 H! O0 u9 @8 a
  32. 数据库= your_database_name_here ) B# V8 c3 V' L' B5 ^6 u% }7 F
  33. 主机= the_pc_the_mysql - server_is_on
    9 T$ @+ L7 t6 w7 j0 K& [, U) ^& j
  34. user_name = user_name_on_the_mysql服务器
    ( s5 n1 m0 ], o7 F: R/ o
  35. 密码= password_to_go_with_above_user_name
    " R  }5 K" Q. O  z. w1 F
  36. getdriverfunc = getsqldrivermysql
    / U2 H  l) [3 M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 m# }$ p5 ]: ?6 V( t
  38. libraryname = path_to_libsqlmy_libary 2 `3 v9 v$ U5 [" y) D0 v( N
  39. 积极= 1 - k! C4 Q1 ^, {- J" S2 j+ e
  40. ---削减这里---
    7 C: W3 A; A* G5 S' r$ Q. J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 r( o6 Z* _: H
  42. ---例如---
    ! y4 T5 V, d  k0 Z; E
  43. [ dbexpress ] + ^1 S. R, I/ T- n0 C# B$ ]
  44. sqldir = mysql_sql . m9 G3 e7 ^9 {) H4 ~
  45. drivername = MySQL中
    # A3 t2 L% Y. k
  46. 数据库=测试
    * z1 p6 d2 h& Q4 w+ |9 H5 F
  47. 主机=本地主机, I+ J7 f; B9 g' q/ Q9 l+ {) {
  48. user_name = testuser 6 J- @; [! D( j! @, ?
  49. 密码= my_password
    # I, |  \+ s: s$ F
  50. getdriverfunc = getsqldrivermysql 3 R/ L3 T1 {0 q- n9 v0 W( S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( O% S& G' X7 F% _. `0 ]
  52. libraryname =. / libsqlmy.so / [. H2 _+ j3 l7 P' W
  53. 积极= 1 " I, M  }2 q* z8 u  |" F$ h8 x; D
  54. ---例如--- 3 k* ~. b+ x7 v! u/ \$ i, D4 V

  55. # v: }7 o! M" N" C. {
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 }& ~- x% G6 W" {" S5 @0 P$ u
  57. ---例如--- 7 E* P0 d/ Z7 O/ \* O; f
  58. [ dbexpress ] % S) v: Q1 o, k' `9 f
  59. sqldir = mysql_sql
    # c5 P. X6 W. {; t
  60. drivername = MySQL中  A$ Y  N  ]% `/ h- k" v
  61. 数据库=测试9 I- X  M& K/ U3 _  i& }
  62. 主机= 127.0.0.1
    # m$ y; b8 ]: ^3 I( q* ]& p
  63. user_name = testuser ! d9 g  N* [# a$ [0 y" Z( t
  64. 密码= my_password ' G3 f$ S+ O* A5 P" c& {
  65. getdriverfunc = getsqldrivermysql " R, L0 m0 @+ y1 m  C3 k
  66. vendorlib = libmysql.dll在
    1 O6 g; T1 n4 p1 R- ^) R0 ]$ l0 i
  67. libraryname = dbexpmysql.dll
    / f) y% H( m" {( V6 L
  68. 积极= 1 # n9 \& M8 ^5 l6 U
  69. ---例如---- ( T0 o6 _6 _8 z; v; n' p$ W
  70. -写在0 2.03.04由p wk.linuxfan
    0 z% l. S4 z) O
复制代码
发表于 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( k1 H3 \5 t! S7 ~- f* O9 y
6 I8 x' r1 |4 f) _. U( u: X
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-10 13:24 , Processed in 0.078350 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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