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

3521 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. x8 x' d8 t0 M$ h: r$ @; r
: `2 L" B. k2 @( X: j" D

  1. / E. S( Z. ]0 }, {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 ]+ Y$ c7 w2 {3 V

  3. 6 P( w7 E  M: a. M
  4. ### What we need ###
    4 Y, |. J, G' i- \- [
  5. Naturally, we will need a MySQL server to store the data for us, this document ! s9 y' T' Q1 S' X
  6. will not explain how this can be done - there are documents out there for the
    3 f9 g1 F" b& x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 T' X; K' t5 I7 _, l. o4 h
  8. and a user account (username + password) that has the permissions to do stuff
    . d0 |' K% D% x& l& L( a  f6 O
  9. with the database. Additionally, you will need a vendor library installed on the
    ( D0 z8 U( B- A2 C$ Z1 K1 s5 U' U
  10. local machine, this came with my MySQL install.
    & M+ r! P' i# Y+ H& a5 W+ Y! U
  11. These instructions will not tell you how you might transfer your data from the. I  |* d+ s+ A( l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! I7 b& y# j$ e6 G/ L% V" m- m
  13. database.! w' J5 L5 j- h' w, B5 V
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 X% a8 D$ J1 K. s' D# f
  15. the time of writing, there are still too many issues - check the current status
      S( O4 X6 y1 m1 `3 c8 t9 ~
  16. in the TeamSpeak forums if you are interested.1 t" n' U. l. u* V: x+ H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ a9 X: Q$ w: }/ `5 f5 M, N* w
  18. Borland was used. This driver can only interface with the client library that
    9 h" Y/ J. [8 v( A$ C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 s" ?7 b' u, F& J# K
  20. client library - basically all you have to do is to use a 3.x client library as ) \/ C7 O7 Y5 q3 @) V
  21. "VendorLib" and a 4.x database to connect to.
    9 ?! P0 a, |( |: A% w" @/ M/ {3 H/ |
  22. If you need more info about dbExpress, you can contact Borland.; o8 u6 J% k, b" Z$ }2 ~
  23. ' i: k. W  g' z' w
  24. ### Doing the work #### I  V# `$ U1 B( |' ?. ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 p: ^' [' ?8 {' {, E4 k
  26. the perquisites right, just open your server.ini file, and add this section at
    ) H' @* Y" w+ ^' V
  27. the end:
    1 `. p7 w& w0 i! r4 O
  28. ---cut here---
    8 H, z0 P% P- ?  k9 X4 O& _$ @; I/ {
  29. [DBEXPRESS], l$ Y: \; ]2 y  @) ?6 S# @
  30. sqldir=mysql_sql
    4 [. }; x! q4 `! Y' X4 D# T' k+ I
  31. Drivername=mysql/ a1 M* [# J6 J4 C: E0 V/ R7 A# W  e
  32. Database=Your_Database_Name_Here8 Y& l  h) Q) R, f
  33. Hostname=The_PC_the_MySQL-Server_is_on( N& I# r# w$ w& A
  34. User_name=User_name_on_the_MySQL-Server8 u% x' Z7 a8 t
  35. Password=Password_to_go_with_above_user_name
    , M  T0 e- M$ v' a8 w& x2 C
  36. GetDriverFunc=getSQLDriverMYSQL
    : k& f' Q9 X5 L/ r+ b1 ~( j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 ~7 V) @0 K, P" W9 F3 ^
  38. LibraryName=path_to_libsqlmy_libary* G; K0 u! O% N$ K5 h, D& Z, _2 g  i
  39. Active=1% W$ X9 n8 w8 v
  40. ---cut here---& r$ j- S  l5 `6 E" j
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 J$ ~; |9 X! d0 M
  42. ---example---
      z& @6 O& i  B
  43. [DBEXPRESS]
    9 K7 s9 m, N* k) x* V4 I( I7 k! p
  44. sqldir=mysql_sql
    ) }- `/ |! a1 P* ]
  45. Drivername=mysql
    0 S& T9 U/ ]- z7 C5 M# Q
  46. Database=test2 T( J8 `. X4 {; U/ E% G+ |
  47. Hostname=localhost/ a2 K9 U6 V; o8 b) |
  48. User_name=testuser
    , i$ v' O: T: u: \! M' C
  49. Password=my_password
    " g& p; M$ J5 ]3 O
  50. GetDriverFunc=getSQLDriverMYSQL& h0 p, A' \6 ^: r% F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - I5 R6 H# [2 d! q0 E0 n
  52. LibraryName=./libsqlmy.so. G- }; w. z- e4 [
  53. Active=1/ p1 t( I' h6 K+ U0 N+ U
  54. ---example---, y  M' D/ Z4 D5 E4 i" \
  55. ' @) J# A! w) h( y0 o  i$ u
  56. On a windows box, also running the MySQL server locally, it would be:
    - W, f" Y8 Q) E' A, M4 d
  57. ---example---2 ~6 U7 ?1 k- P4 M
  58. [DBEXPRESS]
    2 X+ K/ k* i2 Q+ F1 ~' ~
  59. sqldir=mysql_sql+ a5 P& b; U/ ~7 o9 g, g4 X
  60. Drivername=mysql
    1 `$ Y7 t% x2 n2 l  c
  61. Database=test5 ]; i. \4 e* r! E4 V2 Y
  62. Hostname=127.0.0.1
    2 r) ~: W3 o  |
  63. User_name=testuser
    2 i, Q) n: I8 {9 B( H" v5 ?
  64. Password=my_password# {$ U- Y, O7 ~& l/ j) b$ a
  65. GetDriverFunc=getSQLDriverMYSQL2 f8 _, Y- N; J# B" R: U
  66. VendorLib=libmysql.dll/ V; }/ _8 A1 O6 Q
  67. LibraryName=dbexpmysql.dll
    8 f- u, j. c3 A& O
  68. Active=1
      t1 X, `- E7 E1 `$ O
  69. ---example----
    8 }9 T8 `* o6 o3 \3 I
  70. - written 02.03.04 by pwk.linuxfan
    * a' l  u2 R1 x' T
  71. : U- O/ K( D; ?) ^9 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, u- I- N& F8 P0 R# U1 h7 c2 B# S1 r

  1. $ h3 k- S4 m) j( j$ H  v, V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      h2 Z! x! y2 B3 d! W, y" ~, u
  3. ; j+ _; h5 x2 M- T
  4. # # #我们所需要# # #
    2 O9 k) h2 o, d8 [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 j2 g3 b3 G7 j1 O( W+ O
  6. 不会解释如何做到这一点-也有文件存在,为! s6 L' j# ?" z) O& G% D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , j3 ]! G8 E) C; k1 G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 q# C1 O7 c5 M3 {5 f0 }2 {/ ?& A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " }" N0 {, e+ h5 k/ t
  10. 本地机器,这是我的MySQL安装。 + W1 U3 D. ~) l+ _8 M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 B- x. J, k; w& K6 G- B& d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " ^8 I& e9 B/ G8 O, L; x& {( r
  13. 数据库。
    1 ?' E6 Q8 I4 p% _! r4 ?3 F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . s8 v2 V" I3 S2 a5 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) k' Q. F! m  v! ]
  16. 在teamspeak论坛,如果你有兴趣。 / Q" d# g& a6 V( ~" V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) ~, P. Y9 I* ?7 S
  18. Borland公司使用。这个司机只能界面与客户端库
    $ G0 x2 W* Z7 S, w1 A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / s/ K, H2 ?2 B* x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . N# r% Z& D4 J% \
  21. " vendorlib " ,并解数据库连接。
    7 [4 T- E' S% r" t) O( u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; p/ s1 T7 w" M7 n, a* t" x  s

  23. # Q+ @0 S  u; o
  24. # # #做好工作# # #
    * l% R0 O$ c% _9 k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 R8 G; n: m- T  d( W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) D: O- \$ W+ X7 n# F: g$ s
  27. 结束: ; v3 E6 \) G; j" k7 D3 G4 M
  28. ---削减这里---
    & `2 b* F0 h4 X
  29. [ dbexpress ] / Z4 ]# i3 U( M
  30. sqldir = mysql_sql
    * e. K2 D) E9 t: z
  31. drivername = MySQL中7 u! c. N, g1 L5 }- d: t
  32. 数据库= your_database_name_here 3 \' q# X7 f" G% c0 K7 Q& S+ Z
  33. 主机= the_pc_the_mysql - server_is_on
    ' w$ y9 @0 f  _0 c* J. y* o
  34. user_name = user_name_on_the_mysql服务器: u& [' [/ E# J0 U
  35. 密码= password_to_go_with_above_user_name
    / o5 y0 s1 a6 p, K: x
  36. getdriverfunc = getsqldrivermysql 3 K6 z3 m; L) y# T  f) L( v0 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . g+ X5 `2 h( Y) a
  38. libraryname = path_to_libsqlmy_libary
    * j- n% R  ?3 ?! J  w9 C$ o
  39. 积极= 1
    $ t3 V/ w( Y3 O& }7 h! G6 u* S
  40. ---削减这里--- 8 t! Z# t( R5 l- {+ E8 \2 j" g( b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! o+ q  ~9 a" I
  42. ---例如--- 7 H8 G" |5 W0 S4 X+ ]
  43. [ dbexpress ] : S2 s. o: V) V
  44. sqldir = mysql_sql - ^1 l1 a: x- T" n8 E
  45. drivername = MySQL中$ m! {' b- B( C' ]
  46. 数据库=测试
    ! w3 ]) w: _2 @% i6 |+ ~* B: t  |" R
  47. 主机=本地主机8 ?% _/ U9 F% z, w% N- T4 T
  48. user_name = testuser # D, m7 Q) x; B* Y: F# T
  49. 密码= my_password & E' N9 e  p" {! X7 Z* z
  50. getdriverfunc = getsqldrivermysql 7 J, i2 I4 b0 G) E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( U. `  b  ~0 X6 U; C- s( p( F3 F
  52. libraryname =. / libsqlmy.so
    4 p- V& x- S, W
  53. 积极= 1 3 r2 `( a. m) Y# ]
  54. ---例如---
    . R8 x7 F/ M/ }0 @  n

  55. 4 T# u! W& L# d/ F
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 6 B2 F: i. F! D  `3 j
  57. ---例如--- / K/ E: v, f2 R  B! X& ?4 _
  58. [ dbexpress ] 8 t9 O$ J5 W. g9 u  ]8 @; D0 s) U; l
  59. sqldir = mysql_sql , t2 X3 H3 m/ |& i- M; ^6 U
  60. drivername = MySQL中
    ! ~% z5 q8 W3 o: W3 {9 l
  61. 数据库=测试. |/ z1 L8 h9 `
  62. 主机= 127.0.0.1 , [! ~0 S5 e2 Q
  63. user_name = testuser $ \6 a: ~/ j3 @2 r
  64. 密码= my_password
    & f' O' ?9 b- m7 R
  65. getdriverfunc = getsqldrivermysql
    . I1 X+ @: r3 B* O) n; @3 Q
  66. vendorlib = libmysql.dll在
    & l0 l; q3 d7 }9 o
  67. libraryname = dbexpmysql.dll : i9 O6 x1 v6 Y- U, j5 F) h, @8 [
  68. 积极= 1
    - M  m7 C# r5 _$ V
  69. ---例如---- ! s# S( m5 K5 M$ Q1 H/ g
  70. -写在0 2.03.04由p wk.linuxfan
    . K2 }$ Q3 G: q9 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
! Q8 V& Z- c7 c5 w4 h. \; W' e0 |/ I. A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-15 12:37 , Processed in 0.068691 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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