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

3551 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , I& X3 D) R  [4 ?6 c2 T
0 R4 q4 S; N" N6 u1 D! b: x5 S4 e
  1. / ~9 _( Z/ c. J. z& Z4 i, S: P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& j- u9 ^3 _. B2 z8 F, T
  3. ( J9 h8 ~, Q) H2 b
  4. ### What we need ###
    2 s; K' F/ o- [( [3 V8 j! Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 p+ e0 J7 n2 V& V5 F( ~+ y( G
  6. will not explain how this can be done - there are documents out there for the
    + L7 |# ?* C" ^$ P9 [* {
  7. interested. The requirements include a (empty) database for TeamSpeak to use* {# h# z  z6 r$ Y
  8. and a user account (username + password) that has the permissions to do stuff
    6 |+ l! @$ Z% ~! d+ c
  9. with the database. Additionally, you will need a vendor library installed on the# s; E4 J+ ~" F4 z0 e1 d
  10. local machine, this came with my MySQL install.
    & M& n+ ]+ a6 R' [
  11. These instructions will not tell you how you might transfer your data from the& G1 d) S0 j# Y8 a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 Q# }3 z' t% t0 l8 R. f. C5 D& J
  13. database.
    & O6 w9 b- `  S8 L- C* P- i  q8 k9 d
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 `! C4 ?' q  h4 o' Z
  15. the time of writing, there are still too many issues - check the current status
    2 H+ d# B; `0 e% T4 X) H- }
  16. in the TeamSpeak forums if you are interested.# c" G+ O7 ?8 n5 H1 F4 P' t* N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , Y( j, o& `: l- Y, Q/ x
  18. Borland was used. This driver can only interface with the client library that 5 h) r. f4 w! S& p/ ?: d: w/ c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; f+ _$ j  Q5 A8 r2 j
  20. client library - basically all you have to do is to use a 3.x client library as & C+ r3 e% F% u' B5 v
  21. "VendorLib" and a 4.x database to connect to.
    - `) s8 u7 q$ _- R0 |, d) T
  22. If you need more info about dbExpress, you can contact Borland.
    : o- F9 h9 H  k4 Q* h* R
  23. % O% ~, e4 R" E+ A( ?
  24. ### Doing the work ###
    , c- ^- z. o6 F; ^' ^) V% q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " ]2 \) S: d  \2 h" U3 H1 `
  26. the perquisites right, just open your server.ini file, and add this section at
    7 |" i+ H$ I! T2 T$ z
  27. the end:$ r5 W9 z; l7 M1 c- \: D" J
  28. ---cut here---
    : H) l6 ]3 }% p- l5 I
  29. [DBEXPRESS]
    - R( i/ F6 y; a( t* O$ I
  30. sqldir=mysql_sql- ]% _. o; _/ |/ Y3 F
  31. Drivername=mysql
    5 H# U4 Z5 P: w4 P  X
  32. Database=Your_Database_Name_Here, t7 o5 L/ J& J! s( |6 V, f
  33. Hostname=The_PC_the_MySQL-Server_is_on" `* C& O9 j+ e7 T; @
  34. User_name=User_name_on_the_MySQL-Server9 |' M% a% Q1 w5 @
  35. Password=Password_to_go_with_above_user_name
    2 }/ M: C' X+ X# _! R1 n+ U( s. B
  36. GetDriverFunc=getSQLDriverMYSQL
    9 v& m) t$ u, i4 k9 A1 B6 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + O% V- s# o# \: ^
  38. LibraryName=path_to_libsqlmy_libary
    : l; h; @  l8 E7 j% I
  39. Active=1
    3 @: f, C+ e' G$ h0 F* b
  40. ---cut here---- ?2 e' M  W) O4 j3 \  e( r: _
  41. In my environment (a linux box with a MySQL server running locally) I have:% V1 Z: v8 d0 M+ B7 M" @
  42. ---example---
    1 C: r" v& G- h
  43. [DBEXPRESS]# P$ Y& x& a+ G* f0 |
  44. sqldir=mysql_sql
    7 D% C- m) n8 u6 S2 A
  45. Drivername=mysql
    6 I. T8 ^! B+ }& }
  46. Database=test, K! {. r. l6 P
  47. Hostname=localhost
    ( U5 }: B3 F* S: V8 T7 a# j, I
  48. User_name=testuser
    # J) a6 D; I( Z3 {1 t3 d) w) N8 D
  49. Password=my_password
    ; N1 n) U( r0 U' A: W) J6 q: g
  50. GetDriverFunc=getSQLDriverMYSQL
    ' x, G# y' u$ t" i. G5 w( k; D3 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 y- x4 s% [) P7 T; @2 _
  52. LibraryName=./libsqlmy.so
    : T4 D7 ^6 ^' |# I* e( G
  53. Active=1
    $ G  t, r- h6 X  s
  54. ---example---
      D  u- L9 |6 ~& Q8 r" d& h
  55. ) k8 e* t3 Q" K% N
  56. On a windows box, also running the MySQL server locally, it would be:' ~( \# z7 h( D: }
  57. ---example---
    1 A2 P9 r6 V! N. Q# h
  58. [DBEXPRESS]9 ]8 w, X. j7 t) g
  59. sqldir=mysql_sql
    / G6 G0 Y0 z+ N8 x: ^5 S
  60. Drivername=mysql& p5 `$ ~  B9 W9 ^% _. I
  61. Database=test
    ( e# }! i$ B, B' `: ~8 N
  62. Hostname=127.0.0.1
    - d3 p+ ~1 c% S0 b
  63. User_name=testuser
    3 G  L) ?+ a/ ?1 ~3 F; l/ \( r8 A
  64. Password=my_password
    1 ?( r" Q/ {3 F  Y7 B$ M0 V5 e
  65. GetDriverFunc=getSQLDriverMYSQL* ?( I) ^: R/ O; ~, z
  66. VendorLib=libmysql.dll# T; D0 e. @8 @: z
  67. LibraryName=dbexpmysql.dll
    9 F6 c4 V) R3 I- T$ C3 ?. `
  68. Active=1
    4 K* r: `. z! ~: K% }, B' J3 j% z
  69. ---example----
    ( r+ {! d: @2 x5 N6 w( a" o, B
  70. - written 02.03.04 by pwk.linuxfan
    : O3 K9 c8 P& l
  71.   j: O! W& k) r) O. x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 k- t: N1 B3 d. R+ J

  1. 6 b: V; K* ]; D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 w) F+ a, V9 W" H) u7 F

  3. 6 w5 ?6 `9 V* L% X9 |0 A# j
  4. # # #我们所需要# # #
    8 m* k9 q& c* z1 t+ h+ c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 r+ B. g7 J8 H$ y
  6. 不会解释如何做到这一点-也有文件存在,为
    $ z* I9 O, r* P  B3 h, d" S; o0 [4 \5 f$ E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 N2 v6 ~' v1 T- A2 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 \/ G0 J6 P5 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& m2 U; p; \( |6 D4 K) K3 Q0 P
  10. 本地机器,这是我的MySQL安装。 6 S# A9 G3 F# t7 }6 d2 s5 E3 r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 R7 v; l3 t0 }7 c1 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . _  u5 ^6 Z' a) k" ^! X: B  n
  13. 数据库。
    + Q3 O( x9 M; _" n2 ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( l$ t' X* S) f1 Q# h7 Q# ?) q
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & O4 [7 f0 {( z& H( d2 n
  16. 在teamspeak论坛,如果你有兴趣。
    3 M& F: P! I7 R; G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 v6 T: X3 r, o7 _- F- R# W
  18. Borland公司使用。这个司机只能界面与客户端库
    ( q$ t9 @! ^& f8 J/ _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & s" g; V' G* D# F9 b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * X  c" |- |. H; O% K5 K
  21. " vendorlib " ,并解数据库连接。 , j/ H9 ^$ |5 o: z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + G7 s* v. W5 `$ Z, Y7 k
  23.   Q# {8 t, O: E) ^
  24. # # #做好工作# # #
    " I- _+ m1 n; C: b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : J2 L; q* p6 d. d4 B* _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; }6 T! W' n" r, {& ?
  27. 结束: ( s2 l' h2 ?3 y2 n, v+ d
  28. ---削减这里--- ; g: b; U: U; A3 L+ z/ Q: R: A
  29. [ dbexpress ]
    ( H+ M9 x. X6 y  a& s4 a
  30. sqldir = mysql_sql
    * N2 W% ^% l" `" A& I; n! n
  31. drivername = MySQL中
    + Y) {$ F) B! F- ]) z
  32. 数据库= your_database_name_here   S% B  J( u+ j  L
  33. 主机= the_pc_the_mysql - server_is_on
    3 m, _" G( J8 |! l+ |
  34. user_name = user_name_on_the_mysql服务器
    $ ]/ p' a/ a8 P  C+ t* [
  35. 密码= password_to_go_with_above_user_name 0 J" H7 A2 s& T0 A
  36. getdriverfunc = getsqldrivermysql
    " F! ?: I# d7 z$ g' g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 w. ]# V$ N& b8 E+ [8 A
  38. libraryname = path_to_libsqlmy_libary
    , ^7 M% n; x1 ?& r3 Z
  39. 积极= 1
    & W; a  h. ~) X, t4 z6 l
  40. ---削减这里--- & [( k' A! F% ~# A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 H* T" E3 E; _. V
  42. ---例如--- 2 z, m2 F$ _) K
  43. [ dbexpress ]
    2 y' }7 |: s4 s
  44. sqldir = mysql_sql
    $ H! j3 L% Z  D5 h/ \
  45. drivername = MySQL中3 o8 F) I1 \8 d. T! r
  46. 数据库=测试
    7 M0 {2 _: z8 G8 q
  47. 主机=本地主机$ n) [+ y/ u# l" M. z: r8 }& U, D8 X
  48. user_name = testuser 5 y) h* ^- e+ r& Q; Z% Q/ [
  49. 密码= my_password
    6 r$ E6 @% k6 h1 }( e/ X) a
  50. getdriverfunc = getsqldrivermysql
    / D. K; A6 H" w! r9 u- W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 l' `6 h, E/ g# F- x+ z
  52. libraryname =. / libsqlmy.so
    + q4 L4 [0 L/ t/ ~9 a& F$ c0 w
  53. 积极= 1 . H5 s  q! m: s  R8 C9 d
  54. ---例如---
    9 A9 f7 f! g# [5 d. w/ w

  55. ! ~0 U: P/ Z3 a+ V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ k9 D. j! g3 L' T2 b) q9 q! H
  57. ---例如--- / D# r, A# }' i- U2 p& b: B& W4 [4 \
  58. [ dbexpress ] ' e+ @+ u0 @# }3 z+ B
  59. sqldir = mysql_sql 4 |0 b/ Q6 H2 m  @6 E# E5 z
  60. drivername = MySQL中
    ) P) `) n1 x8 N9 W. w
  61. 数据库=测试
    3 H/ G$ c# \; p0 e1 d
  62. 主机= 127.0.0.1 ! z( Y7 R9 L* }, q) b; x3 M1 p
  63. user_name = testuser
    + y+ {$ |& p2 }, C6 U& d) ^
  64. 密码= my_password 2 E$ J: t* b  W+ w6 t! n
  65. getdriverfunc = getsqldrivermysql " v( o" X( F& E1 x) s' U2 d- \
  66. vendorlib = libmysql.dll在2 O4 C. }$ B9 H1 p# S
  67. libraryname = dbexpmysql.dll
    # q! U' R0 |9 w# h8 t' V
  68. 积极= 1
    0 G! n$ s- f7 v0 u) W8 y2 d
  69. ---例如----
    # w% J% L. O2 D$ ^- F$ r+ F6 Q
  70. -写在0 2.03.04由p wk.linuxfan
    3 Y2 U% O' k5 ]7 f7 x2 q
复制代码
发表于 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 words8 l7 H) [% R% }! a* A% [

  P, B  E! T, O; kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-22 18:57 , Processed in 0.055533 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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