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

3111 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! B: [* s3 U: n2 G3 x
+ M+ @. s* D" x7 V/ }/ D4 @: _3 v

  1. % D+ `. Y! ?7 F9 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" B4 j% ^8 \: P: D- c6 _- @0 x6 v

  3. , ~( K' b: @, J6 A2 |' h
  4. ### What we need ###( i9 _" |+ x+ ~: o: n; O2 _
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 t" R' y9 H/ [3 w
  6. will not explain how this can be done - there are documents out there for the 9 D- ]/ _4 g4 ~+ J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 D2 A7 a7 p* A4 R3 W
  8. and a user account (username + password) that has the permissions to do stuff3 A2 H( k, \+ G0 _" V$ p
  9. with the database. Additionally, you will need a vendor library installed on the' O/ F% _: |  k5 o% B0 O7 C
  10. local machine, this came with my MySQL install.% s; h% T9 H4 k8 T4 p
  11. These instructions will not tell you how you might transfer your data from the
    9 Y: M8 S6 o$ s7 ^6 q5 ?, E1 f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! ?! _# W3 E8 c
  13. database.
    ! l& S/ y0 n# Z2 x
  14. Some users have reported ways to import a SQLite database into MySQL, but at: a  }1 x. A  ~2 x" |
  15. the time of writing, there are still too many issues - check the current status+ y1 ]% p( m: u0 }5 D2 m9 a" M: \
  16. in the TeamSpeak forums if you are interested.( n( R% I* P& N: S9 |, A$ ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% o1 d  D  K! A4 w
  18. Borland was used. This driver can only interface with the client library that / x# X8 V1 g% H, p  I% _; U2 R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 E( V' Y2 x% a' d: l& }
  20. client library - basically all you have to do is to use a 3.x client library as
    ! Y/ `9 J; n6 K# Z4 `; U
  21. "VendorLib" and a 4.x database to connect to.7 k7 D, y& f% U7 O8 s: x
  22. If you need more info about dbExpress, you can contact Borland.
    ( f3 [8 N" L8 w5 A: a
  23. 8 \  G6 J8 i! |
  24. ### Doing the work ###. K9 C. i, ^" B+ Q& e, ~; `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' h5 y8 V1 t9 L2 m: y
  26. the perquisites right, just open your server.ini file, and add this section at
    1 x2 H1 }6 J/ E8 j( G
  27. the end:
    7 I+ I2 [9 s0 H1 \0 b4 c3 U) v
  28. ---cut here---( n. @0 P# }$ `! ]+ m% ^' @0 [
  29. [DBEXPRESS]
      d0 Z; `' D; i% a) J5 y
  30. sqldir=mysql_sql7 n. d/ g! l6 f' v" c  p
  31. Drivername=mysql
    - R. R" f) N" p) g$ q' D
  32. Database=Your_Database_Name_Here
    . C7 M0 W! D& {' m
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ i% Z& `! H3 ?5 T) \$ `# ~. x
  34. User_name=User_name_on_the_MySQL-Server' f. T' q6 m  p$ }: Z7 d
  35. Password=Password_to_go_with_above_user_name
    - ~" J% z! K" Y
  36. GetDriverFunc=getSQLDriverMYSQL) k5 x! l* L' A4 s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; Q; Q/ R7 D3 ?* a$ S
  38. LibraryName=path_to_libsqlmy_libary  D) N# q2 x- u4 ?5 K1 T5 l9 W' p) F
  39. Active=1
    ' R: W1 x: R( P* b
  40. ---cut here---) p8 g7 M$ u, K
  41. In my environment (a linux box with a MySQL server running locally) I have:: s# [" S  z5 U5 d' e( q
  42. ---example---
    - ]) E% a; E' W" v6 I; j
  43. [DBEXPRESS]
    . K) K& {: _6 o) K
  44. sqldir=mysql_sql6 d5 z2 R# R* n7 y7 w7 w
  45. Drivername=mysql2 H2 h" i9 R( s2 r. D
  46. Database=test2 \7 d- U! s7 A7 Q; c! C
  47. Hostname=localhost
    & P" D5 V& E% q" a
  48. User_name=testuser
    : ^: A, Q0 {5 k5 v5 G  f; O
  49. Password=my_password) e4 z% D: Y- w: I: k* o- z
  50. GetDriverFunc=getSQLDriverMYSQL
    - C! z) \# }5 q3 q! o6 `: I) R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% C3 h( I1 }' U1 h) C
  52. LibraryName=./libsqlmy.so5 o: J" f+ m* n5 b& g4 L
  53. Active=14 K/ K! V/ B5 p' c$ Q3 |' }5 A! Z
  54. ---example---
    ( m3 l6 A5 y2 W
  55. / p6 N) u% B9 [7 F: i9 j$ i6 a3 F; ^
  56. On a windows box, also running the MySQL server locally, it would be:  b' J( l4 @8 ^% K+ I
  57. ---example---
    3 K, g! e/ J' g5 a& `
  58. [DBEXPRESS]
      @6 \$ ?7 Y# I5 `  K
  59. sqldir=mysql_sql
    , O6 M+ x; c! B, R% Y; n
  60. Drivername=mysql
    3 R5 E1 t6 p, ?. v+ @
  61. Database=test% O, F& I+ j8 Y; h
  62. Hostname=127.0.0.1
    5 n% i* f8 `( }) }$ L7 r% ]1 p% u
  63. User_name=testuser( [2 `: D8 P$ B6 y. ?* z
  64. Password=my_password
    / i" f* y, X- G3 i  ]/ P- ~
  65. GetDriverFunc=getSQLDriverMYSQL
      u, J2 o4 u( m" P. T8 o' s8 o5 B
  66. VendorLib=libmysql.dll5 B! r$ c  `( {7 ^2 E  \
  67. LibraryName=dbexpmysql.dll
    3 l. D! R6 ]! }: ]- L* v
  68. Active=1
    $ C9 A% p$ Q% u" C6 ]8 l! p: z2 @
  69. ---example----
    % f# D' @% N  G+ G% z
  70. - written 02.03.04 by pwk.linuxfan
    1 \' o8 h4 V* O
  71. + O% Z& e3 E1 u( t! m( s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 U1 y8 U  ?  m3 ~$ w, Z$ t

  1. # X/ c# R  m" k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 @+ v' n; B. R0 e. d* I' {
  3. # i4 |& q3 r8 ^& Y+ Y  ^
  4. # # #我们所需要# # #
    8 u7 Q  n& ^: ^/ n0 E5 d6 `1 k9 `7 r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . u: L$ \- ]# K) b# [/ u% _
  6. 不会解释如何做到这一点-也有文件存在,为
    + o$ f9 S1 v3 l" K" [/ I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" v4 u( n9 z- K% y' y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ o! a/ ^! X. C+ I( K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & l% A* S% P/ d" T8 X0 h! d
  10. 本地机器,这是我的MySQL安装。
      g; k. p& `$ s5 @# [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 _" k, |% }: M7 }2 |2 p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & k, T  q& A* `
  13. 数据库。 * z9 J, P. r1 d, J1 X' v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; A' ?6 E2 ]) M4 }: D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 }3 t  E5 x) O6 C+ Q2 P" {
  16. 在teamspeak论坛,如果你有兴趣。 " i7 C$ R3 D/ [, W* A# {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " P7 Z/ H6 e# C# q
  18. Borland公司使用。这个司机只能界面与客户端库
    + Q; l2 k1 \/ ~% n6 D% z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 k7 a3 k# B. s2 _, M, T" {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 l) [4 A2 U/ b% s3 T; Z0 X
  21. " vendorlib " ,并解数据库连接。 1 k5 U6 K) I0 l8 u$ e2 |5 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 n1 F' m2 }; `9 `8 E7 k
  23. / M5 S4 g: f, I: s7 r' G# V2 @
  24. # # #做好工作# # # - n# H$ R6 ], Y& q5 c4 }* \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - e! a& N7 I1 p: A' _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) I+ Q8 L+ f$ N2 b) F3 k- `
  27. 结束: - z, q( }, l" L2 o7 P. o/ F0 [$ \# r
  28. ---削减这里---
    % _; ~" R3 b0 E: |3 d0 f5 A
  29. [ dbexpress ] , m' E. Z* h- j0 @5 W+ U
  30. sqldir = mysql_sql ' F6 c. e6 b% ]4 r& g7 m
  31. drivername = MySQL中
    9 B2 z) ~  ^& |% \1 A7 |; o
  32. 数据库= your_database_name_here * ^0 q: X- X2 E* M0 p
  33. 主机= the_pc_the_mysql - server_is_on : z' i4 U4 ~% d/ B) @
  34. user_name = user_name_on_the_mysql服务器( C: H4 d, Z6 l
  35. 密码= password_to_go_with_above_user_name
    : a. }0 l5 ^2 }( j: I4 n
  36. getdriverfunc = getsqldrivermysql
    ( Q" G/ S* E" A  }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 d; R/ T7 [) _/ V; p/ {9 Z
  38. libraryname = path_to_libsqlmy_libary
    ( z8 w" f8 G4 i$ p# Y! A0 M
  39. 积极= 1 ! O$ {0 J" R+ D$ T) W: A6 v; W
  40. ---削减这里---
    % |  u+ T- X$ w% @% B8 ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " V  Z8 H( f& [
  42. ---例如---
    0 |% U; Y2 |0 G7 i$ G+ P' U/ b
  43. [ dbexpress ] 6 u' {& s) Q. d" A3 I
  44. sqldir = mysql_sql
    4 W8 M9 y" |% P+ q& `. ^' O
  45. drivername = MySQL中7 i$ W5 X" y- O8 ?/ t3 U6 M: O% R
  46. 数据库=测试* a( ]4 u+ D/ M! M8 ~! s  E: j% |
  47. 主机=本地主机  c; d2 }! A' ?( ~/ O0 |3 t: P
  48. user_name = testuser . z  T# P" _* }7 g- h- i
  49. 密码= my_password
    * T/ j5 p, y& c/ G, B: X- N) i* n1 }
  50. getdriverfunc = getsqldrivermysql : y0 ^# k* ^- N1 P9 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   j, s, W' o& k2 z( b# C. w/ `8 E
  52. libraryname =. / libsqlmy.so
    5 s, o* i% v# n& ?8 _( ^, ]
  53. 积极= 1 . S* Q9 r( w' z) H: X5 o
  54. ---例如---
    " a' Y  P" w1 f( e4 o, d* P
  55. - V6 g+ e0 g- S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . P# y5 Q; p5 B& C5 X7 V
  57. ---例如--- 0 V9 j3 c) c3 F2 A1 @1 C
  58. [ dbexpress ] + K9 P$ p7 Q8 q1 N. L7 _$ H
  59. sqldir = mysql_sql 2 c$ ~# S8 r% D- X5 b: M
  60. drivername = MySQL中! s( E/ a) B0 y# P. t! e1 u
  61. 数据库=测试) e& E8 i; J1 k5 j6 ~, {
  62. 主机= 127.0.0.1
    & |; h% V9 d0 n1 ]' j7 z
  63. user_name = testuser ( P8 {0 R5 B1 k- A/ q: Z
  64. 密码= my_password
    0 c0 P! }! _% _4 N) |4 {2 ~, O& s
  65. getdriverfunc = getsqldrivermysql 2 X# i$ ]' y: a4 j! }* X) i, r2 O
  66. vendorlib = libmysql.dll在
    ! \1 M. S9 r7 f! v6 ^) F% q
  67. libraryname = dbexpmysql.dll   _* s! i" H2 e$ y; P
  68. 积极= 1
    4 p4 y9 h5 J9 k' f9 Z# A
  69. ---例如---- 6 e5 f& ?. j# S$ P8 b. K
  70. -写在0 2.03.04由p wk.linuxfan6 E0 C' g0 s4 m. t/ o; g, \8 L& ~! d
复制代码
发表于 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
+ H6 S3 W' T) Z, y9 A# g0 z; a
' _% l3 x5 ?" O: Gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-4 05:42 , Processed in 0.091636 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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