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

2777 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 g4 a  Z5 @- K2 L+ R) j

6 O; a: s8 L1 O6 ~+ V
  1. , n; v0 U5 E8 i6 v# f6 }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* k/ B4 c1 p- L* Y
  3. 4 j$ t4 K9 @9 X$ C# R
  4. ### What we need ###0 |. n" ~1 l. C$ g: l4 }; @  P" i
  5. Naturally, we will need a MySQL server to store the data for us, this document - o, N( E8 T" t6 |$ j& [% J
  6. will not explain how this can be done - there are documents out there for the 7 E) `4 V6 l% c- \6 S
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 }/ ?  D, ]+ K: [2 e" c& ?9 M
  8. and a user account (username + password) that has the permissions to do stuff* b* v  j# ^3 O& s9 g' m
  9. with the database. Additionally, you will need a vendor library installed on the
    5 `; [2 R0 A* X$ P* J
  10. local machine, this came with my MySQL install.
    1 r9 E8 F; M1 Y$ H* E2 n1 `) W2 z
  11. These instructions will not tell you how you might transfer your data from the
    ) @3 o* e+ T9 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 q9 A+ _0 l0 Q  T; {) U& R8 E
  13. database., Z5 _3 s3 }8 \. c
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 n' @& V8 R# U, w4 D' b. M) E
  15. the time of writing, there are still too many issues - check the current status
    ; d" [) t0 |0 y$ u/ t6 T" \
  16. in the TeamSpeak forums if you are interested.6 t$ I% ?; N( G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 k2 |. J* o/ Z! G2 e
  18. Borland was used. This driver can only interface with the client library that / I) |) ^& h- `; X4 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) l3 T( p; W# O2 a9 R1 s- W+ `
  20. client library - basically all you have to do is to use a 3.x client library as
    : K% `, g; W7 S: l6 V1 D+ K( w7 }
  21. "VendorLib" and a 4.x database to connect to.2 ?# h( P5 x( C
  22. If you need more info about dbExpress, you can contact Borland.
    7 _2 v1 L4 A0 ~& l
  23. - o( `0 X* k' I" Z+ \! W
  24. ### Doing the work ###
    2 U3 ^/ P8 \2 p: W- k. T& c6 g; N/ M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  N$ H. l9 @2 J: \1 s' M$ L0 ^
  26. the perquisites right, just open your server.ini file, and add this section at
    . t9 D0 f6 A7 |% _% U4 N1 O2 d( V" V
  27. the end:
    " X% f$ b" ~5 L% i* A
  28. ---cut here---' S% E. {+ o) ]! k: T) P
  29. [DBEXPRESS]$ ?& _+ o' Y# ~. u
  30. sqldir=mysql_sql# r& b- r$ ], p4 F5 f0 p4 y
  31. Drivername=mysql
    " Z" G8 Q2 _" L4 H
  32. Database=Your_Database_Name_Here5 V/ C! M- h4 F0 Z/ \& w
  33. Hostname=The_PC_the_MySQL-Server_is_on- o+ U' P0 o* u% Y5 ]* |
  34. User_name=User_name_on_the_MySQL-Server
    ! s5 A9 s5 |. f( Q
  35. Password=Password_to_go_with_above_user_name
    ( M4 w  K0 d% m1 s# D2 ~
  36. GetDriverFunc=getSQLDriverMYSQL1 E$ F: I5 n$ J3 |! P) D3 O! K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ W* F0 d6 z2 b" z9 o' V2 g  q
  38. LibraryName=path_to_libsqlmy_libary3 {' I) P0 B' Y  J
  39. Active=1
    0 }% ]3 x. r' F( M- ]
  40. ---cut here---
    " M+ D3 }( B. e, V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 b* J5 p8 B( F& n2 t
  42. ---example---
    . ^3 U6 ?5 k6 i7 M2 {
  43. [DBEXPRESS]
    ! l% ], a  e$ j1 N5 N
  44. sqldir=mysql_sql
    0 a) i# ~. l1 z7 A3 J; R, `
  45. Drivername=mysql
    / Z! p2 c. q. A; G% c
  46. Database=test0 w5 E: R. Y- L) N* B% V, P# ~
  47. Hostname=localhost
    / n* h  d+ S: W7 l" U7 c
  48. User_name=testuser
    $ w) y9 }. h4 J  K2 @3 }" J4 @
  49. Password=my_password
    1 d1 A7 Y6 H" W7 J! c6 I# ~- N# J# G
  50. GetDriverFunc=getSQLDriverMYSQL( e6 m# F& ^8 ?, Z3 n3 m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. i! g1 p' c( ~% c3 w
  52. LibraryName=./libsqlmy.so! I& i+ _, @# o- o
  53. Active=1
    ' W5 I0 q8 r; L  P5 S  z" o* W3 {- ~
  54. ---example---$ X9 D% R9 J0 k7 f

  55. 8 c. Z, @- r! t4 K9 K( Z
  56. On a windows box, also running the MySQL server locally, it would be:
    # _5 K! L1 ]5 C, j5 R
  57. ---example---
    0 w) K: [) k" N- f/ Z
  58. [DBEXPRESS]/ \+ P( I8 C, y* s! T# J1 r
  59. sqldir=mysql_sql. s. P3 C7 E3 c, R* W* j, T
  60. Drivername=mysql
    $ y% S7 U8 R2 A4 O# g& ^
  61. Database=test
    5 f5 q8 ?# O! K. ]* Y: J1 }
  62. Hostname=127.0.0.1
    7 B3 h# C' w  w5 \! K
  63. User_name=testuser3 I7 m9 P5 u& q
  64. Password=my_password
      r6 F0 g7 g3 B4 ]
  65. GetDriverFunc=getSQLDriverMYSQL' J# {( z* K$ H, i" t9 [$ o! r- R) s
  66. VendorLib=libmysql.dll5 p  F' d9 z+ k
  67. LibraryName=dbexpmysql.dll
    ( C+ o+ H+ p+ r( T3 J+ v1 l
  68. Active=1
    9 _+ X/ Q% p7 ]# J/ F, e+ |* \3 l
  69. ---example----
    . ?% B6 P1 |' E$ Z9 q. N0 h
  70. - written 02.03.04 by pwk.linuxfan
    , X- Y  ^; H& C
  71. 5 U" O! h9 E* y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* q' X/ ~) u3 f( K; w3 E6 _

  1. . r/ Y* m+ b( o' V% w; T1 U- {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 l4 ^0 t7 l- a. N  O
  3. 8 @* i9 a+ |% [7 D1 b2 z
  4. # # #我们所需要# # #
    - S7 E0 i! s" J# W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 p" ]& d7 b7 \) E3 D  @$ E% [  C
  6. 不会解释如何做到这一点-也有文件存在,为
    6 a. k+ s3 _4 F- L+ [/ P$ [& x7 p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , y' A+ _1 _+ A# l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 X& ~: z% D5 c2 K: Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 O/ |: Y6 O3 t' v  K5 r. c
  10. 本地机器,这是我的MySQL安装。
    3 g% E& I0 v/ l1 l4 s! J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) c9 p, o" Q  `6 Q+ k) ]& V. s: {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! B  Q/ r* M( P
  13. 数据库。 ) P5 D, D% [! ~% d! n/ x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 f/ ?. r; E& p! @3 g$ }/ {
  15. 编写本报告的时候,仍然有太多的问题-检查现状; W! c4 W- m# T7 `
  16. 在teamspeak论坛,如果你有兴趣。
    # K5 V2 s' O" `+ z( e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# W0 T$ K3 q2 j( T+ v
  18. Borland公司使用。这个司机只能界面与客户端库
    ( J8 T4 p+ z* J7 j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  H# J* l# M9 j2 m! ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( Y1 [  P2 h, [& F6 x/ A
  21. " vendorlib " ,并解数据库连接。
    : U- ^7 y( j, Q9 O7 {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + _( w! h6 M* j' g. G8 h: w2 H3 @$ k  l
  23. % v% J1 R* P1 @- l" d% e
  24. # # #做好工作# # # , q) M; ]4 R! ^& k7 ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) W$ m- ?8 v. S* r( k3 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 W& i  A' u* H& D
  27. 结束:
    ! v: t! M) P+ d1 O
  28. ---削减这里---
    7 ?: e' d0 y( ?8 z
  29. [ dbexpress ]
    ( F( t% |7 U9 L; [
  30. sqldir = mysql_sql
    / f" O3 S9 {* y& a% }1 }, Z( f2 H
  31. drivername = MySQL中
    ) w! J0 J% N- E  {
  32. 数据库= your_database_name_here ( u: I7 ~" v8 m2 t9 z2 w1 p/ V
  33. 主机= the_pc_the_mysql - server_is_on : _9 \5 G! i) `; u5 h
  34. user_name = user_name_on_the_mysql服务器# h% R$ _6 \8 G& H6 ]7 F
  35. 密码= password_to_go_with_above_user_name
    4 ?8 g$ l0 w- D- b8 Y, X; c: Z  t
  36. getdriverfunc = getsqldrivermysql
    2 q; L) f7 N( M% `% `% H8 V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 _, o! V7 K6 m/ T
  38. libraryname = path_to_libsqlmy_libary 0 [; A# w/ `) L- R7 r1 \3 y
  39. 积极= 1
    ; G+ v4 _- s% t; U+ N1 q
  40. ---削减这里---
    * O( a7 N' T9 D7 [- k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' |$ K3 ?8 E: `4 z; Q) z# K. g% Q$ {
  42. ---例如---
    4 b* h3 |/ H. a& N3 `
  43. [ dbexpress ] & k' g$ G2 R  o6 ^. D
  44. sqldir = mysql_sql ) k2 n/ T- z$ T
  45. drivername = MySQL中
    6 Y5 I3 O' |  W3 n$ R0 D
  46. 数据库=测试$ V3 t9 X9 z9 b# {1 R
  47. 主机=本地主机& b+ u9 }6 |8 r; L4 O$ I6 D
  48. user_name = testuser & r# ]1 T' I. j
  49. 密码= my_password
    1 [8 V9 i4 T2 \/ Q3 U7 j
  50. getdriverfunc = getsqldrivermysql
    % S7 ^. z5 a' q( s4 A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 ~0 @! `; K% X
  52. libraryname =. / libsqlmy.so ' ^% R9 t1 E. h7 [4 g$ ^1 F
  53. 积极= 1 2 n2 f( o, x( r: h( t
  54. ---例如--- ) f5 N0 J# G8 E% F' S# Q* ~9 B

  55. 1 |0 P1 d+ C+ b4 _# D5 y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' T( G1 a- t/ n% T5 x
  57. ---例如---
    8 l' k4 P6 I  H4 N) _6 f; D
  58. [ dbexpress ]
    - ?5 ?7 y9 G; v, `  _" F/ f
  59. sqldir = mysql_sql
    / z; m4 B- B+ }1 @/ Z! x1 X
  60. drivername = MySQL中
    2 C" b+ |3 Y2 A# o  Y3 s2 M8 \% P& I
  61. 数据库=测试
    ' `* E2 k' q$ o* D( D4 S, L
  62. 主机= 127.0.0.1 / J; U- x; g4 B$ w& n* ]5 P
  63. user_name = testuser - s% }1 \) l' j1 x
  64. 密码= my_password
    9 j) m# ^: w. S# j
  65. getdriverfunc = getsqldrivermysql
    $ B3 n+ ^6 V- Z) [: P# T
  66. vendorlib = libmysql.dll在
    8 F8 R* ]8 D; `& Z, E- M/ T( [- J
  67. libraryname = dbexpmysql.dll
    * L1 j# n0 r7 w! @) D+ w* v
  68. 积极= 1
    ( D5 V6 u, v4 t$ x
  69. ---例如----
    3 N+ @3 M1 m5 ]6 b
  70. -写在0 2.03.04由p wk.linuxfan
    8 C: A0 d% O8 [2 a: X
复制代码
发表于 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
4 v+ w2 o5 `7 r* G7 g
& c! x3 z- u  E  ~but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-18 21:17 , Processed in 0.089925 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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