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

3305 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 T) O& Q4 Y& e: v; ?3 F$ b, e9 a, L0 c/ u4 Z3 Z

  1. , z0 d/ G) g2 s+ j9 m8 |, m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 h$ a6 t! l2 F7 Q& A7 H& v

  3. * T5 R+ }& M, S0 E( R& `8 Q
  4. ### What we need ###
    4 I4 Z; k  ]0 L$ F& a$ y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 Z9 r8 H6 b/ U  a. @
  6. will not explain how this can be done - there are documents out there for the ! E. A+ i5 M) ]' ]& K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 Y4 a! `0 d( U
  8. and a user account (username + password) that has the permissions to do stuff
    / [2 D- ~% t7 C
  9. with the database. Additionally, you will need a vendor library installed on the& b- p2 H' [/ [; W! p7 L
  10. local machine, this came with my MySQL install.
    4 B0 W4 H3 H1 E
  11. These instructions will not tell you how you might transfer your data from the
    & B: |" K6 c6 P$ w( |, F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 i- r4 i& {* ]* O4 L; q; c! p
  13. database.
    6 O7 N8 M4 {, ?7 Y2 `' H& i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      [! h! h* Z% `4 S6 [7 M
  15. the time of writing, there are still too many issues - check the current status
    # J4 `4 r$ _0 o0 n
  16. in the TeamSpeak forums if you are interested.+ c, J, S$ j+ i) _- y2 n0 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! L. p/ F& C6 l3 s7 C
  18. Borland was used. This driver can only interface with the client library that 5 T7 i7 d; x1 I1 |% Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 ?+ s; g) F( [" L% s3 ^
  20. client library - basically all you have to do is to use a 3.x client library as
    . X3 M& H; p: y4 M2 B5 B
  21. "VendorLib" and a 4.x database to connect to.
    ; q6 S% W- L' V4 }& Y
  22. If you need more info about dbExpress, you can contact Borland.
    5 k% n0 g1 e/ z2 {
  23. # I! C2 N  @0 P* |5 `  }
  24. ### Doing the work ###
    3 F2 C$ \% B- Q1 Q$ ?4 i) ~8 C# j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ v3 B9 @0 x8 e5 N/ s6 H
  26. the perquisites right, just open your server.ini file, and add this section at
    ' `, F+ }$ `( C, o% F  y9 }
  27. the end:1 ]: H8 k# D+ _+ ~* N
  28. ---cut here---% u# ^6 l8 T5 e; d; Q/ r8 b
  29. [DBEXPRESS]( r) C: t# K$ z( A$ T' r
  30. sqldir=mysql_sql
    5 O4 X! ~& L  S4 m( v) \2 Y
  31. Drivername=mysql; V; o* `4 o4 m4 P* a0 N4 B/ ?
  32. Database=Your_Database_Name_Here
    1 n, X& s9 s) {
  33. Hostname=The_PC_the_MySQL-Server_is_on8 g- o! E/ r& u5 U
  34. User_name=User_name_on_the_MySQL-Server
    * g: Q/ D2 D$ _  s6 i
  35. Password=Password_to_go_with_above_user_name( o- V6 e& q7 D6 a; J) C
  36. GetDriverFunc=getSQLDriverMYSQL
    " l& ~5 q: V) c6 J! o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 Z7 W. F4 ]" |3 Q' y, r
  38. LibraryName=path_to_libsqlmy_libary
    6 S1 w/ j' O6 J
  39. Active=1* E: Q5 q, h+ d  Z4 A' E+ P
  40. ---cut here---
    $ X, l: E- ^) k8 |; x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / N% {) x: b! r8 k5 O
  42. ---example---
    ! V# x. N9 c- H
  43. [DBEXPRESS]6 }3 ^- {5 B+ a* W* c2 \
  44. sqldir=mysql_sql
    6 Y& p; z& O$ y5 v
  45. Drivername=mysql
    * o+ C% n/ D& U; ?
  46. Database=test
    * _: H4 s3 O8 @5 B+ h! N
  47. Hostname=localhost8 S2 w% b& R* o" \! ~" G( E
  48. User_name=testuser5 [1 X" e+ w: ?4 j. A
  49. Password=my_password% a5 ]8 G5 k3 l' g
  50. GetDriverFunc=getSQLDriverMYSQL: a1 B7 P+ B* i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ x/ |0 ]2 \0 R( v' N% V
  52. LibraryName=./libsqlmy.so: G; \" e# \% u4 }! ^. h0 L7 l
  53. Active=18 U: v( ?2 U, N/ y) L2 S; S4 J
  54. ---example---
    / _& d8 b. r. A8 c

  55. ! G$ Z. u0 @" n/ m; X
  56. On a windows box, also running the MySQL server locally, it would be:
    $ I/ A/ p; R, ^8 p
  57. ---example---- s) G9 l) c; G
  58. [DBEXPRESS]
    2 I$ P0 i. ~: k) `5 w
  59. sqldir=mysql_sql  m9 D3 `0 R2 Q7 d0 Q9 w3 L
  60. Drivername=mysql
    ! ?. A0 C1 r8 @' O% t
  61. Database=test
    " Q. j! y6 |* j% h7 r
  62. Hostname=127.0.0.1$ O# u% h, k( U9 j- e) Z# E
  63. User_name=testuser: U2 _3 p& Q5 E& r' t% I
  64. Password=my_password
    6 d; r5 x: {+ q$ v0 ~
  65. GetDriverFunc=getSQLDriverMYSQL6 i+ o' f4 L. g
  66. VendorLib=libmysql.dll
    $ Y1 c! w! N" w& U' D
  67. LibraryName=dbexpmysql.dll, r! q  v1 Z- L1 s9 w2 E' l% ?& X
  68. Active=1  L. a: j: Q; M% l7 m& a
  69. ---example----; N! C4 l% \; v, @4 D, Q2 ]( L
  70. - written 02.03.04 by pwk.linuxfan
    ; B" q% x- y0 `: d% o, [7 n/ ^

  71. 0 ~3 V" r8 M( u; h6 O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% \+ ~2 d8 J, i1 o- @

  1. 6 e6 I: \- i% D; n6 @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 v* Z  o& V' Y* e1 Z# K! f0 ~, A
  3. : C2 |7 K8 G) T
  4. # # #我们所需要# # # ! B9 ]. }& \* [5 V. i" E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * l0 K. J! F" `$ J
  6. 不会解释如何做到这一点-也有文件存在,为
    2 I; K7 m+ C  a2 E% z+ h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! u9 y+ ]% F$ J# v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - g$ _& U0 p7 t- G) f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 H6 c& q& w) F4 [5 |& x
  10. 本地机器,这是我的MySQL安装。
    1 p* b/ @% X# p! V1 w9 W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . ^2 ]  U3 h) {$ e9 p7 z* {5 E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 s2 |# ~7 i2 S" |
  13. 数据库。
    + A8 e4 R7 x/ b0 [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 K$ k. [; T" n4 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 Y9 k: Y8 m2 L8 l
  16. 在teamspeak论坛,如果你有兴趣。 0 S8 K' j( @: b0 J; r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 {% s8 d; T: l
  18. Borland公司使用。这个司机只能界面与客户端库  f4 z0 z& T# |2 m( x. A0 ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- W0 M$ A) h$ U& E( ]+ p! l2 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- j  s$ H. L+ a- t1 J
  21. " vendorlib " ,并解数据库连接。 6 j. J6 }5 c! e) \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % c  @4 M- V) P% O- o9 [" f
  23.   H$ O. v4 H  k% f5 y
  24. # # #做好工作# # #
    7 d' [! k6 J8 A+ @0 S( E1 q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" J$ J9 t6 A, f  ]% ~, Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . V# Z' K# h+ I) ?7 j
  27. 结束: : w# C# X, D2 D0 D0 [
  28. ---削减这里---
    " L( u( ]5 @' ~& R/ {
  29. [ dbexpress ]
    2 Z' ?+ |* U0 j5 v  H
  30. sqldir = mysql_sql 6 v" u+ q2 A, l
  31. drivername = MySQL中/ U. \6 ]6 O2 O0 z- p9 }
  32. 数据库= your_database_name_here
    & B% Y) [8 N) M' v  c6 U% J6 [
  33. 主机= the_pc_the_mysql - server_is_on 5 [& p& U. N. g2 u
  34. user_name = user_name_on_the_mysql服务器& C/ ]% ~& @+ f' o$ U1 ^3 {
  35. 密码= password_to_go_with_above_user_name ! r& W; k* ]& O; e4 }0 W  S5 }
  36. getdriverfunc = getsqldrivermysql
    & i$ ]* x% a1 S3 d* S) `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 N3 U. d! x" V1 o* {1 w
  38. libraryname = path_to_libsqlmy_libary ( n% V. z- C& M! j+ K6 U8 R. `
  39. 积极= 1 5 R& z$ Z( L3 r8 C0 _2 W( m
  40. ---削减这里--- ' _! W8 l0 m- _% C1 E7 L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 s$ r  ^  D6 \0 [4 }
  42. ---例如--- * f: |& ^0 ^; h; z6 M2 _
  43. [ dbexpress ]
    9 d' I( x+ L  i; z3 Z5 H
  44. sqldir = mysql_sql
    * Q( w5 s* L& d( R# n: ^
  45. drivername = MySQL中& u% e. `- B! g" i+ R% S, H: D
  46. 数据库=测试
    : _: X* ]( t3 B$ D" b- k. ]; R
  47. 主机=本地主机
    4 b# u7 ^5 d5 o! T( A  N
  48. user_name = testuser
    ' X1 a) i$ N5 Q6 Q( l' L8 U
  49. 密码= my_password
    ) w. m; A! r* h
  50. getdriverfunc = getsqldrivermysql 8 u' T8 a( c9 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . e2 i6 A( b% M7 `: _7 Q; O6 |1 `
  52. libraryname =. / libsqlmy.so
    # s- [* n+ y1 P8 j/ G( H
  53. 积极= 1 2 l& h2 V' |" Z5 v: P& k
  54. ---例如--- . t' @: \& T0 V
  55. 2 |' f; `$ p+ v* u8 X4 y8 u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - A! g- {# a8 g3 T: d
  57. ---例如---
    % U6 ?* E8 [+ q0 S& |
  58. [ dbexpress ]
    $ Z& ~9 T+ T5 M+ g0 Z  ]* v
  59. sqldir = mysql_sql 7 Z, H% |+ V; H& @( q! s4 n
  60. drivername = MySQL中% n& b. E1 [% V$ u% M% ~
  61. 数据库=测试9 h- t2 O5 `3 \, _4 `' Y
  62. 主机= 127.0.0.1
    ; g0 B; h, d9 i* i1 i3 V6 w
  63. user_name = testuser / E. ]  U- u0 a1 a; y! f" Q
  64. 密码= my_password
    7 [; t$ }/ R) r- S4 \" m9 y9 |
  65. getdriverfunc = getsqldrivermysql 3 {7 }  M  k! E$ ~# Z) V+ @
  66. vendorlib = libmysql.dll在
    # p* I5 i; P2 Y; b
  67. libraryname = dbexpmysql.dll ! T5 J  p9 r% J$ y" y# |
  68. 积极= 1
    $ Z: k4 x: W" q3 u' o
  69. ---例如----
    ( r: o/ N: }  L. I
  70. -写在0 2.03.04由p wk.linuxfan. c# q* k9 r; R* I( I* ]
复制代码
发表于 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
8 `, A0 a' ^9 ?  W' f1 Y
) z6 \( F, l2 f9 obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-8 21:10 , Processed in 0.110783 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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