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

2703 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! L, I3 S6 P9 i7 T
# L' l) ^0 j/ \+ @

  1.   l" X! m3 J" b# B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' c: l- w# `& B

  3. $ s% z; J6 I" f4 O- Z5 D2 s6 ~
  4. ### What we need ###
    ! K, Z8 H! B0 C6 }
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 B+ ^" f& }* [1 I1 h  b
  6. will not explain how this can be done - there are documents out there for the 5 A/ B- k' }5 I3 i6 p1 O
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 \. r$ M5 Z: e7 D9 u5 Q
  8. and a user account (username + password) that has the permissions to do stuff9 }& T* I; _/ @. x" o, b  H
  9. with the database. Additionally, you will need a vendor library installed on the( @- O, F) f+ u3 y
  10. local machine, this came with my MySQL install.
    1 ~5 l% V% l, {3 G* Q, ~' n2 J$ h
  11. These instructions will not tell you how you might transfer your data from the
    ' K1 A- _- c6 ]! C, p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 P. q/ Z2 {2 |8 X% J. m5 O
  13. database.3 v; e/ W. Z* O. C1 K8 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % P2 i0 Y! C7 g( t' M: s
  15. the time of writing, there are still too many issues - check the current status) U) w+ E- k* O5 C
  16. in the TeamSpeak forums if you are interested.# t7 |; I. l! I! d% O9 D5 F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + g: V) Q( F. }
  18. Borland was used. This driver can only interface with the client library that
    2 n9 v# X- g. J/ a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) u0 c* Z( r) F4 E: P
  20. client library - basically all you have to do is to use a 3.x client library as ( U: q2 }( |' s' G% h+ U7 ~
  21. "VendorLib" and a 4.x database to connect to.- Y) P# j0 h: G: N4 f' b$ t4 J. W
  22. If you need more info about dbExpress, you can contact Borland.3 n4 P& h0 ~! o
  23. ( `8 e" D* ]0 {# L8 I
  24. ### Doing the work ###
    6 W( d5 b9 E: z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . _* c$ G6 h  L6 J
  26. the perquisites right, just open your server.ini file, and add this section at7 g# }6 P( P; @0 J
  27. the end:: u" z% s( K3 N# Q" H6 O
  28. ---cut here---
    / K% V0 O- |: U6 N. U( {  ?( a
  29. [DBEXPRESS]' r: e4 V; f& e6 q5 Q+ i
  30. sqldir=mysql_sql
    % N9 H' j+ A0 n
  31. Drivername=mysql
    # x5 [( I  Q, E0 T
  32. Database=Your_Database_Name_Here
    % _' x: {2 W/ V( X
  33. Hostname=The_PC_the_MySQL-Server_is_on5 C: J7 ^5 r' ^; K& A5 X. k- |; Y: y
  34. User_name=User_name_on_the_MySQL-Server5 ]8 O( t* _" d8 ]0 ^0 h
  35. Password=Password_to_go_with_above_user_name
    5 D+ M$ c* X; h& D; Y) t: x3 i. A3 x+ U
  36. GetDriverFunc=getSQLDriverMYSQL
    , e6 Q+ Q! q4 c2 A) i5 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & V0 e8 _$ A% Q' t
  38. LibraryName=path_to_libsqlmy_libary5 T: J! @, V* B7 ^4 e
  39. Active=1  g3 i- `6 Z) y- d# I
  40. ---cut here---  H9 d; p1 [  Q! M
  41. In my environment (a linux box with a MySQL server running locally) I have:  ]! D' R$ N- J. h% H) \$ t
  42. ---example---
    ' ^! N( U8 w. }8 M( g1 q2 h5 k
  43. [DBEXPRESS]
    5 ]5 d8 G& O+ L, i
  44. sqldir=mysql_sql
      C, a% A2 A" p+ g6 I% A
  45. Drivername=mysql
    , H. q) o1 U9 k; L' e2 ^
  46. Database=test( N) }: Z; K; Z7 L. P6 h
  47. Hostname=localhost
    : Q/ l- [2 ?% F/ p7 `; A- U
  48. User_name=testuser0 r) O  D3 ^- [, ?3 O  `* A
  49. Password=my_password
    * D2 c2 n/ `' W$ l1 Q9 k
  50. GetDriverFunc=getSQLDriverMYSQL
    " Q" R* k; J9 B6 U3 |! s# \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; k# K) ~3 k$ ?
  52. LibraryName=./libsqlmy.so2 D/ k4 n% \! o7 I
  53. Active=1  {# G& `/ W0 V
  54. ---example---
    8 }7 n  Z# X) J' `* {

  55. $ }4 {: ]: R# F
  56. On a windows box, also running the MySQL server locally, it would be:/ @* Z1 f; I* d: H
  57. ---example---
    + y. \4 q5 s' c9 X0 |
  58. [DBEXPRESS]
    ) P% p8 p) E% K) Q
  59. sqldir=mysql_sql
    ) c4 |. Y$ n$ t& ]5 `  Q
  60. Drivername=mysql) x+ D( a" b& @! y' q. ^% `5 V5 r
  61. Database=test9 s: k$ e/ l- G. ^  b' E0 t
  62. Hostname=127.0.0.1
      X- `8 f& n8 P: d# \# g7 r, w
  63. User_name=testuser
    $ v% t. ]* I: w
  64. Password=my_password4 n7 p: e+ ~" @; w: G/ P8 N  }1 _
  65. GetDriverFunc=getSQLDriverMYSQL
    6 j0 D% M8 d0 \
  66. VendorLib=libmysql.dll% Z2 n  G- E5 h) y4 O4 @" F
  67. LibraryName=dbexpmysql.dll
    0 {3 b* t2 V; \! @) y, r
  68. Active=1# v" f5 @* T3 r) J
  69. ---example----& `: P0 Z, ^3 D5 h1 e, c0 T
  70. - written 02.03.04 by pwk.linuxfan( u( f9 k: c4 E  X

  71. 2 N+ M* ]& v% O5 C: q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* p2 {. I: ?5 Y, G0 D; `4 V. r
  1. + g  m$ P0 U% p) a& ^$ s# T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - T- O7 y4 W! t/ m8 Y# m

  3. + e) d5 C( P; e- j/ [% k/ M
  4. # # #我们所需要# # # ' u; _/ L: x3 d) p) }/ q* ?# B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ i( w6 y8 Y4 x3 u! g/ Q( C, ]
  6. 不会解释如何做到这一点-也有文件存在,为
    4 f& H3 Z; b# ^2 Z) r8 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " t' u0 ]% L3 }) x" I, N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 D" b4 r" @8 {% Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 o* d3 E2 {6 B2 A, ]
  10. 本地机器,这是我的MySQL安装。 5 H$ n5 u: U: }2 {4 X! b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 q9 K/ B' b# D, h& Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . s+ I/ t5 J! B4 x) m" S
  13. 数据库。 3 `1 p/ v8 I/ Z; j9 D) [3 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( U8 g- q; A/ {7 Y4 \; R, l- H' i
  15. 编写本报告的时候,仍然有太多的问题-检查现状% F! I8 \7 x4 I
  16. 在teamspeak论坛,如果你有兴趣。 ! i! M/ }9 s/ {. Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' K" `& I' o3 A2 j. u1 V6 o
  18. Borland公司使用。这个司机只能界面与客户端库0 S) q9 y. a' l# I% B7 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 n, G7 {5 @% D; T, W* A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% V  E5 [! U' Q1 a
  21. " vendorlib " ,并解数据库连接。
    5 w. r: t: j+ J( q9 S+ t$ r- h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / {9 I8 V" g! P; Q0 r" {, ~1 G

  23. ! S7 {. Q# ?0 p2 \4 B, q
  24. # # #做好工作# # # 9 u' P! p6 m- k  K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; v# D/ i: [! }$ @# \$ K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 ], f5 r. Q3 t( a$ O  X7 K8 A+ d1 x
  27. 结束: + S( H/ u& w3 l+ s3 X$ T* Q" ]
  28. ---削减这里--- . }% \. S/ ^$ ~6 b; K+ t
  29. [ dbexpress ] ' w6 n  l9 T* {, L+ K
  30. sqldir = mysql_sql
    4 \1 D! v! P* |1 \# t
  31. drivername = MySQL中) B- }8 r7 S, ]. h
  32. 数据库= your_database_name_here 3 h: K+ j3 S4 ~7 \" d6 ?; f
  33. 主机= the_pc_the_mysql - server_is_on 0 D, V3 p1 w! o: d
  34. user_name = user_name_on_the_mysql服务器
    5 ~( a: w' U+ G7 V
  35. 密码= password_to_go_with_above_user_name
    ; ?/ B3 |9 n6 K/ n2 [
  36. getdriverfunc = getsqldrivermysql
    5 z7 P+ ~) i! k" V' j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 [: m$ A+ ~. l8 i8 [" E: J
  38. libraryname = path_to_libsqlmy_libary
    : f2 f" a3 M, V+ p( o1 O& H8 Y5 A: p2 c
  39. 积极= 1 " _: T! o8 c! a! R* m0 v
  40. ---削减这里---
    9 x  w) J' Q- I6 h- U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' l; w. @( T+ u
  42. ---例如---
    1 A5 C" V6 M6 D1 L) ^
  43. [ dbexpress ]
    ( Q3 }* t' Z+ q" F" P9 A% b
  44. sqldir = mysql_sql # B. `* _5 t1 n/ @5 }; R
  45. drivername = MySQL中
    4 [7 U1 |+ O3 ^. Y. `; ^* q
  46. 数据库=测试
    . ^2 @& [- ^+ F5 F4 F, p# _" c& l' r
  47. 主机=本地主机: `2 K# w. @% ?6 P
  48. user_name = testuser   u& S" K) O$ j4 a8 o
  49. 密码= my_password / p2 b1 Y: m2 i# t! Z
  50. getdriverfunc = getsqldrivermysql
    ; D# s. b/ i1 e# t" Q& t: I1 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . R. j% C* [4 E# |; L1 S: V
  52. libraryname =. / libsqlmy.so - V; f. T' q: f* X% G
  53. 积极= 1 / U, v2 g9 a. {: S
  54. ---例如---
    % D% H4 k& P7 \7 w5 p

  55. , T4 W- C+ O9 ]- X
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , {( R  S. E( j( ^2 z! C! E
  57. ---例如--- " M* f; ^+ w8 }' m0 Z& h$ f* [
  58. [ dbexpress ]
    ; g' h+ Z+ |+ Q5 a
  59. sqldir = mysql_sql
    3 e1 B" z6 p2 P( G0 f+ Z
  60. drivername = MySQL中  n  t" l2 K9 g: X' [% K) h5 b
  61. 数据库=测试& L( z2 a2 a0 ~( v- Y) h0 T0 {
  62. 主机= 127.0.0.1
    5 j4 X) H7 V/ x8 C5 w6 V7 T
  63. user_name = testuser % Z/ Z" R1 a: \5 L0 p; ?
  64. 密码= my_password / U, M4 g6 U+ p  q( z3 h$ x: N
  65. getdriverfunc = getsqldrivermysql 5 n, [# d# B4 _9 W. r/ e
  66. vendorlib = libmysql.dll在
    6 e2 y- e% _6 F1 _7 e* r
  67. libraryname = dbexpmysql.dll ; s3 h: u! a" C- ?" N7 ]& f
  68. 积极= 1
      o! G  A7 D  h+ i: K2 e8 s  r5 y4 N
  69. ---例如---- + ]2 W5 w+ a1 q$ g5 J
  70. -写在0 2.03.04由p wk.linuxfan
    & ?3 @. ], i! q" W9 y4 i. Q
复制代码
发表于 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- t* o, i+ d5 v# S! Q

- H6 C$ P* I% i" d# Q1 b# g; bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-4 06:08 , Processed in 0.108831 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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