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

3320 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ Z( m' B+ `. F, _6 j4 u3 p& G- ^6 E6 j
  1. & @# {9 [8 O0 e8 ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : m- a& U. Q3 `' z9 ?; |

  3. 6 ~2 R* T. M! P1 W5 n
  4. ### What we need ###1 I& U. ^- Z) _8 [5 Y' t5 l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 Y& ?/ [; p$ Y6 o
  6. will not explain how this can be done - there are documents out there for the
    3 C: M# w. g! [* ^# D5 q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , ^# H( t5 g0 V& z
  8. and a user account (username + password) that has the permissions to do stuff& i7 Y8 i9 L" G9 ^& {- O
  9. with the database. Additionally, you will need a vendor library installed on the( R, K  m/ y* }% q
  10. local machine, this came with my MySQL install.
    9 ?  {5 P2 L0 }" }7 N' ~; Z  w
  11. These instructions will not tell you how you might transfer your data from the
    9 t( @4 _3 u% N! W" j" ?4 j7 J' P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' K  K9 p/ p7 [% N3 I
  13. database.  q7 O7 `( X$ R* z: I. h2 x
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 y$ F/ W: H6 h) h+ a4 _7 Z
  15. the time of writing, there are still too many issues - check the current status
    5 {& y# q# v; _
  16. in the TeamSpeak forums if you are interested.4 ^$ L& c4 d1 {) m/ Z# P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( S, r/ T) I# ^2 \& t  _% q6 F
  18. Borland was used. This driver can only interface with the client library that 6 K/ r: x/ q0 c2 e% g  z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 y( K# ^" t6 {( V
  20. client library - basically all you have to do is to use a 3.x client library as ; U  T& @7 d9 @8 _# }* |
  21. "VendorLib" and a 4.x database to connect to.: i& A& D1 U  k; I
  22. If you need more info about dbExpress, you can contact Borland.4 `0 V. u& m1 \
  23. 0 U# J% c4 Y. k$ ^$ a: m2 ?
  24. ### Doing the work ###+ r& X! b5 C) R3 \1 s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( E1 m5 Q5 w$ _5 ~4 V+ a% c: ]* M, U
  26. the perquisites right, just open your server.ini file, and add this section at/ H' F" h, O7 K* |
  27. the end:+ P! w' n% i% C3 i
  28. ---cut here---0 O; C% Y( L" J* A, X
  29. [DBEXPRESS]
    3 g! X! i* W( s* c
  30. sqldir=mysql_sql4 {) K: P$ X' z% F
  31. Drivername=mysql
    & b6 r1 a- j) p
  32. Database=Your_Database_Name_Here" D! s( ~- d! [: N# \8 p) L- Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % N9 u; s! p' c
  34. User_name=User_name_on_the_MySQL-Server
    ; J0 |; A" w9 r
  35. Password=Password_to_go_with_above_user_name
    6 o' Y8 x1 j! _7 b7 E
  36. GetDriverFunc=getSQLDriverMYSQL
    8 W5 w0 i; c& {2 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 A, m% w$ K. B0 @# t: i
  38. LibraryName=path_to_libsqlmy_libary& M4 v* F. G! |( a* ?
  39. Active=1
    - D# H4 u8 `; ~1 X0 R' u
  40. ---cut here---
    0 h+ z/ n5 ~; I' J) d6 b+ u
  41. In my environment (a linux box with a MySQL server running locally) I have:# o9 ?1 s% M- c5 B  @( A
  42. ---example---
    + P0 v' E5 G8 \/ s
  43. [DBEXPRESS]
    0 c4 U2 \+ j; q. Q9 h# \: a0 y
  44. sqldir=mysql_sql: D7 i/ x. C, P2 S
  45. Drivername=mysql
    : W4 ]" L  }8 b" w2 v: q4 v
  46. Database=test9 t7 q" B1 C- ~! S, x
  47. Hostname=localhost
    ; ?( m( Q5 A" a3 P2 S: J1 f7 g
  48. User_name=testuser
      M" a. g( R8 ~* Z
  49. Password=my_password
    2 k& F- S/ G, m
  50. GetDriverFunc=getSQLDriverMYSQL) m2 X2 }, k" C  @" G/ ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 ]+ D& _7 i! l: e& p& Y& I
  52. LibraryName=./libsqlmy.so1 z6 k5 S2 `2 C* n4 G+ Q6 {6 R
  53. Active=1# G( P; O: g9 R0 e; N  d! U
  54. ---example---
    2 {# a3 P" p4 |+ C2 Y2 Z& k
  55. " R4 H( X* ~* K* R. L2 Y! |6 F
  56. On a windows box, also running the MySQL server locally, it would be:
    2 b& F! j; V, R' J0 @7 O% W3 s
  57. ---example---' H! O" Z. O8 J+ e$ N
  58. [DBEXPRESS], b- k  N0 W9 W" L% b+ f! C: ]# ]) u
  59. sqldir=mysql_sql# D/ s  s# Z, Y" W- G/ b
  60. Drivername=mysql! p& f& r) n5 E5 R$ M. f/ a; d
  61. Database=test1 x0 a/ M# D! I" k; h7 ?4 `
  62. Hostname=127.0.0.11 b3 ?- I# `( `' y: K+ J
  63. User_name=testuser  O8 K$ |8 C& b: P  b  P
  64. Password=my_password, s7 Q9 y* z! \9 A/ Y/ W/ r
  65. GetDriverFunc=getSQLDriverMYSQL$ r7 h2 D3 O! ?2 \: ~
  66. VendorLib=libmysql.dll( G8 e: G& x( P, Y/ w' `
  67. LibraryName=dbexpmysql.dll0 P' b9 e8 H3 d6 h0 u1 h9 `
  68. Active=1% G4 a, H5 c  A% {' Q
  69. ---example----
    7 m6 l! }  |9 E# ?4 h
  70. - written 02.03.04 by pwk.linuxfan
    ) h% u4 i, U- m0 E' o0 p

  71. / K& j! Q4 v& N: N* ]  ^5 t7 t; P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 a# y, @' K+ ~6 [
  1. ) j  j8 h& p( ~+ y( _3 ~3 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 h  `- e% b  O$ B0 O, ?5 p
  3. ) S/ W# H% k' i1 _/ P# e
  4. # # #我们所需要# # # - I  R2 n5 Y5 `- j/ h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 S4 a& e" \- F  p
  6. 不会解释如何做到这一点-也有文件存在,为! }0 P# M/ l3 R& O1 Y2 S! S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : G7 _* F3 T; Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 z" A* t2 n, t0 U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 t  a9 l/ {8 C, O
  10. 本地机器,这是我的MySQL安装。
    4 ~8 n) d5 O& ^1 H9 K2 R( ~3 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 {- B/ d1 L) K; C+ |3 u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( h, n/ ?3 |( \& @
  13. 数据库。 4 z0 ]$ s! V2 F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # K* w: {! {6 Z1 k+ G% Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状  E, }+ ]9 p" `
  16. 在teamspeak论坛,如果你有兴趣。
    / v) i& s! s* O; m' I) o% t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : N6 c6 V. q4 y; v4 x# @
  18. Borland公司使用。这个司机只能界面与客户端库  y9 u+ \2 y  j6 s; X0 n: n/ B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 f) N2 y8 t; K0 }# D! |& H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , z1 D. U$ |; x1 w" m2 X: a
  21. " vendorlib " ,并解数据库连接。 $ ?& _: ^' K* b4 _4 d3 A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) y+ e. y/ E* `) \2 r
  23. 7 d* _( d4 F& k* n+ p+ z6 `
  24. # # #做好工作# # # 1 _: y7 x! P: y2 i8 I  Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 _' L+ }" X0 a  c4 V9 d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) C  H" L! l* k8 d$ c8 E8 p
  27. 结束:
    / J' {9 S8 P+ m- X! c5 K
  28. ---削减这里--- ( `: ?4 b9 I' ?9 j  e5 i' I
  29. [ dbexpress ]
    1 c& ]+ u7 R5 Q; i
  30. sqldir = mysql_sql
    , ~) J6 Y$ D& p) v% X$ j: k' C
  31. drivername = MySQL中
    ! u  `" F8 A" D
  32. 数据库= your_database_name_here
    : y0 ^8 `$ w5 _/ \2 z8 y0 @2 F
  33. 主机= the_pc_the_mysql - server_is_on 3 A8 L+ D0 C7 V* Y
  34. user_name = user_name_on_the_mysql服务器8 y7 D9 r& t/ G* o/ \# Y
  35. 密码= password_to_go_with_above_user_name
    . O+ v5 @9 r; M/ S" `9 f  n# k
  36. getdriverfunc = getsqldrivermysql
    + ^: h, K8 M3 v6 I1 D& Z& |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 P) W- N7 F4 b
  38. libraryname = path_to_libsqlmy_libary
    4 g2 F& d1 V1 |/ i, |& g( t! N9 P
  39. 积极= 1
    $ k- s. T" n; H, X" ]5 O
  40. ---削减这里--- 0 L) k; W' @9 q$ ]$ x/ @6 o% ?5 ]6 K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! j  t' T& v6 M* E: X: v5 o* q
  42. ---例如---
    9 ^! B+ g  \2 f  O
  43. [ dbexpress ] 2 F' f9 E$ z( X
  44. sqldir = mysql_sql
    $ Y6 E; `' n, I" Q9 G3 Y6 E, g( ?
  45. drivername = MySQL中4 W+ r3 u0 E) f' R% C2 t" ^% Y
  46. 数据库=测试; |- G2 v$ C2 R% G' q' @2 T
  47. 主机=本地主机6 F* C- D. e% ~# [# E
  48. user_name = testuser
    7 Q1 `* @2 ?0 v, z( ?
  49. 密码= my_password
    " [+ y: J- L( p  ~' F  a3 @% S
  50. getdriverfunc = getsqldrivermysql
    1 Z( x. d5 ]$ X5 o: }( A2 n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : F  U2 n1 o6 Q8 [, @& e1 H  G
  52. libraryname =. / libsqlmy.so
    ; ?5 v4 I3 ^: _7 m3 g7 o
  53. 积极= 1
    ' a5 f) g  ~4 H$ ]
  54. ---例如---
    1 Q) L& T% B: B; n' J5 ~

  55. * Q; q- Z) w- X, }$ ~4 a* U* q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 C- m- N3 z' j9 c/ y+ f& K8 b
  57. ---例如---
    4 \, m2 v6 V  [1 g0 Q7 X9 q
  58. [ dbexpress ]
    4 W9 c) M& P  A7 f7 m) k) z0 j
  59. sqldir = mysql_sql
    ! I" A3 @; n2 o- T  o- {: x( \
  60. drivername = MySQL中
    ( M6 Z# B# O" e2 J
  61. 数据库=测试9 Q# U! |2 H* p1 S
  62. 主机= 127.0.0.1
    : A5 f5 h+ k/ @
  63. user_name = testuser 9 O6 v: m; D' l- `
  64. 密码= my_password   n+ x! N+ \7 {! p
  65. getdriverfunc = getsqldrivermysql
    5 c" l* y2 h  d& V
  66. vendorlib = libmysql.dll在$ I1 o0 o; ]! h, s( A- U
  67. libraryname = dbexpmysql.dll
    + A( A( [/ V% z1 u9 }+ @3 z& |5 N0 P) _
  68. 积极= 1 + I. w4 k* i5 y( v
  69. ---例如----
    " S' I6 g9 {; l  W. ?1 E
  70. -写在0 2.03.04由p wk.linuxfan
    6 @* g2 G% x' g- s* T' v
复制代码
发表于 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 words3 d% \3 Z% N6 q5 Q5 Y7 G7 l
# j. a  X$ o4 O/ e; W$ T, L7 C# y
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-12 13:37 , Processed in 0.111381 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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