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

2970 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " f* u% f5 c6 G# D  w

; v2 G9 c6 y+ s' K
  1. / U  [1 b; F7 M3 _: k2 B$ ?9 q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( f# o) ?6 b. j$ _

  3. ! ]* N3 y2 }1 X8 u7 b. ~5 Z
  4. ### What we need ###9 T' z6 o' ^. c9 a( O7 x4 w
  5. Naturally, we will need a MySQL server to store the data for us, this document % }" E9 Z; W3 `  K
  6. will not explain how this can be done - there are documents out there for the # c' X! g% S2 `9 b' A; H: i* w! w
  7. interested. The requirements include a (empty) database for TeamSpeak to use: J$ L6 |6 E% A( l9 T# @
  8. and a user account (username + password) that has the permissions to do stuff4 `7 @! h$ P, J$ B+ b, m6 a
  9. with the database. Additionally, you will need a vendor library installed on the
    # u7 b+ W. Y& Q
  10. local machine, this came with my MySQL install.
    3 F9 ~" I2 [8 d7 Y  e
  11. These instructions will not tell you how you might transfer your data from the
    ; V, m9 |' }/ \' f; C7 H& V, R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , k9 p) Q8 E* m0 r$ i9 n% @: N
  13. database.
    8 \7 r7 k3 C' v& T
  14. Some users have reported ways to import a SQLite database into MySQL, but at  D/ y& }* a0 g
  15. the time of writing, there are still too many issues - check the current status$ O9 f) o/ r; i# n
  16. in the TeamSpeak forums if you are interested.
    7 y4 ?7 v  w0 B# E% K# A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 y$ `7 e  ^5 v2 v2 V+ G
  18. Borland was used. This driver can only interface with the client library that
    ) Z0 `% k5 E, |4 w% S5 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / T, c' p" J' r7 B* G
  20. client library - basically all you have to do is to use a 3.x client library as * q1 w$ Z" W, i% w0 l2 K
  21. "VendorLib" and a 4.x database to connect to.. f( L6 ]& y2 c
  22. If you need more info about dbExpress, you can contact Borland.4 j) `9 Q' q. o# H

  23. 1 g* W; o- l6 }" O: p; R) w: h
  24. ### Doing the work ###+ D% |4 }# ^, e( `0 `% p# N. t+ X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 q( T$ }( P  j1 T+ @
  26. the perquisites right, just open your server.ini file, and add this section at( b9 g( R" @$ r% Q
  27. the end:
    : R& P7 f% h4 |" {/ {1 y4 [  }7 L
  28. ---cut here---; O& H6 N4 I5 M
  29. [DBEXPRESS]
    " }9 r* A; X+ k7 c* H
  30. sqldir=mysql_sql" @0 F- }, ^/ a* e
  31. Drivername=mysql
    2 g% J/ B  ?( H. @
  32. Database=Your_Database_Name_Here  i9 ^5 s. `9 p, P# c3 H' ]/ z4 c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % r% B, B6 ?6 z% C
  34. User_name=User_name_on_the_MySQL-Server
    4 K$ L2 H( ~- O/ H
  35. Password=Password_to_go_with_above_user_name
    9 v- O% L) p3 s2 [: K  M
  36. GetDriverFunc=getSQLDriverMYSQL
    5 T( F: ~0 q2 o" ]7 o* p3 v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, \' R0 X: t& s3 X
  38. LibraryName=path_to_libsqlmy_libary
    , ^! S& B( ~8 c& o1 Z8 E
  39. Active=1) B0 j# J% W% u1 ?
  40. ---cut here---* S& R  Q& |0 t0 D7 U; f
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) X3 G0 x$ ~1 E: W1 }5 B1 I5 |
  42. ---example---% N4 ^* e, M! l" ]1 x& `( o
  43. [DBEXPRESS]/ _" l6 S  v7 M0 {' s' z, k& Y) V
  44. sqldir=mysql_sql# U$ p) c) o: Q( N9 j
  45. Drivername=mysql$ q$ u$ O( B3 S
  46. Database=test7 f; X1 I* h7 K# F; ^: @8 Y( w
  47. Hostname=localhost
    ( O4 {  v6 V( D# a5 \! h+ [
  48. User_name=testuser
    , h  [/ E' u4 [$ Q4 q; {% j1 n4 a
  49. Password=my_password
    9 n7 q) ~$ g/ ?3 i0 N
  50. GetDriverFunc=getSQLDriverMYSQL5 ]; t; G; C  x/ k0 C: ^- C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 |7 {3 h# ^1 K1 Y& \/ H
  52. LibraryName=./libsqlmy.so5 j. L  B  ^4 Q. F9 k$ i) r( N
  53. Active=1( c* b, _2 Y! p1 Q, H2 j
  54. ---example---* N$ J. @6 |+ S% ?0 b
  55. , [! }" Z! n/ s) y+ s" E
  56. On a windows box, also running the MySQL server locally, it would be:, \2 T" m! F: D; i, |
  57. ---example---
    ) h3 R, [$ _" F0 F8 g! L
  58. [DBEXPRESS]
    2 ^; X6 U3 D# p" K. O" A; C
  59. sqldir=mysql_sql
    ( J+ s& F2 q- m/ L
  60. Drivername=mysql$ k  }1 p) E$ E: k1 x
  61. Database=test2 Q7 ?9 E, K& V3 V. k
  62. Hostname=127.0.0.1
    + ?( G6 ]( _" H/ g
  63. User_name=testuser
    7 s- p3 u! f/ `( S8 |. Z
  64. Password=my_password
    : p% C, W# a) r9 v
  65. GetDriverFunc=getSQLDriverMYSQL
    & I# W7 ]4 Y" w& o& x. q2 e4 E& g
  66. VendorLib=libmysql.dll  P' P  E1 f- \2 ~
  67. LibraryName=dbexpmysql.dll1 Z5 j" {# ^9 w+ k/ v6 B" ^
  68. Active=1
    # b  d$ h" _1 F- s% l4 [9 X! P
  69. ---example----
    8 d6 C3 j4 E8 |
  70. - written 02.03.04 by pwk.linuxfan
    8 P7 }0 g8 [, k
  71. 6 q3 j% l! B# N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 Z+ f  I; U! q% `, s: D# ~" D
  1. " V  P( K# }+ n5 }' [+ d2 a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - U( N" A6 _8 i, l' X) W& ^
  3. * M# d, s8 \3 R5 v/ P3 N4 [  C3 @
  4. # # #我们所需要# # #
    3 _: {% S- i* T0 O, {6 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - S% j# o8 P; m  l# \( `
  6. 不会解释如何做到这一点-也有文件存在,为) x% [1 Z3 y, A2 s7 z+ I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / P6 i: T7 A% L) H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 ~1 B; D" e0 L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 d2 K, t, w7 O* x3 }+ W) `/ P" G
  10. 本地机器,这是我的MySQL安装。
    : ?5 \) k: O# s$ s2 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 A$ k" c  [7 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 F* a) N: A. h3 E- k% `0 H, p
  13. 数据库。 & f5 o- O& h1 ^# O: t- f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 ^% V1 E9 s; @& _! V5 T  l2 \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 D% e& O& V5 ?, ?" y
  16. 在teamspeak论坛,如果你有兴趣。 $ |% Z5 Y& |: K) b- f2 X4 D4 ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! B3 L- |1 R+ s- A# a6 c' Y
  18. Borland公司使用。这个司机只能界面与客户端库" o$ A, L# Q# Q. ], o6 C/ F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 C2 J; L* R; O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % ~2 b  C  j+ {* H
  21. " vendorlib " ,并解数据库连接。
    7 D" V0 u" q( j0 D1 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 B1 [6 p3 N% y* B. y9 N
  23.   e2 G2 b; I5 _* a* }3 X
  24. # # #做好工作# # #
    $ M$ r; @0 b( e, t1 P# r9 i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; e5 R. y* A, G) [! `% A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" a. h3 O& o3 }4 @& W
  27. 结束:
    , `5 ]; L4 l( s/ Y, b5 S3 L
  28. ---削减这里---
    + w% P" W, A2 H% o9 ]: L
  29. [ dbexpress ]
    ) D3 e; Q/ W2 n! H0 c' O4 }
  30. sqldir = mysql_sql , E2 J( T( d* V  ?; `2 ^
  31. drivername = MySQL中0 h' J6 b* y5 i! Q" K
  32. 数据库= your_database_name_here 6 w9 [8 v4 B9 w: w; U# g
  33. 主机= the_pc_the_mysql - server_is_on
    # z2 o' u0 Z  F( |
  34. user_name = user_name_on_the_mysql服务器
    7 W% X3 ~/ W+ V2 ]# |1 b3 g' D
  35. 密码= password_to_go_with_above_user_name . K7 S, o1 K# S% r6 u+ Q
  36. getdriverfunc = getsqldrivermysql
    9 d& Z9 b2 ?. {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # J" Q& p, [- V0 l5 [
  38. libraryname = path_to_libsqlmy_libary
      H$ s! s8 g- D* }" z2 h$ c/ i" Q0 C
  39. 积极= 1 8 v! s- ?. `* U  _; S9 G
  40. ---削减这里--- ' I3 b" E% q! W1 u* ^6 A8 q; V/ z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - e- K5 l& p& y' ]  m5 @" N8 J
  42. ---例如--- , J, L$ R5 Q% q9 P! t/ c
  43. [ dbexpress ] 8 k) H8 f& M& i
  44. sqldir = mysql_sql , Z  F2 a& Z7 u; l* X# J
  45. drivername = MySQL中% |+ U% u: V  r4 \* l; V, x
  46. 数据库=测试
    ) a6 ~3 K& ?; B
  47. 主机=本地主机
    9 o7 h$ ~5 |0 I5 F4 z
  48. user_name = testuser + o* [: x; ~) M+ J$ H+ `4 _
  49. 密码= my_password / R3 b0 ]1 O  ?. M2 a! B; V
  50. getdriverfunc = getsqldrivermysql
    ! r6 F1 M' f0 J7 V- j5 G/ r/ T- E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 u6 N' N8 x9 z( C$ S7 T5 v+ f
  52. libraryname =. / libsqlmy.so
    + Y5 k  P& ]- |3 l% z7 i
  53. 积极= 1
    6 P( u* [2 K; ]& O. `, p: X% Z
  54. ---例如---
    2 o7 |; J5 b# E' W" _) Z
  55. 6 A2 f# T2 s: R' n! e  u! v+ Y9 y
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( c. f& Z) ?' X# V: P: k: o' [3 I
  57. ---例如--- 6 U( {( I7 p, r6 l" U; g3 `
  58. [ dbexpress ]
    , \; E2 |/ i3 [) ~0 c
  59. sqldir = mysql_sql
    - f& B) W) b. X, z) N& T- l
  60. drivername = MySQL中
    " J8 J( a5 W; I  F! q- T. A, e
  61. 数据库=测试! c6 n  ~0 }# B2 f
  62. 主机= 127.0.0.1 2 F1 ]( z. a3 @7 y
  63. user_name = testuser 3 G% A1 G7 T; M- e) N# ~, G
  64. 密码= my_password
    . Q. Q& x3 [- G. B2 k! v9 R  R2 N
  65. getdriverfunc = getsqldrivermysql
    % ^  P. K4 K# f
  66. vendorlib = libmysql.dll在- j' A: u' P% n# y& o+ T
  67. libraryname = dbexpmysql.dll ; `( [7 X& H; b: Z& P/ D) e
  68. 积极= 1 + B- F3 }% \! z! n2 Y) W
  69. ---例如----
      k! X2 s' m1 k2 t
  70. -写在0 2.03.04由p wk.linuxfan, c3 d: P4 M% E) p! T
复制代码
发表于 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
# ]) p5 o: D' {' j+ R/ p4 v" w$ n  r8 T- N0 h; j2 F! j- K! b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-2 08:00 , Processed in 0.118421 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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