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

2762 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # p) z) B  \& {) Q5 i, t
/ p3 S. B! U1 c( R) X! f& I4 K$ t
  1. ; t$ U6 F1 a0 G8 f) S) R  T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 t7 e6 R# w" O. [9 v
  3. . y+ y* c. m6 H0 }- O
  4. ### What we need ###
    ) d/ t2 \4 T, T* r, V
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 N! e& G: d2 y1 z$ a' n0 k7 K
  6. will not explain how this can be done - there are documents out there for the 0 q' }4 v9 G& d) Y; M. ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; R7 d; f2 j, [
  8. and a user account (username + password) that has the permissions to do stuff
    ) D6 @# Y+ p; S8 |+ \' X0 T
  9. with the database. Additionally, you will need a vendor library installed on the, g# e  H9 n3 _1 d4 ]' @& @
  10. local machine, this came with my MySQL install.
    2 j4 w3 E% w) U) O, s
  11. These instructions will not tell you how you might transfer your data from the
    ! \9 L0 _. v/ B! F0 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 ?5 U- F9 Q9 M, I
  13. database.* q2 y1 E; u) y4 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; y! ]0 \" L* i4 m
  15. the time of writing, there are still too many issues - check the current status6 @* ]! s) q: V6 @
  16. in the TeamSpeak forums if you are interested.# Q! b$ x: Y) q" w, y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 Y8 c0 R- s; ~$ f0 \6 ]
  18. Borland was used. This driver can only interface with the client library that $ ?- G  ?- v% U$ k1 r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " v9 V5 [& r/ \- I  x1 `! h
  20. client library - basically all you have to do is to use a 3.x client library as
    ; @: s0 i8 t! ^! j6 p- q
  21. "VendorLib" and a 4.x database to connect to.
    8 T+ j: D& N% x& l8 }5 h, o
  22. If you need more info about dbExpress, you can contact Borland.
    ' B) x, u* E5 S& @+ ]4 v5 ]+ }1 P
  23. % P% M1 A/ h( x# O  n0 h
  24. ### Doing the work ###( d' h7 M0 _: r$ R; [4 K( B, s" i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* u) Q2 m/ r3 v1 Q' p" C3 Y' P
  26. the perquisites right, just open your server.ini file, and add this section at/ ]" z7 a8 l$ Q$ M  c2 r
  27. the end:
    2 h- N0 q% `; S) U6 X; s
  28. ---cut here---
    ' g% X) e( x1 w+ l! L% B' H. X
  29. [DBEXPRESS]
    3 m3 ]: G; f3 O9 ?. P7 _
  30. sqldir=mysql_sql6 t3 V' E+ Y' a3 g. i
  31. Drivername=mysql
    9 k$ b7 G# z$ v' E) ^8 j6 e$ V* ?
  32. Database=Your_Database_Name_Here. x! p* k9 J. C* a; V( M# W
  33. Hostname=The_PC_the_MySQL-Server_is_on& x4 L7 c0 i( g3 W/ R1 ^
  34. User_name=User_name_on_the_MySQL-Server$ m) b9 g% c5 B5 h& m$ n+ H7 q
  35. Password=Password_to_go_with_above_user_name+ t- C# l7 _5 G/ p4 t8 H; y& [
  36. GetDriverFunc=getSQLDriverMYSQL; }8 j6 S8 D! i' Q% u9 T: r' F- @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / \0 F" l/ n; _2 |1 l! U, m
  38. LibraryName=path_to_libsqlmy_libary
    4 z, |" h# y3 N3 l3 \0 F
  39. Active=1
    : b6 @# `3 Y; K, p4 h  x) U& {
  40. ---cut here---7 m/ D  v6 {8 G' c9 s' O# j/ o2 G/ }
  41. In my environment (a linux box with a MySQL server running locally) I have:( `4 y2 F9 T5 L1 P$ O+ S
  42. ---example---
    3 }7 m  i2 S# K' ?( }: \; U
  43. [DBEXPRESS]  Q" i2 K2 Q2 Y
  44. sqldir=mysql_sql
    ' e3 r1 V+ D5 k# X) L
  45. Drivername=mysql& Q1 S8 X  k. ]5 s# o# N: B* [
  46. Database=test
    ! w' e; V  j: ~/ o' {. e3 }! Y
  47. Hostname=localhost5 Y3 ^& Q% D7 P. k  B( i! z; i
  48. User_name=testuser$ }5 S9 E* F: K9 q' E
  49. Password=my_password
    9 n* v7 t7 ?  ^1 F6 r
  50. GetDriverFunc=getSQLDriverMYSQL* n0 D9 r  u3 a3 H/ M- @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 X. E* s* O) D7 u& \+ A
  52. LibraryName=./libsqlmy.so& C% S+ Y, O1 [0 i9 N9 S
  53. Active=1
    # q2 C; f$ b" ^
  54. ---example---
    * m7 [. ^2 A" G. o

  55. ' y2 s. j- _6 I6 Q% y+ T  t
  56. On a windows box, also running the MySQL server locally, it would be:. ]0 [' o$ U5 @
  57. ---example---$ A7 g/ n) S3 c3 z9 O
  58. [DBEXPRESS]. T# j; Z5 _/ c& h* K: y( E* i/ K
  59. sqldir=mysql_sql
    & N# v$ ]; I$ \% n+ t% [& m: L2 b
  60. Drivername=mysql% V8 e4 V- q4 U* I
  61. Database=test6 G7 Q/ `, n- L
  62. Hostname=127.0.0.1; T+ K+ F9 R+ ]& N' ]
  63. User_name=testuser
    5 k* C. C/ d- i: m6 f
  64. Password=my_password
    2 V  z$ I8 V* d/ T
  65. GetDriverFunc=getSQLDriverMYSQL
    : J% }$ N0 l5 z8 ]3 i3 f0 f1 K
  66. VendorLib=libmysql.dll8 i& U- `5 Z' V9 |  B- J
  67. LibraryName=dbexpmysql.dll/ l+ E% l8 G9 k! R7 v* |2 u
  68. Active=1. L8 {) z& z5 X/ L+ ]  E" _: g
  69. ---example----
    $ V0 _, g% o) [/ z& M; x3 e
  70. - written 02.03.04 by pwk.linuxfan4 Y0 w: K7 F" e+ u
  71. 6 L( H' U4 m! E3 B- E, s. w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 V. t$ L( [$ J! G1 T" w  r8 M/ S/ I7 W

  1.   v8 `0 M" m! [& ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % s! ]" P% H. K/ j' O
  3. * z5 W) c% ^4 R9 P! T) ]0 ?
  4. # # #我们所需要# # #
    ; m  X2 i) q$ L; D  N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ D4 s! d5 K. l: I8 T( `
  6. 不会解释如何做到这一点-也有文件存在,为2 E2 g" O. T2 {9 c& l4 J& o5 e. c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 O4 n+ l* O" _; e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 N6 C- j( P# s' h/ v" k0 J# f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # \( @- m* M5 D* Q" m8 J
  10. 本地机器,这是我的MySQL安装。 0 I' N0 A6 l; ~8 f  q# |& Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: W6 H: W/ N* K- p! G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 a! Q6 C/ ^5 h& S0 {! f
  13. 数据库。 % }/ P* ~1 ]3 F9 |$ t- u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 V5 y+ {3 _' R8 J2 A; e
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ m2 h6 `) N8 C
  16. 在teamspeak论坛,如果你有兴趣。 3 D! H) V8 j( X. g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , `% I4 w  e' L, ?- ]. R$ N
  18. Borland公司使用。这个司机只能界面与客户端库; o- m( B2 E4 \+ Y! X* q! ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ P" ?$ {3 R6 v0 w. \8 u
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 k8 k9 k+ R8 r$ U& P- }
  21. " vendorlib " ,并解数据库连接。 1 W7 g, i3 \4 f7 o. X: ~: D
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' j& ?- r+ {) H2 g) ^! Q1 E

  23. 7 g" c/ ^( U  j) j/ r2 H$ a( a
  24. # # #做好工作# # # $ E9 }9 v: d& k' C/ l/ n" y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 D, S/ x9 d0 O) ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 F% J" u7 U* b0 {. g* v
  27. 结束:
    & V9 c4 ^- ~+ S
  28. ---削减这里--- ' V4 S+ f8 _$ T
  29. [ dbexpress ]
      f& C- V7 t0 i
  30. sqldir = mysql_sql 0 t9 O$ J0 j8 O" G# f
  31. drivername = MySQL中6 v! c+ E2 D; f
  32. 数据库= your_database_name_here
    4 K" L% r  I9 d% \: s/ _3 O5 \
  33. 主机= the_pc_the_mysql - server_is_on
      c3 G* Q2 I3 m+ h7 q, d9 Y1 {; A/ ]( D
  34. user_name = user_name_on_the_mysql服务器
    & P( g7 }. P) `, v% g* V
  35. 密码= password_to_go_with_above_user_name
    4 F8 d6 l+ S8 N; S! `$ g. f8 @
  36. getdriverfunc = getsqldrivermysql
    % d# O( C! W$ f% ]3 W+ \9 R+ k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 W7 c: C3 I& I7 u
  38. libraryname = path_to_libsqlmy_libary 3 c  a% C2 X5 {" P# D
  39. 积极= 1
    & v) b" f: \' e% M/ t
  40. ---削减这里---
    ; U: |) n: c' U0 m9 Q1 H. R, k5 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " G; m7 t6 _2 z2 ^/ L
  42. ---例如--- + k+ \7 |1 O. T$ Q; ~) F3 |
  43. [ dbexpress ] 4 d$ s. U: ^( s2 v9 W* h, z
  44. sqldir = mysql_sql / }6 x) y) w  o2 A' I: ]7 k
  45. drivername = MySQL中9 p' k6 ^8 `0 F& H$ N* t- a
  46. 数据库=测试
    0 j0 o3 u0 R8 w! r* A0 q
  47. 主机=本地主机
    1 q4 c. u, p' r) ^0 w
  48. user_name = testuser
    * z; T' J$ T# X7 e. J. C- u- W
  49. 密码= my_password
    1 }  P9 k% ^8 e5 J0 d# K
  50. getdriverfunc = getsqldrivermysql 5 Q" Q; ], p$ x- h9 H. R, b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . @: T5 h0 S- d! O, Y; }
  52. libraryname =. / libsqlmy.so
    4 l; B- E" L+ ]4 w+ [& C
  53. 积极= 1 : r0 q! [1 ]5 g) Q' i5 Z% |7 Q
  54. ---例如---
    , h2 ]0 K0 g, b  s; ]4 M
  55. & h9 s. c7 y3 b/ [: J
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ Q( |6 c  v" T8 @0 g& |& q8 h
  57. ---例如--- 6 P( E/ [" g( K* g2 @
  58. [ dbexpress ] " u9 C' u! _1 N$ ]* U+ L: D$ l, e
  59. sqldir = mysql_sql 1 k& s3 X' m$ e9 `
  60. drivername = MySQL中
    / C2 n/ w" c& Y
  61. 数据库=测试4 f; {# {) p* M' _( ^( V
  62. 主机= 127.0.0.1
    , T( ^4 k: }- j9 a* R8 }
  63. user_name = testuser . ?& x# |% j) u; p. J/ p! ^# K. L
  64. 密码= my_password
    ' l$ ~- L% t/ o  k6 g% I6 K, {1 ~6 n+ U
  65. getdriverfunc = getsqldrivermysql
    + L# L. |1 i8 g. U* i. a6 K9 H3 x
  66. vendorlib = libmysql.dll在" W4 |( P, [7 {( Y
  67. libraryname = dbexpmysql.dll " ?- ~) p, Q: ~
  68. 积极= 1
    8 K) F' a& o7 B) M: b
  69. ---例如---- 3 u% V5 F. S  W+ v* w
  70. -写在0 2.03.04由p wk.linuxfan
    " b) y) d. L, p8 ~  h% l1 t8 z" U
复制代码
发表于 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: e4 E/ K" A4 L, j6 C

$ D, G3 v2 {" l3 Y: qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-15 03:04 , Processed in 0.103033 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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