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

3102 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 T% L6 o2 B/ x. {' N. o  j) [
% y4 X! ~  e  |2 w2 y
  1. 9 H8 i$ D) |" l" q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + a: X" S2 n" m  F( n: b4 J; ?
  3. 0 K; o' K) ^. \8 c/ R8 I
  4. ### What we need ###- A1 I" j* ^' B8 H1 Z
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 g9 ?5 S$ M, \* q! u5 r. U# Y( t
  6. will not explain how this can be done - there are documents out there for the
    5 p" u: ~' r$ j0 d  @3 a; c4 Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use' C- ~! x. W# k* E) D
  8. and a user account (username + password) that has the permissions to do stuff
    " [: R6 d% C* F2 q( N& I! W' i
  9. with the database. Additionally, you will need a vendor library installed on the" B3 X9 a: p0 Y( v4 Y
  10. local machine, this came with my MySQL install.
    & U* b% F) H  n" x2 E
  11. These instructions will not tell you how you might transfer your data from the7 ]* c5 D/ f3 _- F: S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' d8 k$ p3 k+ K0 H3 w  u; t
  13. database.0 s. q. i( h+ L
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 u( y) b* P+ t2 _( f: e; G
  15. the time of writing, there are still too many issues - check the current status
    ; a% _8 g5 u5 v9 g0 b
  16. in the TeamSpeak forums if you are interested.+ S$ S* v' X6 Q! u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + B! Q3 F7 p9 Z4 t8 X; m2 N6 f& _
  18. Borland was used. This driver can only interface with the client library that
    : n9 P( a( P% `% L/ D3 J6 u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 Y/ S3 h, |. }. ~2 P4 x
  20. client library - basically all you have to do is to use a 3.x client library as 9 q$ C+ A& G) o$ U
  21. "VendorLib" and a 4.x database to connect to.
    / j* ?7 [! e9 T; a; \, }6 R
  22. If you need more info about dbExpress, you can contact Borland.. {1 ~: X9 g5 s( Y
  23. 4 F! G3 ]8 r6 L0 A$ r9 u' _
  24. ### Doing the work ###8 n# [. E4 h( k: @: \+ Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! D! C+ O0 a7 B4 c8 {9 `
  26. the perquisites right, just open your server.ini file, and add this section at/ {0 ]& d8 q3 y" z) |& Y- ?5 D
  27. the end:9 h' w" q: }6 w" s! l
  28. ---cut here---
    ' t6 c& R; i2 [7 f! n( e/ D
  29. [DBEXPRESS]
    * F$ Y0 r) l/ ^1 [3 }- P* V
  30. sqldir=mysql_sql/ S! d! \! l% m& i: w
  31. Drivername=mysql
    & X9 {1 m* n3 L
  32. Database=Your_Database_Name_Here  N7 Z* _0 Q  c. I" e3 x3 o, m) M
  33. Hostname=The_PC_the_MySQL-Server_is_on2 g& `$ q  ]4 l9 h
  34. User_name=User_name_on_the_MySQL-Server2 |- r" W3 R* N. g$ L' A/ e8 A
  35. Password=Password_to_go_with_above_user_name
    8 m# i7 d* `% x
  36. GetDriverFunc=getSQLDriverMYSQL
    . l5 M- P$ `* P  p' [, J6 _& M  e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. l6 h: M1 x5 I0 v- K/ O
  38. LibraryName=path_to_libsqlmy_libary8 Q( b' B6 L6 B( T. i" V) ~) q
  39. Active=1( z  |; w3 E# Q0 E/ m4 `8 d
  40. ---cut here---
    ) C/ j  G4 O) S# y; E
  41. In my environment (a linux box with a MySQL server running locally) I have:  H; S2 l+ [4 n9 m0 L1 M2 y' f
  42. ---example---
    ( z7 x- n4 V/ f9 x* J7 Z
  43. [DBEXPRESS]' b4 b+ D3 f8 f: U6 k
  44. sqldir=mysql_sql, I* d6 m, E- S. z) S5 H0 h
  45. Drivername=mysql
    & f6 i& [, X/ _* W: Z2 k
  46. Database=test
    " u: H0 \! D& d) M* ?( `
  47. Hostname=localhost
    " s2 E! m, m+ X& l, p- K
  48. User_name=testuser
    ' s: r$ c" [: J' d
  49. Password=my_password
    * K/ Y4 {- Q* f
  50. GetDriverFunc=getSQLDriverMYSQL! v9 E9 f* w  q0 L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' o; i9 L! x' r5 ~# J
  52. LibraryName=./libsqlmy.so, ^9 Y" G0 w/ n9 H: W1 K
  53. Active=1% k( ^2 j& [. O
  54. ---example---" L- x/ z4 _- J1 u9 ?" i

  55. 9 v- Z! h5 X9 P2 Z' f% w, _
  56. On a windows box, also running the MySQL server locally, it would be:
      n! C  J. L( W. A  H* y9 z* m! r
  57. ---example---
    3 x" @* q; r" R) v, |
  58. [DBEXPRESS]
    * X7 M+ g9 ~( b
  59. sqldir=mysql_sql
    , T% Z6 ?( [2 U6 m( ?0 f
  60. Drivername=mysql; R+ K* z1 |) B
  61. Database=test. F3 ?  I  T5 v8 m6 D
  62. Hostname=127.0.0.1# G* H: ~" c  ]6 s
  63. User_name=testuser
    + {* X5 t/ ^! G
  64. Password=my_password9 ]2 w7 o. R: U/ H
  65. GetDriverFunc=getSQLDriverMYSQL
    6 {9 h) W4 I$ L) `- y5 {" S: J% r
  66. VendorLib=libmysql.dll5 b* R3 @* \. `1 _- h
  67. LibraryName=dbexpmysql.dll
    . Z* R' v3 w1 u2 g: L' G6 r5 v0 ]
  68. Active=1' L4 N, W! Y1 K: {" m3 |2 J2 A
  69. ---example----
    + q4 F7 A3 T/ Z1 N' L9 e4 \
  70. - written 02.03.04 by pwk.linuxfan
    / Q) R# e7 J8 T3 c: C

  71. ( t: x' d5 X: C7 T+ @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- F) P' b# \+ Y9 @! g0 K

  1. " E3 O: o0 \+ M8 u, x6 ]5 i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ O) M" J# a- [. S0 S; \4 ~  s

  3. ; ~  H" {! h4 E( F" l7 @9 N& I$ x
  4. # # #我们所需要# # #
    : L% i4 S: P  o& k: N8 y+ B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 K1 v9 _. @/ A$ H  B; w4 l  V
  6. 不会解释如何做到这一点-也有文件存在,为
    0 Z! r5 K( i1 u. S0 a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, J+ b) M# z5 B* f3 {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 W! {6 q* n' ^2 [# _# \; z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 M5 i- s* v9 |8 m& u
  10. 本地机器,这是我的MySQL安装。 / v; |3 e& z. b1 r3 I( g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ ~5 ?' g$ A0 {2 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ {- r! D7 Y) k1 C% j" _+ W* G7 X: b3 W
  13. 数据库。 3 Y" n7 D' m1 Q! y3 ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ h6 f+ Z$ d7 b. b
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . K! D/ {2 {. X. U4 N: D
  16. 在teamspeak论坛,如果你有兴趣。 ' g2 z. `: T; i( {  ^+ A. h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& m$ b! |: }* w& p
  18. Borland公司使用。这个司机只能界面与客户端库
    " r) V* Z1 v; S: W' K% V8 u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 H/ v$ i% t0 }6 d+ O+ V+ v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& O) e' X$ ?; t5 Y6 k1 l, }1 R8 g
  21. " vendorlib " ,并解数据库连接。
    " Z. y- l# U# K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : V5 z1 E5 J8 \' b

  23. 0 d! C" I, Q0 x% h& G  t) h
  24. # # #做好工作# # # 4 Q8 B& T! X2 m. `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" m& D6 U( S8 M/ A2 I" x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ _  E! h( G8 K( v& H$ T
  27. 结束:
    . _# z/ [5 l7 q2 ~
  28. ---削减这里---
    $ K+ c; e, M& e) V
  29. [ dbexpress ]
    # N& g7 T# C$ M: W
  30. sqldir = mysql_sql 1 [6 d/ i/ a( u
  31. drivername = MySQL中' `4 P7 c6 e' t) x8 {) s9 t: u
  32. 数据库= your_database_name_here
    # o. \1 Y) A! x
  33. 主机= the_pc_the_mysql - server_is_on ( G+ v- x. ~1 G" Z8 f; n3 _
  34. user_name = user_name_on_the_mysql服务器* q& w! j' U7 f3 H3 u% Z! U
  35. 密码= password_to_go_with_above_user_name 5 R. w% V: t: Y  z) |+ A. G3 W& ]
  36. getdriverfunc = getsqldrivermysql $ [0 y' O  R- f' I: P0 b0 w/ g3 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 K8 w2 i6 S# T" s. T+ x" m; u
  38. libraryname = path_to_libsqlmy_libary & W" |- p3 ?; Z  I9 T9 I
  39. 积极= 1 + K; M* q" _# A& {4 G
  40. ---削减这里---
    * M4 y" N, m5 n4 Z. H( L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . {9 z$ `8 N  [+ o- U
  42. ---例如---
    ; \; S' c: r, c" @# p5 I6 ?
  43. [ dbexpress ]
    & B" [) O7 T9 M! F4 o
  44. sqldir = mysql_sql
    5 [2 D$ Z" @' a/ @5 F
  45. drivername = MySQL中+ R" N; ?. c; ^. E( @+ L! [% O
  46. 数据库=测试
    . h2 S' o( M% c7 t
  47. 主机=本地主机
    : i. e5 r4 K' I& A5 d
  48. user_name = testuser
    6 J' [) d% F$ V; A% S
  49. 密码= my_password & Z8 d5 {2 ~- i4 ?. ]# ^
  50. getdriverfunc = getsqldrivermysql / i: C: D2 |( g0 u6 g; x! f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - i: n/ T! N) V3 L! U
  52. libraryname =. / libsqlmy.so 4 v2 q7 o. `- Y! ?  @$ y  m$ s: K
  53. 积极= 1
    ' C8 I" f# |: z9 R& s) K% \- Q+ f
  54. ---例如---
    # |4 I5 N1 b' c5 ?6 e
  55. 6 T- @% {9 P& F6 ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # N* S2 M* z* t7 a
  57. ---例如--- # f& C' k3 t) g5 a1 }% W5 J) n' o
  58. [ dbexpress ]
    8 l( X# o+ A3 A
  59. sqldir = mysql_sql 9 O8 B  n1 a/ }1 s
  60. drivername = MySQL中# `' k/ L, V  J* U! a
  61. 数据库=测试: i1 A9 J2 ?6 ?/ ?7 M0 V
  62. 主机= 127.0.0.1
    1 U9 r3 z$ ?# f" u& J* z
  63. user_name = testuser
    1 Z0 i0 U* o0 |1 t
  64. 密码= my_password 4 k7 e: g/ F( f" Q" i$ \0 k
  65. getdriverfunc = getsqldrivermysql 7 B( I7 n/ Q1 h6 `. M7 S0 B
  66. vendorlib = libmysql.dll在
    7 _5 r$ h, L4 P9 [" J. U
  67. libraryname = dbexpmysql.dll : q! p4 F( `3 e/ n. n* T
  68. 积极= 1 " K; x# j0 S+ a# C
  69. ---例如---- 5 e- T0 {- M7 E
  70. -写在0 2.03.04由p wk.linuxfan' |9 O! `( l. S# {2 H8 w
复制代码
发表于 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
/ j8 x: k/ e+ r3 b
3 \/ c0 l! [6 a1 Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-2 12:20 , Processed in 0.117683 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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