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

2249 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' R. k: ~) J5 I
/ G. o  c, m/ ^" \; B
  1. ( |3 ^4 k3 P: @+ i- @! o/ M$ p7 ?$ S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 T+ y9 o0 a  h# L1 r: [' Q) f& E
  3. 6 j/ k; \5 u9 |; u; ]5 W# J( w
  4. ### What we need ###" N' P( z" _3 f  v$ R: ?" V- b
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( r. r' c7 t  K  U; C0 k+ O! D
  6. will not explain how this can be done - there are documents out there for the
    6 r8 _: y2 p( W
  7. interested. The requirements include a (empty) database for TeamSpeak to use) y7 m  F# z7 K( Y' i
  8. and a user account (username + password) that has the permissions to do stuff  z/ \0 j" A: t1 R/ J' e- M
  9. with the database. Additionally, you will need a vendor library installed on the& F% O3 ], n+ I5 @( z; ?3 n7 Q) I" J
  10. local machine, this came with my MySQL install.
    ; P. w/ b7 X8 y* ~1 {' v; W- `
  11. These instructions will not tell you how you might transfer your data from the
    ' s" E: V1 x/ w2 D: Q. y$ V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 _# C; I4 w" Q$ c: p
  13. database.6 B2 I) h- I+ \+ `4 [, \) h" {( [
  14. Some users have reported ways to import a SQLite database into MySQL, but at% ~1 X8 v! x& U, j
  15. the time of writing, there are still too many issues - check the current status8 p0 Q; J7 }+ {; E/ G
  16. in the TeamSpeak forums if you are interested.
    " _' X* D3 ~0 {  @# ~9 e8 V; O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 M* F9 U1 r' M0 J$ \2 `
  18. Borland was used. This driver can only interface with the client library that 8 I! {0 }7 D( Z' @" J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ Y8 E' M0 M0 L9 n4 K" G3 Z4 F
  20. client library - basically all you have to do is to use a 3.x client library as
    4 u3 P( y8 x  Y  i$ r6 x
  21. "VendorLib" and a 4.x database to connect to.
    % [2 @' f5 d- U; k4 u' ?* ^
  22. If you need more info about dbExpress, you can contact Borland.
    ' B4 L3 ]  h) P7 m" D' z

  23. . |! P7 a! `3 k/ _/ {+ x! g
  24. ### Doing the work ###' v2 u( e3 @7 h* J4 w! W0 R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ L; k1 p0 \. X& j, n4 v7 n. [
  26. the perquisites right, just open your server.ini file, and add this section at
      O2 y# p+ c$ S1 ?+ m# X
  27. the end:
    4 \- ^  I) R# L6 q  y! s
  28. ---cut here---8 ~$ [" r6 @/ {- {
  29. [DBEXPRESS]% @: d! v2 f6 s; G& R
  30. sqldir=mysql_sql7 G) x! T: |' [. k6 W- X
  31. Drivername=mysql" y/ B" m1 H9 t1 q
  32. Database=Your_Database_Name_Here* t  Z, j7 X% `, n
  33. Hostname=The_PC_the_MySQL-Server_is_on/ {3 N. I1 i6 r9 I/ }: w3 O
  34. User_name=User_name_on_the_MySQL-Server
    9 X! j& e* K# R/ c" w! T
  35. Password=Password_to_go_with_above_user_name
    ' V5 I1 |2 K& Q/ l4 ]1 p) ]
  36. GetDriverFunc=getSQLDriverMYSQL
    ! ^9 D: z" t3 f4 L: m; W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : C0 k0 A  w1 b5 {
  38. LibraryName=path_to_libsqlmy_libary
    3 P: U( I' U  e2 s
  39. Active=1. \0 ]" T/ H$ p. [, U2 F# k
  40. ---cut here---
    7 \5 f) l* b3 [$ T' M/ G, k* O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % j: P8 B- a3 ^; N( ^- \
  42. ---example---$ F( |+ ~, w- U( l) D) ]% W
  43. [DBEXPRESS]+ b! n9 _# Q' z+ q' m3 {& \1 l* [: e
  44. sqldir=mysql_sql
    # o. P4 }( W) R
  45. Drivername=mysql
    8 ?9 f8 }2 N! A1 z% G
  46. Database=test1 x- _% f& x+ S% m+ k: j/ C, D8 q9 a2 t
  47. Hostname=localhost( s5 C; H. d- j$ C  c
  48. User_name=testuser
    " p) v4 S0 N8 C( i
  49. Password=my_password
    2 t1 F, j  `8 t7 L5 D7 D
  50. GetDriverFunc=getSQLDriverMYSQL, v8 J" m% t, ^2 `! g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 q* i/ S/ e* X5 f* P8 v. _
  52. LibraryName=./libsqlmy.so( A# \9 f$ Z: Z" _2 |7 o0 h! c
  53. Active=1
    % r1 `1 ^7 w( R7 U/ r
  54. ---example---0 H% s$ K8 z) n* g! j* e' B1 n

  55. ( q! k! u3 q  Y+ t& H
  56. On a windows box, also running the MySQL server locally, it would be:
    * w5 n& o1 V& ]+ f( _- U8 t
  57. ---example---6 p/ p9 E% v8 v4 {8 W
  58. [DBEXPRESS]4 [& g  k& T7 k; ^5 d
  59. sqldir=mysql_sql
    . [$ f7 ^4 H/ J( H
  60. Drivername=mysql8 B' L) {( B1 {4 W- ?7 A$ f6 c
  61. Database=test' _; x0 e0 {9 l' ]* e) A
  62. Hostname=127.0.0.1' v! [& ?# u9 H$ P
  63. User_name=testuser4 |2 p3 t9 V, ~, J% Y& [; r
  64. Password=my_password  X( T% S0 V# ~
  65. GetDriverFunc=getSQLDriverMYSQL( n# ^: P4 S6 P# N# B8 R
  66. VendorLib=libmysql.dll
    * t# ^4 Y$ c5 s8 W& ]
  67. LibraryName=dbexpmysql.dll
    5 _/ ?$ s( L  t6 ^6 x8 |/ t
  68. Active=1! n1 h/ _2 K+ v# `0 Q/ [' h% F6 g9 b6 q! X9 \
  69. ---example----
    ! X1 M. D! V- ]. u
  70. - written 02.03.04 by pwk.linuxfan4 u# F9 K( F- R' h- Q" j" X

  71. , z/ ?8 p; S9 k5 Q4 v! X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# |! z( d5 m, u. H
  1. 8 r+ r+ o( V. ~3 Y' R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) W% r: @1 a, z" Q4 @# N! x  _9 H
  3. 1 r: U4 a, x6 U) k1 x+ ~3 _' A+ O6 s
  4. # # #我们所需要# # #
    $ O. L* A. p( t; T, K- \8 K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# l3 L# R0 H7 j
  6. 不会解释如何做到这一点-也有文件存在,为' O: f  J. C( d+ Z3 u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 g* F- P2 ]0 Z4 J) j1 d# n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" _) Z) U6 @: S* q$ a% _/ l* D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 L3 G# L, t& Y5 g
  10. 本地机器,这是我的MySQL安装。
    ( f5 U% ]3 x. Y3 T9 j7 h: \5 ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 E5 `: C7 Q! B( k) v  I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' `' x2 e4 |$ |* c% z
  13. 数据库。
    & s# x( [/ a6 a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 Z. M- `* u) q  F! ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状; T5 h( P* w& M2 m9 F* j4 q* L
  16. 在teamspeak论坛,如果你有兴趣。 - `  v2 Z! j! f; Q+ J3 z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) n! m6 t8 g. |$ O" D  x' q0 i
  18. Borland公司使用。这个司机只能界面与客户端库  s/ Q( n2 a3 s8 ~' ^0 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 ?2 j) a" X: ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 `* ^+ ^6 ?/ X) A
  21. " vendorlib " ,并解数据库连接。
    : c5 g) F2 z0 C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # J4 b% O8 W! `7 J) O/ b# V& d+ C" [
  23. 3 G* V' \1 i7 q( N+ ?4 F) c
  24. # # #做好工作# # #
    * S( J2 Z( p' }1 _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 k# z4 W# a, V7 w* x3 c& [  Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 Z- j. [4 @# d. Q( k5 w  E
  27. 结束:
    * c* U1 J; L% S3 J: V1 G1 m
  28. ---削减这里---
    % F. w% e$ R5 O9 r
  29. [ dbexpress ]
    9 K4 n/ u6 {5 s* [
  30. sqldir = mysql_sql ) `, v: M7 \: J
  31. drivername = MySQL中& L$ m) M  J! L; q6 T0 Y" u
  32. 数据库= your_database_name_here / O2 @6 d; J2 w# D! p' c2 r; k
  33. 主机= the_pc_the_mysql - server_is_on
    & p# N* y- c/ b6 K, G
  34. user_name = user_name_on_the_mysql服务器
    9 K) p+ }7 X1 c
  35. 密码= password_to_go_with_above_user_name $ @4 ]/ E0 [) R" @" V
  36. getdriverfunc = getsqldrivermysql
    # J4 y! p. v  Z5 B5 g( X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 N9 v: U# y. n/ G
  38. libraryname = path_to_libsqlmy_libary
    ) P7 u4 w- E4 y2 \' E3 Z5 v4 z
  39. 积极= 1
    & _  j3 x- F4 R* F
  40. ---削减这里---
    4 K; Z* G7 C- k  a5 K7 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' d- c. C, e/ G' u% I$ D' r% R
  42. ---例如---
    $ ?4 S' P/ [& @, L; b  e, M- W
  43. [ dbexpress ]
    $ Y7 S0 n! J0 C
  44. sqldir = mysql_sql
    ! S' D7 j6 `( R* ~0 R
  45. drivername = MySQL中
    * K, Q3 p) Z' v8 o' C% j- F) J
  46. 数据库=测试/ |3 p" v8 L. H- Y* S+ c+ V
  47. 主机=本地主机/ a) S4 T+ C# |5 ?/ W% _8 @
  48. user_name = testuser - f' v. O9 z- a
  49. 密码= my_password
    ( |4 {5 x( n  K% _0 z/ t
  50. getdriverfunc = getsqldrivermysql ( |1 i& O+ A3 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 K1 J) [, k4 `& y. p8 w) S
  52. libraryname =. / libsqlmy.so , u% J$ n/ a: m
  53. 积极= 1
    - w) ^* d# ^1 ^1 G) p2 ~9 t
  54. ---例如--- * p& A% K- y; Z2 N$ J/ o4 A
  55. 3 m' _) [0 X! l0 h& h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 a* A$ t8 R) M( w: t
  57. ---例如---
    ' g. X  B6 D# k* O4 K
  58. [ dbexpress ] / @3 e1 o) r# C. M
  59. sqldir = mysql_sql
    % i* D# I$ k6 Y
  60. drivername = MySQL中5 b) O9 g$ N$ r, {! P
  61. 数据库=测试" F  X# Z+ v. [/ r) P3 Q
  62. 主机= 127.0.0.1 ( |$ U  ^& G0 [! N$ ^
  63. user_name = testuser % f8 B( K, e4 T) B5 D  H2 \0 c  t# r
  64. 密码= my_password
    4 @- q. W5 w7 i1 X3 n. l/ B
  65. getdriverfunc = getsqldrivermysql
    ( E  J8 [! }; P3 Q  L9 I6 |+ b
  66. vendorlib = libmysql.dll在  z4 d" }; R. c1 l
  67. libraryname = dbexpmysql.dll   B- K& H) G9 v
  68. 积极= 1
    / E- x) C3 p; q+ C# p
  69. ---例如---- 7 I( G7 y8 E6 @6 Z$ @
  70. -写在0 2.03.04由p wk.linuxfan% C, [4 P$ ]- W) ^
复制代码
发表于 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
# b' R6 ?6 _8 m4 j& L: g& ^  U) d) f( ~3 z9 |
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-31 06:44 , Processed in 0.093414 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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