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

3062 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& ]+ c2 W& f5 F' _) p% q  F, y! Z; P2 H- l" [; m2 }1 A1 N

  1. % h8 b$ L& D( P* [9 Q8 m+ ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& D& _& N# g2 W* u" z8 p/ h

  3. - [% T, v9 s4 b8 z" N5 p+ N, }
  4. ### What we need ###
    - i3 ?, h* n5 d
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 M2 V1 [! d5 k0 D, f, F
  6. will not explain how this can be done - there are documents out there for the % h( c7 d% w/ q/ s  \6 }) W
  7. interested. The requirements include a (empty) database for TeamSpeak to use, ]* ^# V. C. R( x4 J/ i
  8. and a user account (username + password) that has the permissions to do stuff8 ?: `+ O6 E1 \3 t! w% o/ w& @6 D% O* \' v
  9. with the database. Additionally, you will need a vendor library installed on the4 \  g9 x1 I; a1 M% l
  10. local machine, this came with my MySQL install.. V& b  }2 ~& c5 |0 p
  11. These instructions will not tell you how you might transfer your data from the
    ! z; b& S% N/ z8 L1 Z) j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 ]6 c2 S$ w: w% {6 r2 }
  13. database.
    ' k( K1 X8 |" Z: a4 {4 d, r3 ?- O( }
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 T9 M( j7 L0 ^+ z2 T! Y* e
  15. the time of writing, there are still too many issues - check the current status
    7 l2 C. O2 Y4 ~; u) r  e
  16. in the TeamSpeak forums if you are interested.
    7 o# g; I' D7 A; v( w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& a' C6 ?( L9 h4 x! Z* [' Z. z0 J
  18. Borland was used. This driver can only interface with the client library that
    , c2 R3 Z, g/ ?, d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 ?1 a0 O, \9 o, {$ B
  20. client library - basically all you have to do is to use a 3.x client library as   e: c$ g- j' E
  21. "VendorLib" and a 4.x database to connect to.
    . W" \5 ^6 s# b% V& m
  22. If you need more info about dbExpress, you can contact Borland.- n9 E' {8 H) e6 R

  23. % b" k4 ]; g6 W0 |# ^
  24. ### Doing the work ###. n. V0 o  y4 h. m* {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! C, a. y. O4 `3 m. G, T) q
  26. the perquisites right, just open your server.ini file, and add this section at7 t+ l5 P# i6 Y* w$ H+ Y
  27. the end:
    ( Q+ n- i2 _( }% N. _- z
  28. ---cut here---
    , H. ~& d; w# v  Z! P5 ?- X0 ?* X4 @
  29. [DBEXPRESS]
    7 Z6 C1 l! M# ]# u0 G
  30. sqldir=mysql_sql" s: V2 D& ^) g( I, u# T
  31. Drivername=mysql+ m- G( Q* y6 I+ _0 K
  32. Database=Your_Database_Name_Here
    * \7 i, G) E+ M+ F1 H* R& q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ [7 E* w% u$ L2 q' W9 P6 m
  34. User_name=User_name_on_the_MySQL-Server
    : y2 ]; U. e* l; ]) m* z  {8 G
  35. Password=Password_to_go_with_above_user_name# Q: m5 T( w  \* ~5 H* F
  36. GetDriverFunc=getSQLDriverMYSQL
    , {1 t- L9 V4 H1 c9 b0 j7 e3 V6 ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! w* j4 K. ^3 S3 t, U7 \" R
  38. LibraryName=path_to_libsqlmy_libary
    " V0 R1 C8 k' [$ X; B
  39. Active=1. o5 E& J- ~3 m) c! w
  40. ---cut here---! z2 D+ x/ {) J; S' P- S$ s7 q
  41. In my environment (a linux box with a MySQL server running locally) I have:  G/ g  R2 c; N) q4 U2 i
  42. ---example---
    : H7 f) q( n- c- f, @, }
  43. [DBEXPRESS]
    * z! E8 U- ~$ S
  44. sqldir=mysql_sql
    6 s) Y. ^! R4 i- Z( s# v
  45. Drivername=mysql. |1 p) M3 x/ h, V$ v' M
  46. Database=test) V9 ~/ H& G+ e. K* V! `' C
  47. Hostname=localhost
    : S; v2 s9 E3 z- l2 k# v. ^& a# V
  48. User_name=testuser3 n) |# K1 j2 ?5 N9 ?
  49. Password=my_password: P: Y! y. q# u5 p8 I! W' R
  50. GetDriverFunc=getSQLDriverMYSQL3 }, c5 Q5 z! Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* m$ G% p/ ^' k4 @4 p
  52. LibraryName=./libsqlmy.so4 [( b$ F& `7 ]; `* ?1 a
  53. Active=1  V% |1 ~( F: w" ~8 u
  54. ---example---7 d; r# q0 C  `5 n1 ~% ]) e

  55. * Z: Y5 y7 s9 L* x
  56. On a windows box, also running the MySQL server locally, it would be:4 ^, |8 L: B/ C; V# A/ P  N
  57. ---example---* Q8 G; m- v& a. Z1 e. [
  58. [DBEXPRESS]
    ) [; R& u7 l, M1 I2 q9 W
  59. sqldir=mysql_sql" l6 ^, q0 _# g5 r% Y- o7 ^
  60. Drivername=mysql
    . X7 r: n1 \) F) I% J1 u% S
  61. Database=test- D* h. @: V! q: \9 y4 G1 M1 @
  62. Hostname=127.0.0.1
    4 {' n& x4 g( R* O& K- K/ j4 o% Z) d
  63. User_name=testuser
    / e: R% B3 h0 ?" a+ Q
  64. Password=my_password+ e, E: t& m0 d$ {# S$ r
  65. GetDriverFunc=getSQLDriverMYSQL$ O0 {3 b8 [1 r% B+ v
  66. VendorLib=libmysql.dll
    2 a4 b" p; r% l3 Q
  67. LibraryName=dbexpmysql.dll. S2 z0 L% c. A  g( _
  68. Active=16 X7 D: n: Y" w+ K0 A& ?/ b) {
  69. ---example----
    ' j4 c) T; Q. ?% C9 o2 v
  70. - written 02.03.04 by pwk.linuxfan; @8 f% @& T  e& X# W+ f4 f: D" |
  71. - g% O% _/ p0 r3 ?# k: p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; V# {5 X, b% @' \; C. Z1 f" }
  1. 0 m3 O( h0 n5 h# c0 i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " X+ b# m% X3 N+ S& R) i$ m

  3. ; W' m7 `7 f/ B+ T% h
  4. # # #我们所需要# # # 0 E; f& D- K% e" `- W: t7 N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " N( K4 p8 ^0 i, D7 t1 s
  6. 不会解释如何做到这一点-也有文件存在,为
    * n" ^; F/ ?; H+ `1 @" h" }8 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 D0 c7 e( R9 {" J1 o5 P" j( e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, [; _4 }  b9 o$ D# @3 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ B3 Q9 g( p7 T* J  d
  10. 本地机器,这是我的MySQL安装。 4 U+ U6 @# x1 x& A2 \8 H9 z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 x- s) c$ z: S# F0 P; A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - D- ?2 n; s2 _( W' t
  13. 数据库。 + ?* Z9 V9 o$ N3 [& I# J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      C7 |1 h# y5 v7 S6 l$ E2 ?9 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状  E- L( p  `4 ]. {3 b1 {4 ~% p5 Z
  16. 在teamspeak论坛,如果你有兴趣。 4 o- y# s8 P5 t' _9 t* X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 {0 X' n# B( K! v# o, v/ r% b
  18. Borland公司使用。这个司机只能界面与客户端库
    ) P6 H0 V8 X% f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! T- [$ g+ H1 A( i, F+ V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 k5 L% O! A9 K- c& e
  21. " vendorlib " ,并解数据库连接。 3 H; n4 g1 r; k7 J: p/ k- F  c+ j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % q6 Z" x6 {3 j1 `9 |. [/ h

  23. - Y1 V7 m2 x8 H9 K6 [5 c2 m8 G) p/ S
  24. # # #做好工作# # # + I# w& ]) e5 u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * b) l* e/ H( q# R8 X; b# @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 t. \1 f1 `& I% p
  27. 结束:
    9 U4 }, g7 I) ?2 {
  28. ---削减这里--- / k7 j) U* r* c3 |& J
  29. [ dbexpress ] ' o  f5 o/ v8 c$ ^% Q' J3 A
  30. sqldir = mysql_sql ( \+ O" R8 s1 n  n. \9 x3 @
  31. drivername = MySQL中; b' F9 n3 m& y/ S* B
  32. 数据库= your_database_name_here 8 g$ p- E! b: Y$ F4 T( G2 S" r- z
  33. 主机= the_pc_the_mysql - server_is_on ) F% p8 B! G; `% p  f
  34. user_name = user_name_on_the_mysql服务器! g3 w% F$ @4 [$ H6 f8 k
  35. 密码= password_to_go_with_above_user_name " \) d3 b- l1 a
  36. getdriverfunc = getsqldrivermysql   |9 B. {4 u5 [7 y) B$ S0 E4 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   t! Q0 A5 U& ?
  38. libraryname = path_to_libsqlmy_libary
    3 u' h5 h+ @* Z( v9 ^3 h
  39. 积极= 1
    5 X. {: k) G# Q# B8 d
  40. ---削减这里---
    ) q; J7 h3 Y  Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) ^$ Z: _) U( w6 b+ M% @
  42. ---例如---
    2 E, u( V8 V* {. k3 q$ {0 u5 U
  43. [ dbexpress ]
    . N( r3 _) R- G4 c+ t- I" k4 A; @
  44. sqldir = mysql_sql 7 N0 x' X  n! k; }$ J: i" y
  45. drivername = MySQL中' A6 {, Q; _4 B' ~) r- U: a$ \
  46. 数据库=测试
    ! Y: X# w. C/ @3 q
  47. 主机=本地主机
    ; H0 m7 L. n7 k8 v  d
  48. user_name = testuser / U1 g( {0 _. {4 p5 p) o# e
  49. 密码= my_password ; b' O# t3 g; q8 H- O' F
  50. getdriverfunc = getsqldrivermysql $ ?2 R. G! F( Z8 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & Q* S1 r- w) K0 w: G. U; U* L
  52. libraryname =. / libsqlmy.so / n+ p. B& K# u  ~2 B# {5 @
  53. 积极= 1 : q& l( b/ `  G8 L
  54. ---例如--- # U8 G% G! q+ H! v0 I( N; h* G

  55. 3 N- v9 z/ T+ X) X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . @/ ^( p6 w! @% l
  57. ---例如--- , x' Y9 k# p  I7 h2 v$ `9 ]
  58. [ dbexpress ]
    ; c' N0 O1 m: e' l
  59. sqldir = mysql_sql
    2 d( z& O( Q7 X& s+ H* p
  60. drivername = MySQL中
    ) k4 E: Z: r4 e: V+ v5 I9 _' b. I
  61. 数据库=测试( g6 ^7 H/ W9 @2 L* n
  62. 主机= 127.0.0.1 % _- F$ X8 `& f; S7 l7 p% d
  63. user_name = testuser ) R- ~4 h3 h6 u: t
  64. 密码= my_password 2 a/ l4 B/ E6 C/ I: r
  65. getdriverfunc = getsqldrivermysql # Q6 `+ ]- U: O
  66. vendorlib = libmysql.dll在
    " o5 g$ s. P6 e5 H2 }8 i! i2 ?
  67. libraryname = dbexpmysql.dll & {* o1 r# [* b1 [; W% _
  68. 积极= 1
    * C( t  _7 g+ {8 z. V- n! N
  69. ---例如----
    ) ^7 T% r1 S" Q
  70. -写在0 2.03.04由p wk.linuxfan
    7 ~( y/ P% j+ k, T" n
复制代码
发表于 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  t" P& T8 ]
3 k4 s, F. l7 v, V5 O: Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-24 01:31 , Processed in 0.102464 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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