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

3452 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + c, q) G1 w/ \# @
/ C5 C3 g3 `, P! q9 M9 {1 F

  1. 0 z/ Z6 `2 G5 a. \- p; h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 }* n5 w+ R" B1 R
  3. ! F/ Y; K* x" ]: m
  4. ### What we need ###
    $ r/ d2 d! M0 a) |! P1 w. h
  5. Naturally, we will need a MySQL server to store the data for us, this document - k$ T2 O3 ?. z) ]
  6. will not explain how this can be done - there are documents out there for the $ [7 @" q& C: t& C
  7. interested. The requirements include a (empty) database for TeamSpeak to use, I5 @! C& J' y8 n7 s! f
  8. and a user account (username + password) that has the permissions to do stuff
    # K8 u$ _9 N0 C$ p+ F7 @9 ?9 }
  9. with the database. Additionally, you will need a vendor library installed on the
    ' G9 |% l% x. H
  10. local machine, this came with my MySQL install.
    ) Q& t1 b- D$ d! z
  11. These instructions will not tell you how you might transfer your data from the
    & k4 K: p. A7 ?, K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : Q5 F- y: I: b. o- k- r( M% c
  13. database.
    % n3 }4 _; S/ ?& T+ V* p
  14. Some users have reported ways to import a SQLite database into MySQL, but at  t3 M) w( v! P% Q; U
  15. the time of writing, there are still too many issues - check the current status1 F# k3 B4 D% ]& T
  16. in the TeamSpeak forums if you are interested.  i/ Z6 P+ ?8 f" D% j4 q3 ?' X4 o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % A4 p5 `% X9 o- p/ F: C  ]( w' u
  18. Borland was used. This driver can only interface with the client library that 1 l# h- |9 h& ?: h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / l* }; T' x; |
  20. client library - basically all you have to do is to use a 3.x client library as # y& y, s  i& h0 m
  21. "VendorLib" and a 4.x database to connect to.& Q/ V8 T/ Y& O( }  t
  22. If you need more info about dbExpress, you can contact Borland.3 X- Q+ ~, n% ~0 B, o4 X
  23. 4 w1 `# N, p/ {9 J5 l
  24. ### Doing the work ###- R# {6 E+ `% \" b" b5 `2 t9 b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & e3 P! x- s6 H+ @
  26. the perquisites right, just open your server.ini file, and add this section at; R0 W; \4 g# M& \! z, _
  27. the end:
    0 ^1 R) Z5 c" a; r( W, H/ u
  28. ---cut here---: p' N+ r6 G4 F: Q
  29. [DBEXPRESS]- G3 R9 k: w& y4 U9 `6 l8 J
  30. sqldir=mysql_sql! ?6 K1 p9 G" R: e. r5 y( w
  31. Drivername=mysql5 D! G' ]( n) R1 A! j/ k
  32. Database=Your_Database_Name_Here! x) `1 E$ N, r
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 [. l' i* Y+ }2 q
  34. User_name=User_name_on_the_MySQL-Server* ]: m1 ]' x* u6 ~' a  i
  35. Password=Password_to_go_with_above_user_name  {/ W, k9 e4 Q1 m) p9 |$ D* L
  36. GetDriverFunc=getSQLDriverMYSQL
    8 z5 {5 s6 B* U" R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; }7 q/ o% E' M9 |/ f
  38. LibraryName=path_to_libsqlmy_libary- I& O2 |; J5 h* D
  39. Active=1
    ! h1 \2 K% [0 U& o
  40. ---cut here---. z; X* G: Q  ?/ W
  41. In my environment (a linux box with a MySQL server running locally) I have:! ?3 q5 k" [- @4 @% q" u' Q
  42. ---example---
    8 i- Z+ @+ b. q0 m& c. E+ h( A! w
  43. [DBEXPRESS]
    7 x' ?5 I5 Z+ g# s8 l5 Z
  44. sqldir=mysql_sql
    1 o2 Y' ~0 R. L! H, r
  45. Drivername=mysql
    ' k4 @8 [$ n; |# _& P4 I. X) k6 D
  46. Database=test
    . S. c7 f% Y, h" H0 n' M
  47. Hostname=localhost2 s% t% i" O$ t/ m
  48. User_name=testuser: N& H0 q5 L; A, Z  v) [6 P+ |
  49. Password=my_password
    5 E# J) G3 z$ `# s/ X! B1 l
  50. GetDriverFunc=getSQLDriverMYSQL
    : d$ g. ?" w$ y- {* Z- {: N. w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 H; U; W" T7 d8 a$ S. T; m
  52. LibraryName=./libsqlmy.so1 W/ P* ]4 N- T7 W; Z
  53. Active=1
    ' i+ w0 g7 [5 \
  54. ---example---4 T) c% V' H5 \2 T" r- v

  55. ; l9 B8 L. O( A' v) R1 u) T
  56. On a windows box, also running the MySQL server locally, it would be:; j9 c, E! X1 Z/ M0 A3 [- E
  57. ---example---
    $ c" S; R* c& j& H8 r: g" l
  58. [DBEXPRESS]
    8 N, _! h' f7 \4 R# l. |' l& F
  59. sqldir=mysql_sql: G0 {& U4 E1 M/ A
  60. Drivername=mysql
    , @, O: n7 u1 G
  61. Database=test
    4 x; h7 ?1 \: Q8 W) ?' B* _
  62. Hostname=127.0.0.12 N; d$ z# K8 g1 h( m
  63. User_name=testuser  h( L! Q* r9 Y& U. t+ ]
  64. Password=my_password! @- W+ I) j5 H4 s) G
  65. GetDriverFunc=getSQLDriverMYSQL
    1 K# J: o' G5 R
  66. VendorLib=libmysql.dll
      u: J, J4 h- l& P
  67. LibraryName=dbexpmysql.dll
    ' o4 |# S7 k: {7 g3 Q4 N- m' P4 m
  68. Active=15 w  x" t4 }$ X; I  c4 \( |/ l  B
  69. ---example----
    0 W0 k9 R, f! E9 b
  70. - written 02.03.04 by pwk.linuxfan0 j8 y" h. Q1 {2 y, o

  71.   l- ^; A: d8 M& K3 d  D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- G5 ]- \7 l* D" @7 c9 j& W; A
  1. / h! `$ U5 P0 }* V* c: p9 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 }; E" h0 T$ y# @3 Q5 b) U
  3. ) h1 D8 B$ `) \
  4. # # #我们所需要# # # : l$ K# i0 @9 `! Z' K! x: x% M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 K5 \+ w& g& m+ f
  6. 不会解释如何做到这一点-也有文件存在,为
    8 `3 U; n# Y' ?- X8 z" j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # S% {( U$ ?+ Y# k6 e5 z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 G* m2 D: ]2 c$ Z0 Y8 b" U6 t" N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 I) c, j; Z/ T3 A
  10. 本地机器,这是我的MySQL安装。
    ; \% `: r5 G: Y0 P! [2 Z% K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& s0 `3 {2 s9 ]* m/ n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 m  Y& |5 k$ a/ c0 }
  13. 数据库。 ( F; m( m9 q7 V4 g: t6 ]& x4 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 S; S. i5 ^- X9 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ L; U- s! E/ j! S$ O/ ~
  16. 在teamspeak论坛,如果你有兴趣。
    2 D' P4 U  C; b2 E" W1 C7 N! r( R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 e+ J9 e" \  ^3 Y0 J
  18. Borland公司使用。这个司机只能界面与客户端库. ]. L  F4 U7 T) f- A; V( D( d- K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 N2 Q' u* M) F7 U# A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& P) k  I* V* m  p0 c
  21. " vendorlib " ,并解数据库连接。 # S& ^5 n) ^& q& h+ N) Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 P& T) @% d1 e2 O4 Y! t

  23. ( t4 v! M0 z+ r& S: f
  24. # # #做好工作# # # : |8 M) m: n( ?$ h# Z, _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      b7 ~! p( _: m0 t2 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / `, h- N( G. J# {& U. `0 j
  27. 结束: * k3 W2 a! G9 Z& t  u
  28. ---削减这里---
    / f( A' J) E* f5 f
  29. [ dbexpress ]
    9 _. A" d7 I9 V
  30. sqldir = mysql_sql
    ! m7 i' Q3 S& i# ?. v' p+ ?
  31. drivername = MySQL中
    + ~1 f+ L/ M7 c* @7 ^9 i
  32. 数据库= your_database_name_here
    " ~) n6 w, |" _- v
  33. 主机= the_pc_the_mysql - server_is_on , B( H1 A$ B+ ^0 c
  34. user_name = user_name_on_the_mysql服务器
    ( G& V- v4 _9 q9 C( H  ?% [5 k$ X
  35. 密码= password_to_go_with_above_user_name ) l+ T7 O- V  J5 t: S3 A
  36. getdriverfunc = getsqldrivermysql 1 H6 D: I+ c; O. W: V, Y0 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 o" `6 }" X$ |
  38. libraryname = path_to_libsqlmy_libary ( ^- W! w' G. H3 \+ G
  39. 积极= 1
    / F4 ?' g8 n4 ]+ x6 k1 G
  40. ---削减这里--- , Z, u' `4 q, w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % x  |, P6 B  M. ~; l6 Q/ v: U! O3 c
  42. ---例如--- 7 n  O9 n# ?! z: R% h* t  l
  43. [ dbexpress ] ! F' O2 }3 H  K! p0 \# ^9 d1 H
  44. sqldir = mysql_sql 3 n7 w5 V" E6 \5 P4 D1 ^5 F
  45. drivername = MySQL中5 ]0 S" p' n1 ~: T' Z
  46. 数据库=测试5 e% O8 @. Z7 v* f2 c! y
  47. 主机=本地主机$ e/ w& Y# R4 A: j  _4 ]4 D% y
  48. user_name = testuser " V# I5 V' Y4 v" g  B
  49. 密码= my_password
    " f$ a7 {/ [- \$ {4 T4 S
  50. getdriverfunc = getsqldrivermysql * |$ a: J/ a1 \& z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * R: X+ [/ V, C: r" T& O8 D
  52. libraryname =. / libsqlmy.so
    7 Y0 j; Y& o# u
  53. 积极= 1 # K# f3 f# |+ i# o* S. X9 A3 M
  54. ---例如--- 1 c% L5 y  W- d9 B2 F9 d* @7 Q1 z

  55. % k3 u# G, m7 A2 F+ S1 n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " R/ j& w" i; P" K4 L
  57. ---例如--- ( R: A, T* _' b' w
  58. [ dbexpress ] - r( q0 L+ ~! T
  59. sqldir = mysql_sql
    , [; B* m8 Z$ k8 u/ S. G
  60. drivername = MySQL中
    2 S& |9 Y. [. A9 |; j
  61. 数据库=测试
    ) i0 ^! t& Y8 b6 H. N4 F+ y7 R
  62. 主机= 127.0.0.1 4 M4 b& P$ P, @6 F% D" |8 x2 k
  63. user_name = testuser # X$ R. @* [. l2 u0 q, M; p5 ^
  64. 密码= my_password 5 Y. ?. r2 K3 P) T* y9 y
  65. getdriverfunc = getsqldrivermysql $ S& D5 J7 e' P1 h* ]
  66. vendorlib = libmysql.dll在
    9 Y6 }( L. A  ]. F7 Q  n
  67. libraryname = dbexpmysql.dll
    + W' v9 y) h7 Q( P7 f$ V
  68. 积极= 1
    : k* {8 |/ m. [
  69. ---例如---- 8 F1 h  J3 P* H
  70. -写在0 2.03.04由p wk.linuxfan  m3 p; v2 d2 D- r+ w# T+ p
复制代码
发表于 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
7 w$ F* Q' a8 r7 c6 P) q! G
* G9 {4 s+ M$ Z! J* z$ ^. [3 \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-30 17:19 , Processed in 0.053952 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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