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

2434 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) r% s9 `* _, \5 i' T; D! n3 u' |' @2 r! c3 ^

  1. / m1 x3 i5 G# V8 U7 F- S' h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) D5 ^+ `' z( Y

  3. ; D& ]4 @+ t# @1 Q
  4. ### What we need ###
    & k3 _# i& f, k6 b8 k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 b1 W/ _# }' i9 [; F
  6. will not explain how this can be done - there are documents out there for the 7 D5 I; K- Q+ D) E* k
  7. interested. The requirements include a (empty) database for TeamSpeak to use' U1 B/ q) O& s; E/ u3 T
  8. and a user account (username + password) that has the permissions to do stuff
    + e& A. z. O5 L- d
  9. with the database. Additionally, you will need a vendor library installed on the# P3 \- ?$ |6 b1 g7 }0 |
  10. local machine, this came with my MySQL install.+ q1 c% O4 a: m
  11. These instructions will not tell you how you might transfer your data from the
    - h0 i3 m5 D- o6 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / ?# S$ U, f1 `6 t
  13. database.& f, ^1 A: t9 C" r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! L' H* ~( r+ d( v
  15. the time of writing, there are still too many issues - check the current status  W0 A! H0 E) e; s" B: ]$ [: g2 Z
  16. in the TeamSpeak forums if you are interested.
    8 R1 |+ c, `4 n7 H3 x0 P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ P4 ^; T( L+ v, M/ E' a& R( S3 S
  18. Borland was used. This driver can only interface with the client library that
    . `, c- R9 B4 g* \  R6 B$ J# j+ T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : y) Z' m! ?- n8 l/ W$ N
  20. client library - basically all you have to do is to use a 3.x client library as
    % F; n5 N; t) p2 J7 }
  21. "VendorLib" and a 4.x database to connect to.
    2 w/ k2 y  `# `/ R1 i
  22. If you need more info about dbExpress, you can contact Borland.
    6 c* t  }+ K5 h* d

  23. * ~" {5 |! o7 K1 B
  24. ### Doing the work ###
    7 ?$ g, @8 _. W  @* A0 }5 u% I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % G' R' }) x) z% s
  26. the perquisites right, just open your server.ini file, and add this section at6 ~8 X# a6 I6 B# u
  27. the end:
    " M! u( R2 D* y5 {
  28. ---cut here---& m% a- }8 ~* Q7 N; S) y! e- g
  29. [DBEXPRESS]
    # f9 r, V& I5 x6 x' G/ _& i
  30. sqldir=mysql_sql: I" ^# `; w% ^& e) e: X( V. B
  31. Drivername=mysql
    " r2 H0 D" {  s7 `& q$ U
  32. Database=Your_Database_Name_Here* k) t, w5 x, `% J( {
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 R1 u$ w; w* Z
  34. User_name=User_name_on_the_MySQL-Server
    - I1 p7 y7 j% ~" y
  35. Password=Password_to_go_with_above_user_name
    * W$ g5 v. P9 S! g" ^- q0 t
  36. GetDriverFunc=getSQLDriverMYSQL
    5 {( Y* T4 P  B9 T, [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 A: f" e7 {+ y" \% R. l0 j
  38. LibraryName=path_to_libsqlmy_libary
    , P$ u, @" w$ ?3 R
  39. Active=1$ y% b  F: M3 v% ^6 k! j" p5 A( g* V
  40. ---cut here---8 ^1 D6 e: R. A! Q- V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; R2 y. h0 n  e2 O; ]) V: f
  42. ---example---' w6 v7 s7 F" x. Z
  43. [DBEXPRESS]
    + {' B  n  p5 w* w
  44. sqldir=mysql_sql6 `% L6 \8 D+ |0 |9 I( N
  45. Drivername=mysql5 _% {6 ?  |& ^3 w
  46. Database=test$ P2 A* l( D: @/ d% o' X* y
  47. Hostname=localhost9 D' S. @: J8 n/ v$ u
  48. User_name=testuser! _$ k# ^' Y- O5 {0 y) f- c
  49. Password=my_password, X  d1 t( R/ _3 S- n
  50. GetDriverFunc=getSQLDriverMYSQL: P/ ]$ D7 S6 E- P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 f  o/ S" j' n$ P5 \
  52. LibraryName=./libsqlmy.so1 c7 m$ N) I  ?
  53. Active=1
      d: C, o. j  w7 x/ w6 y9 I" z. a2 D/ T" K
  54. ---example---+ S; H9 c; C& A4 J: w

  55. 1 K% K* _0 v% y* N$ A3 k) C( h
  56. On a windows box, also running the MySQL server locally, it would be:$ W: {2 s. u5 W" o$ l+ z
  57. ---example---+ I# Z) [7 h9 f' A# l! p
  58. [DBEXPRESS]1 s$ j' P; w1 C
  59. sqldir=mysql_sql4 Y. U6 b4 \" a3 t# j1 v0 o, N7 n0 D
  60. Drivername=mysql+ g2 t  j- ?- s7 l5 m6 M
  61. Database=test1 d- Y& F0 x6 @# ^; b
  62. Hostname=127.0.0.1
    # r. a4 V" d$ ]
  63. User_name=testuser
    ! Q! l% |7 ~1 e' X0 x* f$ }1 Y
  64. Password=my_password7 C8 I* O6 Z  W# s/ \6 m: p, `9 Q$ L
  65. GetDriverFunc=getSQLDriverMYSQL  w. E4 S+ ~8 Q# t% Q/ t( p
  66. VendorLib=libmysql.dll' M% B  H3 k- B$ c! y. R
  67. LibraryName=dbexpmysql.dll
    " i* d  Q# G1 o- i8 Z6 L* C' h
  68. Active=1: ~- k! I- h/ }. k+ d
  69. ---example----
    ' |' L( f7 _6 E' l1 n: l* v+ {
  70. - written 02.03.04 by pwk.linuxfan1 `' h+ \3 r0 x

  71. & X+ w7 z# }" f8 S0 N+ c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! w$ b" f* g% j4 g4 K. `
  1. 6 @, V; [, `( t, [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * R# {. J! f# B: y4 q+ d. q
  3. $ v) e1 F, J1 a# i" q, ^
  4. # # #我们所需要# # # # I$ X' \: c! a2 q1 T( x: b% r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      o- h: b( h2 s% \
  6. 不会解释如何做到这一点-也有文件存在,为
    5 Z( q9 B: |4 f" i, X4 h4 V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% U# m# W3 a7 e! F3 [: R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ Z0 T4 x' J/ T) {* ^# k: |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & d: ^' l7 n# }: \7 r) J1 _6 ?
  10. 本地机器,这是我的MySQL安装。
    8 ~$ D7 R' K( Y3 n" }7 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 ]) a# k/ _" i5 o$ _. O9 G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # ^9 _5 r+ ]4 p" P
  13. 数据库。
    . ?" I- @9 }+ S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ T$ U' N* r4 w
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 ^% x1 B& {9 d" |: c$ W
  16. 在teamspeak论坛,如果你有兴趣。 $ L" ]  x( a$ c$ ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) V5 ~4 f# ]+ ]6 l" x& V
  18. Borland公司使用。这个司机只能界面与客户端库
    ( N! T7 D, o9 c/ ~7 n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 z* E5 \" M2 W! }5 Q7 {# {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ J7 h7 _8 G9 r  X9 ^8 `
  21. " vendorlib " ,并解数据库连接。 ) A) k7 e4 i0 m( ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + |& ^+ }  Z: V9 b

  23. : ]# _6 \$ z& C: L/ {1 t3 A" A6 h
  24. # # #做好工作# # #
    7 b* u$ K$ R# O, D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ z# n6 I4 v& Z0 o- [, a! P2 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 @; k3 U) `1 o) o. w6 U
  27. 结束:
    ) d# h9 g( F) q* w: V8 b
  28. ---削减这里---
    % G4 z6 l, F7 A! D0 I& A  }
  29. [ dbexpress ]
    ( R( }& ]! M4 n4 P( \8 r! b' ]/ U
  30. sqldir = mysql_sql
    ( m) b% g$ b/ h4 h& y
  31. drivername = MySQL中
    ' a: j$ ]2 K" S) o/ ?8 S
  32. 数据库= your_database_name_here   W% A5 u4 x& l0 G# G; n' G
  33. 主机= the_pc_the_mysql - server_is_on
    ) v: C( k$ j% a$ X+ C+ X
  34. user_name = user_name_on_the_mysql服务器
    . b. V4 c9 H& |; P" [  {
  35. 密码= password_to_go_with_above_user_name * |+ f9 t% F# l, J
  36. getdriverfunc = getsqldrivermysql
    9 R+ j7 E  n7 u5 `1 m2 g% e: T+ S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 r7 {5 A7 p- b7 k
  38. libraryname = path_to_libsqlmy_libary * ~/ A8 L! f/ V
  39. 积极= 1
    % i  `7 q% K/ N' T8 ?6 p
  40. ---削减这里---
    & R  z  n6 z: o2 P4 h. `3 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " n: V8 D- E; u) W
  42. ---例如---
    ; Z9 ~1 R; L+ j& X7 k1 t
  43. [ dbexpress ]
    ! H# i# W/ J# N9 ^: k
  44. sqldir = mysql_sql . B2 `; ?3 z3 j5 i$ w; \
  45. drivername = MySQL中
    ) U) K' h+ |. ?& Q* \
  46. 数据库=测试1 F5 Z2 O* i3 |( W% u& j
  47. 主机=本地主机
    2 W4 e( w* g. U6 u) J5 Z; Y% ^3 Y
  48. user_name = testuser
    # E2 {7 _. j  k
  49. 密码= my_password
    : i* ?& f# F$ q( N/ x1 E
  50. getdriverfunc = getsqldrivermysql , R' A: O$ B8 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " ~$ @3 A" b+ ^& n; Q4 i% k% t( J
  52. libraryname =. / libsqlmy.so
    ( y! s5 i& D; P- v
  53. 积极= 1
    $ T  j5 C2 p8 p9 o, S2 x2 o0 F. X
  54. ---例如--- 1 g8 F& D1 P7 [# Y# j* O
  55. & b3 E/ F. ^9 u1 ~) A
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 V. ~; \; `% S. O$ e$ K; a+ n/ |
  57. ---例如---
    + u# [7 V; u6 q/ Q" P0 b- x% X0 k
  58. [ dbexpress ]
    ! k3 R+ O4 O3 u2 F" d/ U+ w
  59. sqldir = mysql_sql ' i& R6 T( T& O+ A7 O8 c1 A
  60. drivername = MySQL中
    6 `: x9 @; R$ X/ g! U
  61. 数据库=测试
    - ~" H, J) S* L' S0 I* g
  62. 主机= 127.0.0.1 6 Q$ [! g& k4 d
  63. user_name = testuser 1 M4 d! K. j4 F8 Q5 }5 `- j) A
  64. 密码= my_password
    6 z( Q' C- }; M, ~8 U
  65. getdriverfunc = getsqldrivermysql
    7 c& y$ \' }8 e/ d) G
  66. vendorlib = libmysql.dll在
    ! X& `* c8 y$ L# O; V; P
  67. libraryname = dbexpmysql.dll
    4 x6 ?, N; g; n9 [
  68. 积极= 1 % v+ V: ~4 @& ~7 J$ i
  69. ---例如----
    % I" W, A0 k1 r4 d, n5 w
  70. -写在0 2.03.04由p wk.linuxfan
    8 A4 i- W. G% S/ n! N
复制代码
发表于 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
' l' n$ m2 t- C0 m! t6 C! Z5 v4 ]0 t2 M( J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-2 11:53 , Processed in 0.076116 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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