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

2380 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, Q  O- u& V! _9 `5 h% R8 M& U1 g- D1 q: b  Y
  1. 4 a4 B9 K/ B- n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 C* |- N( L( ?# u- T! G3 f" d3 b$ `# Y7 k
  3. ' I7 W. o& X6 p$ \' j, m+ A
  4. ### What we need ###/ }+ ~8 x7 B4 K6 O3 u6 b
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 K) l7 h, I' B2 a& X
  6. will not explain how this can be done - there are documents out there for the
    $ L! w4 p5 s2 m. W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " f) l5 \6 Z) z; y7 U6 f
  8. and a user account (username + password) that has the permissions to do stuff
    * o" j9 @6 L' {; X) k6 a
  9. with the database. Additionally, you will need a vendor library installed on the
    & P! W! H* }  H+ H# ]6 A
  10. local machine, this came with my MySQL install.4 ?2 E! v& K9 K: q
  11. These instructions will not tell you how you might transfer your data from the" a- m# ~6 d1 @) t5 Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 z' y1 i' U$ ~9 E9 f, R! F6 L) g
  13. database.
    3 j1 K( _3 p: `0 R4 V
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 x- Y3 }' c: Q! ~( C! G& ?
  15. the time of writing, there are still too many issues - check the current status' K& S" r/ t% m9 Z" C$ ^
  16. in the TeamSpeak forums if you are interested.) |7 v' q7 Q$ G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 v& ~8 _& V+ O& r9 O4 u
  18. Borland was used. This driver can only interface with the client library that
    / ^- x$ P; f9 r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 K0 [6 N: M$ R' h2 x
  20. client library - basically all you have to do is to use a 3.x client library as
    9 Y  O! ^  L! |3 F; k- @6 [. v, q4 e
  21. "VendorLib" and a 4.x database to connect to.
    : c" h) h5 N3 m
  22. If you need more info about dbExpress, you can contact Borland.# T8 Y- [& c2 R$ S- y
  23. 9 E! ~: a" @/ m7 k, X
  24. ### Doing the work ###
    7 _' S( E9 |2 f$ Z4 S, {6 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ a: v3 x8 C/ r5 x' r; i6 U% q
  26. the perquisites right, just open your server.ini file, and add this section at
    3 S! K, D8 h; X! m! m; V
  27. the end:1 Y3 A5 T/ ]0 k  i' M
  28. ---cut here---# Z/ a5 P( f0 z
  29. [DBEXPRESS]& y9 I1 [; e9 Q8 p) ~1 w1 g
  30. sqldir=mysql_sql+ [8 X' h1 J4 ?; Q% |( s- t
  31. Drivername=mysql
    ) P9 V9 F/ p3 d! l9 P8 L9 ^; b
  32. Database=Your_Database_Name_Here; N, H7 B- l  d! Z8 V/ u
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - F3 @4 j7 ^" L/ {8 i) o+ j
  34. User_name=User_name_on_the_MySQL-Server
    1 l3 K% {5 Z2 t5 {6 B3 e3 ?
  35. Password=Password_to_go_with_above_user_name. G2 I) N) }+ K  x2 t; g
  36. GetDriverFunc=getSQLDriverMYSQL9 {* _, u" x1 j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 U* B3 I3 V5 ]* F* h
  38. LibraryName=path_to_libsqlmy_libary
    3 K! N, k5 f" X0 s  m9 Y
  39. Active=1
    ! C8 Q* y& Z, G8 _; P6 V
  40. ---cut here---  G8 b' B% W. P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / j! z7 E$ G3 Q
  42. ---example---
    + V* A: ?6 d, I6 l% R/ w
  43. [DBEXPRESS]5 P% p% w2 r' A1 k8 O6 r2 R
  44. sqldir=mysql_sql5 R; U2 |3 o0 w2 f$ u' R3 }- y  g
  45. Drivername=mysql" I- m$ i  X0 ]9 @9 G+ Y2 O
  46. Database=test" k5 L5 ~" q2 A9 D* c
  47. Hostname=localhost
    0 @/ F& {4 m1 N8 M7 n& `
  48. User_name=testuser  x! Q# K/ {) o4 M' J7 C+ q
  49. Password=my_password
    : w  }9 h9 s4 {! i; W
  50. GetDriverFunc=getSQLDriverMYSQL, n) Q7 d. A6 g1 m' m  K7 _, \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 C( K3 f/ L, n2 {) Z1 J: F
  52. LibraryName=./libsqlmy.so# E5 o1 m, ]- n) t5 U2 R/ b! @" {
  53. Active=1- P! ]% s3 o8 l( \7 G
  54. ---example---
    ) Z0 |7 V+ R6 d5 b' n4 {- f: s

  55. " L8 O8 t* {  `* f5 B3 W
  56. On a windows box, also running the MySQL server locally, it would be:; Q* z4 x& M, d
  57. ---example---
      X7 u' L) X9 a$ A' Z% Z4 x
  58. [DBEXPRESS]* D! T; o) F1 |& s8 p2 s8 R$ ~
  59. sqldir=mysql_sql
    " H7 z, o! d2 z
  60. Drivername=mysql0 g2 ~+ E7 P1 f7 U7 O# o7 a1 c
  61. Database=test2 W3 P- W7 P9 ?' v
  62. Hostname=127.0.0.1
    2 S7 C/ h7 g5 ~( d. S" p: Q3 ]
  63. User_name=testuser
    4 ?) G4 X* O& A7 R4 ^% ?
  64. Password=my_password
    + d' x, Y5 ~, S
  65. GetDriverFunc=getSQLDriverMYSQL
    % w" Z2 |0 i, y/ K3 M) e& X$ t
  66. VendorLib=libmysql.dll
    2 t6 s. t# T7 d+ R8 V# j$ a3 [/ ?; S
  67. LibraryName=dbexpmysql.dll0 I/ l6 N7 [" W4 H8 _
  68. Active=1
    * c: Z& e; f% A  `  e: m
  69. ---example----8 J5 G- W$ J2 L2 I0 `" B
  70. - written 02.03.04 by pwk.linuxfan
    8 W" o$ v( A! _
  71. & M2 m5 C; C% g/ b: H. s; A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) i7 Z; U7 B5 s) x% o6 w6 N
  1. ; q4 e; O/ w/ r5 F0 j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; Q$ a0 W! C$ i% V, d- K

  3. - o* J! u1 i, c. x- E
  4. # # #我们所需要# # #
    * V/ P- K1 a% v+ t$ ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 e& p( O2 d+ N; p' X9 w
  6. 不会解释如何做到这一点-也有文件存在,为
    % x9 X% s0 w3 e  s: G  M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & k9 C& s) B0 }: Y( F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ ^. h: H/ u# J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 q: |) q; y9 t8 |8 G4 a$ `& q2 H
  10. 本地机器,这是我的MySQL安装。 0 B- O& y- b  J! ?, n# L& ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 p) |3 @/ S' @: x7 Q4 \% t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " B, F, j1 \4 {* c+ d/ `. d8 H7 i
  13. 数据库。 # a) s& A1 R% F* r* e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 a6 r: z4 H$ Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状  C/ C8 D  J: H0 I6 A
  16. 在teamspeak论坛,如果你有兴趣。 2 X8 h# Q- }1 X- \: @6 l1 l+ C8 e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" @4 W6 v$ X. S2 z3 K0 Q
  18. Borland公司使用。这个司机只能界面与客户端库
    / S( k$ O* M, B1 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 b, m6 t+ M! ?& d8 }* Z3 d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% @/ f; ]7 Y  Y6 c  A* [! ^- P
  21. " vendorlib " ,并解数据库连接。 0 P# [: K" W, C1 V1 x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 e+ i( F6 u4 B9 k: z* s' F/ V

  23. ' g( F: V/ Q7 n* O
  24. # # #做好工作# # #
    8 ~# T3 M7 E8 i, _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! n) A7 f' M$ z6 w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) Z$ V/ ^7 C8 N3 r
  27. 结束:
    * }, h8 x# n. K
  28. ---削减这里---
    5 ~% N8 e+ n! d4 o
  29. [ dbexpress ] / _( u4 s4 k. x2 d8 ?
  30. sqldir = mysql_sql
    : p% c2 ]( n4 O/ O2 M
  31. drivername = MySQL中% j6 X0 _$ g0 n+ L$ p+ B  a
  32. 数据库= your_database_name_here
    ! N/ O& O+ L( _# p8 M
  33. 主机= the_pc_the_mysql - server_is_on , I1 O; `% h' A  P5 V
  34. user_name = user_name_on_the_mysql服务器; ?6 E) Z8 s8 b/ j# B
  35. 密码= password_to_go_with_above_user_name 3 I- A% d% N+ u6 `$ x( A8 e2 ]
  36. getdriverfunc = getsqldrivermysql
    9 m/ y, A+ a" z7 {; O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 h1 N4 p' b! b
  38. libraryname = path_to_libsqlmy_libary 0 Q! d- c% k2 y6 Q" w- Y
  39. 积极= 1
    / ?8 i; I. A) u
  40. ---削减这里---
    0 G& W  y; N7 X% z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " l9 B! w: e" F) [) S
  42. ---例如---
    1 C' Y3 p7 p7 V8 T+ J7 j) \
  43. [ dbexpress ] 1 P$ N6 e. n. Z* f( l
  44. sqldir = mysql_sql * @9 i( _8 q, m2 o( b
  45. drivername = MySQL中: c! x; V! M' _) r5 o
  46. 数据库=测试
    4 c, T# {( j  H$ T7 u
  47. 主机=本地主机
    7 M5 h3 q8 q9 g0 d' R
  48. user_name = testuser
    + j/ j+ I1 n* t& X
  49. 密码= my_password - F2 V( j' V3 w" }* c5 b6 p
  50. getdriverfunc = getsqldrivermysql
    ' f" z+ N' u4 u* r# Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( Z1 K: q! M* m/ u
  52. libraryname =. / libsqlmy.so 2 ^; P% h  w1 H2 q- e
  53. 积极= 1 7 b* c5 g' i1 N5 Z
  54. ---例如--- 6 c- u! c) g( f, n$ Q% p
  55. 0 G5 h: X  R/ Q- X, G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 {2 B9 |9 m) d4 k# ?) {  w
  57. ---例如--- 3 k6 L% ~$ N- N+ C* X
  58. [ dbexpress ] : k  e% u2 Y+ I" M
  59. sqldir = mysql_sql 1 Z- r' `1 q, G# N7 v3 f
  60. drivername = MySQL中1 A, Z! Q! B! a1 C2 J8 L
  61. 数据库=测试
    8 i: a5 a7 ~2 L- I% d; `) X# B
  62. 主机= 127.0.0.1
    $ G) z; \) P; Y# V: D; ?/ p9 l+ n
  63. user_name = testuser 4 s) }/ Z' ?( j. K
  64. 密码= my_password
    2 J3 w$ f5 e) L2 Q4 i1 L
  65. getdriverfunc = getsqldrivermysql : [; t3 `' q  L. y+ |5 u
  66. vendorlib = libmysql.dll在7 R/ J- x8 y# H& K/ ~. K
  67. libraryname = dbexpmysql.dll $ i9 S1 o, x6 m+ Q8 }7 f5 v; D2 v
  68. 积极= 1 8 s0 J# y6 O+ W7 `4 n
  69. ---例如----
    ; J. P: j+ s& c- n" d
  70. -写在0 2.03.04由p wk.linuxfan
    5 {6 k) ]! P* T1 v: k$ w# v. Z9 c
复制代码
发表于 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
& k& s" D- q; j0 K4 [- D' T: g3 `# z6 v* f
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-12 16:07 , Processed in 0.096011 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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