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

3084 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 k, d; p$ p9 `7 `5 w
, M, j2 G; t3 T1 ?9 @
  1. 8 `5 P4 z6 p+ i7 E! M! e' G' H$ b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * C4 p9 z& c" w, p0 q7 }- F

  3. + B2 v# f% |; j/ t
  4. ### What we need ###
    ' l, |6 J! j0 G: I( a" i
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 M  J# P/ P/ K. c# [
  6. will not explain how this can be done - there are documents out there for the
    ( N7 |( b1 a/ U+ L
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 ]9 P6 Y/ U7 V1 o  D# s8 L: o
  8. and a user account (username + password) that has the permissions to do stuff
    5 q1 D3 G5 s$ K
  9. with the database. Additionally, you will need a vendor library installed on the: `# v  ^' d2 K5 X5 j, \3 o
  10. local machine, this came with my MySQL install.1 i7 k% v3 i& G$ a9 b$ Y- m
  11. These instructions will not tell you how you might transfer your data from the; P. R% B8 o3 t& S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: p4 A: f4 _4 J9 A
  13. database.- G0 W* a* z4 R: c  U; ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 B4 M8 ]3 P5 N6 s, e
  15. the time of writing, there are still too many issues - check the current status! s# {2 t2 I) s  l) s/ B
  16. in the TeamSpeak forums if you are interested.; E' ]" C# c& ]2 ~, G( _' S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      D" i7 Y, c3 r1 J$ \' o. W; h
  18. Borland was used. This driver can only interface with the client library that
    , n6 e" Q0 l( J: m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 \; F  U+ u# G# k3 |
  20. client library - basically all you have to do is to use a 3.x client library as
    5 m3 C4 V3 v4 T6 t8 P( x( O& [
  21. "VendorLib" and a 4.x database to connect to.
    ; c8 B/ E6 D( r" Z, j
  22. If you need more info about dbExpress, you can contact Borland.
    : q1 d6 Z. {7 w, E$ w% U
  23. ! W6 X( ?8 Z# t- E$ L7 [0 P
  24. ### Doing the work ###
    7 S# [. y# ?+ G& s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " f; U6 q* v$ N* r3 `+ E0 @
  26. the perquisites right, just open your server.ini file, and add this section at
    0 W  E4 H/ w" A/ A/ L
  27. the end:, s' W0 |( Z+ T9 A1 p
  28. ---cut here---7 ^2 f, f+ ^  T' _
  29. [DBEXPRESS]" W8 R9 n* q9 L2 o/ O* |6 d
  30. sqldir=mysql_sql/ R8 L& Z. A" h
  31. Drivername=mysql
    ) [7 }: K$ T6 @* C, K
  32. Database=Your_Database_Name_Here
    ) m) [# l$ S) M! j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' M8 U9 L7 f3 b
  34. User_name=User_name_on_the_MySQL-Server
    5 t9 }6 }' m; G# S
  35. Password=Password_to_go_with_above_user_name
    5 C" f( t2 s$ Q" t; d
  36. GetDriverFunc=getSQLDriverMYSQL  q& j/ d, D& {; [- P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 q. ~0 s' a( v+ y" D
  38. LibraryName=path_to_libsqlmy_libary7 y' d" Y* m) M1 R( U* F
  39. Active=1$ p: G4 t8 j; Q& C9 g
  40. ---cut here---
    : |7 c' q; P5 a! }- a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 _& ]* o- a1 e
  42. ---example---
    7 ~# R" o  Q" K0 Z. M5 U# O
  43. [DBEXPRESS]
    / t/ K9 d" V; W. Y3 F
  44. sqldir=mysql_sql
    5 g! |, Q' j8 G
  45. Drivername=mysql
    8 I9 ~1 p% f: c% F1 b% A
  46. Database=test! F+ p' j  w: ?, g  T+ i
  47. Hostname=localhost
    $ H( \/ X- ^0 l1 o1 ~
  48. User_name=testuser
    * h3 E, ?. M: }6 W# Q5 v
  49. Password=my_password1 o# ~. i3 ~. m
  50. GetDriverFunc=getSQLDriverMYSQL
    $ q5 H6 C! [8 u$ x/ Z% P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! {- W6 i% [& L) Y$ I9 V- M
  52. LibraryName=./libsqlmy.so
    $ j: D  ~8 d6 v9 `
  53. Active=1
    5 f2 a# @  s) C+ B3 x  }
  54. ---example---
    $ B: c( m$ q# l% J% n: c

  55. + T: P5 K" l$ ^+ ~; f$ p# D" }
  56. On a windows box, also running the MySQL server locally, it would be:5 w0 {. f; r% o/ P6 W
  57. ---example---
    1 l6 s' u) |: A6 e% r5 d& L
  58. [DBEXPRESS]+ S3 v( B! n' K4 v0 _2 F9 [+ j
  59. sqldir=mysql_sql
    # n4 ^3 H( [2 }6 w! a5 b& B3 \
  60. Drivername=mysql
    0 A- i6 f+ m& Y& b1 h( j
  61. Database=test$ S2 u' i; l  N; }
  62. Hostname=127.0.0.1# q6 }0 e1 m  q
  63. User_name=testuser& W9 m8 }! e' \( \# y- s
  64. Password=my_password* ]( R  m6 |+ n7 \( Y
  65. GetDriverFunc=getSQLDriverMYSQL% T' C) @% g0 U) ]2 K% Q
  66. VendorLib=libmysql.dll
    4 F; j  g9 w$ t
  67. LibraryName=dbexpmysql.dll
    + a: _% c1 X& _% m5 ^' ^/ j
  68. Active=1
    9 O/ h5 `) A; I6 H, p' ~
  69. ---example----
    ( c; a4 f/ J4 v* d' D
  70. - written 02.03.04 by pwk.linuxfan1 m% ]# p5 x& J: E! s$ h

  71. 4 Y, Q  ^- j. c  d- P" M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ y: ^( ^- t/ D8 |- I

  1. 0 O9 N. ^( y  W" f3 S1 |0 }1 K6 W& c& l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : B3 c# a4 t0 V! w1 N+ b/ @. W
  3. - |0 J! D5 T0 Z, s
  4. # # #我们所需要# # # 0 Q1 o. [9 c4 r: z, Q0 R; i" r; G9 R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 d$ g* G' \) ]0 Q
  6. 不会解释如何做到这一点-也有文件存在,为
    . E7 r; J$ e5 o' \1 {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. x' b6 J7 U: U3 X: I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% W5 {! S+ `* ?5 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- p7 U7 e7 M" B. M$ w
  10. 本地机器,这是我的MySQL安装。 - ]! O  i& I; k9 M3 o  }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : B0 ~4 T7 v' ~6 M. E0 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 [& ^9 o( Q4 o& c# _
  13. 数据库。 : {" t1 w0 K. t; g* Y# c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 H! ^. G7 w5 S' Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 u8 b8 W0 l! F! x
  16. 在teamspeak论坛,如果你有兴趣。
    4 p  I! v( q  k( V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 b1 e3 o: d, o9 U& b
  18. Borland公司使用。这个司机只能界面与客户端库# _6 c2 ^: W8 E9 Z9 e7 S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 k3 L3 i6 J, p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 f* ~5 E3 S6 \# Y. K- a4 i+ o
  21. " vendorlib " ,并解数据库连接。 ! f% i6 I1 Y' s3 R* t3 A4 y$ M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / h! ]/ D3 `2 p( J7 O

  23. + e4 j- j: E( |. B) S3 T% q
  24. # # #做好工作# # # " s7 I6 w7 ~6 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. U$ y% }8 J/ k% z( ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 c6 W6 f  u, H& F" _  A: X$ \
  27. 结束:
    6 K1 |/ c1 J8 S" Q: z- V" c
  28. ---削减这里--- # y; D; Y' Z7 r' y4 y
  29. [ dbexpress ]
    0 R4 H% j5 [; L+ f
  30. sqldir = mysql_sql
    & W% c2 Y3 m1 m
  31. drivername = MySQL中
    % r, f  |" j8 c# [" R3 d
  32. 数据库= your_database_name_here * B: M, l/ E2 ]
  33. 主机= the_pc_the_mysql - server_is_on
    & R, D% H$ S. U0 C9 y0 `5 O
  34. user_name = user_name_on_the_mysql服务器1 U2 D, H  f2 T5 W5 I  N9 g" @
  35. 密码= password_to_go_with_above_user_name
    ' w7 Z: k+ H. L/ }  s* H3 `; h
  36. getdriverfunc = getsqldrivermysql 7 g0 Q6 R+ v  ?, X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . d# ]) q- U6 ~4 q
  38. libraryname = path_to_libsqlmy_libary
    . V4 h0 H7 X/ S1 ?9 w
  39. 积极= 1
    & N! I+ j0 \9 Z! T9 Z( `8 \
  40. ---削减这里--- 1 L. x2 k7 D- M- H1 C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 [3 y$ n" Y6 X3 d$ a
  42. ---例如--- 1 ?& W- k+ ?2 T, o* A4 A3 b
  43. [ dbexpress ]
    2 p- A+ i3 [; ~$ G: K
  44. sqldir = mysql_sql ! d/ a9 N  R7 z: w7 h
  45. drivername = MySQL中0 Q6 {$ t- e0 n7 `
  46. 数据库=测试
    ) Q- R/ v+ ]7 j9 ?6 r
  47. 主机=本地主机/ |( i) W! Y4 W9 G
  48. user_name = testuser * w/ z+ E- p. v9 \
  49. 密码= my_password
    6 k" u# y( ]- T6 g! a' V
  50. getdriverfunc = getsqldrivermysql
    " J! y# a. n$ a8 S$ l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - ?4 Y6 G0 H! [! q) `4 I
  52. libraryname =. / libsqlmy.so
    0 V/ S" [! j& k
  53. 积极= 1 , D; t8 S# {- p: ^  H
  54. ---例如--- : N+ }& p" S6 o- c. r+ F: {

  55. - t5 J( j4 U, k) A6 m; Z2 ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 F  A2 ]/ e6 r( \- V) N7 j( x
  57. ---例如---
    9 T+ v4 e& ]7 I" S2 o! h
  58. [ dbexpress ]
    & M7 `: N" v; K/ A
  59. sqldir = mysql_sql " X8 N) ]1 L  l2 j( @! g
  60. drivername = MySQL中
    # ?7 E; |" B3 L' s
  61. 数据库=测试# c+ q$ O  P2 R: u- f) ^& H
  62. 主机= 127.0.0.1 6 ]2 a, O# U+ k" g# c# i
  63. user_name = testuser ) [% o, D5 f. Z% x1 d9 x
  64. 密码= my_password
    3 t( ]5 Z6 _/ m
  65. getdriverfunc = getsqldrivermysql / y) \! J3 K! c) R
  66. vendorlib = libmysql.dll在
    2 L" ?$ s# T- Q( Q
  67. libraryname = dbexpmysql.dll
    + p$ w# |0 p6 ?- Z" n, A0 p
  68. 积极= 1
    - l7 m- I# i6 K9 b
  69. ---例如----
    + x5 a2 w& U+ d! v
  70. -写在0 2.03.04由p wk.linuxfan6 h+ c/ a. O9 h8 q
复制代码
发表于 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: ?4 U; W% G" h' Z/ p1 Y

9 V4 L% g0 W* l- ]$ sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-28 22:07 , Processed in 0.113554 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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