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

2230 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) n3 e7 w% G5 I) {2 e) t3 l( e( V
2 [. D3 A6 C- @3 a. ?, k

  1. 8 p+ c7 L1 S' ~9 s( @6 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* A! J, b$ \8 i
  3. % P% |! u, \3 v7 O
  4. ### What we need ###! ]6 s2 O! S( S6 i7 d$ \$ K
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 J5 T. K$ n4 w: x$ w- S
  6. will not explain how this can be done - there are documents out there for the " U' i: d% k) Y/ e( m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * l9 }# H5 M/ @
  8. and a user account (username + password) that has the permissions to do stuff: w& [' N3 ?( p
  9. with the database. Additionally, you will need a vendor library installed on the$ z: u' [2 e# ?. `' L, O% v
  10. local machine, this came with my MySQL install.
    ) F, V, h' m, s7 y% y5 g: K* J! T: E5 i
  11. These instructions will not tell you how you might transfer your data from the" B" x# M- Q) ]: |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! X: X$ G' z7 @# g
  13. database.
    ' O4 N) m8 [* E$ T, y0 W+ i
  14. Some users have reported ways to import a SQLite database into MySQL, but at; e- t$ K! ~" ~0 O5 I  R
  15. the time of writing, there are still too many issues - check the current status, S7 h; T* D* `, G2 J( F
  16. in the TeamSpeak forums if you are interested.: g) Z3 n! O% S; ~6 H$ A, i- I, u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 M- T+ C3 i+ U8 w" g) W  P5 ?5 `8 H
  18. Borland was used. This driver can only interface with the client library that
      M3 ?0 I* N  i6 S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 R; y& }# y: \# T9 h# L
  20. client library - basically all you have to do is to use a 3.x client library as
    ) `3 D3 F) @* ?- L8 A
  21. "VendorLib" and a 4.x database to connect to.
    3 K- T* y( \/ S! E5 o- L6 [$ l
  22. If you need more info about dbExpress, you can contact Borland.
    9 U- s+ v; A4 `9 \+ l1 Q+ f$ A

  23. : }/ D/ ?: n, F  d0 ~
  24. ### Doing the work ###' I  s$ N  |) w( k& E+ R( U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* r" ^/ p7 d' R0 k
  26. the perquisites right, just open your server.ini file, and add this section at- Z/ R/ S  P! Y$ }  p" Y+ X8 V2 j
  27. the end:5 E8 ?& v: c/ D. y6 O' |9 B8 I* ~
  28. ---cut here---  [7 P/ R: j+ ^! _0 b0 ?# @
  29. [DBEXPRESS]  u5 @7 P: V2 P& D
  30. sqldir=mysql_sql
      N9 |3 d) c- c
  31. Drivername=mysql
    4 U. I" I/ e: \, a
  32. Database=Your_Database_Name_Here
    8 }1 v8 O, n! }* W
  33. Hostname=The_PC_the_MySQL-Server_is_on6 g9 t* j3 B" @% f
  34. User_name=User_name_on_the_MySQL-Server
    ( G. H& h0 R' e: k# H# ~) q! N
  35. Password=Password_to_go_with_above_user_name- w5 O" O  P  |8 N
  36. GetDriverFunc=getSQLDriverMYSQL
    $ y$ t, K3 o9 N! t0 ?- t: C- V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! |* i+ z8 y# a% B; t
  38. LibraryName=path_to_libsqlmy_libary
    ; ~# B4 h# N6 N2 J" t; M; ^9 E
  39. Active=1
    - @( P6 @2 U+ m" w
  40. ---cut here---" x- N: I, R5 }& B; ^! u+ a
  41. In my environment (a linux box with a MySQL server running locally) I have:8 d* a3 ~# Y1 f' E: J7 }
  42. ---example---
    7 q# I4 M. M( n( F( _& E# q$ F
  43. [DBEXPRESS]0 G' _* m2 x( p- ^( b1 H2 ?
  44. sqldir=mysql_sql0 D% Q/ R( [* c8 Y  ^+ Y3 F2 Z/ F( C
  45. Drivername=mysql
    3 f0 K5 s. R+ }; [5 H9 Z
  46. Database=test2 F* {, p4 e* k% j0 a" ?- g' f
  47. Hostname=localhost
    8 w6 X* L. `5 z. V
  48. User_name=testuser# w6 h1 a9 X: K7 m  U* U, u7 ~/ r3 }) a
  49. Password=my_password# [  z) G% ~+ Q8 h1 O7 F
  50. GetDriverFunc=getSQLDriverMYSQL
    3 T+ B: D& |4 Q% r3 h7 Z! H. J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" q( f. \; H; E. {
  52. LibraryName=./libsqlmy.so
    0 \( G; n- N0 R0 t) B+ q
  53. Active=1
    ! E- I& }) h, I: ~
  54. ---example---/ R! L8 V4 K7 y$ C$ M! [

  55. " E) B% S- U( l' g, A; {+ j- n
  56. On a windows box, also running the MySQL server locally, it would be:
    , n+ G' a, ?5 g/ K
  57. ---example---4 B, F8 q0 D. ]4 V6 Z1 t% U
  58. [DBEXPRESS]0 [9 Q! C5 H% O
  59. sqldir=mysql_sql5 C/ B" x) P& C; z1 N
  60. Drivername=mysql
    ; o) Y9 Q3 ?! a/ l+ h+ P
  61. Database=test
    * L+ A% f9 K0 U& R
  62. Hostname=127.0.0.1
    9 o0 ~2 ~3 P7 L+ s
  63. User_name=testuser
    " F, O5 h* B& {$ @1 q& Q: g  F
  64. Password=my_password& t$ }4 B  l2 E& H
  65. GetDriverFunc=getSQLDriverMYSQL
    3 P$ L7 @! w; [0 m4 @2 g, r
  66. VendorLib=libmysql.dll
    % b9 [6 Z& F1 i2 _) j5 u- i
  67. LibraryName=dbexpmysql.dll
    ! R0 I$ v# g( ]4 d7 S' j5 _
  68. Active=19 i% N# z) q5 H" x& t; P; Z9 [
  69. ---example----
    ' Z, r2 a5 E! m% `
  70. - written 02.03.04 by pwk.linuxfan) i; g/ l5 W- t: F
  71. ( l/ F) A& V: K9 i3 w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' Q& k! Z) M  j) T
  1. 6 k4 ?+ g$ t. n" y1 k8 `4 p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # i) F6 G9 m  d* |0 D( V

  3. : o$ d* p% I7 b- a, m4 N( t# j
  4. # # #我们所需要# # # # Z( X! c/ D! }1 e) i  c; @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' U+ [. z, h7 I. T+ b
  6. 不会解释如何做到这一点-也有文件存在,为
    + G' a* n9 M1 e! }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( s7 Q' u, K. \! i8 V( n: S2 x
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * j" u' X+ }' B$ W4 S$ d5 e- u: l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 o! a2 m- b6 E* P5 ]
  10. 本地机器,这是我的MySQL安装。 5 j! i4 ^6 v' k0 m* i: x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 P1 y# m0 O2 l: O& p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & M* A# G( ^: B3 f1 P+ r
  13. 数据库。
    & Z' h; s2 A4 P6 Z. M8 w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 x) d: P. j- ^# e8 ^3 g3 Q2 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 n8 _6 v% S* o1 G8 c2 Y  X" ]
  16. 在teamspeak论坛,如果你有兴趣。 % l& ^, a, I* [3 I5 x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 X  b# U8 ?- f3 u6 `6 b
  18. Borland公司使用。这个司机只能界面与客户端库3 a5 |$ Y5 j6 K$ i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! `- |( H& O2 z. N# H& t& {/ k$ d4 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: N+ t! S. H  f& P- k9 K- }& E3 n
  21. " vendorlib " ,并解数据库连接。 0 E- A; E) ?! r: |, m( G% ~* c% ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' X4 J; ]7 {9 b7 Q0 P
  23. , i% C. F' D, ?8 q! S. _
  24. # # #做好工作# # #
    , [; p) T4 X) F5 Z7 I2 W$ L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : F; i; V2 d5 U7 {. O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# J  ~; x3 A1 ]. e7 Q3 E  m
  27. 结束:
    & c0 K* Z+ [& {( f7 m! s
  28. ---削减这里---
    * s/ }6 o2 H$ R6 h
  29. [ dbexpress ]
    * m8 n- b9 X! q0 {5 G( Z
  30. sqldir = mysql_sql
    1 r; M) \. N* I8 t& W. m7 I
  31. drivername = MySQL中8 f& |( w6 `6 i6 t
  32. 数据库= your_database_name_here
    5 g' y- Q* q" U: d2 ^
  33. 主机= the_pc_the_mysql - server_is_on , }& l0 x% k9 f- B- a) P' f" o
  34. user_name = user_name_on_the_mysql服务器; J9 v* h* R# z6 L$ B7 Q
  35. 密码= password_to_go_with_above_user_name ! ?2 o" S5 c4 D: p0 s9 e
  36. getdriverfunc = getsqldrivermysql
    : C6 [5 Y! D5 x$ E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . y8 S" [. b3 Q# a5 }. U- f
  38. libraryname = path_to_libsqlmy_libary
    . D8 F* c2 J2 x0 Z: R
  39. 积极= 1
    " Y) D+ f8 }" E7 f2 p
  40. ---削减这里---
    4 _) b  n7 ?# Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: / I4 j2 ?1 O! k/ w. ^  a. E% ^3 [+ Q
  42. ---例如--- . m1 H+ J  ?% E& ^9 K- R5 h0 y  I4 W
  43. [ dbexpress ]
    / J2 h4 o+ W: V4 B5 {% K/ u" k1 M1 ^
  44. sqldir = mysql_sql
    ' |$ s  \0 }% V
  45. drivername = MySQL中$ W/ c* b6 H2 o: U5 d' `* R8 V6 W
  46. 数据库=测试
    / a. E$ o8 G7 E8 w) Z' S
  47. 主机=本地主机- t+ F6 T' t7 j5 B! Y1 q
  48. user_name = testuser * @& B) `) C, `7 v
  49. 密码= my_password
    ) a  N, G1 x# L
  50. getdriverfunc = getsqldrivermysql
    & b4 d' u# ]  Z  D' L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( n' Q* Z. ^6 q$ o
  52. libraryname =. / libsqlmy.so
    8 F" [8 v! P; U5 ]% y
  53. 积极= 1
    # z: R/ U& T& A' f! _2 n
  54. ---例如---   O0 G- B/ G- _6 P2 a

  55. % F- Q* \! c$ d" C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + p  O9 u2 C  b0 i
  57. ---例如---
    ) m2 U8 @6 I& z* A8 N& p) L( e
  58. [ dbexpress ] 0 }( y5 ]9 C; a# [
  59. sqldir = mysql_sql
      ]1 z# o: Q3 u; B7 x' m
  60. drivername = MySQL中. _+ U+ R( Z! [2 Y7 `6 c
  61. 数据库=测试
    3 Y* }3 D! E  ^2 P. W3 w7 f* F0 T. ?5 B
  62. 主机= 127.0.0.1
    9 U) G$ O! L( @- f- I" l2 D- m6 v
  63. user_name = testuser
    8 o4 T) {4 l4 P/ W1 u
  64. 密码= my_password
    ' w- i* \( f7 l/ N  N/ P, E
  65. getdriverfunc = getsqldrivermysql
    % r' ]  e9 x' E6 K8 L1 y9 T
  66. vendorlib = libmysql.dll在1 `( w) W1 W1 k9 L/ ]
  67. libraryname = dbexpmysql.dll / ~; B& E0 C. ?  t
  68. 积极= 1 1 v% Q# y2 F. R5 B! A8 h
  69. ---例如----
    0 l; L; M6 o1 x' }, g
  70. -写在0 2.03.04由p wk.linuxfan
    ! G! ]; w8 B  M( k1 t, 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 words5 U$ Y. E  \" U3 ]* n5 _" P: n
2 p6 E) `+ L. y: ]7 E1 [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-26 09:28 , Processed in 0.092844 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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