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

2570 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , M7 A$ u8 ^/ K  D# @; T# N. c& o0 s
& [5 y! Y. s* k$ R9 L7 D

  1. , F0 o1 p: d9 B+ G: {- ?( H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 B5 T" n3 z! w. ^  R
  3. " p" z* Y" g' |, ]. a5 H4 W2 @
  4. ### What we need ###
    6 K3 Q7 W6 v8 p$ m3 t
  5. Naturally, we will need a MySQL server to store the data for us, this document , o% ^# y8 v" ?2 v* M' l
  6. will not explain how this can be done - there are documents out there for the # l3 i) h5 ^$ [8 p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 d5 u! x; I7 @6 }/ \$ O* v
  8. and a user account (username + password) that has the permissions to do stuff
    * ^) z# M( K+ R. z' T
  9. with the database. Additionally, you will need a vendor library installed on the
    : Q6 k" M: f) R% w
  10. local machine, this came with my MySQL install.4 B5 t9 n! \2 v/ J
  11. These instructions will not tell you how you might transfer your data from the
    * u) e: S: ?: _- d6 M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / i' c% u3 P' Z4 H7 b( Y# A" j
  13. database." K- o& d" [+ x, ]! i
  14. Some users have reported ways to import a SQLite database into MySQL, but at* M2 G, n: R$ l. ]) E5 {! V! c' Z
  15. the time of writing, there are still too many issues - check the current status( G& M: i0 }# ^$ M% M9 v( [+ k
  16. in the TeamSpeak forums if you are interested.
    ( Z7 T# t7 a& g4 m$ ~2 U; C% `5 f5 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* {. C! h( ~4 w  ^" m) g
  18. Borland was used. This driver can only interface with the client library that
    1 p7 N' _* H2 u, ]) T$ T9 y: `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 q( [0 I- `; _2 q* m
  20. client library - basically all you have to do is to use a 3.x client library as : W2 r+ x0 [& m- T# _( T
  21. "VendorLib" and a 4.x database to connect to.
    - c/ R* s# Q4 X6 g( S8 k/ }/ Q3 I7 |
  22. If you need more info about dbExpress, you can contact Borland.
    ) T/ @" r$ a8 a

  23. 8 Y# U. @' [6 o
  24. ### Doing the work ###' K1 V& C# s5 @  V0 j6 O. T! |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 _& e: p# j3 Y7 d. b6 R
  26. the perquisites right, just open your server.ini file, and add this section at
    ! m4 E5 g1 |7 w# U7 a, O/ [/ Q6 Q
  27. the end:- w5 ~! p" ^& M# T
  28. ---cut here---
    ! h$ X  G+ Q0 x/ V' Z
  29. [DBEXPRESS]
    " o6 l. p3 Y; y- N4 F0 h# A9 K' p7 u
  30. sqldir=mysql_sql
    " q9 N$ Z' o! l7 n5 G' c( c( E
  31. Drivername=mysql
    . M2 M+ J" {# c9 Q
  32. Database=Your_Database_Name_Here
    & R7 [# y# P0 B3 d+ g( k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 z, F# i& e/ w( P6 B
  34. User_name=User_name_on_the_MySQL-Server
    ( q# L& z1 J, _. a- {) Y
  35. Password=Password_to_go_with_above_user_name
    ) E- _# A* m% B" \6 y
  36. GetDriverFunc=getSQLDriverMYSQL: Z6 |, c' O+ M- N# @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 U9 k0 Q+ z0 y' w
  38. LibraryName=path_to_libsqlmy_libary4 j6 k& d, z" `- ]5 \. T
  39. Active=1
    " v$ z. m  X+ r9 X) i) k1 F
  40. ---cut here---
    ( e9 h- Y% ^3 \  U0 ]: x! H; U; j
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 ]' v! a' ^2 ~' ^5 ~& R
  42. ---example---
    8 ~# p4 G7 @. k- S% {
  43. [DBEXPRESS]
    ) o# P& }- U+ x3 v
  44. sqldir=mysql_sql
    # e# \, i4 K; B/ X0 h. f+ E' V' w6 [
  45. Drivername=mysql
    & M7 V- _: G/ t1 @) A
  46. Database=test, G" ?4 s0 {4 z& d
  47. Hostname=localhost( x5 {) D4 ~5 o  N8 A) ~/ [: ~5 W; U
  48. User_name=testuser
    ( u; h, o- ?$ p- H% x
  49. Password=my_password
    $ p. R9 @1 Y: s& Y+ W( ]
  50. GetDriverFunc=getSQLDriverMYSQL% ^. H- ~- p( a3 h* `: q+ ^: D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 ]" _; A7 N, D& Z7 ^
  52. LibraryName=./libsqlmy.so
    - q- w3 l/ w4 T  W* h
  53. Active=1
    * m7 v7 U) b4 ]& ]
  54. ---example---  x6 k  C  Z3 o) c& T9 b
  55. + t; k  E( _1 T' g. I
  56. On a windows box, also running the MySQL server locally, it would be:
    9 m7 k; i  c  O& i/ o
  57. ---example---
    , s5 D: _4 L* a/ A1 A6 |  h6 b4 s3 D
  58. [DBEXPRESS]
    * i$ n0 z$ N. r" b4 ~. @
  59. sqldir=mysql_sql& y( G# `% Q. F0 |2 j
  60. Drivername=mysql' r- T& `# C/ L6 U. S* k$ ]
  61. Database=test* ~3 I. d, w: t* z. p  V6 L: ^- M5 K" O. P
  62. Hostname=127.0.0.1) @3 a. B( x) n# e
  63. User_name=testuser
    : h/ }0 D/ u0 Z! z. w3 C
  64. Password=my_password
    7 Z$ A$ a* _* U' g; y8 d
  65. GetDriverFunc=getSQLDriverMYSQL$ S; j. g& Z* n, w
  66. VendorLib=libmysql.dll/ \7 ?. {1 V' Q- v/ w
  67. LibraryName=dbexpmysql.dll3 y" A# k/ B% S1 q+ V
  68. Active=18 u0 w% u$ M# C8 ~4 l$ {
  69. ---example----
    ( V6 j) P7 I* ]# J: B( h
  70. - written 02.03.04 by pwk.linuxfan# v) B4 y2 W( n1 p! ~; x" S* |+ q' ?

  71. ' x' v$ y) x! ]/ M! A5 @1 }8 q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& B! N* S# Q) ~: `* L
  1. 8 t3 s$ r( P# h" ~+ j, h  w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : W( |& T8 j  ^1 i! O; e# m: q3 W

  3. ) X5 E7 x4 S0 R0 {: S: O: \0 a
  4. # # #我们所需要# # # , E* M: c0 S0 E9 U& j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + s! }& U3 k8 {9 y8 p
  6. 不会解释如何做到这一点-也有文件存在,为; y+ S* k" C8 @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! G  E$ o# }, w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 K4 g  c/ m- v9 Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! c% {0 }4 z( G# x$ ?- w
  10. 本地机器,这是我的MySQL安装。 8 A8 V( z' ]5 O0 N! K) z" u1 c4 W1 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 y* S  ?2 `" ]4 c& ~; z$ V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 r" P3 Y8 w6 U# U: ^6 S
  13. 数据库。 5 v8 H- o+ W  \5 y' W! Z# ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      V6 N# r# Z6 z3 {$ ^4 U; y4 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( A6 ]( B, `6 [, h
  16. 在teamspeak论坛,如果你有兴趣。 ( x/ Q+ E) t  ?/ q, }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 G0 m8 ^' y3 X. |& n9 J- u! T5 y' n
  18. Borland公司使用。这个司机只能界面与客户端库
    / u* \- V8 ~  b3 a, x, p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* F4 E# d; r: [  u0 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 `) i( V1 j4 T9 E$ `
  21. " vendorlib " ,并解数据库连接。 $ h1 f( A9 }. e: j1 b# |4 y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' ]  o- U% @8 f$ Q1 @
  23. + h& W& x  j$ ?: ?
  24. # # #做好工作# # #   E* S, {6 a  a# Q, W5 B- L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ G  R" w- ?! b# W  m$ z3 ^+ W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 Q# ^( U2 s5 S7 {+ _4 Q
  27. 结束:
    9 {7 U: y" ?* H) k! ^" n( J
  28. ---削减这里--- / E+ t8 l: K' X; ~2 n
  29. [ dbexpress ] " Q- [1 \8 N( ?: y# w* p
  30. sqldir = mysql_sql
    * W( N6 _" Y& R6 G( A6 W& F5 {/ R; z
  31. drivername = MySQL中
    0 \# ?3 M$ z+ `1 t
  32. 数据库= your_database_name_here
    ! ~! Y5 N2 E3 U) L7 @, [/ C% m: V
  33. 主机= the_pc_the_mysql - server_is_on 4 n# m7 z0 r* k( t; x
  34. user_name = user_name_on_the_mysql服务器
    9 v) O1 r+ |8 @, s) {, g& G7 A
  35. 密码= password_to_go_with_above_user_name % t1 I9 J# {" e6 b; V. E8 q- [+ Z
  36. getdriverfunc = getsqldrivermysql
    $ H& @+ Z; p0 H* Q5 P8 Y0 g$ ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , _3 b& W) f+ d% [
  38. libraryname = path_to_libsqlmy_libary
    9 ]- t0 A5 B9 K$ [
  39. 积极= 1
    ) U& D, v$ y) M7 x. p
  40. ---削减这里--- 4 v8 Q  N( V; _2 I4 D6 ]8 X# K& M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( W* }* K8 [9 T: }0 o' s/ c
  42. ---例如---
    5 n6 y/ [8 J) P3 i% E: M5 H* y- g
  43. [ dbexpress ] $ s, y% k2 }; K! f
  44. sqldir = mysql_sql 3 `) O, R0 K9 Y1 N/ Z$ ~
  45. drivername = MySQL中1 H5 H9 G  [# ]) U, ^5 L
  46. 数据库=测试
    * a$ C  N/ M; g
  47. 主机=本地主机$ o  A6 ]/ p- R. P* s% d+ Z: L9 X8 q
  48. user_name = testuser : h& m+ V" Z0 B. j( f9 l
  49. 密码= my_password
    8 b& \. s8 Z8 G' R; i
  50. getdriverfunc = getsqldrivermysql - e* g; m; b6 E5 E& p5 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # r/ A$ {; w  w$ Z! I* [
  52. libraryname =. / libsqlmy.so
      R. \4 @: e: s) p9 ?% p$ G- c( H
  53. 积极= 1
    ' l2 z3 Q# T' g( b: @4 G
  54. ---例如--- ) Y% T) ]1 L. E
  55. ! A' h) U" y5 U" V* P0 M: A/ r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 e- n1 r- t1 T7 N# I) T
  57. ---例如--- 4 X4 I/ `0 r4 ^5 n' U
  58. [ dbexpress ] " E  @' [9 A& f8 ^6 Y) l4 o
  59. sqldir = mysql_sql " t% H& Q2 L3 ~0 }
  60. drivername = MySQL中
    ; r/ n* j6 N4 Y/ ]8 D; m, Q
  61. 数据库=测试  ^: r. J# ?3 m% E0 f, B/ R
  62. 主机= 127.0.0.1
    ' }+ a* f. j% t3 c6 S
  63. user_name = testuser
    5 I" ?$ P& I4 }! J/ J; [
  64. 密码= my_password . j/ i1 \' a5 U  s! i) d
  65. getdriverfunc = getsqldrivermysql
    1 \. |- V% L) s9 L- Y+ B
  66. vendorlib = libmysql.dll在
    2 P8 u' e  C) y) F+ T: m  ^
  67. libraryname = dbexpmysql.dll
    6 N, a5 d* F7 j; Z
  68. 积极= 1 , T/ o1 _5 y, o/ f2 [5 w
  69. ---例如---- 1 ]1 v: r$ V& I1 I: B8 E4 h, }) n; m
  70. -写在0 2.03.04由p wk.linuxfan. O; V9 l: N) W# 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
6 b* y# R5 X7 Y% _  }6 c1 {% p8 c' ~# g! t. f  |* m1 [! V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-1 05:58 , Processed in 0.109006 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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