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

3579 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , G4 W. K# P, R( H2 P  S
0 A+ L, @7 u7 j8 I/ B7 z/ W- e
  1. * z# Q# ~( E$ w+ T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " F$ Z0 b1 U1 S: B3 F, \

  3. 0 j/ |' h6 a" e4 R
  4. ### What we need ###7 m( q3 Z- i" b" b- x" w* ?
  5. Naturally, we will need a MySQL server to store the data for us, this document ) ~7 a1 M5 i; n# l/ o+ G! I3 k
  6. will not explain how this can be done - there are documents out there for the # ^' ~! A3 T6 p" E: o( t) K' E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 v* S. q; M( I% M. @
  8. and a user account (username + password) that has the permissions to do stuff
    1 T# N) W: d+ {9 g1 Y
  9. with the database. Additionally, you will need a vendor library installed on the4 x- A6 n9 D( p- _* R
  10. local machine, this came with my MySQL install.
    & s$ C4 ]5 K6 }6 j1 L* H
  11. These instructions will not tell you how you might transfer your data from the
    ! Y; d6 H4 ~: x  I; x0 w0 L1 x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ d2 Z  e: t& q, I
  13. database.
    , d- T' T5 c' V6 H, p8 A" Y% S
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / @& ~4 s& b/ i  B7 S! s
  15. the time of writing, there are still too many issues - check the current status0 H, d% m# d7 ?) }# L
  16. in the TeamSpeak forums if you are interested.5 t  h* X) c, q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* s* N; P, ]* I* I3 _
  18. Borland was used. This driver can only interface with the client library that : n1 I3 H6 F& Y& x) d- b9 @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 j- ?  v' ~3 ^: X3 \+ v# _  k' c
  20. client library - basically all you have to do is to use a 3.x client library as
    ! U2 u& M* e; \  k2 S2 Q
  21. "VendorLib" and a 4.x database to connect to.
    + k2 X- F( f! _5 r
  22. If you need more info about dbExpress, you can contact Borland.
    4 }' [& @) p) W1 Z) i+ Z; i
  23. $ I- B" @( e) M4 B0 H% z
  24. ### Doing the work ###3 V5 j. C6 P  [( I7 t: d+ f/ S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; ^7 n& ?7 e. n. S( t  J
  26. the perquisites right, just open your server.ini file, and add this section at
    ) Y" k1 L9 N, p8 @" w  P, Z. k
  27. the end:! h5 K# C' z/ t8 j
  28. ---cut here---
    3 `- V6 @6 a% |' a6 ?
  29. [DBEXPRESS]  R3 {  C, {& F+ i& \4 P$ P
  30. sqldir=mysql_sql
    1 p. K+ I7 R  b
  31. Drivername=mysql
    + M% G' \- E$ [* o4 G! T
  32. Database=Your_Database_Name_Here! {, d* }; t3 u( U. d  F3 t0 ~6 l
  33. Hostname=The_PC_the_MySQL-Server_is_on1 i9 Y  H) l. ~9 c2 y
  34. User_name=User_name_on_the_MySQL-Server
    3 {  E2 g9 ~) n
  35. Password=Password_to_go_with_above_user_name
    + E5 |/ K; V$ V' z0 }; Y
  36. GetDriverFunc=getSQLDriverMYSQL
    / z/ w; m' ^2 P6 [- R: U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" h; R7 }. Y. \( l8 m1 i4 B, k
  38. LibraryName=path_to_libsqlmy_libary- E: C5 |' \! p" X
  39. Active=1, Q/ ]+ q0 l  a, \
  40. ---cut here---( L2 s3 ?% l' J1 Z/ m, A* n% r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 |; K8 q( T9 U0 T! n0 {2 I
  42. ---example---6 M$ X; o! _8 V! ~2 _; a
  43. [DBEXPRESS]
      V9 ?* I$ {- h7 N- a8 P2 V
  44. sqldir=mysql_sql
    6 S2 t8 ^9 I2 }; k9 s8 X( Y
  45. Drivername=mysql
    / j: n2 z' q$ R
  46. Database=test, ?( i% B, r1 j. b9 x- Y5 M
  47. Hostname=localhost" s% }8 b3 u, c; F6 H  [
  48. User_name=testuser
    4 u- c! a3 P  p
  49. Password=my_password
    7 t- e4 g* T9 V6 U3 P, p9 h$ b
  50. GetDriverFunc=getSQLDriverMYSQL
    8 O4 F1 d5 K) Z0 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( Y) I2 ~0 {5 M! u( j( [
  52. LibraryName=./libsqlmy.so: |4 K# x2 j2 k  ~( C3 R& A( l
  53. Active=1
    % j- c, [& `+ s, n* @9 {  n
  54. ---example---# M2 ?* j4 e6 g  q4 \
  55. 2 ]9 C; A7 L' A9 B4 c8 K
  56. On a windows box, also running the MySQL server locally, it would be:2 ~9 m' F. \. B
  57. ---example---
    & E/ ~- @+ S9 D1 i0 x
  58. [DBEXPRESS]
    9 Z! e; V1 Z% L% Z$ C# Z
  59. sqldir=mysql_sql1 @3 `' I. h* o& U- L8 W
  60. Drivername=mysql
    0 t! m  L5 A- [4 T
  61. Database=test
    ! q5 T( z' y* D' O7 d
  62. Hostname=127.0.0.1
    * m; W" b+ @' e& G' U
  63. User_name=testuser
    9 F; f' T1 U# h# z% z9 D, G1 F
  64. Password=my_password$ L/ _$ R1 P, E; n! Z
  65. GetDriverFunc=getSQLDriverMYSQL  C% g* a' s% O5 _5 V4 J- v
  66. VendorLib=libmysql.dll
    , u# v$ [3 S6 l0 V* Q/ {! I0 H
  67. LibraryName=dbexpmysql.dll9 G/ L3 ~8 D% z  O9 ]
  68. Active=1  m# D1 V1 C4 _8 e( b# T
  69. ---example----) v* V2 {' W: A" L% z9 B8 a
  70. - written 02.03.04 by pwk.linuxfan
    ' ^3 Z' y9 q* Y5 O* H  ~! F) j

  71. * w3 g3 m4 z( Z  e3 Q" l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* r: T- l+ f  R* E1 o6 D

  1. . w% I' D* J2 D% c9 d5 v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      o6 ~# f- q9 s9 Z+ I) S. G

  3. ( \6 c: b4 ?% N6 f) [
  4. # # #我们所需要# # #
    * e2 G8 J6 u/ p, Y0 ?- d1 h" k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / y3 s% e& t% t1 `, j
  6. 不会解释如何做到这一点-也有文件存在,为
    6 e! r4 v" w6 W) j6 j$ h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 [) I6 e3 A9 c" E9 }. a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. g9 _6 {# k0 @( |8 B2 q/ ~: h. D# ^; Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! a5 \' c7 D9 G! Q
  10. 本地机器,这是我的MySQL安装。
    0 ^! o$ Q/ M7 {6 `# [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 D+ ~9 v/ R! }2 x  F. z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , J& U4 m- s  Y/ H! S) K9 B+ i% ]
  13. 数据库。 , Y9 c' H8 F9 a- O4 O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) A' z  W+ e1 \5 ^; j. {4 R; b. M
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 S8 I0 l$ g/ M
  16. 在teamspeak论坛,如果你有兴趣。 . C; K2 z3 N6 t6 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' p( d; R- V5 C. X" i
  18. Borland公司使用。这个司机只能界面与客户端库5 e& ^! A' B& g/ u  i2 e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) W0 |1 J# d( Q2 ?3 H5 s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 `/ q* n9 A! ^& |; y/ e
  21. " vendorlib " ,并解数据库连接。 3 @3 A( u) ]  q4 O& P5 g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 `  t+ H( _; h7 [

  23.   R( N/ J& r+ A! C
  24. # # #做好工作# # # $ O% \' @5 S8 x7 L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ q& i  p  W: q4 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / w- i$ e' J( v4 J1 {+ j* r
  27. 结束:
    3 ]7 T6 H( ~; T
  28. ---削减这里---
    & ?$ [% l, g) P& X) v1 f$ e7 W
  29. [ dbexpress ] ; |, }" p+ K8 d2 k% ~9 D
  30. sqldir = mysql_sql
    8 n5 x% j! W$ r
  31. drivername = MySQL中
    5 K3 d' G. R2 l- L7 b5 K: X
  32. 数据库= your_database_name_here
    / {8 {( Q3 A. k
  33. 主机= the_pc_the_mysql - server_is_on
    3 m- t/ p! I+ S
  34. user_name = user_name_on_the_mysql服务器
    8 q& n1 D6 I6 o- x8 \5 A
  35. 密码= password_to_go_with_above_user_name 5 C' `/ W" J1 r- i
  36. getdriverfunc = getsqldrivermysql
    8 V  P, n' g5 m( y$ s+ u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' Q$ Z1 G$ ^) i0 ]9 [. N
  38. libraryname = path_to_libsqlmy_libary
    , V0 P! @4 E. J; q5 p; Z, e
  39. 积极= 1 0 C8 X+ C/ J' d: B( b  t/ u
  40. ---削减这里--- 1 N8 Q1 j7 ^) q! E5 f/ i4 a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; R: k; l: |4 }( d
  42. ---例如---
      z7 b5 i  z1 B( ]+ }
  43. [ dbexpress ] 7 p. y  M8 j" A7 U1 p' ^
  44. sqldir = mysql_sql 3 S5 t  ~8 j! J2 e
  45. drivername = MySQL中1 D7 D" P3 v4 x  f' D+ `/ ~2 h7 _
  46. 数据库=测试
    3 x* D& V5 s0 L7 e. U. |
  47. 主机=本地主机" z* _  |# J6 G" ?* q: U: W
  48. user_name = testuser
    # s* v0 i3 e, ^! v5 ]+ o
  49. 密码= my_password
    1 c, V$ o' y. s- W( h
  50. getdriverfunc = getsqldrivermysql " _' j+ ?( P/ \! m' y3 x2 {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 D- {" _; z& {- J1 X3 i  l
  52. libraryname =. / libsqlmy.so ; T& ^' Z& A4 }0 H
  53. 积极= 1
    % R* S$ \$ w! j* J! q  d2 O
  54. ---例如--- 4 F3 l5 Z( C* j! `

  55. , U& s" i1 H1 ^# r( Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 ^6 K. P6 E. N* ?1 k+ }
  57. ---例如--- " I: Y: r; ^6 j% L- z
  58. [ dbexpress ] * }6 p! V$ a! h8 F
  59. sqldir = mysql_sql 5 m: ]3 s- t& N2 Z
  60. drivername = MySQL中
    ; e9 c5 ]4 q6 u  Y5 f! p$ [# |7 `3 w. h
  61. 数据库=测试
    2 p3 e1 X; _8 G; W
  62. 主机= 127.0.0.1 . J' O5 \9 ?0 ?: O: K& k& f
  63. user_name = testuser
    9 P6 F- D+ i3 ^7 f8 x
  64. 密码= my_password
    * F0 j' J* {2 W7 W
  65. getdriverfunc = getsqldrivermysql
    . _$ U, ^# Z  e$ N( l1 y& R
  66. vendorlib = libmysql.dll在* X+ ^# D% {# g
  67. libraryname = dbexpmysql.dll & U* W3 k; f; E" D: h0 h
  68. 积极= 1 " b4 F0 f$ e" r& ^4 M7 \5 w
  69. ---例如---- - F' |0 P! r6 \
  70. -写在0 2.03.04由p wk.linuxfan
    ' O2 U: Z6 f% `
复制代码
发表于 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
/ y0 B+ Y0 }2 f1 Z" f; Z
/ [, g* O9 _( I; C  Hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-28 09:15 , Processed in 0.064113 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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