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

2220 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% M$ k4 D' {* I4 p
+ C( ?* U. N6 @% @4 P& I* e( t
  1. 7 v' h4 x% h* i* h$ ^& ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - n+ G& F8 v! ^% d4 f- w' B( b
  3. , @6 A$ F2 c/ W: v7 B6 _( J( ?
  4. ### What we need ###, ~1 k  b- D- f' k2 b  x
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 Q  R% I3 k: ?: U2 C
  6. will not explain how this can be done - there are documents out there for the ' }, k7 W  m7 R; z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 L5 g: H$ Y9 a2 r
  8. and a user account (username + password) that has the permissions to do stuff
    9 C5 b: g& t5 |' O" ~, @1 e0 {
  9. with the database. Additionally, you will need a vendor library installed on the8 j9 p* C$ m& u, o
  10. local machine, this came with my MySQL install.3 b2 b0 W, N9 Z0 [. X
  11. These instructions will not tell you how you might transfer your data from the5 A) J& z. U" V) T2 p/ q7 |: O# V& m, ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 {( D' A* A4 R8 ^. i# [, X
  13. database.
    9 e5 u4 ~( H( \7 \2 F+ a9 z: T; H
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 p) C3 i3 T3 {: \& A! {, u
  15. the time of writing, there are still too many issues - check the current status, o2 s( M/ x0 `8 v
  16. in the TeamSpeak forums if you are interested.1 \4 F0 V% f5 c; i0 U2 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    6 S5 i/ b6 h2 {7 {( }
  18. Borland was used. This driver can only interface with the client library that - m0 G! S4 E' w% j6 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- d% ^0 u7 ~1 z0 ^9 @( l
  20. client library - basically all you have to do is to use a 3.x client library as
    % }$ @2 J! }* r
  21. "VendorLib" and a 4.x database to connect to.
    2 I0 k0 r  l5 R& G- l0 S
  22. If you need more info about dbExpress, you can contact Borland.
    / K# ^4 b& X8 r: z, s

  23. 8 U% k' b3 s7 c, _1 Q; F* I$ X
  24. ### Doing the work ###2 |' x) N0 w( U$ Z, p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" s5 y5 ]8 m5 T& Q4 ~  S+ L' T
  26. the perquisites right, just open your server.ini file, and add this section at% H$ k) z2 |0 {1 [4 ^
  27. the end:- t) g) M7 S5 X' q* x
  28. ---cut here---
    ; ~+ z, _* n# O) s- n$ ^! O
  29. [DBEXPRESS]
      z: U2 M# a  |) u) l' |
  30. sqldir=mysql_sql- x/ j$ s2 t# ~9 w) ]7 Y
  31. Drivername=mysql7 m4 J* M, @, A' F5 B/ R
  32. Database=Your_Database_Name_Here7 ]! ^  t2 E/ {* h, K* O% u
  33. Hostname=The_PC_the_MySQL-Server_is_on# |1 [5 o) u; e" n7 d6 h
  34. User_name=User_name_on_the_MySQL-Server& z1 ~% d5 y  u
  35. Password=Password_to_go_with_above_user_name
    0 L* W/ [+ a4 v
  36. GetDriverFunc=getSQLDriverMYSQL; B7 f& `7 _5 i4 k: N' q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 I5 \7 X2 O' N
  38. LibraryName=path_to_libsqlmy_libary2 @. C  ~* W0 s* K
  39. Active=1
    ! o6 c, u, \4 R8 C% w
  40. ---cut here---8 x4 ~4 b; E) y, K( `
  41. In my environment (a linux box with a MySQL server running locally) I have:1 P1 q2 t$ f4 l+ l$ t* O: }
  42. ---example---7 {) a5 D5 U% A$ P+ i
  43. [DBEXPRESS]- ^  m( O; U3 F9 D1 J
  44. sqldir=mysql_sql7 t& V  x8 ~- v0 Y; F$ ^: `
  45. Drivername=mysql
    : H/ b+ W/ `) J4 K! _
  46. Database=test3 x9 A+ o; }3 Q# U' m: {1 b% W
  47. Hostname=localhost/ R; `$ @9 K" s
  48. User_name=testuser
    0 t' B7 _2 `; F  D* x8 y
  49. Password=my_password
    ( M. E7 ^: ^0 m+ w6 O  w8 p
  50. GetDriverFunc=getSQLDriverMYSQL# v! s7 D) @2 w2 A9 q& q6 L! m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 j- D( k/ L! r7 R* v& J
  52. LibraryName=./libsqlmy.so
    + W" ]4 v  b: j+ s
  53. Active=1
    & R( L+ X4 p+ C7 E3 q- |8 z
  54. ---example---
    9 ?  X  U) O  I) W) I

  55. $ l5 l% s5 O- U3 @1 L; w0 N2 e
  56. On a windows box, also running the MySQL server locally, it would be:
    ! C. @; C9 o" P
  57. ---example---
    " ~) s# U: X$ D" K9 ?
  58. [DBEXPRESS]
    6 n7 n8 {, J3 L  M
  59. sqldir=mysql_sql
    & Y. q: M7 D: ?7 B. m: T" u
  60. Drivername=mysql
    0 @" F! f" ]: B
  61. Database=test
    4 l7 n) h. A! G, ?6 R
  62. Hostname=127.0.0.1
    0 _1 n" j. m, x' g7 x8 b
  63. User_name=testuser
    $ \$ |3 b6 Z  W
  64. Password=my_password
    % X. E9 @. @/ @' [4 b8 `, _! D
  65. GetDriverFunc=getSQLDriverMYSQL
    : X9 U3 E8 ?# y/ B% @
  66. VendorLib=libmysql.dll
    ; h( t6 y; S* t8 K( J
  67. LibraryName=dbexpmysql.dll; e" I. W3 s8 F# I! o
  68. Active=18 Q" a$ J0 ?  C0 L  U% K4 D; ]
  69. ---example----
    , i4 M5 b3 _1 F4 @( i" k
  70. - written 02.03.04 by pwk.linuxfan
      i7 [; v/ e* W3 f+ D/ I2 \
  71. 6 n4 h" R, p2 d7 T% |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, \9 @: d% u, V7 y7 {
  1. 9 {/ {9 V8 `. f8 K! o& p  W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : `9 t$ V' y- W) Y/ k, p6 `

  3. 4 i7 B. g8 i0 M
  4. # # #我们所需要# # #
    ; `+ ^) l& L* o7 z& x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" E, K; K( v# {. k
  6. 不会解释如何做到这一点-也有文件存在,为0 b% m5 N+ H, V1 Z) \1 I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. U6 g! |' z& j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* Y+ |- k2 q; |- H# _3 y' `6 Q, ]) k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% g; o/ {0 }4 H  o( i: j0 I
  10. 本地机器,这是我的MySQL安装。
    ( L" z9 F5 o$ I7 z& j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( L9 G- F6 B% k9 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # e5 `, t# d, ^. T- z
  13. 数据库。
    # Z2 Q/ v  a* B# Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & v9 i0 i$ R: p" x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 |! G# ~5 [, W5 G+ h1 S
  16. 在teamspeak论坛,如果你有兴趣。 % K* Y8 b2 E& t2 R' @, R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # h2 i7 H& E1 u& j; a9 b: \% q
  18. Borland公司使用。这个司机只能界面与客户端库. t8 u- P1 ]. T5 R6 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + o" T0 ^' E4 B+ ]/ @3 t2 u$ A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 T* _% d! o+ [3 I0 L
  21. " vendorlib " ,并解数据库连接。 , V3 V; H& ]  h5 u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , A8 u( \% u$ b2 t6 ]
  23. 3 E/ `/ R8 M2 ~
  24. # # #做好工作# # # ( A* `* d1 o( g" [. w9 V- S# F; ?  w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # l5 `+ }( _1 n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, }5 m$ |) E0 E4 p
  27. 结束: , l9 N% @9 r0 e3 R' E9 i, \' j/ K
  28. ---削减这里--- : I7 g1 a- ^1 h
  29. [ dbexpress ]
    " c5 _7 D. h8 {0 v- F
  30. sqldir = mysql_sql % Z% ~8 P2 S7 z& G8 b
  31. drivername = MySQL中
    $ L+ ~4 `5 {. j# q
  32. 数据库= your_database_name_here
    ( _# b" U/ U. V$ w
  33. 主机= the_pc_the_mysql - server_is_on
    ! a8 _# z! K4 z: `7 K/ K
  34. user_name = user_name_on_the_mysql服务器7 ]; n9 V& t  ~2 \/ ]
  35. 密码= password_to_go_with_above_user_name
    - Y  [, U( V4 U+ B! x5 j
  36. getdriverfunc = getsqldrivermysql : B8 I3 |. ~8 c8 \, H! u+ `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; M2 V4 W2 q, J" @8 s+ G
  38. libraryname = path_to_libsqlmy_libary
    6 X2 q5 s- k+ E; @
  39. 积极= 1
    $ Z1 l5 C. |3 O$ x- E% d1 v8 z
  40. ---削减这里--- & O1 l/ g& M* H1 v: |1 Q8 M$ ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " S8 k& I: p& b0 \+ B5 N
  42. ---例如--- % a6 f$ x7 i" ]7 D: W9 `
  43. [ dbexpress ]
    2 N, S+ a" ?+ s$ n0 E% B  K3 x+ I
  44. sqldir = mysql_sql
    3 J, X* z% K& ^( G+ j
  45. drivername = MySQL中: T6 z% W/ A: ]: @. U1 f. T
  46. 数据库=测试: ?8 Y$ z9 ?0 N* Z9 Q  E6 f
  47. 主机=本地主机2 ^: _' n! H3 F9 X. _2 S8 W+ E
  48. user_name = testuser - F  @/ u; V$ L
  49. 密码= my_password
      s" {7 {6 g. Q$ q* }$ j
  50. getdriverfunc = getsqldrivermysql
    2 d1 \' C2 v2 O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 D6 K& V; L/ k) z* b& ~
  52. libraryname =. / libsqlmy.so
    & @0 [; c, }9 a' n, f2 C$ k5 }4 ^  R
  53. 积极= 1 ( F/ |  t0 ^0 w' J4 {
  54. ---例如--- $ V5 W9 Y: |1 f; ^- w
  55. 5 H' u- U8 e/ L9 A8 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - f( m5 B- h, E: H
  57. ---例如---
    1 T* H0 S& g: r. `; Y- {
  58. [ dbexpress ]
    " O, K$ k7 _! t' ?$ y! O8 F
  59. sqldir = mysql_sql . ^+ S2 n2 M, x+ r; @
  60. drivername = MySQL中* L9 ~- |0 r; j/ ~8 r
  61. 数据库=测试* P6 D3 N- u0 l7 G% g
  62. 主机= 127.0.0.1 4 T1 @3 X7 S' P$ ]
  63. user_name = testuser 2 i  t; {) `% J7 b7 c/ ]7 x
  64. 密码= my_password
    ) a+ _6 L9 J0 L& c- k. t8 h+ ?
  65. getdriverfunc = getsqldrivermysql   K7 }6 a/ y4 D% ?
  66. vendorlib = libmysql.dll在
    + H+ Y0 W* ?$ b+ }# h0 L+ l1 q
  67. libraryname = dbexpmysql.dll ) F! D$ q- T7 i; ~3 q
  68. 积极= 1
    ! }8 J6 a% D7 ?2 K9 C* e
  69. ---例如---- & \' ~# O4 t1 t3 J- c4 O0 e
  70. -写在0 2.03.04由p wk.linuxfan- {# B( f8 B: I
复制代码
发表于 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
( `; |9 K" ^/ i9 }
# C2 X0 _3 r! S* G$ Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-21 23:06 , Processed in 0.108042 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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