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

2280 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! g4 P# p& m- n4 X' r% v. w
. h8 b7 }0 J. s, c! e# `

  1. 8 m+ S3 j' n  i- v( z' _2 O) t. l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, T1 F) {2 _$ K) q+ Q
  3. 2 p0 U0 H2 Y! s
  4. ### What we need ###
    8 P: f/ B0 P! W/ ~+ f6 p- q7 {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( n( k3 e5 J- O2 f
  6. will not explain how this can be done - there are documents out there for the " Y9 a' A* D0 Y( H! ^+ K8 L4 `
  7. interested. The requirements include a (empty) database for TeamSpeak to use! O) O6 N, n9 d
  8. and a user account (username + password) that has the permissions to do stuff
    6 p2 }( c0 t, Q$ [* [+ P: t2 x
  9. with the database. Additionally, you will need a vendor library installed on the, L9 j. ?  q0 S) b
  10. local machine, this came with my MySQL install.
    ' w7 _/ P$ Z3 x& B  U) S4 F
  11. These instructions will not tell you how you might transfer your data from the: _; r! L' E: {1 ^6 O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 V9 {' @4 n/ o: W
  13. database.
    " w! N( f% V2 h3 H4 @0 a, f
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 E2 ]. Y! T- }% }
  15. the time of writing, there are still too many issues - check the current status. r, \  H1 f$ P1 {4 _
  16. in the TeamSpeak forums if you are interested.- O. v. O" C  t2 I! y+ t1 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 T  p. Y7 Y: u3 T  x: x+ e" ^
  18. Borland was used. This driver can only interface with the client library that 2 o. _: ~- S) ]/ B' c9 B2 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( t) l8 x. O6 G2 |* R! n+ R
  20. client library - basically all you have to do is to use a 3.x client library as " ]& w% U' v' E6 I
  21. "VendorLib" and a 4.x database to connect to.! {) X) L% a; @* B4 Q" x3 r1 F
  22. If you need more info about dbExpress, you can contact Borland.
    7 u: p8 h$ A% U/ r$ F+ w$ R

  23. " A: a3 @' q3 u; ^9 v* r0 \+ l
  24. ### Doing the work ###
    , q8 I& M. C5 P, J: w6 g) I' q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 @) e! P9 a5 J9 S; g
  26. the perquisites right, just open your server.ini file, and add this section at
    8 _' u- Q0 {" _  x
  27. the end:6 y0 m$ E, n: B7 s
  28. ---cut here---# A+ \2 G& j7 `' B, `" m+ ?& Z
  29. [DBEXPRESS]
    ' W- o; E% |/ _& M( n4 r* d
  30. sqldir=mysql_sql
    , S+ a: }5 @# X# u, S
  31. Drivername=mysql4 L$ L' _& F7 ]: c
  32. Database=Your_Database_Name_Here
    " L7 D) x" c5 ~' R) e' U7 ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 R' b' v# N) z# E) R
  34. User_name=User_name_on_the_MySQL-Server
    6 B0 b% i/ r$ Z4 G" [8 p
  35. Password=Password_to_go_with_above_user_name
    9 z1 C1 B3 z5 |* v  e
  36. GetDriverFunc=getSQLDriverMYSQL& L: X- q+ E4 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; Q$ ?: q2 F' k( n- t) D8 \, _
  38. LibraryName=path_to_libsqlmy_libary9 _. o* @- o* f
  39. Active=1
    ( F1 S8 B+ b2 {' R7 Z
  40. ---cut here---
    % R: h. n+ B7 i: C
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + l8 h- ?" M. Y) P' }# J
  42. ---example---
    $ G$ P& Y1 w# c% y
  43. [DBEXPRESS]
      R. H; {2 n# a, y  N0 I' E* {0 f
  44. sqldir=mysql_sql8 J$ y+ E* @/ G0 H( b+ _; _" u3 z2 T
  45. Drivername=mysql
    % P) x, r- s- O( y  v4 ?) ~
  46. Database=test
    0 z9 |  y: n6 z' r! D, `
  47. Hostname=localhost% Z$ D/ |/ Q3 ]1 E
  48. User_name=testuser
    & ~) h0 D* ]5 t; g
  49. Password=my_password! l$ B' V' W# z" \* s( x6 x# o5 V0 u
  50. GetDriverFunc=getSQLDriverMYSQL* B% N& c3 V' V! |3 V5 J  r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & Y6 E' m2 i% _6 ?1 G
  52. LibraryName=./libsqlmy.so
    : \- l% @/ s' D; D
  53. Active=1
    ( A: @! I% ?6 R$ o- [
  54. ---example---
    + m" d  O( D1 m' m
  55. ) s. o! z5 w$ q3 w* a; d, g, f
  56. On a windows box, also running the MySQL server locally, it would be:$ V, ]* i: ~1 P. {; S1 b8 p* n
  57. ---example---
    " r2 t2 A& v6 T) W) z! F
  58. [DBEXPRESS]
    ( D* u* ~" `8 `) w3 m
  59. sqldir=mysql_sql
    3 w5 f0 a6 t4 D5 v" f3 p! A0 ?- J
  60. Drivername=mysql
    / o0 M% `) X; c6 v& b, p( g
  61. Database=test6 z( h2 G+ R  Y. m6 t
  62. Hostname=127.0.0.1$ b/ h6 E, ?2 U: e
  63. User_name=testuser
    ! }% B( K' g' x: t  K# Z9 Q
  64. Password=my_password
    * J$ o0 T/ X, I  w/ d) L  r
  65. GetDriverFunc=getSQLDriverMYSQL& c; Z/ k1 Q! R3 u  |4 M
  66. VendorLib=libmysql.dll
    2 p. }2 R+ e+ S8 e  b# a
  67. LibraryName=dbexpmysql.dll
    : a* C4 M) k- b% q5 i3 s
  68. Active=1" A3 O: m# ]! H' \
  69. ---example----
    7 G  y3 U# ]; ]
  70. - written 02.03.04 by pwk.linuxfan
    9 `- O7 \: z7 X* j

  71. / w* _& r7 x; K, C6 K( Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 v" q2 _0 H9 ^6 ~2 B2 J/ v

  1. * L/ S& J, _, v5 i: ]2 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 W( _+ p  N" m: Z; `
  3. : v. ~/ K( I# W- c- L8 C/ s/ F
  4. # # #我们所需要# # # / k; D7 d( W9 k# h0 A; [$ `1 t4 ^+ N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ g' L7 |* _, X) k8 j
  6. 不会解释如何做到这一点-也有文件存在,为+ e) g# a1 ~; P) d( l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 o$ i3 U5 k: _5 Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; ~4 {4 b! C1 e; z$ b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- f# K1 R6 }7 n2 J
  10. 本地机器,这是我的MySQL安装。 $ q: K/ I: H; D5 v2 |2 B, ]4 B. s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / p8 V- j! T* I4 @3 J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 i% S9 n: \- Q9 K
  13. 数据库。 " k7 V4 B2 X8 |# X: T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ G) ^- c* ]5 m. y! f
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ @# z3 n' m# U! U
  16. 在teamspeak论坛,如果你有兴趣。 ) F4 C  `1 N' V" v. k0 U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 O4 i+ q. A6 a) u& Q7 X
  18. Borland公司使用。这个司机只能界面与客户端库4 }" z& k+ p! P* @8 V! J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 K& o' N: x" D3 y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( K/ X% S$ y, K" Y; f: h) q
  21. " vendorlib " ,并解数据库连接。
    , k. q' L1 T# \) T* ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 r: V' z! P( F9 c  e
  23. % e9 ]2 W0 W3 R2 Z) }3 v
  24. # # #做好工作# # #
    . ~# t# k% D. ^* W: m3 F# y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 x* [$ u- w0 W$ S& R3 s! v" i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 L; s  Y* [; h2 [* O. t2 G
  27. 结束: + x9 f+ a( o& I% c. \0 s" q0 J9 ?
  28. ---削减这里---
    + ?4 h6 c  v7 C* I5 O9 B  m/ @
  29. [ dbexpress ]
    " h' \9 ]1 {9 N$ d2 @* p. _
  30. sqldir = mysql_sql
    2 O, W) c! L% ?/ y
  31. drivername = MySQL中
    + ]4 P2 G4 T  z! K0 ~( C& Q3 `
  32. 数据库= your_database_name_here
    2 |% N/ Q7 W! ^
  33. 主机= the_pc_the_mysql - server_is_on
    7 a: G5 Y( x6 t% m  f
  34. user_name = user_name_on_the_mysql服务器
    ; F1 h& X. Q" D3 K
  35. 密码= password_to_go_with_above_user_name , \. b9 d  u/ V5 Q. ~3 K6 w2 [
  36. getdriverfunc = getsqldrivermysql 8 P: H+ T! ?4 j& E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # l0 a1 E$ x  H6 l- e. {- v
  38. libraryname = path_to_libsqlmy_libary 4 E* q4 D; j4 C! T; a
  39. 积极= 1 1 f& P' @/ w' q, J7 y
  40. ---削减这里--- + H; e( I9 b& t, S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 m# I" n& \. n% X6 N
  42. ---例如---
    ) C) }# ~- j0 W( t/ \: G
  43. [ dbexpress ]
      @% |, T6 s0 S1 Z3 g8 ^
  44. sqldir = mysql_sql
    ) M: L: n8 M9 z0 V1 {4 M5 M/ \* m
  45. drivername = MySQL中
    / J& _6 T  i# x  S" ?9 d6 ^+ }
  46. 数据库=测试
      y% V. e1 {, I+ }5 ~! F
  47. 主机=本地主机
    & ~$ R3 P5 k0 H9 k+ ~7 g4 N
  48. user_name = testuser ) }( V1 p  o/ V& _% R
  49. 密码= my_password
    * Z+ ]* S- a8 s* n
  50. getdriverfunc = getsqldrivermysql
    ' P& n2 F* |1 O& L4 b1 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ v7 L1 i+ h% z/ z6 m3 ^1 @
  52. libraryname =. / libsqlmy.so 4 D. A/ E. ~6 \
  53. 积极= 1
    ) A) N0 t$ A8 z& {! E# a
  54. ---例如--- % W$ T1 H: k1 }  E9 Z$ T

  55. % D+ V5 _& c1 B  b& s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . I3 e. W" `' H: F4 v$ j
  57. ---例如---
    + }: k3 S1 J* I) L
  58. [ dbexpress ] ) D3 y' ^8 V# X7 |. i3 E0 S
  59. sqldir = mysql_sql
    ; U( j$ X; q( H5 ^+ o' I
  60. drivername = MySQL中+ R# }) y# {, {0 ]
  61. 数据库=测试- v: j& f9 ?; P2 c8 A. ]
  62. 主机= 127.0.0.1
    9 t+ E2 m- [4 f4 z9 U
  63. user_name = testuser
    0 c3 v7 F6 E. n! R# M
  64. 密码= my_password
    : y, y7 j1 m) I( x8 f- U) k
  65. getdriverfunc = getsqldrivermysql
    . J& Q+ P: P% C& a2 u
  66. vendorlib = libmysql.dll在
    - }1 z- x- Y1 T1 b- k
  67. libraryname = dbexpmysql.dll + C& }) I: l; n+ G) R: L. ]5 r
  68. 积极= 1
    * k) m2 @" \+ M0 U# T1 T1 p, t
  69. ---例如----   @# I( i5 z+ Z) w3 @+ i' U9 ~
  70. -写在0 2.03.04由p wk.linuxfan  J% T5 t. u8 M4 }
复制代码
发表于 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# H- ~1 N: H6 Z/ v5 I( w% c: L
9 b0 x, w+ r: d0 I, F
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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