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

2645 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; C7 d0 Z1 U7 ^

$ G: T& I6 S# }! K( J

  1. ' `, I8 y0 H. x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ d8 B3 W& }, @: \* j7 `  V

  3. - c  p5 h" X6 |, H$ W  N" @
  4. ### What we need ###
    3 d3 ?5 d' Q4 P8 U' e2 U9 z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 Y$ F1 w( u; P: @* g( B5 k- A
  6. will not explain how this can be done - there are documents out there for the 9 A8 @+ j( x! I
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ {" k/ m2 ^1 I) a
  8. and a user account (username + password) that has the permissions to do stuff! Z0 b" A4 b, d: ?" T
  9. with the database. Additionally, you will need a vendor library installed on the" L, N9 v" q, s8 q6 i3 b6 S
  10. local machine, this came with my MySQL install.- o) ^- \- t  k; g. v
  11. These instructions will not tell you how you might transfer your data from the
    & l: Q! [2 H, q7 a3 a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! ?8 F1 w, z' L9 ?. S& k  f
  13. database.
    7 k: Q9 U3 V! A) I5 G
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 [9 Y, V2 u, I( G  e7 J+ c
  15. the time of writing, there are still too many issues - check the current status
    + p8 c, k) {# I3 y5 }/ p
  16. in the TeamSpeak forums if you are interested.
    ; O" {$ @' e, h5 P7 E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 m' z* [" G- p" n$ @/ T
  18. Borland was used. This driver can only interface with the client library that
    ( Y4 W" c  @$ j& u' }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" L. \( w6 q7 T6 j/ a, S5 e* V9 R
  20. client library - basically all you have to do is to use a 3.x client library as
    ' x- z+ ^8 i4 d; b
  21. "VendorLib" and a 4.x database to connect to.. E3 q' _& N2 j: b9 e+ ~/ q( m* i& Q
  22. If you need more info about dbExpress, you can contact Borland.
    ( ^+ }% @& {  T% r! Z

  23. 8 a1 K9 e1 y, N. \0 p; G
  24. ### Doing the work ###( q- r4 g, ?2 J2 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! \6 Y* Q# n) w% j2 u1 J) p
  26. the perquisites right, just open your server.ini file, and add this section at/ m3 G2 O2 G: S6 s1 N5 K+ R5 L' r2 j
  27. the end:
    ( L4 G; ]+ @1 J. s3 k; G
  28. ---cut here---1 I; m  T$ X( u; H9 ~3 ?
  29. [DBEXPRESS]! G+ _  \" m# i1 H  D& Y5 Y
  30. sqldir=mysql_sql+ l3 T6 r( V5 f' L
  31. Drivername=mysql9 a; l; B3 A( F. v
  32. Database=Your_Database_Name_Here- L2 m! a; `+ p2 Y$ O) I2 I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " Q8 o; h" N9 m! q( R# i
  34. User_name=User_name_on_the_MySQL-Server
    & m! l' ?; H  C6 |
  35. Password=Password_to_go_with_above_user_name& ]; d# N$ [, i& w! R
  36. GetDriverFunc=getSQLDriverMYSQL
    : M- s/ f. s5 o, f. Q" f, A/ N3 K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 q: t9 i' p0 i+ r
  38. LibraryName=path_to_libsqlmy_libary: i& q& w* @) F" `$ X1 e
  39. Active=1
    ) S. W) a# ?1 l" ]
  40. ---cut here---1 }! w0 z" n0 P- w& ]* \' t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ x) O3 ?/ f; Z3 n9 \
  42. ---example---, l- J; G. a+ a/ J7 P2 D
  43. [DBEXPRESS]& D! H) |  I/ e6 p, p) V
  44. sqldir=mysql_sql
    4 ~+ W! V. m! k0 f5 Y
  45. Drivername=mysql: t. y' U% Z- z5 X
  46. Database=test* d' W3 F  V) B, U+ K3 e) j2 B
  47. Hostname=localhost
    1 X9 w* W& d5 H! O; F
  48. User_name=testuser
    9 I) A9 q0 q3 D$ _/ Q2 F/ l' f4 |1 Z" L
  49. Password=my_password0 h+ ?3 }& L9 X2 T0 y1 p" {; n
  50. GetDriverFunc=getSQLDriverMYSQL$ f1 n! @0 s7 K! `1 ~9 z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: A' r* ?3 n- Y$ G8 n$ Z" r
  52. LibraryName=./libsqlmy.so1 X% T1 l- ^1 `' P! {7 k8 W2 A
  53. Active=1- C. m3 m" m" `4 y/ C# V
  54. ---example---
    0 x9 d4 `" I' K9 c9 N( k

  55. " S. V8 O& e9 c5 I0 a% M
  56. On a windows box, also running the MySQL server locally, it would be:
    5 H# o# A5 I& n8 {
  57. ---example---
    ! `% w; k( w  ~. U* ~- R1 A
  58. [DBEXPRESS]
    + p$ T# k3 b0 ^
  59. sqldir=mysql_sql
    0 c' F( [4 ^. @9 c( B7 ]4 f+ L/ |1 d
  60. Drivername=mysql5 l4 j' @! f* F; n+ @
  61. Database=test
    2 o( m" Z% o, q7 f+ Y8 ]2 V
  62. Hostname=127.0.0.1) w! [( y7 \; x* p0 g8 j
  63. User_name=testuser5 P/ z" P" e! x$ h5 n
  64. Password=my_password& G7 K4 K0 I' G
  65. GetDriverFunc=getSQLDriverMYSQL# x5 Y: N+ Z; \  m) V8 B  _
  66. VendorLib=libmysql.dll
    ( |- |6 r# ^9 p; e
  67. LibraryName=dbexpmysql.dll
    4 R+ F' ?" Z# m, P! m
  68. Active=1, R6 T) H6 |% m& a' b1 {
  69. ---example----3 v$ i. `! g; O6 l4 U* x) b
  70. - written 02.03.04 by pwk.linuxfan- e; `% R" e  w& |( ^) t: y! @
  71. - s  j* D6 \: ~6 M5 d2 y9 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) ^) ^0 @& L6 v; S' G9 O& O

  1. ( l* x8 d+ J1 ~6 U
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : ?5 X; m. m6 @6 t& P

  3. 3 A8 E: @9 F& H6 w; X
  4. # # #我们所需要# # # ! @2 B2 k6 ~% Y4 o! N$ [8 x7 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 ^$ {% h! `6 O% V
  6. 不会解释如何做到这一点-也有文件存在,为
    . y. e8 L2 M% ?3 X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . G/ E  {. u( D" @, D7 ~; X- b/ Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! W1 s" L% ^9 k8 E' o' @/ ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( c2 @9 p/ E7 X. c
  10. 本地机器,这是我的MySQL安装。 0 n0 O3 p. E! |3 p% s7 u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , B8 P% p; O5 S4 }! z( v( `* E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & ?* q$ C: d* ?% u- N/ m/ {
  13. 数据库。 4 v; L' e8 P1 `7 U! ]& H0 [5 [0 i, j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 X/ _3 z8 J9 y4 J. j7 [3 A
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 V* a- U" y5 }3 [7 ~+ w
  16. 在teamspeak论坛,如果你有兴趣。
    + J3 Q6 r& p& f* I7 g# G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , k+ D* v8 \: @# c% X
  18. Borland公司使用。这个司机只能界面与客户端库1 g. A+ f# u( Q! J! P8 y1 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 \  D+ S% P9 I4 [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 c! y4 l% A4 J! \  e
  21. " vendorlib " ,并解数据库连接。 % \; X+ {& C1 t! Y- |3 I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ c6 o/ S' b, ^1 z
  23. ( z' o5 J% I6 r3 I
  24. # # #做好工作# # #
    3 D7 [) G9 M( T. z+ [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; b7 r  n) D" W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! }. k& c6 X9 m
  27. 结束:
    . h4 l0 F; }- e7 J+ c0 u: E
  28. ---削减这里--- . `$ d5 t+ S( P) A  Q- o$ T- a) d
  29. [ dbexpress ]
    : [2 E) X; r% y- {" X6 _% d/ |
  30. sqldir = mysql_sql , f) E% m" m6 P3 Z; n
  31. drivername = MySQL中
    9 T! s5 \$ G5 d: \9 L
  32. 数据库= your_database_name_here # p7 {) u2 R: E
  33. 主机= the_pc_the_mysql - server_is_on
    / {/ t* Y0 n( C8 V4 H# n& ?
  34. user_name = user_name_on_the_mysql服务器
    / @% G2 O# v( }7 j4 V
  35. 密码= password_to_go_with_above_user_name " @$ `/ U: X/ A
  36. getdriverfunc = getsqldrivermysql " k  b2 e5 f8 g, G! u& R: F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . g0 {9 j8 J: p+ Y0 q0 r) w
  38. libraryname = path_to_libsqlmy_libary . n" H; @- u# H6 b
  39. 积极= 1 8 G5 p" \1 Q* @1 M4 Y7 K2 b$ D  |
  40. ---削减这里---
    3 R4 v: D3 _5 K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . o) N  V: |% B$ J
  42. ---例如---
      g2 U9 G) j% j1 Q# e9 q3 V
  43. [ dbexpress ] % D, Z! N0 a/ |. R
  44. sqldir = mysql_sql , T% t- L! ]$ i! G. M4 \/ G+ r6 S
  45. drivername = MySQL中9 \/ t7 u- ~7 m* m( @' Z
  46. 数据库=测试4 V5 i" C- [  l/ S$ G1 t
  47. 主机=本地主机
    1 w* P: s" z1 C- O; {
  48. user_name = testuser
    - \7 b' h0 a7 t8 b# W& [
  49. 密码= my_password $ M: b( ?2 s9 e2 {
  50. getdriverfunc = getsqldrivermysql
    % o1 n  @. V2 H; k, |/ n$ {# Y: J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % k0 S6 G! L. B
  52. libraryname =. / libsqlmy.so 5 u% ?/ X* {- O( |( G
  53. 积极= 1
    5 J& g' y4 u2 {6 n8 K+ e$ o
  54. ---例如--- 4 D: _+ N* c! l% f6 i& {9 {% b
  55. 6 b4 f$ a. ?$ N% K, S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; l: A* _3 @+ j
  57. ---例如--- / C* q9 ]# n  u
  58. [ dbexpress ]
    : Z/ e  H$ V! l/ v- W
  59. sqldir = mysql_sql . s9 R9 ?9 E! J; o3 y. i
  60. drivername = MySQL中3 {. Y( Z, ~$ e2 J
  61. 数据库=测试
    ( A% U! r& g+ ~, w  e4 d
  62. 主机= 127.0.0.1 3 Q9 u+ G6 z- o. c7 w7 D0 K
  63. user_name = testuser 5 L/ B# \; B+ I$ ]6 p4 J& x" v
  64. 密码= my_password
    6 U5 k: x: N# m' C
  65. getdriverfunc = getsqldrivermysql $ u2 G6 Z- u2 B3 F) V9 S6 Q& f
  66. vendorlib = libmysql.dll在
    , x/ I; @+ ]& b5 G
  67. libraryname = dbexpmysql.dll ( `9 g# t+ T& y
  68. 积极= 1 2 w0 ~& S$ p3 m; R. o
  69. ---例如----
    1 j! P+ }+ f, q" G
  70. -写在0 2.03.04由p wk.linuxfan  n/ O0 y7 P2 T% i$ ~1 v
复制代码
发表于 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 words1 e. X1 L  ^+ m  g: D: H  J' c! \
8 g: H. ]( X4 P) X) O' j0 M, G5 _
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-21 12:35 , Processed in 0.110366 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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