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

3581 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * A/ n* ]- P1 u& z

, k* @- p) f- ?& }1 q
  1. 1 i3 I4 j  i$ R6 l: ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 r5 G* y! x3 J6 s9 C

  3. - N3 r- m5 ~& Z$ F; I
  4. ### What we need ###
    9 h5 v7 h. j; V/ G8 A( d! V
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " `" ^" U& s$ A! ]& N. j5 d* v
  6. will not explain how this can be done - there are documents out there for the
    & t% x) M) S( y# p/ q- Q2 k7 z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * p7 L4 {- e) {2 z1 M& x6 @
  8. and a user account (username + password) that has the permissions to do stuff
    ' D, t2 M6 V6 Z7 J  X- T
  9. with the database. Additionally, you will need a vendor library installed on the9 X+ J3 X7 I- h
  10. local machine, this came with my MySQL install.$ }! a0 I9 M' V- W, J: c0 L
  11. These instructions will not tell you how you might transfer your data from the
    / ^1 r, J7 ~: D- B3 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 M7 ^  ?5 l; G* f; T
  13. database.: D; |  B- g" a5 x0 D7 s+ i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % }9 a- M1 V% ^) F) M
  15. the time of writing, there are still too many issues - check the current status5 V1 ~0 n' X  Q* |
  16. in the TeamSpeak forums if you are interested.
    & W. q& B+ B: \  o( c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      v* A( A0 R9 ?& {: H
  18. Borland was used. This driver can only interface with the client library that 0 V5 f0 `) S8 G$ ?6 j8 i. {/ w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 P. M( c  V" S' ]: I( c0 F
  20. client library - basically all you have to do is to use a 3.x client library as
    7 }! Y. N) f' `0 [, n. W
  21. "VendorLib" and a 4.x database to connect to.
    - @8 F7 ^9 c  K, r9 b
  22. If you need more info about dbExpress, you can contact Borland.
    & d- V' D* X6 ]! b* l3 R; z
  23. 5 R2 Y+ K/ @* N
  24. ### Doing the work ###
    + Z6 [0 g* B0 \' Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & V5 M& [( z, d. o
  26. the perquisites right, just open your server.ini file, and add this section at' b8 X  U. E$ E) |7 D
  27. the end:
    ' ^4 h  F# G" Y% B8 t. ?
  28. ---cut here---8 n( f; w) n" V' S6 {- p
  29. [DBEXPRESS]
    ; h6 B) q) A& R5 I
  30. sqldir=mysql_sql0 ^1 g8 O; i; o' m; {& B& w$ [" t
  31. Drivername=mysql6 r. g- W; Q8 W) ^" B
  32. Database=Your_Database_Name_Here
    7 q  n% I2 o2 L. Y% A$ k% K5 b( U
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 Y, ^9 R4 K& I, l1 {. y4 u9 b
  34. User_name=User_name_on_the_MySQL-Server
    7 P0 h* Y! b* R/ u
  35. Password=Password_to_go_with_above_user_name/ B5 E* [9 }5 O. O3 T  s8 U
  36. GetDriverFunc=getSQLDriverMYSQL% r2 U0 X2 z- a; o9 `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  F8 m% y% Y# x. }2 L2 e9 x
  38. LibraryName=path_to_libsqlmy_libary" t/ g3 C$ a; f  q5 l* n
  39. Active=1
    5 A8 x" T) w' L- C
  40. ---cut here---
    + `; ~0 L6 j" y$ ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 U0 h' ]* D! i" e' q
  42. ---example---- ^; G2 I% L! e+ b6 m4 v
  43. [DBEXPRESS]# w4 e' R2 C2 m) K& O/ U3 v" F' H
  44. sqldir=mysql_sql0 O7 B5 C8 I/ B4 V7 q
  45. Drivername=mysql% D* w, B0 J5 K
  46. Database=test5 d/ J: l- ]4 L' o$ O
  47. Hostname=localhost1 _( A: d# J# ]9 t* `% F
  48. User_name=testuser
    1 u) Z/ `3 f4 Q2 b& \: C
  49. Password=my_password
    5 O# j8 k+ y# A0 G; y
  50. GetDriverFunc=getSQLDriverMYSQL* ?- q" V" Z2 g$ s. L' k9 Z6 u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; R/ E0 W, @! k) c" ^1 @
  52. LibraryName=./libsqlmy.so
    * g7 g% C6 m2 ?4 y$ z
  53. Active=11 B4 J3 C4 Y! ~
  54. ---example---
    / j: z' I6 [8 B, n3 b6 V
  55. ( y2 P& }7 [7 F  f8 Q. S9 e
  56. On a windows box, also running the MySQL server locally, it would be:
    - z/ L& d" T  w! \
  57. ---example---
    8 U9 {2 s' S$ P( |* Y  [
  58. [DBEXPRESS]
    9 r6 g" M. V8 M" R" s1 l$ O
  59. sqldir=mysql_sql
    . ^: v7 l4 F( x9 j, O, g5 O
  60. Drivername=mysql
    ! y/ B4 Y9 s' Y( i$ Y" S
  61. Database=test
    - z2 z( ~% l: d( t
  62. Hostname=127.0.0.1
    ; b! I* R; t  `9 w
  63. User_name=testuser
      T0 I  r5 U& D
  64. Password=my_password  e* S% k5 L. i* Z2 ^) e
  65. GetDriverFunc=getSQLDriverMYSQL
    2 x' N* B1 S5 C  f7 a" E; ]
  66. VendorLib=libmysql.dll- ^+ R* D' P& i2 ^9 M
  67. LibraryName=dbexpmysql.dll
    4 j4 k! [% s7 |: P0 }* f
  68. Active=1
    $ S. H5 W' ^( R4 l* P( ^4 M
  69. ---example----
    3 O" z1 S/ v( G) ~' h
  70. - written 02.03.04 by pwk.linuxfan/ K! v4 r, |& |0 Q( r

  71. . b1 s6 P* [6 Q$ `( J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- Q. D* L9 U. O& e" O$ V/ k
  1. 5 @/ h! w) q9 f8 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + ]( ?, h' T/ @

  3. % I" I3 ~& ]6 w2 e' M
  4. # # #我们所需要# # # 5 H' E. L1 B% Y# c1 u. ~8 }. ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 m" X9 L. q6 E6 {& G+ }7 l3 y
  6. 不会解释如何做到这一点-也有文件存在,为* E& R1 D/ O; D: G7 [8 A1 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 \. a- _8 c" A7 x) J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 `7 B& e+ |/ H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / B0 a0 I5 k. a6 E# y# ~/ r
  10. 本地机器,这是我的MySQL安装。
    % Q% [- ~1 A% x/ d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ k) ^6 I8 y6 v# S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - m$ u0 r0 c/ f% @
  13. 数据库。 * h2 b  r" i9 A) H# U* ~: ]8 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 Y0 ^/ _; q( u4 _( X
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ X7 E5 G1 i3 x/ v7 I  q  ]
  16. 在teamspeak论坛,如果你有兴趣。 2 x9 o6 V' }% S2 Q4 w6 j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % i, _& n* q1 T3 w
  18. Borland公司使用。这个司机只能界面与客户端库3 b& R) \' p. B& S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) F  @3 }& O0 |6 ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 ^6 d+ W# y+ o, U$ F
  21. " vendorlib " ,并解数据库连接。
    " i+ F- |! a/ Z/ X9 o0 B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( i+ ?% E$ P+ q; q. x1 W' u/ w. @
  23. ' k/ y: L$ d: S1 [& D
  24. # # #做好工作# # # , c' ?7 G2 g+ }) G6 ~' Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" I! U8 X3 Z" f; h, {: O! t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在; Y! R# t) s/ F' K( J, s
  27. 结束: / `$ G. J) n) T8 a4 o) l  c
  28. ---削减这里---
    , `& L1 Q# {  ^% K' e) U/ t/ I
  29. [ dbexpress ] , P0 F3 }1 E" S- n. ^# [; h
  30. sqldir = mysql_sql 6 v6 M3 o5 e$ c: t' z
  31. drivername = MySQL中
    8 ]* _/ \3 K/ X9 j) U' Q
  32. 数据库= your_database_name_here 9 f0 }/ C& d$ z9 ?7 P
  33. 主机= the_pc_the_mysql - server_is_on   F& K1 ~2 z% e* C  t) e
  34. user_name = user_name_on_the_mysql服务器: I4 ]+ H2 k# o8 r+ V# q8 e
  35. 密码= password_to_go_with_above_user_name
    $ |# j- @8 F1 h! z9 ]2 g6 g
  36. getdriverfunc = getsqldrivermysql
    - K7 I5 J- i5 t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; r- Q1 k1 U% g2 n8 C
  38. libraryname = path_to_libsqlmy_libary
    # G4 ]( R( |  \& v+ b% T% a# R
  39. 积极= 1
    6 q% @! |: h0 |- M' v4 E: ^
  40. ---削减这里---
      S& M0 u' F9 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : s8 [4 H4 B2 {# A1 g, w5 R
  42. ---例如---
    + W% v% {+ ^& `2 ^& }4 C3 f2 e
  43. [ dbexpress ] : }& y1 ?9 d' b0 C2 Z! @' ]
  44. sqldir = mysql_sql
    % [; d+ _6 f" n3 ~. F( @& k( D
  45. drivername = MySQL中4 A9 R: N4 A- \" d) \
  46. 数据库=测试. i, ?4 g, q5 Z0 M' ]2 C. w5 F3 i
  47. 主机=本地主机
    5 X* [0 B; ~1 o! J) F$ n9 F: n
  48. user_name = testuser
    3 Q+ i6 m4 u- j" r  ^5 q
  49. 密码= my_password 1 s, ], x0 [9 S
  50. getdriverfunc = getsqldrivermysql
    1 n5 f% ?8 c- z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( Z5 i% A; G$ r6 S
  52. libraryname =. / libsqlmy.so 5 x0 G. r: ^! J% I0 z8 k) x
  53. 积极= 1 . [7 f! X" e7 a0 `& z
  54. ---例如--- * t/ U9 }, \7 i; n6 U

  55. 7 s7 Z  m5 h: `# L. |" B, r7 u( ]5 n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 X: N* B- p% G) e( G
  57. ---例如---
    1 E# i+ i3 d$ M9 z' ^
  58. [ dbexpress ]
    8 l6 v$ E3 L* I4 J' v) h% n7 }* G$ J
  59. sqldir = mysql_sql 0 U, y( ~( z8 h" U$ O' M
  60. drivername = MySQL中
    ! _3 y9 s9 t  c6 F- X
  61. 数据库=测试
    % t) L2 J* j* R6 K  G" h7 ]5 o' i
  62. 主机= 127.0.0.1 . L4 J9 t. T- d& I+ p
  63. user_name = testuser % U+ W3 y/ }, {( w  q2 h
  64. 密码= my_password
    : }8 a9 o* }1 h3 E
  65. getdriverfunc = getsqldrivermysql
    3 _* o7 @1 {5 C& H: O
  66. vendorlib = libmysql.dll在
    4 \1 x! U. u  B, w
  67. libraryname = dbexpmysql.dll
    6 m* \& T& F: L' Z& |5 d. q1 i8 Y8 V
  68. 积极= 1
    7 s  e1 i4 \3 D6 k6 p
  69. ---例如---- & z$ y" h: [: T0 ?* S: d: Z
  70. -写在0 2.03.04由p wk.linuxfan$ Q# o7 u, T1 g# @' e- Z
复制代码
发表于 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 words9 W+ P# T- \( k' s5 v2 A! d
: K, e! U& k  t& _, 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-11-28 15:15 , Processed in 0.070211 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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