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

2174 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 }/ k; Y5 x* g% k3 a# r- T
' j5 ^3 V3 s  L' O! q9 Y+ r
  1. ! U8 Z  U- e8 `+ t; a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 i$ q1 w" O3 L
  3. 5 m! ~2 D; F5 C% G  Z
  4. ### What we need ###% H7 |$ m. l( R! O9 F% K" v
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 y7 J# s. U# K+ f: @" {( H
  6. will not explain how this can be done - there are documents out there for the
    7 `; P+ q- w) K% e7 m8 Y$ Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use- n1 N8 ]) l  i  c6 Q
  8. and a user account (username + password) that has the permissions to do stuff
    9 W+ t, C: g; l6 Z+ }* ]
  9. with the database. Additionally, you will need a vendor library installed on the
    ! T  ~* ?8 k& b: A$ [2 _8 _
  10. local machine, this came with my MySQL install.
    . R( s; E3 w% C4 D9 H( s
  11. These instructions will not tell you how you might transfer your data from the% p* X* _: T& I3 t5 D; L& S  N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" l; Y+ i* a7 I$ [& o
  13. database.* @) r5 v* d& Z. o/ w( c$ h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 P1 f1 S2 }$ }- @& l0 r; n
  15. the time of writing, there are still too many issues - check the current status
    + b. X! K! z) b* c. C& ?7 v8 A
  16. in the TeamSpeak forums if you are interested.
    3 V  |/ P8 [) ~1 P1 a# m  D' y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & o# h# m- _7 K' ~- s
  18. Borland was used. This driver can only interface with the client library that
    + T* G- \' q5 o: m: \' G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 r5 s, o! N! Q
  20. client library - basically all you have to do is to use a 3.x client library as , p5 y% w1 }4 A5 c
  21. "VendorLib" and a 4.x database to connect to.
      e* {  _9 D+ K$ ~& P) u  W) O( d
  22. If you need more info about dbExpress, you can contact Borland.
    5 Q* K- L0 e0 e/ i9 b% V+ U
  23. ( Q. A: D% y7 e( n
  24. ### Doing the work ###( @4 e! X: ]1 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 U* ]5 h# t. i1 f0 J( B: I
  26. the perquisites right, just open your server.ini file, and add this section at- r  e# R+ |- {' r5 X% W- M, V. J7 S) K
  27. the end:& Q7 L5 p5 H1 C! a/ U% x5 |6 Q0 X
  28. ---cut here---
    / |/ f. t& ~  c4 `2 D
  29. [DBEXPRESS]/ e8 C4 X( P7 S0 S( F* [2 a
  30. sqldir=mysql_sql( v3 t- ~: i7 h& }4 Y! ^( P
  31. Drivername=mysql
    . M1 @, e$ a3 W% ~- T
  32. Database=Your_Database_Name_Here+ X6 j" n5 F+ \
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # E" s: K" ]* {1 [! t. |% b  D/ s
  34. User_name=User_name_on_the_MySQL-Server
    * a, q) O. t) L% h6 K& h9 u
  35. Password=Password_to_go_with_above_user_name1 y" Y9 x2 a+ r9 V
  36. GetDriverFunc=getSQLDriverMYSQL
    ( W2 K% e& B# r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' x! j/ p) n% k2 q9 o# H6 a
  38. LibraryName=path_to_libsqlmy_libary
    0 |, Z: u/ X4 ~9 ]
  39. Active=1
    # T6 {. O4 x. Y" C, ]
  40. ---cut here---
    + n" B+ @0 X* L* A) H& x2 k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 u2 a1 H, a" g. f0 d- u
  42. ---example---
    * Q; U$ c+ ~/ i# e4 Q8 ]
  43. [DBEXPRESS]; C8 M; L0 ]; L: N+ f
  44. sqldir=mysql_sql4 s7 \- ~; i' D' @! U. p% @
  45. Drivername=mysql% @: l+ o9 j+ B( a
  46. Database=test  n& v/ ?/ u, O: E, l, t: Q
  47. Hostname=localhost/ T. I3 J# `. v6 K
  48. User_name=testuser$ ~) s  v  ?3 v% N; L& j
  49. Password=my_password8 ^6 H/ Z' o) H, `3 {( n0 q
  50. GetDriverFunc=getSQLDriverMYSQL3 G% C/ s: F/ T# j7 e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; z. q5 O0 Y0 t6 L* U) k
  52. LibraryName=./libsqlmy.so4 x* p5 S% P$ I
  53. Active=1. }2 ?/ \2 l3 E! q. I" h6 ~
  54. ---example---
    6 Z3 H7 V4 b% l& Q

  55. ) q* _" ~* @4 K" E
  56. On a windows box, also running the MySQL server locally, it would be:1 z; j6 b9 W, p& h7 u6 f
  57. ---example---7 ~2 Z, X$ C5 I) b1 |  t* s4 K6 J
  58. [DBEXPRESS]
    9 m: `; H5 B9 p: e% X! E
  59. sqldir=mysql_sql
    # P0 y+ ~% C1 |5 h  @
  60. Drivername=mysql# O, c" k+ r- M
  61. Database=test
    & s; V" m( C& C" H
  62. Hostname=127.0.0.11 L+ v9 l3 z# u5 V! h
  63. User_name=testuser
    ( N: S) c1 }* a! H$ k# t  o
  64. Password=my_password) ]5 {  y5 _$ y9 M/ t
  65. GetDriverFunc=getSQLDriverMYSQL
    - K1 z, p: z( l" Q% B8 V3 |
  66. VendorLib=libmysql.dll
    * ?0 H/ B5 U  ^( j! l2 s
  67. LibraryName=dbexpmysql.dll. N2 b7 @% o/ A% O# K
  68. Active=19 P- a) J  e6 Q7 ?
  69. ---example----
    : X2 N- I) ^: O9 z+ o5 _, m+ R
  70. - written 02.03.04 by pwk.linuxfan, z1 {! F, ~% h8 Q0 P  v3 m
  71. : r5 s6 Z1 F# i6 n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; M* B9 z& B) s' [8 M0 e* A
  1. / V1 A# i% T# ~$ q9 z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 }$ q/ a3 {1 {/ {, M3 E
  3. , H; X# q4 [) o) F& [! }
  4. # # #我们所需要# # # 9 {* u$ I# U' u+ m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 N" i/ [/ B' p; B, c
  6. 不会解释如何做到这一点-也有文件存在,为
    & n1 O8 V) `) H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 t% k+ w: I8 `+ r9 O& _: j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; m" Y' O0 R8 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * ?. A+ k0 _" `$ J
  10. 本地机器,这是我的MySQL安装。 - \5 f; H+ {" [% f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( s# F4 x$ q5 c7 h' \% T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 L1 h, D' j' ], s9 F
  13. 数据库。
    ! A6 R9 M7 J" W! I, J, [5 o$ \- R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' Z& A+ i7 Q/ q* I
  15. 编写本报告的时候,仍然有太多的问题-检查现状, b% X8 E5 q3 e; W1 V5 _
  16. 在teamspeak论坛,如果你有兴趣。 - b0 V# p0 _( m  y' b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ k) ]: O% `7 s! J: _, O
  18. Borland公司使用。这个司机只能界面与客户端库) x5 _$ ^& C4 \, }9 J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ D% A9 d4 F, c) i8 w' A; z  F/ n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 b0 I. A7 b) @
  21. " vendorlib " ,并解数据库连接。
    + N5 K; ~" i8 m1 p& y+ c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , F, {1 t/ F. A1 {. d2 v9 \

  23.   Y6 e% w# e9 `) i7 l8 h  q
  24. # # #做好工作# # #
    4 H) d1 Z7 L/ ?* S, q8 \0 M, A. C0 {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  g3 |/ A# J6 w( y/ a/ V( ?" l, n( Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " x; \2 i* R/ `* l4 _. U
  27. 结束:
    ) I5 H/ x; |2 U1 ^$ s
  28. ---削减这里--- ) m1 J5 W; i: x+ a2 ?
  29. [ dbexpress ] / N* O2 ~5 H4 _4 j7 F
  30. sqldir = mysql_sql ( p. g/ L. z# J
  31. drivername = MySQL中2 t: C6 a, q) z, a7 s. R  j
  32. 数据库= your_database_name_here
    . ^4 o  N: Z5 s: K- x# W6 B
  33. 主机= the_pc_the_mysql - server_is_on $ V/ t6 @, p) @8 N) d7 }8 e
  34. user_name = user_name_on_the_mysql服务器
    ) T  @6 i6 ~: O) [" a3 m9 @
  35. 密码= password_to_go_with_above_user_name , @) X9 C/ }- w& L
  36. getdriverfunc = getsqldrivermysql
    8 S) R. t1 ~1 @3 n+ |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) p; x% ]6 \8 x% w/ D
  38. libraryname = path_to_libsqlmy_libary
    $ b! M7 T! u! f  |
  39. 积极= 1
    + J4 a1 s0 y; f$ B8 B4 U
  40. ---削减这里---
    8 d: y; v9 V! e7 f8 F$ \0 Q, `# h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # x! G/ v; V4 J* {
  42. ---例如---
    % X# q% v4 d  N" y6 q9 ?+ G
  43. [ dbexpress ]
    6 W4 @7 V8 I$ Q. g6 w2 M9 r
  44. sqldir = mysql_sql ) s7 Y- U5 v+ f. {4 L' h2 S
  45. drivername = MySQL中
    * T2 R; B: M  Q& n1 x
  46. 数据库=测试8 S1 t, I, l1 r
  47. 主机=本地主机' M! Z4 }, H! ~8 V7 Q
  48. user_name = testuser : D0 _% G, A6 Q9 }0 B$ i4 ~
  49. 密码= my_password , |$ k0 ]; B' a: y
  50. getdriverfunc = getsqldrivermysql
    7 h$ y9 @. C9 T& T, z8 S- f! {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( K$ I' G, P7 u: J3 a* _
  52. libraryname =. / libsqlmy.so
    ' e3 T9 ~* A% F2 z$ f$ [' M
  53. 积极= 1
    7 v" [; R5 y7 {3 W0 q7 Y3 M
  54. ---例如---
    3 g( M; S8 e% M8 h

  55. 4 j. @. Q3 L0 p9 x7 J* J  {
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; M& y! g/ K% g; b: `3 E: V
  57. ---例如--- , M7 x& \$ c. Y8 c* f
  58. [ dbexpress ]
    9 P1 @3 [2 N& g/ j" P* d! T
  59. sqldir = mysql_sql : f2 W0 L& i6 x6 d* Y7 J4 c8 O
  60. drivername = MySQL中7 m, ~! M, ^7 C2 |
  61. 数据库=测试
    * A" P) z9 M4 t7 M2 e8 e4 e; h9 m
  62. 主机= 127.0.0.1 # A3 A4 W* h$ _1 x" \+ ~
  63. user_name = testuser ; O  V8 s2 d1 B6 \- M* t9 W$ U
  64. 密码= my_password ) G# }+ a0 z, P& M' |
  65. getdriverfunc = getsqldrivermysql
    : I. H& u' e* o/ ]: J  X2 u
  66. vendorlib = libmysql.dll在
    8 _8 V" r5 Y9 \2 i, W4 g
  67. libraryname = dbexpmysql.dll - ^# p( n# p  }$ B# U9 l
  68. 积极= 1
    . y3 z1 h. O0 Y
  69. ---例如----
    7 s7 t- ~9 p$ \( \
  70. -写在0 2.03.04由p wk.linuxfan
    # b  Y( \6 \( n' d( s: k
复制代码
发表于 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
3 q; H& _' h, ~2 g5 I% `# H
3 ?3 ?+ @7 ]  e6 p; ?: ]6 bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-12-24 20:40 , Processed in 0.122738 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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