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

3353 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . I. B, P* ~) U+ Q
$ ], L1 E( O/ `; c/ l

  1. - m' H* z$ s1 T# p' P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 j& f* |) b. ~
  3. 0 g  }9 S3 _9 U3 y
  4. ### What we need ###/ h+ K: P' [: P0 N6 }) e% Q. m- N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # p* \& Y. {+ O/ ?# o' P- Z
  6. will not explain how this can be done - there are documents out there for the , N7 \- m2 J5 ^3 X7 o
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) D/ b5 m5 f, C" U8 I- v
  8. and a user account (username + password) that has the permissions to do stuff; {. {3 H: t4 g4 r& x
  9. with the database. Additionally, you will need a vendor library installed on the
    % e; t/ u; w5 R& ?4 U
  10. local machine, this came with my MySQL install.
    8 V) ]: Z3 l* ]; _. ?7 S# B, f
  11. These instructions will not tell you how you might transfer your data from the1 V) y9 f% {0 @& a0 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % [7 b- w- O8 B1 W# h- G6 ^
  13. database.: U) X9 a) v) Y6 g& I& P! h* d& J
  14. Some users have reported ways to import a SQLite database into MySQL, but at  ]% T8 l4 s% r! R' \9 @" d
  15. the time of writing, there are still too many issues - check the current status
    - Z: h/ B8 l# n
  16. in the TeamSpeak forums if you are interested.+ @( S' e: ^6 w, @7 K; X4 {: X6 w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 w  K% z3 T! s# }0 {
  18. Borland was used. This driver can only interface with the client library that * i) A' W# u- @) Q: k: I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 H; s6 v& p5 c8 r; O! h
  20. client library - basically all you have to do is to use a 3.x client library as
    3 Q: t8 }- k( z9 p! X
  21. "VendorLib" and a 4.x database to connect to.  f$ z% L5 T( Y) e" \% H3 I" d
  22. If you need more info about dbExpress, you can contact Borland.! B; I! W4 `  Z/ G  [: u3 P

  23. 6 o9 k) P  D2 @. Z
  24. ### Doing the work ###- R; M, y! |! e8 [0 g+ ^6 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' c( c' @/ S8 P/ U; c
  26. the perquisites right, just open your server.ini file, and add this section at, E% ]* B. A) x; |1 o
  27. the end:
    6 `# c- U. X, a8 q+ a. L
  28. ---cut here---
    ; y, H' H8 z* K5 \
  29. [DBEXPRESS]
    1 ?) q- i! |7 q
  30. sqldir=mysql_sql$ G7 n2 ^; E! @' }$ }2 N9 I
  31. Drivername=mysql- |* H9 N( Q. B- h8 M2 q3 j# Z
  32. Database=Your_Database_Name_Here
    7 X9 ?7 T# B& y3 H& Q
  33. Hostname=The_PC_the_MySQL-Server_is_on& d# q, I3 n- C5 S. k  p1 U9 v( h% Q# u
  34. User_name=User_name_on_the_MySQL-Server
    ' A5 r5 o* y* b, c" q. C" p
  35. Password=Password_to_go_with_above_user_name
    9 p# S$ T' K  T, J3 Q
  36. GetDriverFunc=getSQLDriverMYSQL
    9 W( a" W6 d6 x- L1 k* w, n  _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 F$ ^" A3 ?9 `3 W* D
  38. LibraryName=path_to_libsqlmy_libary/ b9 x' k" r: [2 r0 H! W  i- ^
  39. Active=1
    / s7 {  }9 }' C& h
  40. ---cut here---; J  p# t# _& X7 r3 q( K" @  }
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + a& Z9 b( N9 P, S% `+ `/ i
  42. ---example---% m: K! }! R) e0 G
  43. [DBEXPRESS]
    5 s" m6 Q6 `* ]" W7 ~1 ^. I; M
  44. sqldir=mysql_sql
    ( _7 P: D/ m- g7 L9 D; P
  45. Drivername=mysql
    . P/ u4 a5 Q" E1 \' ?
  46. Database=test
    0 d# Y5 ]' M/ c! `0 w& G
  47. Hostname=localhost
    * b% ?6 n8 R+ [7 M9 g
  48. User_name=testuser/ c8 L$ q8 V' A1 g7 o
  49. Password=my_password8 l, T+ I9 D* N8 \, F
  50. GetDriverFunc=getSQLDriverMYSQL' e) l' g7 i# O- J/ S7 k; @/ L" G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- N7 t! h9 K; g
  52. LibraryName=./libsqlmy.so% ~3 k( K; m% b; Y5 @
  53. Active=15 W* Z3 e6 w, S
  54. ---example---4 S6 r- e# Y3 M3 [/ s1 y
  55. ) I9 \0 d. {$ {! _
  56. On a windows box, also running the MySQL server locally, it would be:
    9 t" h  @# ^; s; q/ \$ L
  57. ---example---) p/ b7 L0 a- P
  58. [DBEXPRESS]
    - Y; H# x8 W; F, N) {: A  C
  59. sqldir=mysql_sql
    5 X, I$ v7 B- Z1 m( b& x) o
  60. Drivername=mysql% h+ d4 H) G  S- i2 T! G; s/ g' r
  61. Database=test
    - T8 p" [( s  |  L; `
  62. Hostname=127.0.0.1
    0 h  q9 m6 V. w
  63. User_name=testuser3 ]5 G9 z; Q, q8 t
  64. Password=my_password
    ! o$ F( K* X" E- P* J" H
  65. GetDriverFunc=getSQLDriverMYSQL
    % v- V  h6 d- i- g; H
  66. VendorLib=libmysql.dll
    5 t# D$ k& ]* K  D) X
  67. LibraryName=dbexpmysql.dll( q, p- C3 L) Z  v8 t6 Y
  68. Active=1
    ) ?* m! Y! r: ~8 i3 Y6 D; k
  69. ---example----
    ; Y3 T. {/ l& ]
  70. - written 02.03.04 by pwk.linuxfan
    + w. f! q# s  K1 \1 c
  71. / R( Z6 y5 g! [0 c3 R8 i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  ]- g8 c, _9 f$ C, b
  1. ' g0 u1 U  o% ^+ T% v( m6 Z( D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 {. p) b5 s! U  ?9 b

  3. ; p- m+ y* }  I. [, ^! b; _3 t
  4. # # #我们所需要# # # $ ]* ?) C$ ~: y3 T# W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 U, l6 ^, s$ E/ h1 r
  6. 不会解释如何做到这一点-也有文件存在,为; [- e; d* U" R( E7 n/ X$ R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, f( o; ], v, q- ]+ g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& b& ?! Y7 z4 F4 f& U" }. K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 u# p% p  y8 q/ I( `6 z
  10. 本地机器,这是我的MySQL安装。 7 f3 k/ A3 R4 h! n" C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 F/ q6 |, |& Y/ X( ~4 J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 [' h6 E" I5 T. f
  13. 数据库。 ; d' A. ]7 I" C# P/ W( ]/ Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : o. g( N# I9 N1 A) J  [& x: ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ g9 b9 k  g1 A) t+ ~: T3 h
  16. 在teamspeak论坛,如果你有兴趣。 . D0 e' k3 p( O; [, y9 k4 e# x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' W# Y8 o, f, s- A8 ]
  18. Borland公司使用。这个司机只能界面与客户端库
    ! H- D, V" A7 k0 T5 y) W: Q" e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 H& D# a2 a; d/ h% Z6 m3 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* G) x5 e1 \5 H  t& v. S9 ?5 A
  21. " vendorlib " ,并解数据库连接。
    $ V; M9 M( `1 |% W% k* L* c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + B8 T0 Q" }4 [) ]! E0 C

  23. ) x/ {) O8 A- `- e( E4 d
  24. # # #做好工作# # #
    * y' c* u" f7 m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! z1 [+ Z# A8 ?1 h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- O1 k# \& Y0 a3 _, ?( M1 K4 Y
  27. 结束:
    + ~" }+ F. E% J3 g) G. k. W$ N
  28. ---削减这里---
    + L; a2 A. O+ p& r/ V  f1 A
  29. [ dbexpress ]
    5 H3 c+ A% D6 t# u  T
  30. sqldir = mysql_sql
    & H) {" P! X* \2 \9 ^
  31. drivername = MySQL中  t& e: j/ J# s; m' s* Q1 S
  32. 数据库= your_database_name_here ! ?, }# ^$ x; h1 J6 ]
  33. 主机= the_pc_the_mysql - server_is_on 6 I" \! Q6 f, n) k- T
  34. user_name = user_name_on_the_mysql服务器
    3 u* q4 J" a2 @
  35. 密码= password_to_go_with_above_user_name
    4 k) S& b# ^6 M
  36. getdriverfunc = getsqldrivermysql $ Z" p+ A  Z7 h8 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 e; {8 s; k7 b
  38. libraryname = path_to_libsqlmy_libary 5 b- K0 A# M# z, Z8 T+ Y
  39. 积极= 1 : V/ x2 e3 e7 a# ?3 L: |- E
  40. ---削减这里---
    - T# S: a, L0 I0 C2 L% v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : F7 u5 C! h2 n2 \7 ], l" G2 J6 x
  42. ---例如---
      J% w% U0 d4 o5 w* u- V) [
  43. [ dbexpress ]
      X! G* O( N9 k$ i7 T+ M- O, D
  44. sqldir = mysql_sql ! ~0 Z. b( G+ T7 k6 B, e. }
  45. drivername = MySQL中# r) C7 x0 w( j6 G7 a( `
  46. 数据库=测试
    " T1 [3 h( u* C
  47. 主机=本地主机
    ) Y6 }: ?$ T$ h7 w
  48. user_name = testuser . C% b0 K1 D# S' A' L+ [: ^
  49. 密码= my_password % H$ O) \+ {2 [1 g
  50. getdriverfunc = getsqldrivermysql
    5 g+ j* v4 ^' F9 x2 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * \  l7 n, w0 ]& F$ |) Y1 |5 |# G
  52. libraryname =. / libsqlmy.so
    ' f* j" F+ K9 X. t* ?* }; W
  53. 积极= 1
    ( R% H- G+ }- [! ^5 B& {% w
  54. ---例如--- 2 s  o; D, e( f* k$ s

  55. . \, r! F" U8 ^9 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 X3 [. }  ]; z, N9 }
  57. ---例如--- / p( M4 O3 e0 d! ~% B
  58. [ dbexpress ]
    ! R7 G) Y% x' G; R5 ?( L5 h
  59. sqldir = mysql_sql
    + G' O7 V% h3 a6 h
  60. drivername = MySQL中6 Q1 L3 P+ e0 c: o  ?  Y
  61. 数据库=测试: m& _1 n( @9 H/ C: V5 Q
  62. 主机= 127.0.0.1 . w' r* I) z4 U# D* x% h  F
  63. user_name = testuser
    , N5 K2 r7 f$ Z6 N* h
  64. 密码= my_password
    ; q: |! \: b! d" h
  65. getdriverfunc = getsqldrivermysql 1 {3 s+ X/ o) O! {
  66. vendorlib = libmysql.dll在7 q6 ^" R- [" d+ S9 L4 ~$ A8 l: e
  67. libraryname = dbexpmysql.dll % P! W" o& G) U' m: H& u4 L
  68. 积极= 1 ' U* W  |+ T! j  x- w; Z# H
  69. ---例如----
    7 f9 o% L! E% I8 X! }
  70. -写在0 2.03.04由p wk.linuxfan$ J9 p5 z+ v/ u* ?2 _
复制代码
发表于 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( `  V. a& Q& b
: q0 ?+ m6 @& I; n  A4 O3 j+ k
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-18 08:56 , Processed in 0.095984 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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