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

2360 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + {9 p/ G# U& Q. N% F! C
+ @; F/ E3 v5 Y7 O% b/ K/ d
  1. : k+ m/ p! T% i( g8 \4 f: U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 K' e6 y4 D1 Z( w9 T

  3. + _$ d. K4 t% U6 N
  4. ### What we need ###
    2 d! V/ t1 Y# W, H+ @7 M3 x
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * ~* p/ k+ M8 A- j
  6. will not explain how this can be done - there are documents out there for the
    , g; I2 p2 i! P( k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 k- \) }) d" v" b
  8. and a user account (username + password) that has the permissions to do stuff* R" \, S. C, y+ z
  9. with the database. Additionally, you will need a vendor library installed on the
    * E& E, {2 X& M# v. h2 [0 a
  10. local machine, this came with my MySQL install.
    7 o' z/ J5 P; e
  11. These instructions will not tell you how you might transfer your data from the
    7 G  \5 I9 ~5 F9 Y2 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 z: ~6 K7 ]6 w* u: l$ o6 |; E4 [
  13. database.
    , ?% I1 J6 p4 T  j/ Z/ o
  14. Some users have reported ways to import a SQLite database into MySQL, but at! O, j# |+ |' L  J
  15. the time of writing, there are still too many issues - check the current status1 ^' a) T' d. i) Q1 o- V
  16. in the TeamSpeak forums if you are interested.
    " Q5 k' Y- M0 z# v0 c6 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 N' ~, k2 Z1 W9 H' Q
  18. Borland was used. This driver can only interface with the client library that
    , `' k! \2 S/ V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# {6 E& }+ P5 N- x6 S+ i+ N" i8 p
  20. client library - basically all you have to do is to use a 3.x client library as
    ' d$ H5 l7 H' e" X+ P# |$ c3 r
  21. "VendorLib" and a 4.x database to connect to.
    7 d4 l7 G, K! U2 {1 k# y- F/ d
  22. If you need more info about dbExpress, you can contact Borland.3 W! l- @% k$ I" N
  23. ' j/ i4 x- K! k* [+ j9 I" S4 C
  24. ### Doing the work ###9 v2 r6 K- x5 b  [# `1 E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. u9 Q# L; @% y5 a; E! R6 u  z
  26. the perquisites right, just open your server.ini file, and add this section at( A# ~; U5 `0 A. f! Y) b1 X
  27. the end:' ]. d6 w! s! j
  28. ---cut here---  t( F% ]+ [, K( D& x
  29. [DBEXPRESS]
    / v- h/ W+ D! H" j2 w' y& g, v8 Y. O
  30. sqldir=mysql_sql7 t# l; I, q$ C
  31. Drivername=mysql1 [2 e+ m' x+ J' }: c: x! t
  32. Database=Your_Database_Name_Here
    % w* }3 X. |! z3 O5 w( K: _5 M
  33. Hostname=The_PC_the_MySQL-Server_is_on$ C4 g7 ~) T1 C+ c- B
  34. User_name=User_name_on_the_MySQL-Server
    : o7 s% O1 V1 N& a# d
  35. Password=Password_to_go_with_above_user_name1 B' }. r4 B/ t! a3 K( O
  36. GetDriverFunc=getSQLDriverMYSQL& j. q9 G+ U# n4 B$ O' I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / a/ d5 j# S9 Y6 a' e% H' q* [' N
  38. LibraryName=path_to_libsqlmy_libary+ f) g9 O% c% y$ I+ V9 u
  39. Active=1
    * }8 q$ F- u( k3 Z3 G! m4 o7 ~
  40. ---cut here---
    4 t; w9 I, Z$ y$ B; f2 x' l- R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 P  M! Q5 h' g) o  B7 ]6 k
  42. ---example---+ p2 F; ~8 n( j0 G
  43. [DBEXPRESS]1 n) y$ q/ t. i+ O8 @
  44. sqldir=mysql_sql& l$ h/ ^+ ~3 s
  45. Drivername=mysql
    9 w4 l* e+ ~8 L
  46. Database=test
    - i3 A2 G0 C% N+ _/ a1 N4 Y
  47. Hostname=localhost
      S; Q5 j: ^2 x
  48. User_name=testuser+ s8 i5 H1 E2 c+ O$ f
  49. Password=my_password" X" `! B8 \, \& T; x! Z
  50. GetDriverFunc=getSQLDriverMYSQL
    8 B4 M" o+ m, l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      N4 @. `+ a; o) L, N# D
  52. LibraryName=./libsqlmy.so
    5 @, U8 l" @% s3 M; v
  53. Active=1+ m* ^; z8 K8 l! o  F: K% m
  54. ---example---6 Q' A2 Y( m# C& w# r! g$ [

  55. % C' I1 I! U6 w1 G; w6 }, }
  56. On a windows box, also running the MySQL server locally, it would be:  \1 [/ }4 |: g, D  ^+ t# y
  57. ---example---
    8 O& J& u! }$ m
  58. [DBEXPRESS]6 l: }8 F- K4 o$ h5 ?
  59. sqldir=mysql_sql
    . G  U! j  Z5 S6 I
  60. Drivername=mysql
    % [1 ~" u$ J) ~
  61. Database=test
    ! W& e1 L+ p+ J' Y7 e. W
  62. Hostname=127.0.0.1: ~3 `9 g7 f" n9 U! i/ g" g( _) v
  63. User_name=testuser. F3 g. x+ p9 M& K% x' r4 r8 k
  64. Password=my_password
    , h! }/ }& c' ?$ D0 @+ I
  65. GetDriverFunc=getSQLDriverMYSQL# F! A( t) s) E6 V" X' E
  66. VendorLib=libmysql.dll" y$ u3 k8 r4 |, q1 W
  67. LibraryName=dbexpmysql.dll' O% u$ y! O: E( M
  68. Active=1
    " m# ?& S' |1 M( |. O+ I5 D
  69. ---example----
    3 E( T2 Q8 g  H3 w# |
  70. - written 02.03.04 by pwk.linuxfan0 P" q, x5 C! W+ O  x
  71. - g1 z1 l; d! {; J# E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 E+ l2 q9 T+ {  m% f4 t( _& a
  1. 6 s8 Q  x3 _- p9 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! r( E4 b: @, {: d
  3. - |5 g  R& Q/ g0 ]8 L( n- q' {6 @" Q
  4. # # #我们所需要# # # 3 A) D, ^3 T1 l' k$ F$ c7 z( [8 B  C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 O2 ~; U8 a  B# u: ?2 ]
  6. 不会解释如何做到这一点-也有文件存在,为
    & x( y9 ~9 v$ R, |! W1 }. U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % d- J. x2 |, K! y) ~3 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 ?: W) Y5 |, ?6 U2 R' E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( Q7 _8 r6 }, c8 h3 e. l
  10. 本地机器,这是我的MySQL安装。 4 o* s; M9 F% \1 k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' U% X1 q6 r1 k0 k  G" Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # p* K5 X) e7 E0 [4 D* b9 H
  13. 数据库。 " {1 i$ i) t- k3 R# S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * b1 E, d) s3 f# H  D5 {8 ~+ P8 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状& P6 T: {6 J0 j7 W; K$ D
  16. 在teamspeak论坛,如果你有兴趣。
    4 |/ d) y: C: }* C; ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: P3 P) s% S5 B, x5 y  b
  18. Borland公司使用。这个司机只能界面与客户端库
    0 ]" B- z8 j3 C  r& v) \9 k4 n( B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 M. x' {7 u, ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ p' j$ {4 R$ q# e5 ]3 Z( r/ s$ ]2 g( {
  21. " vendorlib " ,并解数据库连接。 + e. B4 f  N' m( j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 \: H" a  s* D7 V" Z
  23. 5 @4 E8 V3 c1 w2 `4 _
  24. # # #做好工作# # #
    3 F9 S5 q) V% m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / o9 {; i7 f8 P! Z1 t6 d4 K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 v+ F5 ~8 I% U; n. d' z6 ^
  27. 结束:
    ) b  q; @4 j9 P  m
  28. ---削减这里--- / j# u: Z0 d; K+ Y6 Z" |$ X
  29. [ dbexpress ] 4 T% E* A% a0 U
  30. sqldir = mysql_sql
    3 q; t. _- P. u& B0 M: V5 b% Z+ N
  31. drivername = MySQL中' k( ?+ R1 Y: h0 ^# ?
  32. 数据库= your_database_name_here & Z/ }2 V/ x+ S1 P
  33. 主机= the_pc_the_mysql - server_is_on
    6 |0 w' O9 u2 E" A8 @
  34. user_name = user_name_on_the_mysql服务器) q5 Y2 h- G9 ]' r& `5 y
  35. 密码= password_to_go_with_above_user_name
    # `/ I  A/ p/ D0 Y; |) `* ^! @
  36. getdriverfunc = getsqldrivermysql
    6 y: v/ X; s( `5 ^: O6 m8 S+ T" S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % j, b# v  I' F$ q; e4 [
  38. libraryname = path_to_libsqlmy_libary
    $ C) F  \6 f2 P# s( S: D
  39. 积极= 1 $ A8 d! K/ A, `3 [2 z
  40. ---削减这里--- + _$ E. D0 u# \6 L- q/ s8 F# E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 H& J0 n4 ]; f$ |- t' M+ P/ j. O
  42. ---例如--- ' K( N4 u8 k' `, ~4 A- H& e* U9 _
  43. [ dbexpress ]
    ! ]( G. E" Z) S' c$ a
  44. sqldir = mysql_sql : T2 R. j9 _: a( j4 q6 l
  45. drivername = MySQL中
    - R7 u/ ~; e- E6 b0 p6 h- }" {1 v' ]
  46. 数据库=测试* P6 l4 r+ r  I6 d
  47. 主机=本地主机8 |& I9 _5 X# z1 P: Y* N
  48. user_name = testuser
    ; y* s0 B9 I4 P* R0 r7 |
  49. 密码= my_password
    / X, M" d+ n$ i3 \' M; D6 ?" @. m. y$ E
  50. getdriverfunc = getsqldrivermysql
    5 o* Z7 J( b. K% d& ~0 G" m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + K& Z" k" m1 T$ T
  52. libraryname =. / libsqlmy.so & i' Q: \1 a, g3 {1 H  x/ K0 D  W2 z
  53. 积极= 1
    ( R9 o7 c4 ^7 O
  54. ---例如--- - J: a3 `5 Z" B* v  T9 x; {6 s
  55. 7 y5 D6 Z8 V- C6 [, Z4 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ U2 h$ W2 `+ F. e, e8 C9 |2 s
  57. ---例如--- + C7 h7 k1 J1 Y7 }+ ]
  58. [ dbexpress ]
    5 N0 }" Z; t. D; `% A+ ]
  59. sqldir = mysql_sql
    % z( s9 w3 g2 W
  60. drivername = MySQL中
    - I" u9 y; j* }" g- j& c2 N
  61. 数据库=测试
    : z6 {* F9 O" S+ m( l, b
  62. 主机= 127.0.0.1
    ; _1 X3 w, Q! C* ?  k
  63. user_name = testuser 6 w& b9 F3 ~' Q; V6 G, ^8 b" _+ T
  64. 密码= my_password & Z+ M" X3 Q' j
  65. getdriverfunc = getsqldrivermysql % _) M4 t9 j, o. g7 P& E# L3 D
  66. vendorlib = libmysql.dll在
    1 ]0 J& M: X; i6 i/ Q
  67. libraryname = dbexpmysql.dll 2 D7 q, K0 E3 R8 K& D
  68. 积极= 1 " l, S/ K# _' a5 \% h  K3 P; Q* b
  69. ---例如----
    " M$ f; C& C7 f! ~2 ]7 z
  70. -写在0 2.03.04由p wk.linuxfan  t8 d6 d* h& D# v
复制代码
发表于 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 words7 S, x7 y& d$ ~

. T# g# N4 P8 P" e- H1 K6 Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-5 17:16 , Processed in 0.097567 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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