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

3121 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 ^3 A+ I9 I9 V7 R6 t' U

4 U' J% C' W1 w3 N3 B$ j
  1. : T, J0 M* o7 @4 `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . |8 K' W" R  y) S3 P" Z4 R9 Y
  3. 3 }4 t& s) m$ ~  M: N) \' v3 I
  4. ### What we need ###
    ' F; R# d3 H5 p3 a- c4 `' t
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 e; P- K) L! a* ?# v
  6. will not explain how this can be done - there are documents out there for the % i* b# l8 ]; a/ C( j  W9 I
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 Q* f. o, I6 t. m2 v. d
  8. and a user account (username + password) that has the permissions to do stuff( g# i+ w3 \9 B7 @. {: }
  9. with the database. Additionally, you will need a vendor library installed on the
    # c% C- S8 @1 ^2 u, H
  10. local machine, this came with my MySQL install.
    " R- J: J" B6 A3 T
  11. These instructions will not tell you how you might transfer your data from the( Q% A% n+ d' W  A; n* c0 g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! Y$ N; k: l- c9 C! W/ S* v; [
  13. database.
    : g! J7 V% m8 c: `! J7 x3 ]# U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( F# _4 x3 v( x% q' L
  15. the time of writing, there are still too many issues - check the current status
    8 c6 D. V- }; w* [  t
  16. in the TeamSpeak forums if you are interested.
    , i8 I5 |9 V% D  n" ?6 D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 ~8 @+ Y; f& T  v( A$ F! z
  18. Borland was used. This driver can only interface with the client library that
    & m6 h( u' v  m) _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 _8 S+ D9 G2 {/ p2 ]
  20. client library - basically all you have to do is to use a 3.x client library as
    4 I; Q# J4 o6 D2 q
  21. "VendorLib" and a 4.x database to connect to.
    ! r0 w& u% ^. E+ Z5 ^& m
  22. If you need more info about dbExpress, you can contact Borland.. y; M0 u  x/ Q1 i6 u" y5 S
  23. , T+ `$ q( X% P( ]& L  S& X
  24. ### Doing the work ###2 E+ D& Y1 R! Q$ _! a- {- l7 `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 Y6 o) h; [  x+ U
  26. the perquisites right, just open your server.ini file, and add this section at
    / P6 X" Q+ E7 u: X! G
  27. the end:
    9 Y4 I" h$ p" d' V
  28. ---cut here---/ l0 B1 d; G9 ?8 y% x* n# M- g
  29. [DBEXPRESS]
    * K4 `, g9 y- @
  30. sqldir=mysql_sql3 j" c8 e* j: N+ `* i, B* {: t
  31. Drivername=mysql
    ) _0 u& a( B  q. b0 f" Q5 K
  32. Database=Your_Database_Name_Here
    8 |* m# {4 q% x0 {% B9 H0 S" U
  33. Hostname=The_PC_the_MySQL-Server_is_on2 h7 t* M9 o1 K+ i0 q% M0 {2 @
  34. User_name=User_name_on_the_MySQL-Server, `  H) W7 ]( }% }4 {& i
  35. Password=Password_to_go_with_above_user_name
    + _. b6 p! u8 @: M2 M
  36. GetDriverFunc=getSQLDriverMYSQL
    - x% ]) X  `9 H% o7 `7 g' n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( r; I; {8 B1 X; I& \
  38. LibraryName=path_to_libsqlmy_libary7 B5 [1 t& P: _% t. r% R
  39. Active=1* `. m# r8 n& a( M  U% x6 T5 c
  40. ---cut here---
    7 q2 r3 Z- W. p) r1 G$ ~& t7 f
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 b3 n  e0 M% X+ ~
  42. ---example---
    " d, J: }& z# s' t! v" c( G- {
  43. [DBEXPRESS]+ \7 U3 P) _1 l: W0 Q- {* S
  44. sqldir=mysql_sql
    8 l2 f* L4 O' ?2 w9 a
  45. Drivername=mysql
    ; h3 P0 z3 l. \% ]4 G0 ^1 \' {
  46. Database=test
    / {% o' N; v: D8 A
  47. Hostname=localhost
    # S! o  ?$ M7 U* m( Y* i
  48. User_name=testuser5 R- `1 A. g0 N; g
  49. Password=my_password) J/ ], d5 Y8 e" b7 h6 ]
  50. GetDriverFunc=getSQLDriverMYSQL
    " X; u: J. q+ M  Q, R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 O2 d( `2 ?! r- x( S
  52. LibraryName=./libsqlmy.so: h/ p8 d* v/ R# T& g$ W
  53. Active=1
    * P) p' b7 F% C$ A
  54. ---example---/ s& N9 W; `. v
  55. 5 i( }$ F5 ~/ F" b* @1 \2 z
  56. On a windows box, also running the MySQL server locally, it would be:6 X* o% s, Y# l+ f; V) d
  57. ---example---- J. ~; x$ {) X& D  k- [2 |
  58. [DBEXPRESS]' Y* Q! V. N! y# u, }
  59. sqldir=mysql_sql
    6 q+ }! G+ j) }
  60. Drivername=mysql
    / U$ }4 i3 R9 _1 f, o
  61. Database=test
    ; t9 z/ k7 u2 n. Z( M8 Q2 z
  62. Hostname=127.0.0.1
    % W9 q+ ]% N$ k) V6 m
  63. User_name=testuser
      |+ l& F' b$ k' e7 o" {/ J
  64. Password=my_password
    ! @# Y5 ]* |( h
  65. GetDriverFunc=getSQLDriverMYSQL! w& \: M" L: S; P6 E  }4 _/ U0 f
  66. VendorLib=libmysql.dll% V6 d4 n+ z( H' L1 Z
  67. LibraryName=dbexpmysql.dll
    2 G% t1 ]  f& u8 }) C
  68. Active=1* ~5 C- ^' V) u, E% G8 U
  69. ---example----; V0 {* v# ?2 J
  70. - written 02.03.04 by pwk.linuxfan
    ! S, P9 ?2 S- T
  71. 0 b) A2 }0 V2 U  k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# j. P( G  D; Z: I
  1. " i# @9 ~; P# L7 x4 O! ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' s! M; s. c; q
  3. ; k( A: L) X3 h( p
  4. # # #我们所需要# # # 5 h3 d7 c4 }9 g0 B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - d% p) A: z+ V
  6. 不会解释如何做到这一点-也有文件存在,为
    3 r* Y9 W5 `% _9 ?0 q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      D5 I5 {6 d" P% p. E' W% a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 r1 P- [8 E3 [3 m  U0 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " H, m* S! s, h6 o0 t
  10. 本地机器,这是我的MySQL安装。 / u" m: ~% i* S& }$ ?# [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % w6 V' R- E3 C3 L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # n  x6 I7 g; d, j7 F
  13. 数据库。
    8 ]4 ~3 Y6 {, [5 q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& \% Y- V) H$ L) _0 C2 x& i
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % H. q# w! M  f* l4 _
  16. 在teamspeak论坛,如果你有兴趣。
    ) x; p! i* g$ s/ T$ L: @$ `
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" P! ?$ l8 q+ |4 i1 C6 A
  18. Borland公司使用。这个司机只能界面与客户端库2 R6 M$ k. b' o( H$ A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; J9 Q1 F% w1 {$ h, z0 T( O5 t: N, ^4 l% k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# t. E. x0 N. U. v5 s( f9 N5 E
  21. " vendorlib " ,并解数据库连接。
    , I" G4 j1 Z) E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : b" X4 N& H4 i+ ?% z
  23. 0 Q: q" p' e/ M- Z$ E3 [: C
  24. # # #做好工作# # # $ R# R: h# U$ ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 F' x/ e8 d; a3 e4 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ G6 U( [4 Z) z" h8 y1 _
  27. 结束:
    * P( r- Q9 {7 A7 c. J
  28. ---削减这里---
    $ ^/ c0 b) r! h3 f5 J0 b
  29. [ dbexpress ]
    * B5 ~6 @" E7 S
  30. sqldir = mysql_sql / V# k# m) J/ ~9 v
  31. drivername = MySQL中3 W5 x5 w% z: |- y
  32. 数据库= your_database_name_here
    & B2 A8 {3 V) r, X# ]- v( l+ @
  33. 主机= the_pc_the_mysql - server_is_on 8 e/ P: p8 ]# r. q% r
  34. user_name = user_name_on_the_mysql服务器
    ( g: p& M& S8 I6 H- g
  35. 密码= password_to_go_with_above_user_name
    " E( _4 y4 L0 F' \3 V
  36. getdriverfunc = getsqldrivermysql
    9 E: N; ?* b2 Y7 n: z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # g% _/ K; E( \4 p5 e
  38. libraryname = path_to_libsqlmy_libary 7 @* }0 e( F( z/ z( l7 x! g
  39. 积极= 1 / }9 S. C7 Q8 |0 w
  40. ---削减这里---
    0 I/ X9 Z4 [2 [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * m; ]# |3 k6 L7 q- C/ \7 N
  42. ---例如---
    - o0 Y# ?1 L. c
  43. [ dbexpress ]
    , J2 [% |4 e$ r  n8 I9 e
  44. sqldir = mysql_sql
    ( D7 C0 v6 s4 T" ~$ z
  45. drivername = MySQL中( A5 N% s+ x' ^- S8 ]5 \$ c2 G& h
  46. 数据库=测试! N. K/ J- R9 Y; y/ d$ j
  47. 主机=本地主机  N# N4 c% r  `
  48. user_name = testuser 7 ~* X' g# l" M  v; W) h. f
  49. 密码= my_password
    7 @6 G, a$ M* X1 L7 V. W+ p
  50. getdriverfunc = getsqldrivermysql - \; r' \; j% s8 w0 h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , g9 u3 o% o: B: b+ h, ]% z( A7 [
  52. libraryname =. / libsqlmy.so , I' n+ n$ u* X% E2 {, a
  53. 积极= 1 % M6 C& V. D  _0 d5 d' k
  54. ---例如---
    " l1 U* s% M! |. d. D) \

  55. 0 r( e0 x  H: S8 M  a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( L+ R6 J2 u# z9 @( I( D
  57. ---例如--- ' h. N6 x3 D; \( _
  58. [ dbexpress ] $ `- [( e( k/ w
  59. sqldir = mysql_sql 4 k6 H/ n) E9 x8 `
  60. drivername = MySQL中* F: h+ h5 x) K* k- c% I$ v" L
  61. 数据库=测试5 k( B( B# ^, b' i; ]: D3 v
  62. 主机= 127.0.0.1 % F- Y$ l. j% W; H* B: I
  63. user_name = testuser
    " m  ?- C. s7 u: P/ N2 B
  64. 密码= my_password : T5 W' C2 ]6 V
  65. getdriverfunc = getsqldrivermysql
    9 X# [* g0 m( d1 }% X) x
  66. vendorlib = libmysql.dll在
    : _! ?: i5 u8 F* [
  67. libraryname = dbexpmysql.dll
    6 j( n* C, ~! L2 Q6 R
  68. 积极= 1
    % J- X6 J2 h7 M; a" @9 @
  69. ---例如---- " h( |: j8 h* X# F. |( F+ r9 S) }
  70. -写在0 2.03.04由p wk.linuxfan
    & \- M  P4 D3 J. s
复制代码
发表于 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& |+ ~$ d% Q8 A" R- y! |; \2 ]

, p! A9 I7 U3 J# j( g, U5 O& abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-5 15:27 , Processed in 0.097659 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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