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

2263 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( }7 v# [6 q: P2 o2 k7 N
# \. Y6 n9 c: y& A7 q6 A4 H
  1. ' H# z) V3 i0 c( T+ j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 ~% u. c+ n! ^$ Q' P% r

  3.   \. U8 G% L- g8 C" ?2 k* H
  4. ### What we need ###
    ) U5 o, n6 B1 c& |" ]
  5. Naturally, we will need a MySQL server to store the data for us, this document   ]0 g( k8 A* S5 a: s$ f
  6. will not explain how this can be done - there are documents out there for the , ~, A. x) x' [% Q2 Q, `  g
  7. interested. The requirements include a (empty) database for TeamSpeak to use; o% q' k& a7 d! E0 P: ~
  8. and a user account (username + password) that has the permissions to do stuff
    9 A+ i: L3 j' j1 d) C  V
  9. with the database. Additionally, you will need a vendor library installed on the( U4 O4 w" l) Y" y5 A
  10. local machine, this came with my MySQL install.
    ( [$ k( S- e$ ?" S, ?3 I2 `+ P
  11. These instructions will not tell you how you might transfer your data from the4 [7 ^& }8 f) R8 W, {0 j  \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " h  ]$ h' Q. o
  13. database.+ d* U9 L# t4 Q3 t
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % {" E% t" j" Q* U7 ?3 t
  15. the time of writing, there are still too many issues - check the current status
    6 L8 j/ ]( `& `0 s3 i& F# {  |
  16. in the TeamSpeak forums if you are interested.
    ( f$ Y& b' t- R/ t
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* g8 B2 q" p: q; S- _' W( O) L; r
  18. Borland was used. This driver can only interface with the client library that 0 z7 C4 j7 g, r( Y, Q1 Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 K. Y6 J* ^9 N0 B
  20. client library - basically all you have to do is to use a 3.x client library as
    ' c0 e& U' }) U6 p  O' w
  21. "VendorLib" and a 4.x database to connect to.
    8 P1 N! r/ z' {$ A4 Z! p; z* _
  22. If you need more info about dbExpress, you can contact Borland.
    ! B% i2 q+ o% [8 t! b& q( @- T
  23. 6 B7 `( ~- ~8 a8 v3 D5 G4 X
  24. ### Doing the work ###
    $ P/ `5 `% D2 L; t, O6 _8 c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& l  e0 m, d0 y% Z
  26. the perquisites right, just open your server.ini file, and add this section at
    7 f# R- T; e+ G  ?+ z
  27. the end:, M) K2 w( h- l( W. q$ j$ W+ A! J# C
  28. ---cut here---
    : w6 Y5 e. {3 R" a. Q3 x- ?
  29. [DBEXPRESS]
    6 p) ]" Y+ s; @; }
  30. sqldir=mysql_sql' l+ L2 l$ P/ \2 g! ^
  31. Drivername=mysql* _' A4 v8 Y8 \1 j( D, p% x7 Q
  32. Database=Your_Database_Name_Here4 H# `: _6 `; M1 D# ?  I* i: I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; [- {, g% K8 m0 Q  j7 D. v
  34. User_name=User_name_on_the_MySQL-Server3 [* E$ x2 N3 z6 G4 Y# [& m; l
  35. Password=Password_to_go_with_above_user_name
    " O; r1 r6 I( A
  36. GetDriverFunc=getSQLDriverMYSQL
    $ G7 |) {+ g. F  Y- N1 `. [! P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& u1 N+ D& I. w2 A: ]& q# V( u+ S
  38. LibraryName=path_to_libsqlmy_libary6 [; n; g/ D' ?9 f
  39. Active=1! P4 S( S9 K5 N
  40. ---cut here---' }+ S+ P% V3 w
  41. In my environment (a linux box with a MySQL server running locally) I have:- e* H$ j4 I( C' E4 p
  42. ---example---
    " Y8 I% D/ `# n' E: U
  43. [DBEXPRESS]2 o' m3 C  S( A! I  l. d
  44. sqldir=mysql_sql0 S; d2 V, d, d- i" }7 ^. `
  45. Drivername=mysql
    - ^! k& T& p4 S9 N) O0 s
  46. Database=test
    # x, p5 S" k7 M! W
  47. Hostname=localhost8 Z) s, ~. A2 M  l1 Y) [$ M" _8 ^
  48. User_name=testuser: ~( n' }0 O8 `  ~' r; C
  49. Password=my_password
    ) p# R9 G4 i: G* @& ], W
  50. GetDriverFunc=getSQLDriverMYSQL
    / s) f# {3 H: m) D$ h& _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + {( ?  ~, j2 V$ Y. @( j
  52. LibraryName=./libsqlmy.so
    . m5 ]- O* b3 l& I# j! B" u' E
  53. Active=18 r* e0 g: i) N: x; D: x5 z) V, K
  54. ---example---9 ]( h, g' u, P& T5 Y% t6 t. E

  55. 6 N. |. u  ~. m3 N2 O9 C
  56. On a windows box, also running the MySQL server locally, it would be:
    # h9 s! ^2 I4 m, o/ [
  57. ---example---
    / b% G. ~* z2 B& `1 H* m+ v* H
  58. [DBEXPRESS]4 {  R2 \/ L$ W) a9 F
  59. sqldir=mysql_sql- @# W* m- s6 `. q6 ~6 L) A
  60. Drivername=mysql
    4 G! G, M3 U% d7 R$ y4 b
  61. Database=test
    ) E& g3 V% R" o$ }2 s
  62. Hostname=127.0.0.1+ E, u$ u9 F8 ]* @' y
  63. User_name=testuser
    ; k2 Z. K; j5 Q
  64. Password=my_password
    , R+ D  U/ b) g1 ~( g( y5 N" Z
  65. GetDriverFunc=getSQLDriverMYSQL& |$ G4 g! Q7 k. a8 C- E: w; L
  66. VendorLib=libmysql.dll, w4 P0 I9 X! B5 ^
  67. LibraryName=dbexpmysql.dll
      e8 ^( V5 A2 _- v7 T
  68. Active=1
    * V: E, p' i0 k' f' K  D4 P& x$ f
  69. ---example----
    % q) e$ E" |/ v0 `8 x4 |
  70. - written 02.03.04 by pwk.linuxfan  [1 [4 L; l' `
  71. 5 h! x. v- L! P7 m. c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: P) a9 Q! b# |7 Z, \( y1 t
  1. + h7 x& P7 k1 c: ^& z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 j) F& C* a) |* m  n  \9 L

  3. $ c1 B) y6 U' E2 B- R5 z& J
  4. # # #我们所需要# # #
    " `* T2 Q( l# R2 v# a3 E; @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 \1 p" C  h: s9 @5 D/ r" L
  6. 不会解释如何做到这一点-也有文件存在,为4 y6 j4 N( A+ B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 a7 n$ g3 ~0 F0 Q' z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ ]/ ?9 |4 E8 y2 r4 X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( \9 @7 B' X& o$ R( e1 y
  10. 本地机器,这是我的MySQL安装。
    # _1 b3 E4 H5 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - f. G9 v/ `5 M8 U" u  i. }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & ^- p5 d/ s; N: g0 I/ x- O+ V
  13. 数据库。
    9 e2 C2 I2 b- [( o' T* \+ o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 Z; d9 [; q5 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状  P8 J" Y5 \% a1 I$ A
  16. 在teamspeak论坛,如果你有兴趣。
    5 Y; i( U1 {" \2 i- e, r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 o  ]! t4 |; ]
  18. Borland公司使用。这个司机只能界面与客户端库
    6 Q& W: I# x+ E1 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' R: L# _3 E" o/ @1 @" }) m4 l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 i. n: P0 p, [- @* B
  21. " vendorlib " ,并解数据库连接。
    + p' a4 X" y' a# n7 l  {9 w7 D; Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; A0 X  z" t9 y6 I' F% ]

  23. 2 w8 S" G9 |9 R+ }5 G& n
  24. # # #做好工作# # # ! N; v8 p, [( r' _$ P9 L' E. Z8 x* @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # ~0 @: Y) h' L; G+ Z7 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  [2 O. O9 K( ]+ M# G& k- ^
  27. 结束:
    6 w! q$ A; P9 J) Y0 {1 V
  28. ---削减这里--- / k; U- a0 l& g+ ]/ D# u. R- Q
  29. [ dbexpress ]
    : r7 w1 h7 m7 I: e5 K3 l
  30. sqldir = mysql_sql + n# ~) D, J% J2 v. z  _
  31. drivername = MySQL中4 K3 g9 z. l$ P# i
  32. 数据库= your_database_name_here 2 |- j9 Z4 @8 W
  33. 主机= the_pc_the_mysql - server_is_on
    * v9 i5 f' s% L& n
  34. user_name = user_name_on_the_mysql服务器. t% B2 y. l% T7 R# s
  35. 密码= password_to_go_with_above_user_name
    3 V7 `2 Z$ x* A- d1 ~6 J
  36. getdriverfunc = getsqldrivermysql # I$ F+ L- B; I9 [+ N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! ]& S2 i$ q7 _
  38. libraryname = path_to_libsqlmy_libary ( t$ H' W/ \7 U+ _1 j3 S- s& X' c
  39. 积极= 1
    0 H$ w1 g* h. F* J" G
  40. ---削减这里---
    . U) r4 k( w( ~' V6 f3 a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 a, a$ B* f5 f
  42. ---例如---
    & z* M6 y7 T, e- ^; i
  43. [ dbexpress ] 2 i3 s% [9 c7 F# E/ o
  44. sqldir = mysql_sql . i1 j1 ]( m9 r) R2 N/ @
  45. drivername = MySQL中
    1 G6 |, y+ X) j; c8 f& }7 C7 u
  46. 数据库=测试, v9 g% S7 y" R2 x/ ?( z
  47. 主机=本地主机# [% }+ a# V5 f1 {: c
  48. user_name = testuser
    ; G( q1 ~' L" i
  49. 密码= my_password
    $ L1 d0 y7 m$ y7 c4 S
  50. getdriverfunc = getsqldrivermysql 9 }6 ~8 r. [. U8 P/ u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   g; C) J- z; O5 g* X  \+ {3 S
  52. libraryname =. / libsqlmy.so
    ( j. J- _" a2 ^: K; L
  53. 积极= 1 3 u) E: F3 G0 |$ V% E
  54. ---例如---
    2 H/ m. T: A+ b% t
  55. ( W8 N+ P/ c* r* b/ e$ n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; W  `- r2 ^4 h. c
  57. ---例如--- 9 K/ H! l/ h# o  i
  58. [ dbexpress ]
    % y( o- t2 C; r( C5 H6 x" i
  59. sqldir = mysql_sql
    ! V- h; G" I& n; E! ~* P* F
  60. drivername = MySQL中
    ! B6 r6 h/ i4 b7 ?' D5 u
  61. 数据库=测试7 T) H1 s; {4 X; r6 |; V
  62. 主机= 127.0.0.1
    % c& [, l7 V9 [0 h
  63. user_name = testuser 4 k9 m. s0 C/ i- p& q
  64. 密码= my_password 1 Z4 x/ ]# O/ K; J. _. M! a, _6 b
  65. getdriverfunc = getsqldrivermysql
    4 }) @; N% X, x% O9 N
  66. vendorlib = libmysql.dll在
    " R  r5 P3 B% P
  67. libraryname = dbexpmysql.dll & U. h' c8 ~3 a8 A2 i2 C( m
  68. 积极= 1
    0 {. z% Q5 c6 ]* S
  69. ---例如----
    0 X) J4 K8 Z  F' E0 O9 h
  70. -写在0 2.03.04由p wk.linuxfan3 ~$ d( C, [7 c2 b
复制代码
发表于 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' Q1 K( {$ G7 G/ L
5 I, w2 @0 X) y  f- v, S
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-4 18:09 , Processed in 0.094967 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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