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

3311 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 ~( p$ W; [& X. n
9 L- h5 @$ ^& L: a

  1. - E- ^7 ?6 q: R+ \7 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: b' L; k4 C) D  A" l0 i# R
  3. ! j9 Q9 U0 d  z+ b
  4. ### What we need ###; U9 Q. ~; _" {8 v( M( K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! `2 v  L8 |! d4 N' L
  6. will not explain how this can be done - there are documents out there for the % m5 v5 W/ t; q: k2 `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 Q/ Y# b' V: N3 @
  8. and a user account (username + password) that has the permissions to do stuff( h- M. m, k* U$ z
  9. with the database. Additionally, you will need a vendor library installed on the8 l  ~0 R& i1 m6 x5 O
  10. local machine, this came with my MySQL install.
    % c/ F+ o7 w  A  `  {
  11. These instructions will not tell you how you might transfer your data from the% o9 e# ^( S6 }* ^  A$ [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) K& ]' E6 l% H( l% Y/ Q. q
  13. database.
    9 v+ ?2 q7 m8 z% h2 b  t
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 K! P9 O6 R( }( u4 e4 h5 F
  15. the time of writing, there are still too many issues - check the current status( k6 u, H& }, ]
  16. in the TeamSpeak forums if you are interested.6 S2 \; I% p+ Y' s/ X& Q6 q# m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! S* B( K9 U; _5 \) ?- l
  18. Borland was used. This driver can only interface with the client library that
    8 Z4 u6 i& N; H1 c5 g$ |
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # S! _" L0 m1 g7 D4 Y& h
  20. client library - basically all you have to do is to use a 3.x client library as & r7 U' x) q1 V' v
  21. "VendorLib" and a 4.x database to connect to.7 j5 n" l1 R4 b1 v$ n0 c1 d
  22. If you need more info about dbExpress, you can contact Borland.
    3 A, }+ S- ~8 Y0 |
  23. 9 f7 V- r8 l, x
  24. ### Doing the work ###
    ! z% x' F! n& p" z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : b. R7 J; \$ _- ?
  26. the perquisites right, just open your server.ini file, and add this section at
    , A# n+ R& z6 @9 w  a
  27. the end:, L: V6 |  A( ]: ?1 _
  28. ---cut here---
    $ x1 J+ v( ^) i
  29. [DBEXPRESS]
    % i! {7 F8 R$ u0 f: H* J* k9 R- N: a
  30. sqldir=mysql_sql
    , b$ E& @/ B2 D: O
  31. Drivername=mysql0 @" k" H/ ~; g# n
  32. Database=Your_Database_Name_Here
    ' s' x2 z  k( m5 O8 T3 t" G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & V6 P' G% Y0 R) X3 O
  34. User_name=User_name_on_the_MySQL-Server/ b( n/ B# I+ T0 `/ g4 h; I2 ^- K
  35. Password=Password_to_go_with_above_user_name4 Z7 s! V7 j+ B. [+ t3 z# M
  36. GetDriverFunc=getSQLDriverMYSQL' q( f. Z& T3 `7 `. a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , Z& q( X3 E( S# {3 }* U3 d
  38. LibraryName=path_to_libsqlmy_libary
    , y+ F. u1 B/ j
  39. Active=1% z: Z  B5 ^) i
  40. ---cut here---
    ' s9 C: c6 |, N1 P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( `- ^9 B0 y& O
  42. ---example---
    ( u, D+ F, n) v7 c0 R: S% v
  43. [DBEXPRESS]
    & f) j. e' z# m# z: l8 M
  44. sqldir=mysql_sql1 U* E" g' B8 [+ C' F
  45. Drivername=mysql- w7 |3 |9 I0 c& L( B! A3 c% F. ^
  46. Database=test
    - m+ ]# w- Y* `0 Y5 F
  47. Hostname=localhost4 c3 X4 f% c* s- B3 L% V
  48. User_name=testuser
    ; {2 x) g+ C/ P- A
  49. Password=my_password
    . b  t) t" t9 ]8 z
  50. GetDriverFunc=getSQLDriverMYSQL
    * J7 u2 i* E8 U! A; Y# v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( Q$ L3 ~4 J9 ^+ d2 o
  52. LibraryName=./libsqlmy.so" K+ r# T3 \1 ~( b
  53. Active=1
    - V" U! X3 _) P) T7 c: y# u
  54. ---example---& C- ^  `% P0 `

  55. 1 }' p, i5 `- O" s+ F- e0 o
  56. On a windows box, also running the MySQL server locally, it would be:& ]# S! [: _+ e. h& O& ?
  57. ---example---
    5 g8 T9 X& `- G$ {$ d% ^
  58. [DBEXPRESS]3 I1 |3 ]% I; R8 C
  59. sqldir=mysql_sql
    5 I% q: U8 k: N7 h7 P6 o# b3 k
  60. Drivername=mysql
    ' g1 @4 `& ~, ^  S0 X* x$ A+ ^& {
  61. Database=test
    8 F) f5 q) W' A4 b, Z( f
  62. Hostname=127.0.0.1
    7 ?6 u0 q1 Q' @# Z9 T6 U; q
  63. User_name=testuser. v  d+ O$ i5 f; b" h% ?
  64. Password=my_password
    + O! N' }$ A9 i
  65. GetDriverFunc=getSQLDriverMYSQL) M0 [, O/ U; N1 V& ]
  66. VendorLib=libmysql.dll# S8 f# ^  r4 R3 q: L/ |0 W/ z2 [
  67. LibraryName=dbexpmysql.dll
    0 H! U5 O, `* `$ I* [1 D2 [
  68. Active=1' e) j( ?/ x1 q/ m5 I
  69. ---example----- X0 c" |" ?1 S7 k
  70. - written 02.03.04 by pwk.linuxfan$ ]) b1 W5 }; l
  71. / }! F( U0 V8 O! P1 U# R8 U3 c; @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* e( Y2 |- X9 G9 L6 b; q" P" y
  1. ( {" z9 x( ?. D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : V! Q' ^1 u$ @" R5 P6 s: M( C

  3. 3 I4 z1 r9 J; d, b& L5 E  X
  4. # # #我们所需要# # # 1 T( i! C7 F  C# y0 h# J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # l$ j' W, B. W
  6. 不会解释如何做到这一点-也有文件存在,为
    7 o5 P( R6 j  w) L8 j: O+ X. a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( ]4 c8 {0 Z4 `# u. d; R* D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / \6 {% I$ n: M) ^4 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) ^$ H3 S& J7 G9 \' F3 d
  10. 本地机器,这是我的MySQL安装。 & l9 W7 X1 R6 E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 C# f( E4 l3 `7 z; t; ]. T7 \& _
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " y0 X$ R/ A; u2 Q5 W5 T" Q3 k
  13. 数据库。
    - E, W6 ?6 ^% O" S! O1 t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      R2 P' m( x* H/ j# x3 C$ B
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 a7 S) H8 Y& J5 M0 N/ O; |
  16. 在teamspeak论坛,如果你有兴趣。 8 W' P- j; u! p/ W4 ~' P7 S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ Y0 S; j/ I3 h$ z' g
  18. Borland公司使用。这个司机只能界面与客户端库. ~! J7 q4 J: L, c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; [3 j% y& ?3 _2 N. H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , V8 R7 T0 w3 E
  21. " vendorlib " ,并解数据库连接。 2 g7 v1 F2 j+ V; \9 Q8 {3 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      S3 G* H) W  ?9 a- w( d* I% a3 g

  23. 6 f( y3 y0 t0 \# k7 i3 B4 i/ m$ G
  24. # # #做好工作# # # 5 E+ u8 w; W- {$ e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' T4 u1 D3 C0 j2 [- p, \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ q2 k; N& G4 K6 p+ ~. Z6 E* y6 [1 ^
  27. 结束: - m- x  G6 i8 {' b' v1 l
  28. ---削减这里---
    " u" r) v. n! S6 w, J8 X9 J
  29. [ dbexpress ] $ V; L& {$ Y7 D
  30. sqldir = mysql_sql
    + L: e" U1 y7 K9 _0 ?- D
  31. drivername = MySQL中- ]' d, g7 F: r" s% V3 Y; i
  32. 数据库= your_database_name_here 9 c% E* v* Q! p. l1 d' r  U
  33. 主机= the_pc_the_mysql - server_is_on
    8 p1 p$ b) n, u) _8 S( S* W
  34. user_name = user_name_on_the_mysql服务器
    2 j/ m+ q* s. U
  35. 密码= password_to_go_with_above_user_name " [- [! D# [1 Z- F' y
  36. getdriverfunc = getsqldrivermysql
    ; {9 D& X. e! p& `& y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % S) F5 s: h% j
  38. libraryname = path_to_libsqlmy_libary
    4 i' d* U; g0 i3 a
  39. 积极= 1
    1 K6 b3 C4 V( z) B! X
  40. ---削减这里---
    " c8 Z1 T4 l  ?- x' l0 g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - w) D1 L, C; n8 |$ m, s, t" k: Q
  42. ---例如--- 7 X/ l  K) B  l4 t
  43. [ dbexpress ]
    2 x1 o6 ?1 I1 m# {
  44. sqldir = mysql_sql
    3 l9 C" C2 q% A& x
  45. drivername = MySQL中8 |5 e7 P4 c  A9 W* \8 ~4 p
  46. 数据库=测试
    9 ~& m5 t+ m1 A2 p
  47. 主机=本地主机6 W0 D9 F9 h+ a9 d) F+ a
  48. user_name = testuser 5 ?4 R! @" ^9 p
  49. 密码= my_password
    , n( b- z) c( I3 [
  50. getdriverfunc = getsqldrivermysql
    " a  l; X7 Z' o( U, r: c0 W4 _& a' w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # u7 z7 p  P! u+ Q' c! ?
  52. libraryname =. / libsqlmy.so 6 m0 `' v, Y4 X% a' ^. b% T+ B
  53. 积极= 1
    $ u: Q5 `3 H3 A& p5 Z9 N
  54. ---例如---
    2 ]/ i* m) n0 Q8 x

  55. 8 F1 Y" b! U! ^) {1 i: k
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 d' p5 a' n+ n& r% v
  57. ---例如---
    # W4 E' X: g) |# z# q; c" s' o. y4 c
  58. [ dbexpress ] 9 I  ^: h2 @" S& z1 a, k
  59. sqldir = mysql_sql
    0 J7 o3 e0 _. ?6 L
  60. drivername = MySQL中
      z/ X; }$ i9 d& D0 \! k2 t
  61. 数据库=测试
    * b; Z; g2 Y! s( ]! ^. M1 ^7 ~, U. T
  62. 主机= 127.0.0.1
    ' Q, L- O, S0 `- T$ T, Y# i. w/ `
  63. user_name = testuser ' d) Z, I5 S' b( ~5 ^3 H, w: p
  64. 密码= my_password   R7 D/ H8 J3 E+ X4 Y5 y1 m
  65. getdriverfunc = getsqldrivermysql 6 i/ {7 M/ ]5 o: n
  66. vendorlib = libmysql.dll在
    9 O' S9 W( k. Y: d; i; v' f
  67. libraryname = dbexpmysql.dll : F% b/ m3 q) F; d4 S
  68. 积极= 1 6 Z0 k& H, j" S8 s( R, C
  69. ---例如----
    0 N' H4 N8 y2 w4 s
  70. -写在0 2.03.04由p wk.linuxfan. N/ Y8 C3 x" S
复制代码
发表于 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
0 b$ t1 e1 u' @2 x2 Z. J/ D; Z. K; t8 _# ?
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-10 02:44 , Processed in 0.103185 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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