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

2254 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % F) Q  \* x' K1 r: j  L! C
( ^6 j( ]1 ?1 I

  1. 8 @7 a/ r- p- a3 |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: o" Z2 X9 |- E- h. v) R/ M
  3. - c# X9 a- U  q4 s6 J+ z8 E2 `4 _
  4. ### What we need ###
    1 D+ `/ R2 [& R9 Y& `$ H) |
  5. Naturally, we will need a MySQL server to store the data for us, this document + z1 k, p1 E- w
  6. will not explain how this can be done - there are documents out there for the
    1 {. l) j7 a. g& D& T' E8 x* M
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 i# D1 n( n9 K" {+ ^
  8. and a user account (username + password) that has the permissions to do stuff- V3 h5 S3 L+ g8 p6 n* P
  9. with the database. Additionally, you will need a vendor library installed on the: ?/ O* Q: r! r+ H7 ~5 B+ u
  10. local machine, this came with my MySQL install.& }, X( J, X4 ^1 r# o
  11. These instructions will not tell you how you might transfer your data from the
    ( L4 H% L+ F" E6 A5 |, e; t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . \6 y; Q: @6 L) T$ g$ E" c
  13. database.4 `% Y+ C; X$ Q" {( _; N1 d; h3 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - `( ~2 Y! y9 w3 V$ ]4 ^7 ]
  15. the time of writing, there are still too many issues - check the current status: r- j0 S+ G$ f4 z2 l
  16. in the TeamSpeak forums if you are interested.: f3 y! E* g* J8 j6 W7 j0 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & A6 ?% W( ~4 i  a
  18. Borland was used. This driver can only interface with the client library that
    ) v# Q" j% T0 M: ~, p( k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 I0 R7 U# Y. R4 r" L" I
  20. client library - basically all you have to do is to use a 3.x client library as 7 t+ T+ y5 ]* k* c8 c" }
  21. "VendorLib" and a 4.x database to connect to.' Z5 s& T. K! w; {9 R3 _: N6 }
  22. If you need more info about dbExpress, you can contact Borland.+ f' R6 d* \$ M0 n, K
  23. : D8 u( Q+ ]- p9 ^
  24. ### Doing the work ###
    5 |' u' Y! d8 x3 b# Q5 J1 ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 N0 F- x1 J+ t, \% Q
  26. the perquisites right, just open your server.ini file, and add this section at
    , Y1 }' {9 Y5 b& _7 v
  27. the end:
    2 F: x" Z9 l" R3 g/ X. \' L
  28. ---cut here---
    & ~( q: Q& f) W! C0 ~9 g
  29. [DBEXPRESS]
    ' C8 o! K5 @. I
  30. sqldir=mysql_sql# q$ F! f7 B- B9 O! [; ?+ V
  31. Drivername=mysql
    - q, z' l" V2 |& I# {1 V) A
  32. Database=Your_Database_Name_Here
    7 w6 i0 G. [, U
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ _* |% \9 J$ n0 ]" v. X& u, q: I
  34. User_name=User_name_on_the_MySQL-Server( u. U% ?- k& J
  35. Password=Password_to_go_with_above_user_name
    5 a" n5 t% R6 ~! b4 N# G: `. H( S
  36. GetDriverFunc=getSQLDriverMYSQL
    & ?" o% B7 m6 E; ]2 X) p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, ^! p, J! f* `8 }9 }) m$ O
  38. LibraryName=path_to_libsqlmy_libary' q' @! h" A/ a% {% F4 x
  39. Active=1
    0 \1 _  `  i6 `) f! X
  40. ---cut here---% M* e) v9 }5 {& ^4 n
  41. In my environment (a linux box with a MySQL server running locally) I have:5 J. @/ D1 T1 l9 B! Q
  42. ---example---
    ! c1 k3 L2 Y' m& y( Z9 C) {
  43. [DBEXPRESS]  ~3 [/ n! J* y8 Q( C. W1 V
  44. sqldir=mysql_sql) M) Y: X' H) u* V: E$ x* }& O4 s
  45. Drivername=mysql  O5 N4 J5 d- W8 X# k' X# N
  46. Database=test
    # j& l4 H& L# O" n
  47. Hostname=localhost
      b' u) ]3 R  S( J
  48. User_name=testuser
    % \4 C* @+ h/ m/ `4 Y$ m. v. H
  49. Password=my_password( I/ O0 Z$ T6 r5 J5 d+ S8 P5 s
  50. GetDriverFunc=getSQLDriverMYSQL
    ; `9 b  o6 ^9 P- @6 y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( n# v7 v, z  g% B& @% F  W6 g
  52. LibraryName=./libsqlmy.so
    ' v, J" \5 }- l0 J/ K  _1 e4 M
  53. Active=1+ Y. P- k# E  _- [6 \0 `% g5 e
  54. ---example---6 t2 ^5 {1 c% _: C

  55. # [2 i1 I! e3 C+ B' o
  56. On a windows box, also running the MySQL server locally, it would be:
    # g$ j7 \% j& A0 ^
  57. ---example---
    . \6 z8 `# c3 l& @) Y
  58. [DBEXPRESS]
    8 p$ f5 Y: T; i# U  d/ {
  59. sqldir=mysql_sql
    - j" b6 Y0 }' t
  60. Drivername=mysql
    : `) O) l4 ~; k6 U/ c4 I
  61. Database=test, f  [# N; o' t0 j; U2 x) n
  62. Hostname=127.0.0.1
    + A) V1 D$ O; q* j; f& U
  63. User_name=testuser
    " x5 h5 [& n9 R5 }
  64. Password=my_password
    & w9 k3 i5 g' w9 e8 P9 W
  65. GetDriverFunc=getSQLDriverMYSQL
    0 o$ D: B9 Q# j0 `0 `6 _8 Y
  66. VendorLib=libmysql.dll+ W! {$ Z3 ?3 d% y0 [7 N3 I
  67. LibraryName=dbexpmysql.dll9 j: L2 l1 [) q, W3 W
  68. Active=10 J" D4 Z0 K: n/ [
  69. ---example----9 d+ f: c! j5 ~6 W( @0 v9 O" F* h
  70. - written 02.03.04 by pwk.linuxfan
    8 r6 p5 S4 d' g

  71. 8 Q5 a* [/ r! h  t8 j4 R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! r7 L0 h; V, Q. L1 p

  1. 4 s; O# t0 b" l8 S% T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! K- X: ^. ^. R6 M: D: K' z; A3 x

  3. 8 }$ m: K5 V: ]* j, e( ~( f
  4. # # #我们所需要# # #
    + ^  d6 k  R; c5 f* p4 l* z$ y2 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! K% Z8 O6 l( h# P( ]  ~# |
  6. 不会解释如何做到这一点-也有文件存在,为& a# E4 E/ h( Y( t1 ]: Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) z: e2 F/ m; m' X5 {- q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; m' ]" `6 g7 D0 v, {& r5 c9 ]) v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! h/ P+ a7 j9 e- I; w
  10. 本地机器,这是我的MySQL安装。
    2 u+ Q9 R$ r+ x/ r3 G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * w& D: |# [6 e' C' i) E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   ~; a$ l! s1 h% A1 J3 L& g
  13. 数据库。 1 Z" w* C/ U. X9 |* s* t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' H2 t. ~" T3 O2 K/ l% t
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . b  ?) t- d) [7 S/ {1 D, ?, g
  16. 在teamspeak论坛,如果你有兴趣。 0 l8 x2 W- e( W9 M' t( C+ Z8 D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' {8 h8 Z7 q# t( z& V0 {' Y/ l
  18. Borland公司使用。这个司机只能界面与客户端库. @3 k" |$ e3 M0 h! K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % h8 M* [; I* t" L; G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( t9 Y; a! \$ @1 m" f
  21. " vendorlib " ,并解数据库连接。 * n" ~7 z! q  O. c+ I, B+ ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! \9 l. x) m5 B+ u% [
  23. 3 s/ n( ^$ t9 q! l& g' g
  24. # # #做好工作# # # ! e3 k* ]+ q# Y$ v, \7 r5 p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! H  R' n& c9 d  l4 H; o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 G( [8 q; C1 s+ o4 f9 a
  27. 结束: ( O% X' I5 g1 k% k7 j: r
  28. ---削减这里---
      M7 F9 t3 h: K- H% ?  J9 I) T
  29. [ dbexpress ] 0 }+ F; T: w$ D2 Z% S4 M
  30. sqldir = mysql_sql ; F7 X% V+ q6 l' V8 N+ h
  31. drivername = MySQL中
    $ k! D* v# ~4 B) S$ i- ^
  32. 数据库= your_database_name_here 3 N& s/ B" \  i7 S! Y
  33. 主机= the_pc_the_mysql - server_is_on
    8 r# x: x8 U/ n0 |3 T
  34. user_name = user_name_on_the_mysql服务器
    3 S4 D/ D0 A- {& }. m
  35. 密码= password_to_go_with_above_user_name 8 V8 m0 }$ a, Y" D. N
  36. getdriverfunc = getsqldrivermysql
    2 T0 P, `: B; t- o* a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " f) H) Z2 x- u5 Z6 I- ^4 S  s
  38. libraryname = path_to_libsqlmy_libary 5 M) n% A2 X8 g* ]. Q2 d! p  R! P- g
  39. 积极= 1 " k0 D5 c  W; ~1 O8 h# E! p$ Q
  40. ---削减这里---
      I& q& f6 L9 M4 w* r3 E* E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 D9 I0 ~; j1 r. b7 N$ w
  42. ---例如---
    0 q4 z% f0 N9 V4 Z8 L
  43. [ dbexpress ] ! N# k) \& a3 C8 ?5 c9 W
  44. sqldir = mysql_sql
    ) k6 W  k: p9 N* h
  45. drivername = MySQL中% o! }% {% u% |, ]& b; M
  46. 数据库=测试
    5 [6 E* w) ~* g2 Q* m* j
  47. 主机=本地主机
    / |* r$ K  x' t2 B7 Y9 E( ]9 ^
  48. user_name = testuser
    # m% Y# m/ V1 c7 M  D5 `  b
  49. 密码= my_password   h# u2 C, R% N
  50. getdriverfunc = getsqldrivermysql
    2 Y2 Y# q0 l4 w! H8 I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % @2 Z( {- v1 Y. I2 \
  52. libraryname =. / libsqlmy.so 1 |) c' W, s6 v& o' z8 i
  53. 积极= 1
    ; X& s2 z3 M, ~$ g& f
  54. ---例如---
    9 c' Q7 K( B$ M7 y
  55. 1 x0 e4 D. s/ e( l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 Q( J/ I% X& ~3 v
  57. ---例如---
    : u& d% y2 V7 N
  58. [ dbexpress ]
    - j% w( z( {. G  i
  59. sqldir = mysql_sql 3 {" v1 S  \: b& u0 q" z
  60. drivername = MySQL中$ ~/ z! {/ S. b; p2 C
  61. 数据库=测试7 B5 V7 ]; ^) t% K; O4 m
  62. 主机= 127.0.0.1   d( L4 l2 M  t: Y8 d' O
  63. user_name = testuser
    % W3 B8 V2 G" c8 l
  64. 密码= my_password ! M# M( b) m$ B9 U+ ~
  65. getdriverfunc = getsqldrivermysql
    ' t6 V, R% I" J, t7 g, k" J" n
  66. vendorlib = libmysql.dll在
    ' P1 }- x0 b9 r" o) _  A1 I
  67. libraryname = dbexpmysql.dll
    ; S4 t6 f, f& U/ ?
  68. 积极= 1   ?8 P, ~! @8 B# `9 }, r
  69. ---例如---- 9 Q6 b) }7 e4 Y: v% A
  70. -写在0 2.03.04由p wk.linuxfan  s& B& x% F5 w0 a/ i# S" o% M
复制代码
发表于 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
- d4 u0 A" ]) [. \7 t2 I) y8 B  Y; Y/ d; f0 }1 C% V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-1 16:57 , Processed in 0.093512 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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