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

2677 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - Q5 ^+ O1 T% L9 Y2 |8 o9 |

; {* K# U7 G/ a: A2 A, a* R4 p
  1. # @; h7 g9 L+ j, A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! q2 ^* j+ }+ ]% L0 q
  3. ( v& ~$ n* y  p" H: }, s3 J9 {. A
  4. ### What we need ###
    " r' X' i: _) n  K# v+ h% w) N
  5. Naturally, we will need a MySQL server to store the data for us, this document ( q5 F% x$ k. T% Y* I
  6. will not explain how this can be done - there are documents out there for the . o/ ?% V1 N2 T, E8 b
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 a9 k7 j0 r: Z/ }0 z
  8. and a user account (username + password) that has the permissions to do stuff
    4 i8 B) t: ]/ `
  9. with the database. Additionally, you will need a vendor library installed on the9 F- M/ b  {( K7 K! e# K
  10. local machine, this came with my MySQL install.
    4 V: G1 v' u: \
  11. These instructions will not tell you how you might transfer your data from the/ u; W* [$ ^% G8 R; Y$ ]1 X( x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  B; n9 {; L6 m9 [
  13. database.
    4 H* y4 O- p3 R4 \  {; N* G# s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + w' {; h; U8 M  L
  15. the time of writing, there are still too many issues - check the current status
    % `3 y( z- R  U. y: D
  16. in the TeamSpeak forums if you are interested.
    7 }6 N/ S$ z6 y& H7 E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) \) q& X0 n: I+ {
  18. Borland was used. This driver can only interface with the client library that
      ]" M+ F2 Q. F  S& ~# d6 \4 |/ s+ W" o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' ~# @- M8 _  X1 E
  20. client library - basically all you have to do is to use a 3.x client library as 6 \2 `2 V% i% f9 s( y9 u" j
  21. "VendorLib" and a 4.x database to connect to.
    + b. ^1 c: m1 M) g% @
  22. If you need more info about dbExpress, you can contact Borland.
    / |0 ]7 K+ ~, q/ @/ p( V( ]6 m/ L

  23. 5 K; f% r3 H0 v$ i5 o
  24. ### Doing the work ###
    / `. ^# p* F& }8 p+ a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . r6 Y" \* H9 \- F, s' q
  26. the perquisites right, just open your server.ini file, and add this section at7 V* H+ w! C8 I+ N! A
  27. the end:
    ) \! W9 h( B' x
  28. ---cut here---
    ! x" q2 E% s& ~$ ?1 [* V2 g
  29. [DBEXPRESS]4 V" t' f6 k% F. C6 u, l% ^
  30. sqldir=mysql_sql
    + M# I) n9 O3 ]( G" @4 d
  31. Drivername=mysql
    % W6 \5 \3 z! H- q# C9 S
  32. Database=Your_Database_Name_Here- Q9 Q5 e6 g0 z/ O% R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * ^+ c2 \/ x8 E/ N0 e& Z
  34. User_name=User_name_on_the_MySQL-Server
    $ V8 Y! i5 C& }
  35. Password=Password_to_go_with_above_user_name
    7 B! ]: K2 K( V' M5 Z
  36. GetDriverFunc=getSQLDriverMYSQL5 M2 |- `# r  V, x( x& D5 Y; W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ @% T6 L" C) C5 Q5 s/ [6 D4 ~
  38. LibraryName=path_to_libsqlmy_libary: C3 c1 h( m4 Z. t
  39. Active=1. ^& ?/ Y, s( V3 f4 \9 Z: K& {
  40. ---cut here---
    6 A0 e3 q( Z9 ]: E0 y/ }
  41. In my environment (a linux box with a MySQL server running locally) I have:5 D) T, t* K9 ~; z4 s
  42. ---example---
    $ [, Z9 c2 w4 ^: y% a0 h- i
  43. [DBEXPRESS]5 Z! \9 [- ^2 {
  44. sqldir=mysql_sql* N* t: ~) C) T2 v
  45. Drivername=mysql
    4 s  i' l, ]4 _6 `- Q
  46. Database=test
    + Q, P- F# @7 m3 T. P8 [
  47. Hostname=localhost
    8 ]9 L. _  j$ ]
  48. User_name=testuser: H: c) v7 \3 K7 F8 p; `/ ?- l
  49. Password=my_password3 n9 R) J! u# W! x
  50. GetDriverFunc=getSQLDriverMYSQL
    / @+ a4 e7 {2 t/ M9 \7 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& U( G3 ]( S# t# {5 H# K
  52. LibraryName=./libsqlmy.so
    7 }( W' s' w8 f5 R5 M4 N* A
  53. Active=1
    # k, ^2 L1 S/ l' x' C/ {
  54. ---example---
    ! {  U# {! f- F9 x! N# |3 y

  55. $ j: [; ^+ H' d9 N9 Z* G2 k
  56. On a windows box, also running the MySQL server locally, it would be:% v/ |$ g4 [7 z( m( p+ \9 I
  57. ---example---
    " j* A% r0 B- S
  58. [DBEXPRESS]5 u7 l* s6 @$ f% @
  59. sqldir=mysql_sql& x/ x' x5 R/ i/ p
  60. Drivername=mysql
    + q+ x4 d' {6 p) O8 e% s6 T
  61. Database=test
    / J* t( h- @1 B* B; L* f
  62. Hostname=127.0.0.1
    / X0 I9 [: e4 X/ m; O
  63. User_name=testuser) H8 r& b" R- P/ g
  64. Password=my_password- j  F8 j5 x0 w- C8 r  J
  65. GetDriverFunc=getSQLDriverMYSQL1 G* C$ c5 [& P# L0 T% \
  66. VendorLib=libmysql.dll/ d' ?" |6 z; {$ ^1 X
  67. LibraryName=dbexpmysql.dll
    1 {8 |' D2 g. `' D. K# h
  68. Active=1
    8 d9 a/ E5 ~0 X; k, \" s
  69. ---example----( d7 H4 c3 d7 D8 X( \7 @( q
  70. - written 02.03.04 by pwk.linuxfan
    * I/ g6 @5 V1 P  w
  71. 5 j# @! |5 U5 d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ R, j7 K$ L$ E1 @
  1. 3 p/ [4 V2 U0 r/ h; C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 y- R( ^9 c: W- ~6 c4 x2 _

  3. + v7 @- C2 S( N- H1 h; i: j
  4. # # #我们所需要# # # # E" `$ U3 Q, ~; X" Q9 U6 w; v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& m8 j& J/ Y* R) p# [- t& Q- M
  6. 不会解释如何做到这一点-也有文件存在,为
    5 F5 a. c% j* z/ |, B8 K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* {6 G8 j/ T) k" u4 Z  I# ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + R8 x: u, R  {6 y+ u- ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : ?% G3 `# i, k
  10. 本地机器,这是我的MySQL安装。 : u; E. y( q" t- {1 a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 c1 `8 z5 A# d5 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + f$ }! j/ z2 J7 |
  13. 数据库。
    4 L0 ?5 {! F. \% |* O1 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * H9 K( k) |2 \( `/ k% C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 W5 ^: J4 \+ u1 k1 R( `$ K1 Y" C/ c
  16. 在teamspeak论坛,如果你有兴趣。
    + i" V: v9 \. \: w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      N1 s( {9 E/ l- e8 l1 q" N% E
  18. Borland公司使用。这个司机只能界面与客户端库' [2 j! @- l+ W$ K+ J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / U. |& Q# f% [1 l: m# T% ]& T! C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. e# ~( Q1 c; A1 n
  21. " vendorlib " ,并解数据库连接。
    ' C8 Y7 h: d; B) D1 P- y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' a8 U4 y$ S2 a, R; y, Z) B
  23. 4 }' y1 \- r4 ^, n6 d4 f. ?
  24. # # #做好工作# # #
    ! r; {' u$ _, h/ b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 T) r8 T  s! J5 T9 m+ J* V$ q0 K6 p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 p- g0 q. P& Q4 ]
  27. 结束: 5 i  @$ e. s, D6 R, C% ^- F
  28. ---削减这里--- + G3 M7 k3 T- A8 o, h5 z$ v
  29. [ dbexpress ] 5 q3 h) F/ b7 [" i5 p! x
  30. sqldir = mysql_sql # o3 R+ C4 i. X2 M6 ~
  31. drivername = MySQL中
    , c# e- a3 {9 F4 ^' C; @
  32. 数据库= your_database_name_here
    ' J$ j% f9 x) T6 Q/ _: Y: \3 R; W' y
  33. 主机= the_pc_the_mysql - server_is_on ' J7 f- q; e0 H* F) M4 j
  34. user_name = user_name_on_the_mysql服务器
    2 d4 q' W7 Y/ J6 C" [3 B
  35. 密码= password_to_go_with_above_user_name 4 C4 b. @. O: p9 }5 O. o" G
  36. getdriverfunc = getsqldrivermysql
    " c- ?. b0 b7 \" f8 ^/ w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) a7 M5 c0 A4 F0 U+ ]
  38. libraryname = path_to_libsqlmy_libary
    - \# I1 r- G* A9 F% G
  39. 积极= 1
    8 r$ e, {1 O1 I
  40. ---削减这里--- ( q& V! ~7 \. u- u- G; {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! h! J! Q$ ]$ l5 [$ d1 _, L" }
  42. ---例如---
    ) F3 j3 A: Z6 J7 n' m% \, r/ D' x) j
  43. [ dbexpress ] 3 S! S6 y% |4 K/ {
  44. sqldir = mysql_sql
    / C& N/ k' O$ |# r
  45. drivername = MySQL中
    $ w( R3 w" r* c2 _. H; ^' e
  46. 数据库=测试& d1 V) \* {- a" e" N4 q# C
  47. 主机=本地主机, a% u2 G9 i$ K
  48. user_name = testuser * p' }; X9 d: d) }& _" v+ y
  49. 密码= my_password
    ; y. l4 t8 R# j, `, W: H2 H3 X
  50. getdriverfunc = getsqldrivermysql " U6 z9 ~# i; z" ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - d  ~+ p) [& j+ a3 p
  52. libraryname =. / libsqlmy.so   Y/ v0 l4 R: N$ W% ?! U( Q
  53. 积极= 1 8 @: V+ \9 m8 s. Z
  54. ---例如--- 9 n9 B! Q4 A% U6 |/ W" k
  55. . l7 n" P: v+ s. T& Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " f  y  J4 G9 q1 G" c: W" U
  57. ---例如--- * U: _$ D" c( n3 \
  58. [ dbexpress ]
    7 f; y) a+ v) ?3 \
  59. sqldir = mysql_sql
    " r  z2 T. J( L! p0 T0 R) V
  60. drivername = MySQL中" I4 z: F, s& h( i' O, M2 c
  61. 数据库=测试: z5 R, z, i9 k3 O/ _# M. k
  62. 主机= 127.0.0.1
      ]( p$ e* z; _, L
  63. user_name = testuser
    # q4 K5 H2 e8 S7 U+ m; d5 B
  64. 密码= my_password
    ' W7 H& Z6 [! r
  65. getdriverfunc = getsqldrivermysql - K# e. _1 P7 c( }% }
  66. vendorlib = libmysql.dll在8 \# l+ K% ^' U2 F. T& r% f- _
  67. libraryname = dbexpmysql.dll / r# C6 k/ F6 \7 h
  68. 积极= 1
    ) C4 l+ ^# o+ `3 E9 y; ]- i8 o' g0 w
  69. ---例如----
    ( n. b$ C2 p) I& o: s
  70. -写在0 2.03.04由p wk.linuxfan
      j( d3 b8 {+ O" I- G% ~5 y
复制代码
发表于 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 words1 P2 z8 N) ~8 U7 I0 ~$ i1 i' P
9 D+ d& @' w4 V$ 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-5-28 14:42 , Processed in 0.116347 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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