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

2635 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 f* d- c7 \! f# \$ K+ @- H2 X
1 E8 d, ]. r" |! a. {# h$ \

  1. ! s! F; Y$ h4 F2 p' Z% p/ P9 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + G' q* E( A; Q. K& j9 k7 F
  3. . W$ r5 K9 P+ Q0 t8 d
  4. ### What we need ###7 R: g: e7 u1 X& {) n/ H3 l% O
  5. Naturally, we will need a MySQL server to store the data for us, this document / L* d% z- w! A) s. f5 |3 ]
  6. will not explain how this can be done - there are documents out there for the $ J% c5 _7 e- F9 Y4 r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) U$ C2 r! t0 r0 p. [
  8. and a user account (username + password) that has the permissions to do stuff
    : X) Y9 o( k, n/ u% L& U% \
  9. with the database. Additionally, you will need a vendor library installed on the
    9 L6 Q  ^& c/ Q# ]; l* f7 ^
  10. local machine, this came with my MySQL install.
    . f* M& h& I# m, ~+ `
  11. These instructions will not tell you how you might transfer your data from the% Y4 Q; d( I/ \6 a) }) H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 I5 ]$ n/ a/ W2 A/ @+ F3 z
  13. database.
    & [$ d7 o; X' {2 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 j: M4 m2 c, e! Y! J6 F$ I9 I
  15. the time of writing, there are still too many issues - check the current status  U7 n3 J9 e/ x% k
  16. in the TeamSpeak forums if you are interested.
    : _6 S$ ~' \% P- n7 C4 u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ Q+ H. K* c: p! m% \
  18. Borland was used. This driver can only interface with the client library that
    0 b9 k. n" _6 R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 F% _$ {  E+ `' h8 C* M
  20. client library - basically all you have to do is to use a 3.x client library as
    / j4 S0 E7 D+ e! J0 B1 i1 z& |8 N
  21. "VendorLib" and a 4.x database to connect to.5 w. F2 D6 m4 o' A" f/ E
  22. If you need more info about dbExpress, you can contact Borland.
    / f$ G: h: E) N6 k4 O6 o
  23. ; I2 M' Y) N: O( H2 Q" L
  24. ### Doing the work ###3 q! B  A" q/ N' i5 e) n5 J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! y9 p0 o& ~; |! v5 ]8 ?/ ]
  26. the perquisites right, just open your server.ini file, and add this section at2 |2 b  W  z( `: {  D' w
  27. the end:  f- w; [# E0 E5 C
  28. ---cut here---* D5 Y9 {" G4 T, v$ W) p8 v
  29. [DBEXPRESS]. t, ~9 c+ J9 S7 d" C. I5 `  @
  30. sqldir=mysql_sql
    1 x5 f8 K. {9 Y
  31. Drivername=mysql" m$ t3 P8 V  W% I+ `, I' k' o$ Z+ p
  32. Database=Your_Database_Name_Here
    : k) A- Q: J5 s  E' [& y
  33. Hostname=The_PC_the_MySQL-Server_is_on; K( f$ u7 ]. d* c, u9 ?1 a
  34. User_name=User_name_on_the_MySQL-Server
    ; m4 S' q& Y' P+ W# x. m$ V
  35. Password=Password_to_go_with_above_user_name- N. r, z0 z) `' P2 m: f
  36. GetDriverFunc=getSQLDriverMYSQL
    * a! n2 E6 Y5 R# T2 r( c8 g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' U0 o! p0 z" p# x6 w5 q  v
  38. LibraryName=path_to_libsqlmy_libary$ ]3 z5 d9 j. L7 g
  39. Active=1% s  X1 C8 q# L; p% b( ?
  40. ---cut here---9 o' J* I5 V& ^+ L& y+ A
  41. In my environment (a linux box with a MySQL server running locally) I have:$ e6 d5 ^8 ^4 J2 `/ M* f) j- ^
  42. ---example---
    . s/ p: a2 `) J& r" D5 h
  43. [DBEXPRESS]
    & F5 K& l! r4 E/ N
  44. sqldir=mysql_sql
    7 ?! R* R+ O# C' y& I
  45. Drivername=mysql7 F1 Q# R) d0 r/ j; v. O
  46. Database=test
    7 Q' _; v9 o! M" e! N% C2 B2 [0 b
  47. Hostname=localhost/ {1 o9 Q+ p" z  Z& D
  48. User_name=testuser
    ! s7 v- P- Y. X6 X  k* U
  49. Password=my_password
    : c4 c$ m' t4 _8 F( Z% g: o
  50. GetDriverFunc=getSQLDriverMYSQL
    9 y1 E0 d/ |8 H1 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; K& `& O8 ]1 Q( |$ z# Q
  52. LibraryName=./libsqlmy.so7 k5 h+ s  M, k; c4 J$ \# V
  53. Active=1
    & \1 S7 c7 R' ]: L
  54. ---example---+ P0 q4 p2 ~! \2 ~! H9 C- p) r
  55. : A$ s8 G0 G0 K+ g, N
  56. On a windows box, also running the MySQL server locally, it would be:
    - |$ ~5 G2 V& q5 R" j
  57. ---example---& E+ ]" f6 }5 C! [0 @
  58. [DBEXPRESS]) G, U# s9 G% O4 T7 U
  59. sqldir=mysql_sql
    3 }0 r# |& B! ?+ {' K% e& c
  60. Drivername=mysql
    5 u+ c4 q: t0 d' _+ O2 h
  61. Database=test( M- V* ?" Y* r+ V- y7 H, l) m
  62. Hostname=127.0.0.11 ~& P9 M! ]8 i8 o6 f, E
  63. User_name=testuser4 ^$ Y. h' l: C  `/ H4 \# b# b
  64. Password=my_password
    . O  {1 W4 P& j
  65. GetDriverFunc=getSQLDriverMYSQL4 z4 p- i5 r* P7 _0 d  ?# o! @
  66. VendorLib=libmysql.dll
    / `2 X/ _/ s% c
  67. LibraryName=dbexpmysql.dll& w# E, v2 O8 a
  68. Active=1% b! c  |& w) Y  j8 x
  69. ---example----. [9 M/ [* A; J7 ~
  70. - written 02.03.04 by pwk.linuxfan! I, |+ r/ R4 N7 y9 V; G
  71. $ e) Y% W+ c% t9 k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& L6 a+ s6 w6 g2 Y! C

  1. & i) t/ P- N: {" X6 Y- T' Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * `! _9 Q( c+ s# q* x
  3. ; M% e, s* Z8 B" G. z! A: V
  4. # # #我们所需要# # # 3 L1 z: u: ?' s! C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 c! \$ i5 p+ M  u# x; r" q
  6. 不会解释如何做到这一点-也有文件存在,为
    / U% M! D7 k$ b0 Z' l" @, R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  h2 e5 X* h. Y7 e2 c: f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# r; U, y# @! z2 j& Y9 E0 N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 a/ e& i2 O8 l
  10. 本地机器,这是我的MySQL安装。
    ! d$ x/ {; f  V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 @. Y" }" D" g  H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   b1 M% Y# H" o3 x9 p
  13. 数据库。
    ' {# Y/ v0 R. j9 T8 W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ }/ c: J5 M' H4 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % X& O( J& |2 v7 G# F  \4 s3 |
  16. 在teamspeak论坛,如果你有兴趣。 ) Z6 Y! Q- o5 A- {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 k) q7 S, V. t6 W' d+ [; m9 _
  18. Borland公司使用。这个司机只能界面与客户端库/ e$ r- R: `% p" A8 o* e" T. q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, U; T; f: J7 V# _/ F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " p) @0 Q8 w% L
  21. " vendorlib " ,并解数据库连接。 ; ?3 p. Q8 q% L6 v3 M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 k5 O+ h& y; Z. }
  23. 3 I, S2 I; x5 p. P2 H/ b
  24. # # #做好工作# # #
    ; K7 B4 d" s9 L+ ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( S, u7 D! _. |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( G2 T  i/ p4 P6 U* k+ }+ |' K+ \' Q
  27. 结束:
    + W9 ~( Q# ~- G
  28. ---削减这里---
    4 c, Z9 g: {$ f8 H6 `% S( X
  29. [ dbexpress ] 9 }6 L$ ^: H  F0 Z1 |  E7 U+ g
  30. sqldir = mysql_sql 0 k/ W+ e8 h2 t3 e" R6 B7 a
  31. drivername = MySQL中
    4 N# T( {/ @/ ^. `1 O! _. M! ?
  32. 数据库= your_database_name_here # B; e  P+ P$ @2 B& a
  33. 主机= the_pc_the_mysql - server_is_on / A0 L% W+ r& W% O# X
  34. user_name = user_name_on_the_mysql服务器
    $ r' ?2 Y1 z- \$ c" {1 A0 [9 J
  35. 密码= password_to_go_with_above_user_name $ m' y% q, ?0 L0 N: j3 y& j
  36. getdriverfunc = getsqldrivermysql
    6 f3 b; [0 j/ C/ O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . ]- {1 {, X! {2 O
  38. libraryname = path_to_libsqlmy_libary ! x- X1 ?$ J0 u0 q. ^6 T' N) s
  39. 积极= 1
    * M3 _; n4 `/ R% C0 J- ~
  40. ---削减这里---
    ; H  A, x: |3 Y0 D, {5 E/ d- Q3 N. I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 ?# N( t% ^/ U# I( J
  42. ---例如---
    ) {7 d+ X1 u& C6 ?0 q
  43. [ dbexpress ] : y9 {6 e8 i. Z3 C7 P
  44. sqldir = mysql_sql 7 g4 E1 z% F/ Z7 T
  45. drivername = MySQL中
    1 V" L# u( \+ u7 C1 ~& O' s
  46. 数据库=测试, S: v- [7 p1 A; B, d+ J! M) I
  47. 主机=本地主机! R4 O% N/ W( b- J  |& d! D
  48. user_name = testuser
    ; {, w7 P% H" }. d9 _
  49. 密码= my_password
    9 s3 u1 ], e$ t# P4 S
  50. getdriverfunc = getsqldrivermysql
    : i5 m( j) K& v, g% J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) P# k4 L9 [* a3 `' O7 W
  52. libraryname =. / libsqlmy.so
    + ~' q+ b" z9 s" r2 Z
  53. 积极= 1 ; J* f4 H. Z/ O" E( b
  54. ---例如---
    4 e% C: d& Z% G7 Z  S

  55. % E# P0 `* L4 }2 P- I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ e) `, n( m7 c% s0 t4 s. ~1 v
  57. ---例如--- % h/ Y- Y3 Y7 S
  58. [ dbexpress ] : G/ y, n  b( T) p$ t
  59. sqldir = mysql_sql
    ( F) z) |& m& E- Y) h$ Z, Z
  60. drivername = MySQL中5 h$ A  Q, O$ J
  61. 数据库=测试; v& F+ O- ~+ R: a( b( t) O, {1 y* D) q
  62. 主机= 127.0.0.1
    8 l6 e" _6 |. R# g2 A: m/ Q. F. `' P
  63. user_name = testuser
    - E# q# p0 G9 k! {1 O
  64. 密码= my_password
    3 M  r5 @& q+ O( p
  65. getdriverfunc = getsqldrivermysql ' g. a0 @, B$ D
  66. vendorlib = libmysql.dll在1 |1 u& Q' D  E( W7 L
  67. libraryname = dbexpmysql.dll
    ; B+ D3 E# o1 p7 z' W
  68. 积极= 1 # i- p0 O. m. v9 P. q3 w
  69. ---例如---- 6 W% q0 G9 q; g$ Z  G; b6 h$ b
  70. -写在0 2.03.04由p wk.linuxfan( U, R1 F$ ?# i4 c. q: O
复制代码
发表于 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
8 G$ R5 s, l7 C' o# U. q
8 x& D) Y# e; {- Lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-18 19:45 , Processed in 0.121201 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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