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

2271 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* I9 X. ?; @) I
  w3 d( z2 a) c. R# s1 E

  1. 5 }. w& Z# I7 t" D+ V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) l# f3 Q2 @0 ~( V$ K( M

  3. ' I2 D/ ]0 L/ v7 J7 M- y& L8 u
  4. ### What we need ###- Y( n1 |3 Y) _: S! s( s) E" Z% ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + ~- L6 Z2 U0 y" z+ z) J! J# h
  6. will not explain how this can be done - there are documents out there for the 7 V3 J- B, N5 o
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 E% i$ s5 c8 q8 w$ I+ F6 g2 B: a
  8. and a user account (username + password) that has the permissions to do stuff
    & [9 Q! j: B5 V% u
  9. with the database. Additionally, you will need a vendor library installed on the
    3 b- ?7 Y0 ]. |3 [# Y0 m4 C
  10. local machine, this came with my MySQL install.
    $ V9 q8 D% C/ {) D+ I
  11. These instructions will not tell you how you might transfer your data from the0 H* F: n! H. o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( N. _" A2 O. m6 a+ b7 f" F2 C6 y
  13. database.% Z- l# y: e' n3 A8 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 \  ^: ]* N2 N8 o
  15. the time of writing, there are still too many issues - check the current status
      F5 a( n5 T" I4 ^7 d
  16. in the TeamSpeak forums if you are interested.+ P0 {- Y7 A5 X+ q. X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 }- z9 s( z8 }# O+ R: u, b
  18. Borland was used. This driver can only interface with the client library that ! T4 |" P; ^. ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ |  {  b5 a" `0 [0 H1 V$ U
  20. client library - basically all you have to do is to use a 3.x client library as ' k) H1 [7 u" w, ~7 F+ v
  21. "VendorLib" and a 4.x database to connect to.
    " H! S# `3 E" F! |7 ]+ y# {7 v! e
  22. If you need more info about dbExpress, you can contact Borland.5 s2 k, q: m- L8 N( l

  23.   c4 F/ r) ^! Y; U+ W6 p
  24. ### Doing the work ###0 [8 }; T0 V  `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! _- B% z: P5 B* O7 \
  26. the perquisites right, just open your server.ini file, and add this section at( G4 P- k+ f: u+ h* W  E: \8 r0 R
  27. the end:5 `6 P  f7 D5 l6 u% }# ~
  28. ---cut here---
    8 M0 Y$ b0 [$ t& P
  29. [DBEXPRESS]
    7 P* O* X, O! |! h
  30. sqldir=mysql_sql
    2 t% x9 |; ~3 Y' b
  31. Drivername=mysql
    2 C0 u6 _' T6 G+ b& s" w9 V6 s+ ^
  32. Database=Your_Database_Name_Here' k3 w7 d2 d$ q4 S" S( Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 H6 C& e. G8 Y7 J
  34. User_name=User_name_on_the_MySQL-Server
    4 i" g% V7 w" T1 J: v# g/ R7 W' l
  35. Password=Password_to_go_with_above_user_name+ H9 q& E  L. ~; ^
  36. GetDriverFunc=getSQLDriverMYSQL
    8 S( O# O- `' u1 g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. ~- M1 F6 R& R% H3 @. f( ?' {
  38. LibraryName=path_to_libsqlmy_libary
    4 |7 h2 G( Z8 `9 m2 P  e' }4 Y
  39. Active=14 L6 J) z  n; a
  40. ---cut here---+ D: |' l3 S3 E  r' n
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 |+ s  l8 I$ }' D$ P+ t  A6 Z
  42. ---example---
    ' L9 \* |* C% Y
  43. [DBEXPRESS]' U8 p4 g+ t3 Z- _" d% |
  44. sqldir=mysql_sql
    1 R1 i+ G. w# h% ~) q
  45. Drivername=mysql' d) a: K5 u; m2 v$ E8 k
  46. Database=test' i( z$ n( n; Z" U& u! P' ?& z% k
  47. Hostname=localhost3 S; o6 E) o6 ~
  48. User_name=testuser
    % c* z8 o& q; |
  49. Password=my_password5 C. t2 ^( W! `$ s# P
  50. GetDriverFunc=getSQLDriverMYSQL' ?. m* l& q4 X" u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; Y' l& u: t0 z6 o* D
  52. LibraryName=./libsqlmy.so
    & C! \# c9 P  W7 k  N) ]# S
  53. Active=1
    ( K, N4 Z8 a5 y7 L9 x1 Y& P
  54. ---example---
    + @' n' O$ E8 ^% Y

  55. ( l7 O1 O; S2 F" h2 M0 f& @( ^0 \
  56. On a windows box, also running the MySQL server locally, it would be:
    0 T2 C  F$ L, l1 R# {$ [
  57. ---example---5 A5 }+ r! V$ e  z, _5 V7 }
  58. [DBEXPRESS]
    - S/ ]5 q* _( s) ~
  59. sqldir=mysql_sql! A; m/ C- l/ c  ]5 D, g6 A4 p* \
  60. Drivername=mysql
    8 x' l8 i/ U& D! p( E
  61. Database=test+ `) V! ?1 U6 @- X
  62. Hostname=127.0.0.17 J) w' n4 {% s& V+ N
  63. User_name=testuser- R; x$ o/ u7 `
  64. Password=my_password
    6 a" h; q9 }' {8 u; V3 I: U" k
  65. GetDriverFunc=getSQLDriverMYSQL% B9 b& r( d1 r4 U
  66. VendorLib=libmysql.dll
    ( H/ M4 v' i' x% |- Y
  67. LibraryName=dbexpmysql.dll& K* j0 ^4 t+ @! m3 \
  68. Active=1
    # p; _6 s$ i8 G% N
  69. ---example----* _  Y/ m8 f! V, n! w
  70. - written 02.03.04 by pwk.linuxfan. _  L; `% d/ M0 B- Y

  71. ; ^) [( [7 F. i5 B( L6 H" w6 q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, C+ t  }4 K/ j- f3 n
  1. + N( \, l! M  C$ b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , w2 d5 c! _8 Q; b0 b, w% V1 o
  3. ) y2 d+ O% n1 V$ r
  4. # # #我们所需要# # #
    * {, P4 S' _$ b: `: R% C! m: n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , e% H+ t' T) Z( s1 E
  6. 不会解释如何做到这一点-也有文件存在,为: k5 Y' |, W/ G* C3 G( K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' x- G$ E) w( m: @9 g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& U, l/ p+ Y, a/ d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / U0 N5 |9 J: }1 b
  10. 本地机器,这是我的MySQL安装。
    / f7 b1 N1 _& {. R7 b# G  y* Q, r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# U8 S  Z* E- K+ e4 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 e) ?5 Y) b7 t& c% {1 I
  13. 数据库。 * r- m2 E2 y9 j! _8 S1 b. f& U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; _" ~9 s; w4 u7 ~$ {: y* j
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( ~& B" k, Q- S1 r/ W
  16. 在teamspeak论坛,如果你有兴趣。 : [9 @0 G) Q7 l' s. W# z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" f4 j1 P; ^  S  u
  18. Borland公司使用。这个司机只能界面与客户端库; ?4 E7 Z- D" L0 W" V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% q, l2 X9 O1 W7 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 T+ Q! ]0 p2 D, K) x
  21. " vendorlib " ,并解数据库连接。
    1 l. A2 ~- O8 X5 j7 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( ?) Q7 H$ S# I
  23. + u( B+ d0 U4 {' c
  24. # # #做好工作# # # 7 K- `1 g8 V( I  o" ^% y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ A& I+ C3 @9 }5 W5 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 K8 _4 F( H. w7 B$ c: a$ [7 K% g  I
  27. 结束:
    4 t3 t4 g: r6 K6 d/ K
  28. ---削减这里--- & |3 {6 T, Z7 ?, G$ F, C' V
  29. [ dbexpress ]
    ( q- @. p" q+ ?- {& i' Y! ~
  30. sqldir = mysql_sql
    ( A+ Z/ e, J* M6 ^% N! \
  31. drivername = MySQL中
    * R1 E+ ?& ?  Y% H" G
  32. 数据库= your_database_name_here
    - ]  m  X# O: q8 Z6 a9 ?& ^
  33. 主机= the_pc_the_mysql - server_is_on 1 w' Y6 |$ c+ n
  34. user_name = user_name_on_the_mysql服务器
    , L8 v5 H1 F8 w6 k# N+ {! l" l! \
  35. 密码= password_to_go_with_above_user_name 7 p* c7 {$ M! R/ ^9 t
  36. getdriverfunc = getsqldrivermysql
    * x7 S  @% M- g. R! N" @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; F8 g7 b% T% [/ Y" I& Z# g
  38. libraryname = path_to_libsqlmy_libary - p. g1 f" ^! a2 e' _. N2 m
  39. 积极= 1 " ?4 {  [1 u6 p3 Q% G2 K
  40. ---削减这里---
    $ I: v- y8 I) [" V0 P. o2 k) G) X# ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " J' Q5 Z1 Z2 `; D9 {8 x
  42. ---例如--- % A1 _6 r2 z7 [( e4 x% U
  43. [ dbexpress ]
    9 _, T1 o  m, U' b
  44. sqldir = mysql_sql 2 _$ T0 G9 b: ~2 D6 p% Q* d# X
  45. drivername = MySQL中0 R) W6 S. x9 H; O  B/ e& @8 [
  46. 数据库=测试8 q9 U+ }) I% `/ z: R
  47. 主机=本地主机6 s9 y% f" J( m* g( p! K/ l) M
  48. user_name = testuser
    9 z1 d4 v+ n; X1 P9 a
  49. 密码= my_password ; g; s2 ~- u! z& O; ?6 l3 X3 G5 P
  50. getdriverfunc = getsqldrivermysql
    0 z  j! h- }: Q& p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! V/ L" N1 \/ j: R) x# ?
  52. libraryname =. / libsqlmy.so 2 f0 X) r3 L) `0 G, X6 c) r2 q& k) Q
  53. 积极= 1
    5 S/ W" t* S' P; R+ b- a% S
  54. ---例如--- , ?# j% R! G0 ~; t& c

  55. # J+ b; D. i5 x/ k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * M! y5 r/ }3 G# E% z. b5 C
  57. ---例如---
    2 F( ?9 l1 }. ^5 f
  58. [ dbexpress ] - a1 Z- R, l+ }. E/ g: t
  59. sqldir = mysql_sql , q! @3 \: B# N9 Y) T' Z' e
  60. drivername = MySQL中; C, ~: O# {0 @% d9 q, d  f# s
  61. 数据库=测试/ _: t. ^0 K# O& p1 F+ g, ?
  62. 主机= 127.0.0.1
    : T9 A6 U  }% U& C2 l
  63. user_name = testuser : c. @5 g/ b7 I
  64. 密码= my_password 5 u% r3 n3 k# z* N- G. l
  65. getdriverfunc = getsqldrivermysql
    & q$ |) _9 Y+ k4 L' N0 c- }
  66. vendorlib = libmysql.dll在
    ; x% {5 ]8 M) X$ [7 F" x5 }
  67. libraryname = dbexpmysql.dll
    , K% g0 [5 Z: S8 L0 F4 P
  68. 积极= 1   X  q& I  u! x
  69. ---例如---- , y, d/ n' M$ Y2 n6 m
  70. -写在0 2.03.04由p wk.linuxfan4 w5 q6 H6 `% v; i$ j
复制代码
发表于 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. e4 J; s! @2 W2 t" E# t; {7 P4 |, l
: Z8 |: `/ F& F$ z+ C
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-7 07:53 , Processed in 0.104361 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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