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

3171 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' R, Y: U: H1 ~9 Y2 h' F, |) @. _/ f
) P' D* t- m3 g* U, ~! I5 Y+ b

  1. 7 `8 V  _; `8 k- U- F% q2 p; Q7 ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # f, n" O) D( V/ Y
  3. ( W; t- D( A, ~9 ]& g/ n% g
  4. ### What we need ###
    3 K+ Z  Q5 ]+ v, K* F
  5. Naturally, we will need a MySQL server to store the data for us, this document % }9 y, j5 y* E, f
  6. will not explain how this can be done - there are documents out there for the 1 u8 f; @9 p. [; h
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & m$ E% F# h; K7 U
  8. and a user account (username + password) that has the permissions to do stuff9 d7 G2 \' c, n$ N8 p. ]4 j3 U
  9. with the database. Additionally, you will need a vendor library installed on the
      [, s; y3 E! N* O" e9 V
  10. local machine, this came with my MySQL install.2 c) c% b- c2 l) D, ?$ N8 A1 J
  11. These instructions will not tell you how you might transfer your data from the3 E) G* x/ A3 T+ g$ t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 s) n% x, b  r: J% R$ j, T$ q
  13. database.
    # {: B  m5 w$ T3 H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , T. V& x% s' n  N0 c2 _( @
  15. the time of writing, there are still too many issues - check the current status
    , A1 _' l" \3 Q( ~) j* Y7 |& M
  16. in the TeamSpeak forums if you are interested.
    # u' c5 D1 ]$ f- ?* q4 [, {. N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 t. f5 o' m3 z
  18. Borland was used. This driver can only interface with the client library that
    $ A8 f5 c) f, _' p! t2 u1 B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( b9 S7 U" O" i9 M
  20. client library - basically all you have to do is to use a 3.x client library as
    ' B! ]; O* j$ L* R
  21. "VendorLib" and a 4.x database to connect to.
    * L8 h) ?1 t  {; W9 X
  22. If you need more info about dbExpress, you can contact Borland.: G0 f$ V, n$ {8 i! o: I, ^/ S" \

  23. & c0 P" z3 o' c, k  D0 a! @
  24. ### Doing the work ###* m$ v, ]8 T) U% S- ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ X6 C& L& j2 o$ A+ P: c
  26. the perquisites right, just open your server.ini file, and add this section at- z! _+ L8 z) G, d
  27. the end:
    $ u5 A8 y$ g6 Z
  28. ---cut here---7 m5 m: }- Y) D- _( Q
  29. [DBEXPRESS]2 {5 U. p# r, m3 B2 n, g" y# {
  30. sqldir=mysql_sql/ V0 X- _$ Z+ {
  31. Drivername=mysql
    0 I% R" x1 p5 F# M' Y! ^' b: ]
  32. Database=Your_Database_Name_Here) p5 m' v* I! C( L% |( ?
  33. Hostname=The_PC_the_MySQL-Server_is_on/ Y; u" _- o5 U8 L
  34. User_name=User_name_on_the_MySQL-Server
    . {! E$ c% _  G/ T8 U( S
  35. Password=Password_to_go_with_above_user_name
    1 U6 e! a4 t& d5 {: ^- R8 {
  36. GetDriverFunc=getSQLDriverMYSQL  s& y0 Z6 q  Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / W, J6 u0 c1 t! p* E
  38. LibraryName=path_to_libsqlmy_libary
    - c# G  `- ^- P( W% W) g7 _
  39. Active=1
    ( C3 |) |# Z- k5 Y
  40. ---cut here---
    , O2 }! k3 K, u- O
  41. In my environment (a linux box with a MySQL server running locally) I have:2 j6 y  N" I0 e/ M. @2 Y% ~! l" t
  42. ---example---
    # u  ]) I$ _. ?6 x
  43. [DBEXPRESS]9 s0 Q& g# k6 E7 F1 m( ^& t
  44. sqldir=mysql_sql" o, K# d. l: w
  45. Drivername=mysql0 s# E1 W( A# U% k. r2 s' B
  46. Database=test9 g! G, z" \1 Y! l6 O
  47. Hostname=localhost8 i8 Q# S, Z* N4 ]! f
  48. User_name=testuser
    ) M% g( S1 U. L+ L8 d' F, M. n
  49. Password=my_password/ Z3 z& _: H5 }) {; w  Z5 {
  50. GetDriverFunc=getSQLDriverMYSQL$ {2 }/ C# I  y4 j& y4 C4 ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , {, v! U  M3 }: h' M
  52. LibraryName=./libsqlmy.so
    * U- a" I! }& C6 w8 y  d
  53. Active=1
      `5 I' m, ]4 P1 o0 T0 a
  54. ---example---
    / m+ N$ g6 O) K! Q- ?/ z$ }

  55. - j% Q8 V, _6 Y; G8 |
  56. On a windows box, also running the MySQL server locally, it would be:' p7 b% s% e# z$ I
  57. ---example---# _0 |: M& N& N6 m8 c
  58. [DBEXPRESS]* ~9 m9 k( ^4 H' P: A! a3 y4 h" P
  59. sqldir=mysql_sql
    0 X- f( T8 U3 h7 Z9 Q
  60. Drivername=mysql
    6 g/ @$ o0 r: Z, |# [- n
  61. Database=test
    ' G+ X2 R1 Y1 p2 r
  62. Hostname=127.0.0.1- J0 J4 n8 j# w/ E8 ^; q; J
  63. User_name=testuser
    1 N! x% G( l0 ?# ~- u2 F
  64. Password=my_password' p& Z4 V) \* d2 ~7 I' S# i9 `# i2 s
  65. GetDriverFunc=getSQLDriverMYSQL
    + ~3 b' E& l# H' s5 O
  66. VendorLib=libmysql.dll
    - k- p4 g; ~! L6 r
  67. LibraryName=dbexpmysql.dll
    0 ?/ O( P6 E. M: I0 j
  68. Active=1" r( X+ x* h+ {: C9 v) U6 [+ c
  69. ---example----6 S" g8 ~0 B+ K. K5 m- |' Q# Z
  70. - written 02.03.04 by pwk.linuxfan8 H/ y3 R: M) \  r% \4 Z6 o

  71. + a# J; F# g- M* C4 o) f% W; H# c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% m: Q7 y) l$ L

  1.   E2 \, F; D; B/ n( ?, a' A7 \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( ~: E* w1 x' `* r& R/ \

  3. " W  ?+ K. e7 H/ {/ x* q; W' O
  4. # # #我们所需要# # # % U. {2 b; W! G. k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 s9 g3 T1 o% C9 p% b( `8 ~0 P" ]; k
  6. 不会解释如何做到这一点-也有文件存在,为
    2 Y& P5 l: W% d9 L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) r; p8 s! f) c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; o6 P( |! w0 Q7 r6 |4 }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 m; u! v: c" P& E2 c7 q
  10. 本地机器,这是我的MySQL安装。 . _. j3 ]. E3 m3 a: m, ~9 G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; E% C4 u* A# I$ V' {- p3 n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " X# w/ i3 @8 u
  13. 数据库。
    ( g9 H3 n! g. E8 Y2 b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' {4 g6 b" M) J4 z; _4 o7 B6 N
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 Q5 L1 }8 k' m
  16. 在teamspeak论坛,如果你有兴趣。 ; s) q/ I% ^7 c! ^, [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 H) \! A; I& N" I& t
  18. Borland公司使用。这个司机只能界面与客户端库
    & |' g9 O% o) O  H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : c/ B: v* C. `* Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; t, G" C' H! w& M9 D) W6 u
  21. " vendorlib " ,并解数据库连接。
    7 C/ M; {; e1 [  i  D8 L/ x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , X2 a* Z( G1 X, g/ f. s6 O

  23. - f% g- p7 Q, Y6 X
  24. # # #做好工作# # #
    . E. G3 ?+ ^8 `6 }  X7 o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' K9 L( ?) C# o/ I4 [9 k7 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , h; [# L# _8 f8 C  l
  27. 结束:
    . e; X5 ~1 L( G' U2 D
  28. ---削减这里--- 6 L& D: _' q4 O5 f' Z1 Y7 k9 k% ]
  29. [ dbexpress ]
    ' c& B9 _* ~: }8 S3 {$ _
  30. sqldir = mysql_sql ) R4 Y: p* I5 e$ a. a$ ]# W
  31. drivername = MySQL中
    ( s5 ?4 J9 C# o7 A+ C3 r8 e/ q
  32. 数据库= your_database_name_here   h1 f7 h+ ]! F
  33. 主机= the_pc_the_mysql - server_is_on
    ' j0 s: F$ S" i. A- Y$ L0 f
  34. user_name = user_name_on_the_mysql服务器3 j) E# K9 ~5 G1 ]5 k+ J
  35. 密码= password_to_go_with_above_user_name $ R5 G* b6 E( v" L
  36. getdriverfunc = getsqldrivermysql
    " E; `  A2 ]1 z# Y0 q5 H, t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) ]  g6 c% j. m* B+ C9 @) o$ U
  38. libraryname = path_to_libsqlmy_libary
    + U' G/ _. B- F
  39. 积极= 1 ; l% y) u0 t) Q" e8 N9 j6 b
  40. ---削减这里--- 4 s$ g9 K8 W* V: m4 o( t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & W& y* [9 e; U' f& C- a
  42. ---例如---
    + B2 E* @3 w4 d1 m( ]3 Z# d
  43. [ dbexpress ]
    5 ?8 g5 A6 k, D# Y" m( k2 Q- {! G
  44. sqldir = mysql_sql
    ; g$ E. `( l; c/ M8 S( v* y
  45. drivername = MySQL中
    % k5 F0 v" u. i3 E; k
  46. 数据库=测试
    + T1 R9 ?" y/ M8 Z
  47. 主机=本地主机
    ! c# G3 A2 ?) m5 C/ i9 u
  48. user_name = testuser 5 m& r; W3 `) b$ [7 N1 }
  49. 密码= my_password
    ' i! z4 a9 l2 H- t
  50. getdriverfunc = getsqldrivermysql
    + G4 F4 \2 e# D8 ^8 r9 i( i, a5 p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 }3 o: {7 R5 F1 {* m. G& o
  52. libraryname =. / libsqlmy.so & O0 Y' N6 b5 `
  53. 积极= 1
    ! j3 ~( A7 y' I6 W" S
  54. ---例如---
    & b# H. O5 N# H+ B* Z
  55. . Q! p% I( c# {7 U/ g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      x- ]& [- ^, p; p8 _( E- c
  57. ---例如---
    9 t1 p# T; M7 }7 S- n3 Z" h4 Q) y
  58. [ dbexpress ]
    $ j% p. s5 L! l' }3 ^, h
  59. sqldir = mysql_sql 0 x9 R/ K# G* C+ H
  60. drivername = MySQL中
    , v+ z' `8 |: s
  61. 数据库=测试* D  {5 L: p* e# x3 r' y- L: o4 q
  62. 主机= 127.0.0.1
    1 o7 ^# b2 o& v. c+ K. ]* \
  63. user_name = testuser
    , B& I: f2 @# [0 t. \9 p( f$ g
  64. 密码= my_password
    & v% w) Q5 N3 o! w2 W
  65. getdriverfunc = getsqldrivermysql 6 ]6 }) ^, B' f6 o
  66. vendorlib = libmysql.dll在, ]! Q% }$ L# p0 L( h, T- u
  67. libraryname = dbexpmysql.dll
    9 `3 s7 ~) t6 b% A5 B, _
  68. 积极= 1
    - _8 z9 J' [: N
  69. ---例如----
    # _$ F2 h1 q: E% O4 J& [/ w
  70. -写在0 2.03.04由p wk.linuxfan
    ! T2 o8 D' S2 F* J4 E9 G. l
复制代码
发表于 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) R4 ]2 p9 N& E7 p; i5 k% i

9 n, M* c1 _  W' g  Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-16 11:46 , Processed in 0.108948 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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