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

3614 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * I$ G* g, P. ]6 F0 k/ X, w

! {- E. `9 m+ a: D8 H: J* F* o8 P

  1. 8 A* b1 R0 z$ ]" o8 Y0 c. Q8 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # X- k7 t* i. y9 A6 u0 \  ~

  3. : P  p) e$ S5 @: ~
  4. ### What we need ###7 z, O/ A8 h; L" Z9 U
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 @" B% s) D! @; [
  6. will not explain how this can be done - there are documents out there for the
    / _' v# M  m2 E
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 i8 r% Q* |( R& [7 t
  8. and a user account (username + password) that has the permissions to do stuff9 A0 E  E4 F  q6 v3 B3 R% M+ X
  9. with the database. Additionally, you will need a vendor library installed on the
    & C: F- e6 `! x0 w5 i+ O
  10. local machine, this came with my MySQL install.
    9 p# X0 g* R' N% O. G# D
  11. These instructions will not tell you how you might transfer your data from the- j# y, R9 K) b; F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% @& r/ G* D; A# @3 ~9 b; `
  13. database.* O. c, V9 L$ N2 k- X1 N" p
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ M7 f% E# x0 I; M
  15. the time of writing, there are still too many issues - check the current status
    ' ^, Q9 F; o2 e9 R" J' ^' [! `
  16. in the TeamSpeak forums if you are interested.
    - O5 q$ l, N7 e9 P( p. U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 P. U9 ^# U! b3 h1 U5 i  Y; i
  18. Borland was used. This driver can only interface with the client library that
    8 j4 f) E6 T7 u" P8 l$ v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 q) N7 \" F( {4 C0 \( D* p
  20. client library - basically all you have to do is to use a 3.x client library as
    . M& l1 P& z9 a, Y
  21. "VendorLib" and a 4.x database to connect to." h1 K5 l+ ]: P7 w( p, \
  22. If you need more info about dbExpress, you can contact Borland.8 D& ?8 m! {. A3 l- X9 T

  23. , Z  ]* j  r5 b/ q
  24. ### Doing the work ###
    3 C+ S- w: V6 `; p& ^( @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% F0 f# G% O( o8 i, A
  26. the perquisites right, just open your server.ini file, and add this section at) f8 h! T) N2 w5 c
  27. the end:
    3 F6 ~7 o6 P6 h- J4 r  y+ J
  28. ---cut here---
    5 n8 ]; l) w" U1 t5 T0 R+ B7 C
  29. [DBEXPRESS]
    $ G5 c4 R/ _) G, N5 N
  30. sqldir=mysql_sql- a7 G6 s& B$ b3 ]1 T7 E
  31. Drivername=mysql) w* x, F8 j8 l7 y% r  R, T! _8 h
  32. Database=Your_Database_Name_Here8 ^( q9 e* u' a( E; @
  33. Hostname=The_PC_the_MySQL-Server_is_on
      X; m% z5 U8 t. \* t3 f; L3 i7 Z
  34. User_name=User_name_on_the_MySQL-Server* [* ]9 X' y1 f% I9 u4 h
  35. Password=Password_to_go_with_above_user_name
    # }0 W7 A" m! A8 L. l7 {
  36. GetDriverFunc=getSQLDriverMYSQL
    7 j/ }/ _' |: F& D6 b8 {6 c2 H6 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ |5 t2 j* h) F
  38. LibraryName=path_to_libsqlmy_libary1 k( g0 Q1 a0 \. v2 D
  39. Active=1
    7 u/ _$ a( V; }% {% z0 m
  40. ---cut here---
    . ?3 Z" \0 ~! h! b2 g6 ]7 d( K
  41. In my environment (a linux box with a MySQL server running locally) I have:3 r6 F1 d' I' _1 m
  42. ---example---
    * h3 X+ v( h3 y: t  r
  43. [DBEXPRESS]9 W& I3 n" n; |- O
  44. sqldir=mysql_sql
    / i1 h6 e" J# \% M+ M- @; T
  45. Drivername=mysql6 C: ~$ M1 @/ t0 z
  46. Database=test
    5 [0 F5 ~1 Q8 z# v9 M3 e% j
  47. Hostname=localhost$ R; ]- h1 `3 M& E* g1 }
  48. User_name=testuser
    % O3 X9 X8 v. N/ S9 z
  49. Password=my_password
    8 |) [* t* d: W1 L$ m: x6 I
  50. GetDriverFunc=getSQLDriverMYSQL
    3 e! i/ u  h% v+ G4 ~& E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( m% N: Z) L% E. V; [
  52. LibraryName=./libsqlmy.so
    3 X% K0 G/ a4 j) E+ D6 A
  53. Active=1
    $ d# m# }4 C. [- E1 M; d
  54. ---example---2 O( N2 P6 B4 P- |& O: |8 k  W8 I, _
  55. 6 j8 r# g2 r- `2 U+ w+ e
  56. On a windows box, also running the MySQL server locally, it would be:
    ' `: a7 L0 C: A2 r, C. g2 [" ?  S. g
  57. ---example---
    & W$ C: a+ v- o8 K: W
  58. [DBEXPRESS]1 |8 f# }% K  \: o( J, R6 r
  59. sqldir=mysql_sql
    ) {2 C: J* E5 _" A  y) w8 j! V
  60. Drivername=mysql- X- P& ^$ p4 R
  61. Database=test" k+ q8 W) f/ @5 b' j# U9 P
  62. Hostname=127.0.0.1+ {5 q& m6 q- G  v9 D
  63. User_name=testuser4 k$ l3 v8 |; q; D  |1 k- W
  64. Password=my_password
    # ^( r# }* x% N& v
  65. GetDriverFunc=getSQLDriverMYSQL
    6 L1 X9 ]& C% c& K8 A' {, S! @* e0 [
  66. VendorLib=libmysql.dll. x/ B# }+ A# l
  67. LibraryName=dbexpmysql.dll
    , w2 B/ [6 N2 e7 V$ }5 }
  68. Active=1( \/ r  ^0 Q- P- [# j
  69. ---example----' D" D: O0 {, |0 O1 W- Z3 X
  70. - written 02.03.04 by pwk.linuxfan! e0 f; B+ C  \' `+ f/ @
  71. 6 r- ?' n( b+ W, ^* Q' P2 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* C/ [' b9 C! _) E0 p' d; R' @# P

  1. , g( \- Z5 P) x0 a  c% p1 i% E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : N5 T; W* w1 J: p5 |! c" a

  3. 7 ]8 {$ B1 o: a5 I9 `, }1 i
  4. # # #我们所需要# # #
    ( Z6 |7 [4 D/ O' \; \( e$ ~  }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / ]5 f6 }1 E0 f" x
  6. 不会解释如何做到这一点-也有文件存在,为
    / K8 K: o* w4 X' c% D5 J: l0 L7 l* }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + u# t) q0 d" Z  J; j* {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & j5 u$ y3 F7 }$ I+ B/ R4 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) g9 j: }5 P1 j# Q5 o# s3 w4 a
  10. 本地机器,这是我的MySQL安装。
    " v. ^" Z5 m5 M* x0 F. Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; N. i' F" x& k) v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 a, o6 s! I1 Q  X
  13. 数据库。 4 C3 M. R; r+ x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % M; R  P$ \8 }* j
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * s+ y; B. h: `' |" d4 u4 K
  16. 在teamspeak论坛,如果你有兴趣。   e; \" O/ h' j, f/ B. ]2 t" p1 S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 B- n5 j" b& k# R9 i
  18. Borland公司使用。这个司机只能界面与客户端库
    3 B7 B4 H/ L' t% x  `# j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: v6 p# N% e$ P- S" O" q1 \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" g8 E$ `" q$ e5 \, J
  21. " vendorlib " ,并解数据库连接。 ) x! W* z! X; C+ w+ @- M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 k# B1 \* E' X/ z/ u
  23. * O* y7 p0 y2 u' f8 b; X2 m. d! ~) J
  24. # # #做好工作# # #
    ! w! R8 {' w% K% L* {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 {9 j! \3 h; i4 n- v3 f6 D; k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% @: k: u0 W0 R) x* _( c% I' K
  27. 结束: ( V' N$ l. ~3 q5 u7 h
  28. ---削减这里---
    : |0 \% Z" J3 a. o
  29. [ dbexpress ]
    ' c! e. Y' P6 k1 \) H
  30. sqldir = mysql_sql
    3 \2 u& P2 ~' [! K) s$ f1 A. {3 `
  31. drivername = MySQL中
    5 _- @* r, F+ h1 P  t* e0 B# I2 z
  32. 数据库= your_database_name_here
    4 L, w/ C+ o! {$ P8 o5 r
  33. 主机= the_pc_the_mysql - server_is_on
    8 @" P8 y( s: e  u' W8 G
  34. user_name = user_name_on_the_mysql服务器# r/ b* ]$ i& v/ w: ?2 K4 t# b, S
  35. 密码= password_to_go_with_above_user_name
    1 i( K; N; a+ z5 y' V
  36. getdriverfunc = getsqldrivermysql
    ; x% d  ^1 T, `4 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , ~+ T$ R9 N- _4 G
  38. libraryname = path_to_libsqlmy_libary $ ?: D4 o4 x1 h5 A
  39. 积极= 1
    ( b" Z7 E/ w5 R, f( q
  40. ---削减这里--- - P% G+ A8 y- S/ Z9 p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & u4 J5 r/ n1 u
  42. ---例如---
    - s8 I6 Y* |% M
  43. [ dbexpress ] 4 ~5 w. m) w% H! g, |( z) E9 u
  44. sqldir = mysql_sql 4 `& G+ j! [& ~& M% u
  45. drivername = MySQL中
    ; g* ?2 n+ F1 A& _' R, Z
  46. 数据库=测试
    7 ^0 U1 ^4 R8 \* P
  47. 主机=本地主机
    % n" c- i6 Z9 I! i
  48. user_name = testuser 7 F# Z1 o8 V  V% `+ [* v
  49. 密码= my_password
    + }. ^  H' \- U- v$ x2 g
  50. getdriverfunc = getsqldrivermysql
    7 J7 p; n& f$ d4 |2 F6 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , N& z6 L5 T5 C% q4 u
  52. libraryname =. / libsqlmy.so & V9 U1 x: K- X5 i7 x
  53. 积极= 1 1 t$ ~$ x2 r3 M
  54. ---例如--- " R( t0 M2 O6 N& I: _
  55. 9 d9 x2 y. L5 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; z; q( ]2 b1 g- u! g
  57. ---例如---
    2 J; z( K% G; T4 p
  58. [ dbexpress ] + A; {# v/ S8 y( E- ~* S" ^0 x
  59. sqldir = mysql_sql 9 m; r) e' ~* N5 P% q( h2 y) G
  60. drivername = MySQL中
    1 |. W) }7 F+ c5 c6 d1 {
  61. 数据库=测试
    5 _; J0 S3 A; b
  62. 主机= 127.0.0.1 2 n8 L$ B4 g0 \
  63. user_name = testuser ; C$ S0 s9 V: b7 G
  64. 密码= my_password
    ; M3 |' e' W# k
  65. getdriverfunc = getsqldrivermysql
    & Q5 E8 j- h) W+ ]" S. `- {
  66. vendorlib = libmysql.dll在
    4 e  Z. t6 \; R% `( U/ V  i/ W
  67. libraryname = dbexpmysql.dll ; ^, D, c1 |' v9 _: R+ p/ R) j
  68. 积极= 1
    7 G" n/ y1 x6 s9 d
  69. ---例如---- ' l+ P/ L0 P5 ?6 Q* e- ?
  70. -写在0 2.03.04由p wk.linuxfan! E0 a6 n4 Q+ |3 N
复制代码
发表于 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/ ~) I0 x" ]9 j% f2 i* j

0 O1 y+ D" p& C; ^) B5 v* \) v1 K" vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-4 21:14 , Processed in 0.059077 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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