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

3557 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' t2 z5 [: ?( p1 y& f2 E, m

# n1 ]# r! L+ j7 w4 w( D5 D0 L* W% q
  1. & q. I3 I4 I4 N8 U# g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & q! X9 i8 Q4 n+ u( z+ J5 @- _* k
  3. . t- C' ?$ d+ I1 L+ ?
  4. ### What we need ###, \& y- d8 H; T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ X/ n9 C/ l. M  k: j; f
  6. will not explain how this can be done - there are documents out there for the
    / X, X7 q3 f8 t4 G6 E) h" X
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ ]- O1 m5 z9 S1 G
  8. and a user account (username + password) that has the permissions to do stuff
    ; V$ u3 G% d3 ]2 N$ _: ]4 Z
  9. with the database. Additionally, you will need a vendor library installed on the
    - u, r. u/ P- ]
  10. local machine, this came with my MySQL install.* V* G/ U+ r. S0 F
  11. These instructions will not tell you how you might transfer your data from the9 n' p. T5 u* A0 ^6 K/ `! w; s  ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 c$ `( {+ L0 F, i9 Q
  13. database.
    - P& _" o) K) Q# P) }! ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 L# j( G1 K1 f, V9 e! Q# c
  15. the time of writing, there are still too many issues - check the current status
    . r& {& J! {( h  m* |+ ]
  16. in the TeamSpeak forums if you are interested.
    $ c6 L! \  d; f3 r2 c; M  S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 U; y( x" A1 h
  18. Borland was used. This driver can only interface with the client library that
    ) G* r+ d. E$ \. s5 W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 n1 D! f3 T9 B# u, O% ~4 u
  20. client library - basically all you have to do is to use a 3.x client library as
    , v8 H" U0 D4 y; f! f) v' p$ K
  21. "VendorLib" and a 4.x database to connect to.
    6 a! ^$ O) ?0 r, [. `
  22. If you need more info about dbExpress, you can contact Borland.
    8 G; b' c2 ?9 O! J. B

  23.   r' u3 e  L/ e9 D1 R% O/ T
  24. ### Doing the work ###
    / f: H% u0 c9 i6 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # l! y' u% K) I/ R# v7 H6 w" ~: D
  26. the perquisites right, just open your server.ini file, and add this section at
    ! h8 m  g: y. Z5 O" A2 _8 w
  27. the end:
    ! A6 i3 o# i- w& R7 \
  28. ---cut here---' S+ B$ u) I' W6 T
  29. [DBEXPRESS]
    5 X3 h1 j/ O2 k0 G: y. J
  30. sqldir=mysql_sql5 g" N) U! x; o! o/ i1 k" K
  31. Drivername=mysql, f' o, {7 R, [" j' h- l
  32. Database=Your_Database_Name_Here
    7 J/ S: V% F7 i# C" |" H
  33. Hostname=The_PC_the_MySQL-Server_is_on0 u; }% a/ ]* G+ z. X
  34. User_name=User_name_on_the_MySQL-Server
    ! ?+ ~2 g- x* S
  35. Password=Password_to_go_with_above_user_name
    ' C5 {, g& X! _) v5 F1 b
  36. GetDriverFunc=getSQLDriverMYSQL- b% d% {- E, v7 r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , c; `! [* e+ a) ?/ X% [( t$ @$ P
  38. LibraryName=path_to_libsqlmy_libary- D; ]7 f- u4 N" m* f% Q- r
  39. Active=1
    4 Q) Q' Z& @2 z% E( t
  40. ---cut here---& l. [; m9 ]. ^3 p" V# ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 Z$ u! _$ j- d* A9 ^
  42. ---example---
    # t0 p/ N2 ]2 O; D- y
  43. [DBEXPRESS]- i2 ]6 M# d+ G  D
  44. sqldir=mysql_sql
    1 X4 \: k7 v& ~& [& I
  45. Drivername=mysql
    * f7 C7 S' P& _- G. v* B# T
  46. Database=test3 s: z3 e! \% G6 A3 f
  47. Hostname=localhost6 m2 j. A4 \  r( G: J0 u
  48. User_name=testuser
    , c5 ~9 ?9 A8 P& R9 M9 J
  49. Password=my_password
    1 {0 x! a8 o9 T8 ^2 u
  50. GetDriverFunc=getSQLDriverMYSQL
    4 ?% j# O" z; e/ C0 ~9 O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( _1 A7 z0 U9 W7 R/ S
  52. LibraryName=./libsqlmy.so$ N" Y  v- c" h3 D+ n7 ~, i
  53. Active=1
    / p! |/ `6 B* r& q. d" f3 l+ ^4 z
  54. ---example---
    - K% V2 c6 F  t6 @$ T8 g

  55. 3 a& L0 I( D$ |% m2 [" m$ w0 \' e
  56. On a windows box, also running the MySQL server locally, it would be:" h; Z/ D5 h/ l  x
  57. ---example---! C4 G1 I( s4 D- J1 G8 N
  58. [DBEXPRESS]) N4 `/ g: b* B* j
  59. sqldir=mysql_sql
    & _% P( w6 W: V* V) @! k# ~
  60. Drivername=mysql
    * [2 U. C$ c. W
  61. Database=test' h5 E2 I9 S' [0 ]8 ?& R& J6 q
  62. Hostname=127.0.0.1
    % z3 m; E. L- {+ [0 y; ?" K
  63. User_name=testuser
      y3 ^5 |4 i9 p4 X1 d7 e
  64. Password=my_password
    9 {, t8 ~3 e  \8 p) q3 z
  65. GetDriverFunc=getSQLDriverMYSQL4 l7 m' {1 M# m5 i4 z
  66. VendorLib=libmysql.dll  [9 R8 e+ x) u  I5 w
  67. LibraryName=dbexpmysql.dll
    % |6 T! ?( S3 N
  68. Active=14 Z+ m4 x  r* t! |( o
  69. ---example----% L% P8 \- a1 U( L5 a! B4 r
  70. - written 02.03.04 by pwk.linuxfan
    2 l, ~4 S8 u- a+ r, [- ?( f/ k

  71. 6 B8 [$ q' l; ~+ f: Y. C: l1 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% r0 b% f6 k. `; n) c

  1. 9 O! `' P! h" d: o+ |8 |" N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ D% |5 f! x# Y6 x5 v
  3. - f& T4 n1 [  d& e4 G
  4. # # #我们所需要# # # , g: ^  }7 x  {+ G- `# n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) B2 s- {( ^* }% r2 y7 {; G
  6. 不会解释如何做到这一点-也有文件存在,为
    9 G0 N- X: y; u" U$ J( {& F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; t4 ^2 Y6 K! s  }6 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & i+ I. g' A3 E5 w; j7 }# z) o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# V9 [1 Z. o* u; [$ U
  10. 本地机器,这是我的MySQL安装。 9 D% @% J6 u3 n% W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : M6 y0 M3 \% a6 p! p# |- Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * T' C5 {& @. O. a1 s% X
  13. 数据库。
    / e/ s% M: ]( Q. W! r$ `. F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" k- `4 ?, G- Q. z% F( u( q0 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / |. r; D- T7 t* w
  16. 在teamspeak论坛,如果你有兴趣。   B! h( p3 i3 G7 o, E( ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , ^* \* p& n" p# c
  18. Borland公司使用。这个司机只能界面与客户端库
    4 _3 q% J% g7 r( l: Q  \" M
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ |$ g1 t/ u( t! c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - B. C2 [$ L; I$ C2 Q. C( K4 l
  21. " vendorlib " ,并解数据库连接。 ) z% S* U# G& b0 H5 Q: u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / F) X6 m5 ?1 Q& x  o/ S

  23. * l5 ]+ R; J. [& A' ]- ~; Z
  24. # # #做好工作# # # 8 X: u2 X- p, u. u# k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# V- j" o+ {2 `5 D( {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 L, S. S; w% |9 I6 a. K
  27. 结束:
    & r  Z9 V2 p: H% V2 v( ?" D1 W$ ^
  28. ---削减这里--- . X* |* C) `0 M8 a3 |
  29. [ dbexpress ] 2 k/ p+ z1 \8 e: ?
  30. sqldir = mysql_sql
    1 \) N/ Q+ H9 O; E
  31. drivername = MySQL中/ y1 J4 y& f/ K" b! ~9 P* s
  32. 数据库= your_database_name_here * |* P2 V" F5 G9 i5 U3 }; p
  33. 主机= the_pc_the_mysql - server_is_on 3 ^; ?7 R8 U! ^' O8 m
  34. user_name = user_name_on_the_mysql服务器
    0 i8 J& m( W$ H. f
  35. 密码= password_to_go_with_above_user_name & P0 l7 R; X( I8 q/ _8 ?% j
  36. getdriverfunc = getsqldrivermysql 1 ?- B. ]( p+ u  a2 S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 r) ^3 `9 L5 t3 X
  38. libraryname = path_to_libsqlmy_libary
    6 R$ e7 J9 p8 K8 i, F0 X
  39. 积极= 1 . I" V. d% L( g7 b# u* f4 B
  40. ---削减这里--- $ y- g' P; b# h7 \$ c2 x& ]) l2 [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 B; n5 ]; ?8 c
  42. ---例如---
      f7 U2 C7 N" W# R& t9 S
  43. [ dbexpress ]
    0 F% x/ u8 m( O$ ?' [! ?
  44. sqldir = mysql_sql
    # `6 C# k! r% R! I! p
  45. drivername = MySQL中9 T# K& w  n3 h6 c+ n. N+ n- b
  46. 数据库=测试& f- W+ J+ d- |' d( d$ \! s
  47. 主机=本地主机
    : r: d% y  F0 F! g7 z' x6 b0 g+ `
  48. user_name = testuser 9 s$ @! r( T) u( L8 @" m- m, D( K
  49. 密码= my_password 5 }% i9 V0 Q9 w9 K
  50. getdriverfunc = getsqldrivermysql ; R6 v: Y: v- y# h3 G# w8 R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 h+ u  y7 s# R* ^6 N
  52. libraryname =. / libsqlmy.so 2 S. v( l6 z+ B) `2 ?  T+ m5 J
  53. 积极= 1 7 Z" w3 _0 H! D7 s  A1 |* ?
  54. ---例如---
    % j: G6 |+ g3 L) Y5 J) }) c
  55. 3 _! B) {, y; i# s- {4 w* B" X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 i: Q; \0 }; p" t' [2 w
  57. ---例如---
    " ~% a0 ~/ y: H- f6 {0 r
  58. [ dbexpress ]
    7 N. ]- T* R) j
  59. sqldir = mysql_sql 4 [5 B9 F& Y( ^# I7 s
  60. drivername = MySQL中
    8 H! U4 E3 I1 ^* |
  61. 数据库=测试( B" k2 L$ o9 i2 V! c
  62. 主机= 127.0.0.1
    ; `, s/ e; d% Q* r8 m+ O: C
  63. user_name = testuser
      L% U8 j0 g- A& T3 h9 ?
  64. 密码= my_password
    1 A0 ]4 v2 Y- z2 _; `
  65. getdriverfunc = getsqldrivermysql
    : `1 o/ X/ E1 P; X% C+ a
  66. vendorlib = libmysql.dll在$ @9 B% s; x- F0 z3 w. j5 {1 B
  67. libraryname = dbexpmysql.dll
    3 @2 x# h& i' K, Z
  68. 积极= 1 ' _; p" P7 d0 m4 a3 R$ z5 |
  69. ---例如---- 5 e3 B2 {, X4 i/ {, w. R* G. A  }
  70. -写在0 2.03.04由p wk.linuxfan. S( E- `1 O/ T# t, ~% F% u2 k) ?
复制代码
发表于 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 words4 J- W; |8 ^# c( s6 V: X8 x" v
1 ~" |" G; Z/ m3 X6 i7 V: f0 Z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-24 05:59 , Processed in 0.078962 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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