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

2906 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  q3 A/ U; j* t4 I" T; J  g
. X: d: }5 o( Z, C! v( u+ `
  1. 2 h; s" D3 u3 _: S6 c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # Y( o2 t7 {' f: ?# h9 I
  3. : ?$ _) Z( d  |8 s0 s- h
  4. ### What we need ###
    " d) V) G8 ?0 k: ^/ }0 f
  5. Naturally, we will need a MySQL server to store the data for us, this document ( `' P  C4 R3 p
  6. will not explain how this can be done - there are documents out there for the
    * _) j& P, A( Y0 u6 ]2 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , H( o- v9 x; t7 \1 }  p7 d8 p
  8. and a user account (username + password) that has the permissions to do stuff: \  t* N! f1 X* |" I7 Y' T
  9. with the database. Additionally, you will need a vendor library installed on the
    , e7 e1 g+ z+ ^5 j
  10. local machine, this came with my MySQL install.
    1 r2 e) r+ p" z+ W. A! [- d
  11. These instructions will not tell you how you might transfer your data from the5 f' B6 _0 K: d; D4 I8 g" H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % A9 b4 q6 x4 E2 n
  13. database.# F2 _/ ]( E( y6 V/ B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . J2 N2 j! s3 Z& l+ c8 S& |, C
  15. the time of writing, there are still too many issues - check the current status
    & C2 D- H! Z. ?- I* I) l
  16. in the TeamSpeak forums if you are interested.2 `) o0 F* J1 S. q! g" ~9 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) s' ]0 s8 T/ W& l  e, n  m& ]
  18. Borland was used. This driver can only interface with the client library that 8 w3 E; m# Q- t; X) ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " @. j' K2 ^7 I7 X: E
  20. client library - basically all you have to do is to use a 3.x client library as
    " V" r/ x" `) \1 b3 s/ C
  21. "VendorLib" and a 4.x database to connect to.
    + S" C9 X8 W" d- T& ]  I  _
  22. If you need more info about dbExpress, you can contact Borland.
    9 y, L& O/ j) T% n) C$ J5 ]

  23. 8 W% S3 S% u- W: G! ?
  24. ### Doing the work ###8 c6 i) F# @8 r' P3 R6 `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 |! t3 n: f/ V5 y
  26. the perquisites right, just open your server.ini file, and add this section at
    1 w/ `# B; K) _% R; F- {2 |
  27. the end:4 [; q! w, `3 ?  o+ T
  28. ---cut here---+ G- ^/ z1 S# V5 L$ \5 q8 O, |- P
  29. [DBEXPRESS]
    . ]2 _9 f% A% m; R% c: K( E' G6 \8 m
  30. sqldir=mysql_sql$ G  C9 N3 J" v" F- T3 U
  31. Drivername=mysql
    , }/ i- b' g8 T
  32. Database=Your_Database_Name_Here4 d0 _& w9 x- j7 m6 R  {4 Z9 s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 O" d# {* `2 Q1 O
  34. User_name=User_name_on_the_MySQL-Server7 A. }) F. Z5 l3 N7 ^& p
  35. Password=Password_to_go_with_above_user_name
    . |0 H6 k$ z5 n0 S: h/ _
  36. GetDriverFunc=getSQLDriverMYSQL
    ( F# S9 I& a( J4 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ T0 {& o( }8 U5 x5 Q1 p
  38. LibraryName=path_to_libsqlmy_libary! K# x% f. l' c0 [: ]$ B0 P
  39. Active=1( p0 z: d; V3 \4 \% I  J% X
  40. ---cut here---
    7 p) n5 V0 a6 }- f) w0 j; ]+ k
  41. In my environment (a linux box with a MySQL server running locally) I have:: v! A7 z2 q3 {0 N; N1 Z6 g
  42. ---example---4 @. A# ]$ h1 L5 {0 ]4 n0 L3 w7 }
  43. [DBEXPRESS]
    : k- T0 h* _' N
  44. sqldir=mysql_sql
    ! {' x! t/ H- a0 a! w5 i
  45. Drivername=mysql- r+ H& H( x% g/ M' A& v4 Z6 q
  46. Database=test
    - v. S( u% Z' }/ K( @$ B7 x
  47. Hostname=localhost  E8 i8 z& L3 l$ G) o; I
  48. User_name=testuser
    6 n; T2 m. ^& v. _! x* [
  49. Password=my_password* }8 w6 n: t9 P8 M* z5 j  j4 ^
  50. GetDriverFunc=getSQLDriverMYSQL
    : L: f8 g' e9 [( }$ {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " L% Q( j7 b( Q- @9 P2 M
  52. LibraryName=./libsqlmy.so' \6 H6 k! B; \7 _! v3 P
  53. Active=1
    2 d/ I0 M* V9 }: |* b( }: q; M
  54. ---example---
    # K7 h$ x1 n  \7 [: ^

  55. ' F/ \( r) Y2 V  ?9 |' o5 S8 L
  56. On a windows box, also running the MySQL server locally, it would be:
    / H6 y, k) A3 R6 h
  57. ---example---
      o. @8 z# f* ~0 m; i5 Y: p
  58. [DBEXPRESS]
    4 }( w$ c- }5 ]  [2 d+ K
  59. sqldir=mysql_sql- W; N! p$ H1 q+ j/ f
  60. Drivername=mysql
    - c' G" R8 Y( v. F4 Q% }
  61. Database=test
    ' t: `; T& H1 I# o: Z. e+ q
  62. Hostname=127.0.0.1( k) b# p, C& h& a. A' e
  63. User_name=testuser
    8 Q) u' O3 t  R2 Y, a/ g9 ^& s
  64. Password=my_password7 `5 H! Q. m* Q5 G6 T: P) F
  65. GetDriverFunc=getSQLDriverMYSQL
    ) j0 ?  M( R& F. V
  66. VendorLib=libmysql.dll
    ; C, ~* b( {& w3 r* G
  67. LibraryName=dbexpmysql.dll5 S0 k( y# D6 l8 r
  68. Active=1
    - a2 \9 l( o4 M. B. F
  69. ---example----
    ( R- t: S. U1 M3 e
  70. - written 02.03.04 by pwk.linuxfan
    % k; ?6 z2 u0 l5 s6 M* v
  71. ( w2 s) o" L: i8 T. f- Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 Q# _$ ^! ^2 }3 O

  1. ! ]2 Y6 L1 _! A. D" o( B( T: z* L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / {$ `: m2 g$ u2 K$ j( x

  3. 4 q3 D  G* G, n: i# B" J; k" ~4 g
  4. # # #我们所需要# # # & }: n& A* g! ^" C! D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 R; j6 e" E8 ]! V5 H
  6. 不会解释如何做到这一点-也有文件存在,为
    9 S, C( c+ I8 d5 |! u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 P9 w8 W$ U- c$ {/ y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' y: _8 `9 }9 b9 l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* g" M9 Y7 y7 X# [/ k! t. S
  10. 本地机器,这是我的MySQL安装。 : P0 e) [% z: r; `, ~: q* t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ c/ w2 U* z2 t2 D4 e: e. [+ {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % V+ @9 e/ Q. }& F. q
  13. 数据库。
    + G7 S+ a: c) j0 {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& H) w# p" w5 b6 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ n, S$ f! ?( e* J) _! E7 f0 W
  16. 在teamspeak论坛,如果你有兴趣。 ; r$ _5 Q( w6 V2 T/ ?3 e* J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% p% \7 `  Z# }7 |- G: W' w
  18. Borland公司使用。这个司机只能界面与客户端库6 C: u5 C2 H& p' A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" L; o/ M% W) ]  d: Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * n' J2 z' w7 y" k, V  ~
  21. " vendorlib " ,并解数据库连接。 + H: a! ?/ o5 j6 H- ?) ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) K8 ~* e$ @2 s8 ?

  23. 8 ]8 c2 N6 T1 P0 D
  24. # # #做好工作# # # ) s: h: E3 F4 K8 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 W" v& A, z0 T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : t3 p, [7 W8 _5 a5 }4 b/ m
  27. 结束: % A) \0 x( a% v4 ^$ D! ~
  28. ---削减这里---
    , M, U1 e) I. U" p/ c
  29. [ dbexpress ] ) t* y; r1 L7 ]+ |" ]$ j
  30. sqldir = mysql_sql
    7 D+ d0 e4 K. F. P, u; v& Q
  31. drivername = MySQL中
    / U3 ?% ]3 I, |. r# h% ~
  32. 数据库= your_database_name_here 2 d2 g9 `( a$ F' A6 Y) q5 V
  33. 主机= the_pc_the_mysql - server_is_on " Q' v; @$ M9 ~/ j* J4 J6 m
  34. user_name = user_name_on_the_mysql服务器1 \$ P- {6 _) |" s4 N
  35. 密码= password_to_go_with_above_user_name   _8 S3 @/ K% ^! Y5 C
  36. getdriverfunc = getsqldrivermysql , Y' L+ J; m% v  a1 P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 J. ~5 C; g- f2 N
  38. libraryname = path_to_libsqlmy_libary
    . s5 ^% k9 [* L
  39. 积极= 1 4 }* x$ r/ r3 ^# q7 n
  40. ---削减这里---
    ( D6 h  {+ _# s& M9 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / Y* |4 ?$ G, q1 p9 r: f2 V
  42. ---例如---
    2 W; x; h' }" h6 _! y# y* D
  43. [ dbexpress ]
    7 k  \* T9 P' ?" q9 N! Q& a
  44. sqldir = mysql_sql
    7 \) q5 y8 d1 W% y8 c7 X; s
  45. drivername = MySQL中
    7 T+ T& a0 ~$ i7 M1 \0 S
  46. 数据库=测试
    + y# T7 \8 |' u/ g! A
  47. 主机=本地主机8 }. G1 H/ E# e1 I# t
  48. user_name = testuser
    ( R7 Z; O. ~, C/ x# J
  49. 密码= my_password
      k1 v# y' t  E! e: r- g0 i) e* t
  50. getdriverfunc = getsqldrivermysql
    ( C3 i! B1 a- J+ }2 O
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! |5 Y8 m! Y, l) B* I; o! A+ `
  52. libraryname =. / libsqlmy.so
    # t- ~& r# D/ M& ?- R7 @
  53. 积极= 1
    ) n3 P' u$ ~, i3 @
  54. ---例如--- ( G) _1 [1 V" G1 j1 O" o

  55. ! X( n9 E3 N4 k4 P4 i' s* \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 R3 E8 G6 x; H6 V" t
  57. ---例如--- + K# q( ~0 L  H  w
  58. [ dbexpress ] / @1 j) g( A2 n' {! Z) [, x
  59. sqldir = mysql_sql
    ; r7 \, y4 q0 k! `: f1 l5 \
  60. drivername = MySQL中" a; o4 y/ v* F  F  s3 Z2 D
  61. 数据库=测试
    # m3 s. a- F9 \( ]& y( H6 I
  62. 主机= 127.0.0.1
    * Z; E% R- l- X
  63. user_name = testuser
      M+ I2 X" h+ d# N# Z
  64. 密码= my_password
    ( }4 ^2 d9 k) j5 |) p
  65. getdriverfunc = getsqldrivermysql 4 N/ G2 s" c, D; ]# \! X5 y
  66. vendorlib = libmysql.dll在) `  P7 _! v2 q" ^& E; Z$ s
  67. libraryname = dbexpmysql.dll
    9 Z7 v' h0 j; Z4 M! ~5 A) U; i
  68. 积极= 1
    . T/ a/ b8 @3 e; k% _
  69. ---例如---- 2 q/ u6 }" g% x. y
  70. -写在0 2.03.04由p wk.linuxfan2 y3 L) R# b0 Y6 M! i$ O! d
复制代码
发表于 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
% X1 n( R' B7 B, o5 G% F# h8 H8 n) c% s6 Y- a
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-17 16:28 , Processed in 0.111341 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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