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

2537 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" [" d2 {1 R! n3 o. |% }% s( ~  s- o0 W1 v

  1. ' S) H/ T5 F3 {; A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 ~9 I8 O$ {% ~) [5 b& \
  3. 2 m  K: v( g: e  A3 ?
  4. ### What we need ###) a- E0 O, h1 a, T# z3 {# Z7 d! P
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 B6 g8 B1 @. C4 f1 o* C0 l, Y
  6. will not explain how this can be done - there are documents out there for the 7 ~( Q- m& G' d3 F5 n8 }4 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 n: u  G, k1 o
  8. and a user account (username + password) that has the permissions to do stuff
    9 u" p& j! ]5 e8 P( E
  9. with the database. Additionally, you will need a vendor library installed on the1 f* W6 ?0 }/ E7 k
  10. local machine, this came with my MySQL install.5 I" T) c! h( G, t. V
  11. These instructions will not tell you how you might transfer your data from the
    4 J2 f( j  g1 K& H( Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 H0 X0 Q8 B# E7 h; s
  13. database.
    2 R3 P) k$ }& ~& ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 @$ X: Z8 ?& r3 q. r2 b
  15. the time of writing, there are still too many issues - check the current status/ Y3 k) J7 a4 t: k3 {
  16. in the TeamSpeak forums if you are interested.! c. G6 @; q1 c" }& a- W8 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 I7 A4 e" |& \; F
  18. Borland was used. This driver can only interface with the client library that ! o+ _5 l- _/ F& y, l) j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, G& X, L% [5 K6 @9 R; Q
  20. client library - basically all you have to do is to use a 3.x client library as
    + f, [# `) d4 d: `
  21. "VendorLib" and a 4.x database to connect to.2 F  f% B  u4 S' E" K
  22. If you need more info about dbExpress, you can contact Borland.
    : z1 T! F; F& k/ G
  23. * F* e+ S4 l4 h, G/ }1 H& M4 Q
  24. ### Doing the work ###
    * R3 `8 w# r( d# o" z9 c& @' g8 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 l; ^. A$ C* J1 {7 ]" x, ?% I
  26. the perquisites right, just open your server.ini file, and add this section at5 J! j) a3 Q, v: n3 h
  27. the end:
    - Q& D  y; d+ W- s2 p( \. t; s
  28. ---cut here---
    % i1 b. S; k+ Q" r: q
  29. [DBEXPRESS]
    / v0 q0 t7 a/ {
  30. sqldir=mysql_sql+ c0 [/ B& H0 z+ c
  31. Drivername=mysql& F3 E6 e' x  j/ w/ w
  32. Database=Your_Database_Name_Here
    ) r' b. d3 ]& i4 [2 F, i$ H: U/ Y9 o; \0 {
  33. Hostname=The_PC_the_MySQL-Server_is_on6 N) ?8 @4 j3 N1 L9 \% X( [
  34. User_name=User_name_on_the_MySQL-Server. L% `1 W6 J) h) M6 P1 c8 \
  35. Password=Password_to_go_with_above_user_name& N4 m; X4 {7 R9 s
  36. GetDriverFunc=getSQLDriverMYSQL' A# J- Q( T! j9 u2 p( m0 }3 s/ ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ I2 H  t8 I( X/ i- V3 l/ L. p
  38. LibraryName=path_to_libsqlmy_libary7 L/ x& a7 [& u- k
  39. Active=1
    9 ?. i1 Q. |9 K" W. r  m$ L
  40. ---cut here---
    9 W: h/ R5 d" N3 T9 \5 Q: d
  41. In my environment (a linux box with a MySQL server running locally) I have:" F5 o" r' t! L; A
  42. ---example---) O% k- c6 ^5 _) a: s6 {
  43. [DBEXPRESS]% x; H- H! b9 @+ P) z) D( `0 ?8 u2 ~
  44. sqldir=mysql_sql: {$ p) ^! N$ C) `( `9 i- D
  45. Drivername=mysql5 s! g3 s" ]7 W: c8 P) s$ V6 R# j
  46. Database=test1 M# g6 }7 T- s7 w& ~
  47. Hostname=localhost
    ' k( {0 z4 n* `  g$ l/ W/ M5 g; y
  48. User_name=testuser
    ; L0 T. q; k) t( M- I2 o
  49. Password=my_password9 C; B, A/ \3 V# L5 f! y% G
  50. GetDriverFunc=getSQLDriverMYSQL* A3 S/ n) f+ U0 a: u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& p7 |8 k. J  a' {
  52. LibraryName=./libsqlmy.so/ i2 z2 y. R. X8 q
  53. Active=1( M! Z% C8 |  k7 T
  54. ---example---, X( B2 J, T( ~2 M$ E. u" N

  55. ; o3 z7 Q- v; ?
  56. On a windows box, also running the MySQL server locally, it would be:
    * m* x6 R- k% u
  57. ---example---
    9 y  @$ L. f- H! ^
  58. [DBEXPRESS]
    8 z% ?. D0 l9 j: T9 H3 c. s; c
  59. sqldir=mysql_sql
    ) ]/ P& ~, N' i1 M1 o! P
  60. Drivername=mysql
    " I0 U7 J- C: ?+ T0 f1 M1 W# L$ P
  61. Database=test
    1 s: H' Z& e; |. q4 f
  62. Hostname=127.0.0.1
    / L0 P+ V) \. E- y$ ^* X+ f
  63. User_name=testuser2 b; |' h' k+ Y3 W! c. a
  64. Password=my_password  e5 q* n0 ]5 p$ |  @
  65. GetDriverFunc=getSQLDriverMYSQL/ a" M& J8 v' _
  66. VendorLib=libmysql.dll- \* }1 R: f4 b" W: u
  67. LibraryName=dbexpmysql.dll
    , d1 q3 K- b0 Q. _0 [
  68. Active=1) q, Z8 ^  W% k5 ^
  69. ---example----1 `1 ^6 u6 X) m. T. L
  70. - written 02.03.04 by pwk.linuxfan1 W" O# w: P  i, w, @
  71. ( x7 v. d/ ^5 E4 E$ o. [/ O+ A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% S8 I8 g7 Q# G) D: O9 s% P
  1. 5 g# U, g. S2 C3 D8 @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . W: K; o* @6 m$ {; K8 d
  3. * p: M& S. ]  k/ m4 [
  4. # # #我们所需要# # # $ g# K3 s: e# m% s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 T1 ?1 g% f$ }6 Q! ], b& T
  6. 不会解释如何做到这一点-也有文件存在,为
    : D/ c) _' f3 G1 W8 Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  O! J; ]. Y# Y# f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( y7 v7 ?8 W: L- U( O) x, V8 \/ q- Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; F1 M6 c$ G, M. i% d/ A
  10. 本地机器,这是我的MySQL安装。
    , e4 [) d+ U5 P% i' m) r3 N) s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  O9 t& h0 S& m& d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - P; P$ o8 m  s1 t+ Y
  13. 数据库。   N, u& Z* i, N, Y5 h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; X- x7 D# f% a" x0 k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 X. ], f5 j- h$ H
  16. 在teamspeak论坛,如果你有兴趣。 8 b9 E2 t; S+ p  t# d2 |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ g9 f. P6 n; n0 D, G' p% l4 H$ u
  18. Borland公司使用。这个司机只能界面与客户端库
    , e' X' |: }7 A% ^9 U4 ]2 ?6 n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( z4 A8 m% O" m2 i0 ]8 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: D) Q& N9 C6 \1 @2 x
  21. " vendorlib " ,并解数据库连接。
    / S/ ~+ y/ v7 O) s5 r0 V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      G' [$ |/ p9 F: [! v+ y( {
  23. ! Q2 w# X( r( V. q+ e+ [
  24. # # #做好工作# # #
    ' [9 `5 K# l. ~) a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; D$ o- ~* L: `- u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . j$ g4 `1 G3 f, I
  27. 结束:
    7 ]: w8 O5 ~+ t; T8 i6 V7 [7 r
  28. ---削减这里---
    8 X  o' s6 ^2 m4 a, `1 X
  29. [ dbexpress ] 5 S; Y) I& N+ {2 a
  30. sqldir = mysql_sql " R7 W# L+ h0 H( H
  31. drivername = MySQL中; s  z+ f9 P* Z/ T+ A1 J
  32. 数据库= your_database_name_here
    4 s7 k% u& N" B
  33. 主机= the_pc_the_mysql - server_is_on $ b, _5 h3 L9 ~4 ]* L6 L5 l
  34. user_name = user_name_on_the_mysql服务器3 N3 m8 X5 t& h
  35. 密码= password_to_go_with_above_user_name
    1 C( D5 j! C! A5 {/ T" i8 k
  36. getdriverfunc = getsqldrivermysql
    ; ^7 I7 f( e9 Z) w% a3 m' F+ J; X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( t% N! g4 B" K- H
  38. libraryname = path_to_libsqlmy_libary 1 U$ Y, |" B& r0 H
  39. 积极= 1
    , u% s3 P# p3 H  W% _3 }+ `' I
  40. ---削减这里--- * d8 g) H' c: \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: / u8 \! \6 H3 J. K% E2 v9 e3 x
  42. ---例如--- ! L" ]- I9 E# q0 l8 x
  43. [ dbexpress ]
    ) z, R, U0 {$ x* l; z% F
  44. sqldir = mysql_sql
    ! A, H2 F1 G  d4 D4 P' p* p; s9 i/ c
  45. drivername = MySQL中
    5 `5 Q% y7 L$ G  G
  46. 数据库=测试
    - \' D7 D0 }, y- D2 Z' e( @6 P
  47. 主机=本地主机& W* K& L. u& y0 s( |
  48. user_name = testuser . A/ G9 }( ^+ P
  49. 密码= my_password
    ' k/ a; J+ T# y) s, I2 F
  50. getdriverfunc = getsqldrivermysql
    0 w$ O* N" H! w# Y: r1 [0 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + J: c! R/ @/ \( L. U; `1 @9 |  H
  52. libraryname =. / libsqlmy.so 4 ?* _1 ]: @  N" H( \  p0 K  @5 f
  53. 积极= 1 # H- U# ~- y, }) E6 ]
  54. ---例如--- ( y: o  I& ^* L& M

  55. , v0 w# h3 `6 I8 `4 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / b: d3 s8 N7 r1 D/ O
  57. ---例如---
    # W; s. c0 ^9 r0 ^! i( d6 j3 Q5 `
  58. [ dbexpress ] ( C% [" |9 L) p: L
  59. sqldir = mysql_sql
    0 X( r; a! I. P6 Q
  60. drivername = MySQL中
    ) |" r" {9 [4 j1 m5 l8 S8 J
  61. 数据库=测试
    / ?  z1 X: g/ h9 X& _
  62. 主机= 127.0.0.1   L! s# ~8 R( L& ^0 ^
  63. user_name = testuser
    5 X8 X- ^: D8 O3 m0 X& }$ o" F
  64. 密码= my_password 5 G' a$ {5 }( z9 s+ [* [& j7 {% i
  65. getdriverfunc = getsqldrivermysql
    8 s1 I% _* p$ j) h2 n. ]9 i
  66. vendorlib = libmysql.dll在
    + T6 l" e& S% a
  67. libraryname = dbexpmysql.dll
    9 K2 f0 S; d% [" u
  68. 积极= 1
    ; f( s+ P3 Q- a% L7 i0 v
  69. ---例如----
    7 u8 f& Q- n& _$ [' H
  70. -写在0 2.03.04由p wk.linuxfan) {) Q9 C* @* 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 words4 q+ w/ A  n+ V
$ \) K: `9 \  i! ?3 T/ @; W/ L2 M: I
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-21 06:37 , Processed in 0.084010 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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