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

3289 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   L! `# S; w& p5 r
6 \' a5 D0 ]6 l# p4 `* C

  1. 3 L4 |$ m: T2 a* \; f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! w4 p5 r) l; a. V
  3. 4 G, x2 Q6 w  l; `7 f. `* @1 H) t
  4. ### What we need ###
    & Q! }1 H+ c6 W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . B. Y) F1 m* [+ V2 S* c0 E
  6. will not explain how this can be done - there are documents out there for the ' c, x8 o8 ^- ]# T3 g3 y) w" ]* |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " f5 l! |+ J8 e- ^
  8. and a user account (username + password) that has the permissions to do stuff9 I& `) W* Q7 `
  9. with the database. Additionally, you will need a vendor library installed on the
    # r6 j5 W( M% @0 y, Q3 R! }
  10. local machine, this came with my MySQL install.6 m) l. C0 X' O8 @( N" m6 _
  11. These instructions will not tell you how you might transfer your data from the/ m, v3 E) `3 q% @) Q2 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . _6 p) n* o& s9 o5 i
  13. database.
    # y  l& C% Y: r3 Q. f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 }; O$ W7 `9 R9 `& s3 X
  15. the time of writing, there are still too many issues - check the current status
    3 [" z. T: q, v# b+ H; z' z
  16. in the TeamSpeak forums if you are interested.. `- p' k, x! X/ j9 O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ C! i' p! w* P5 d- M
  18. Borland was used. This driver can only interface with the client library that
    # u( H3 q  n: ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # b$ _* R5 o- L! o
  20. client library - basically all you have to do is to use a 3.x client library as
    " h2 N% {; \7 K1 e2 z4 N. V  Q
  21. "VendorLib" and a 4.x database to connect to.
    7 x6 H! J7 L9 B/ ~. E: N; F2 u
  22. If you need more info about dbExpress, you can contact Borland.) a6 r5 A7 J- H- P. P8 ~

  23. + X8 j/ ]: w# G/ p( _/ t
  24. ### Doing the work ###9 F& R! X6 Y% Z7 D2 s3 e5 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # {' H" n9 y2 F0 ?- M
  26. the perquisites right, just open your server.ini file, and add this section at
    7 g; P' p' @+ _$ ^7 u! j
  27. the end:& }1 O, o. _! O
  28. ---cut here---& \8 e& Y# a0 D0 c* V
  29. [DBEXPRESS]
    - A5 v7 ~# k- @. F7 C( r6 j6 F
  30. sqldir=mysql_sql1 C! o# \3 M( z1 N
  31. Drivername=mysql' d+ r. e5 p& e3 v, [' o) Q, |: P: X3 K8 K
  32. Database=Your_Database_Name_Here& _! T: u1 ~/ z% I) s' @
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 q7 K( u) I( P% J* u: C1 @! W' n
  34. User_name=User_name_on_the_MySQL-Server
    . a( B2 e$ e8 x7 A7 t% x
  35. Password=Password_to_go_with_above_user_name
    3 Q: h. n: ^  ?" D) M) P- H/ f" q
  36. GetDriverFunc=getSQLDriverMYSQL
    7 _. o1 b3 B7 m) l+ a, u  M, U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' Z' e# [3 |# E& g! E4 ^
  38. LibraryName=path_to_libsqlmy_libary, x- ~7 E& j, |% l. j
  39. Active=1
    # M" l8 x5 h# ~
  40. ---cut here---
    % s1 f9 g/ v" C! k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 x: k6 J0 H8 l) R
  42. ---example---; |& g1 S' p5 |7 B- k
  43. [DBEXPRESS]
    # Q: u2 z4 I8 |
  44. sqldir=mysql_sql+ k/ p* }+ n( z. N* c
  45. Drivername=mysql- o8 a  D! J! C
  46. Database=test6 }6 V- z! M! m
  47. Hostname=localhost# A/ T* u* d( i: f2 x+ K7 }  }
  48. User_name=testuser; u- X1 d, \0 N' C5 G  P: Y9 Z2 e
  49. Password=my_password
    1 s, v1 J  J/ t# V6 m$ Y
  50. GetDriverFunc=getSQLDriverMYSQL
    6 n1 U: V6 L) ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 W, ^3 L& w& S
  52. LibraryName=./libsqlmy.so
    8 ^; s$ U# B) A2 D! d$ t' B5 L+ l
  53. Active=1
    - z* R. i3 [- M0 B' ^
  54. ---example---
    2 _& I/ l6 [$ G3 h; v

  55. 6 g" _- `: @* k& d% J
  56. On a windows box, also running the MySQL server locally, it would be:
    1 d! Y5 y( F$ p
  57. ---example---8 w! {0 @* O9 G4 d' B9 v2 _. n% V6 T
  58. [DBEXPRESS]
    6 |) P2 D3 I1 X, r* A
  59. sqldir=mysql_sql. y: t0 _/ j6 k4 @9 {5 ]/ X
  60. Drivername=mysql
    / s, H2 Y* s8 {+ O7 u
  61. Database=test/ [) }5 ^& |# ~+ H* x' d
  62. Hostname=127.0.0.1
    ! F3 t. s! R/ \% I
  63. User_name=testuser& P7 {; W9 w# P  {$ O# C
  64. Password=my_password. P: s( z; q! R
  65. GetDriverFunc=getSQLDriverMYSQL
    / f: a+ c0 }% H
  66. VendorLib=libmysql.dll& u( Z0 R: h& b3 G- l, l6 @% s
  67. LibraryName=dbexpmysql.dll
    7 _8 Y; ?. v8 k* I! B4 i
  68. Active=1
    5 c& M7 K& C: U) C! V  i
  69. ---example----
    8 s' D* T: [* W
  70. - written 02.03.04 by pwk.linuxfan7 {) f( k# b! T( Y) b5 y
  71. . A: l8 s) ~6 C! c. i! n  j# s. l5 P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ V" D! k/ o2 N! \2 w5 C& P* D
  1. + j+ \/ D3 Q9 n, w) f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( ]$ }& d2 d3 t2 e* i1 `3 Z( [
  3. # ~( Y9 C! ^$ w7 G5 a/ O  \
  4. # # #我们所需要# # #
    1 H' Z" ?4 @/ |4 t# L0 q, ]- l5 _' N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 |9 }9 e" _3 E% j
  6. 不会解释如何做到这一点-也有文件存在,为
    - P% L& t/ h1 Y- v2 `, l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & \- V3 \  t9 e8 D4 M# e: W" M1 U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " F# _( M8 Y2 `9 X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% B# L* s; k8 T3 p2 e" Y3 X, a- K8 A6 [
  10. 本地机器,这是我的MySQL安装。   o" r* k" c4 B$ b# `- o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 A3 y4 {. M; x0 E% |1 Z. _
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * B! w% |) g$ H: n6 J
  13. 数据库。 1 O6 V+ i9 S, W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / i/ H  b. r1 l
  15. 编写本报告的时候,仍然有太多的问题-检查现状; d2 x: L/ C+ c( K8 r+ v$ o5 X
  16. 在teamspeak论坛,如果你有兴趣。
    - H7 t+ B, U& P& X4 \; \6 J- R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& v3 ^- _8 f% p$ Q' }  v: M4 S
  18. Borland公司使用。这个司机只能界面与客户端库0 U, y; a* s2 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 l' `! t* L' D* G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 p; z7 e; [: A" h& @
  21. " vendorlib " ,并解数据库连接。
    % g  ]4 _) F+ j. f3 a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) o* K( z2 {( c7 e4 M; @! l

  23. / f9 J! ]6 _1 d( v' Y1 N! a9 A8 k
  24. # # #做好工作# # #
    ; ]! x8 o( d5 L7 ]. C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 W3 M% H- `+ V8 {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 @, A6 U2 W' e& J# F
  27. 结束: - _; z, U6 i8 e: r- l
  28. ---削减这里---
    / S4 v6 V0 a4 Q- j0 A2 ?/ l
  29. [ dbexpress ]
    ; C: R- d, u, x% U  s5 W
  30. sqldir = mysql_sql 5 Q' c% f- v1 y. q, _* n7 L% h
  31. drivername = MySQL中) i$ [5 }* V8 U3 Z/ q- I
  32. 数据库= your_database_name_here ! s2 M2 _8 H' `( h
  33. 主机= the_pc_the_mysql - server_is_on
    " R6 C. e% s7 O" \7 N
  34. user_name = user_name_on_the_mysql服务器
    , w) C) e4 x% x( e# E- v4 u
  35. 密码= password_to_go_with_above_user_name * A3 H# g/ r2 z. _/ v/ `0 V9 L
  36. getdriverfunc = getsqldrivermysql
    & B3 |* d- M' T  P& I" T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - j! p" v3 d  Q# K+ r2 Y
  38. libraryname = path_to_libsqlmy_libary
    / `$ D2 x8 V& x6 J9 T' j
  39. 积极= 1
    - }' G, t1 T+ U% b: n: C
  40. ---削减这里--- 7 L1 C9 R( \* D( ]- L. R  Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) W% t- s) _8 n8 w
  42. ---例如--- 8 |; f: b. v3 W7 @) `/ Q' J; s
  43. [ dbexpress ] " T  v& q5 q: }7 [1 P0 R
  44. sqldir = mysql_sql
    4 d' D# J* @. c
  45. drivername = MySQL中" `/ y) _4 T/ p. ~( q/ e
  46. 数据库=测试5 }( P. g6 m: g( e+ h. q
  47. 主机=本地主机+ S" V. ?! Z/ r* i1 z8 g& B+ g) V
  48. user_name = testuser 6 X: J0 m6 [! p. e; f' f
  49. 密码= my_password 1 W( j$ L$ z+ a" ?) Q3 `4 q
  50. getdriverfunc = getsqldrivermysql
    - B1 }" N- V1 w9 q: {* ], @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * g, K. _% Q7 K  n5 t# c$ Q5 ?
  52. libraryname =. / libsqlmy.so
    ; J- o: K7 @8 C1 u/ f7 a" c9 ~
  53. 积极= 1
    * d+ P! R5 F# {* ~# V8 b, u
  54. ---例如---
    $ X& u2 K( K- v0 P
  55. 9 N# k8 y& C" B7 z; r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : Y  y! {! W7 [0 N! o5 @
  57. ---例如--- ! ^9 S! x0 D# [( l( W7 c& C9 G
  58. [ dbexpress ] : H$ E8 T+ Q! X, q
  59. sqldir = mysql_sql ( d4 q  b6 l2 l$ P& p0 |
  60. drivername = MySQL中4 c9 q5 {$ K4 Z
  61. 数据库=测试& l' W/ A  ^* q. }, K( }! J
  62. 主机= 127.0.0.1
    $ E1 Z) M1 o6 Y
  63. user_name = testuser 0 M/ Y' x8 E5 u' U$ j: _
  64. 密码= my_password
    - M9 Q7 M2 h- A* H) T- |/ ?7 H. {
  65. getdriverfunc = getsqldrivermysql
    7 |" N4 A5 o- n! q& L
  66. vendorlib = libmysql.dll在1 l+ w2 ?- u, |) [* J! y9 m! H5 j8 Y
  67. libraryname = dbexpmysql.dll
    & a# u' s# w. e2 m. |
  68. 积极= 1 9 D9 `6 @* a3 v9 t; R6 k
  69. ---例如---- ) f$ ]! O$ Y" w% m
  70. -写在0 2.03.04由p wk.linuxfan+ d6 m' s# a9 A
复制代码
发表于 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! a0 I+ W; C1 y, [" z  }8 C
( x* D& R) V: c4 M/ P* b3 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-10-4 18:34 , Processed in 0.095129 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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