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

2937 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 @: q6 N  k* o! J7 T4 |$ [
  M" S' M% L  G5 k6 Z

  1. 1 V& I6 e" d- l$ V/ S) |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 g! s6 S! C$ }- h3 q

  3. + C3 Q# ^7 Q5 z/ u* q; H
  4. ### What we need ###
    " e3 p+ Z0 [2 {+ m" A
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 c3 s3 Q( j1 \+ G7 x
  6. will not explain how this can be done - there are documents out there for the
    9 N% V- u. u2 f' X5 b8 R# \* D
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 X! k6 V% R* A. N. ^/ N5 S4 k; m( o
  8. and a user account (username + password) that has the permissions to do stuff0 h: ^& E* S+ ~4 b% ~  g2 n* B
  9. with the database. Additionally, you will need a vendor library installed on the& o6 K7 f2 x* X, g9 f
  10. local machine, this came with my MySQL install.
    1 f( H  Q) U3 C0 w, P: }
  11. These instructions will not tell you how you might transfer your data from the
    3 E) _( j# D, z) o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' N0 C' d  A6 J# T+ o
  13. database.
      L* p2 \( _% n. U, g! h" Q& u4 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! N& ]  W' M. O! L0 W
  15. the time of writing, there are still too many issues - check the current status
    # B% D& O  y! K3 T( N3 N0 \
  16. in the TeamSpeak forums if you are interested.
    ; H, U+ A2 t$ N7 w  J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. F* o6 l* ?: `0 z: h  X
  18. Borland was used. This driver can only interface with the client library that
    $ ~( i  Q% n. B0 T8 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! o: a7 V6 P: _
  20. client library - basically all you have to do is to use a 3.x client library as 0 I1 Q+ E3 h8 {8 Q0 j, h5 ]
  21. "VendorLib" and a 4.x database to connect to.
    9 N& k$ N* k4 @0 I. {1 z! K! D
  22. If you need more info about dbExpress, you can contact Borland.
    : q  q) Q5 @4 M% z* ^' u
  23. / N. T/ Z( Q+ I, w, Z: [7 y  |
  24. ### Doing the work ###
    + x& W1 U$ {  }4 A3 |" O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; N  q# P6 R% A' t# [
  26. the perquisites right, just open your server.ini file, and add this section at
    ' u0 k* ?* N* C: f
  27. the end:5 g" j6 r: R6 e/ A+ D
  28. ---cut here---
    + t7 }; p8 Y2 B1 Y
  29. [DBEXPRESS]
    - {6 d' }5 s, Q  C
  30. sqldir=mysql_sql
    ' R; @3 }8 v  p# t" I6 T+ H- B0 u
  31. Drivername=mysql
      q, X& ~$ |9 A
  32. Database=Your_Database_Name_Here
    , d1 l) V; }+ n3 u+ e, x
  33. Hostname=The_PC_the_MySQL-Server_is_on; ^" J/ L5 I" C1 r! A+ Q
  34. User_name=User_name_on_the_MySQL-Server
    / `, L# ?; G+ \1 m& |$ ?
  35. Password=Password_to_go_with_above_user_name
    3 i/ R$ j% A; K) Y/ {* l& f  Y1 O( |
  36. GetDriverFunc=getSQLDriverMYSQL- u' \9 R9 R& b9 e2 d6 ~# I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: h4 h( v" d# C0 s' Y( o. Y
  38. LibraryName=path_to_libsqlmy_libary
    ; x. O  B/ c2 f
  39. Active=1/ r% j# A- M" Q0 P. f
  40. ---cut here---2 W, b& B; |8 g
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % {! y- ]) A: q. Z. O8 d. j
  42. ---example---
    - ~* t: v' [8 A" F: H- q
  43. [DBEXPRESS]
    + L( s# f( l$ b
  44. sqldir=mysql_sql
      `) j) ^6 \8 `; j# C5 ^+ w) M+ e
  45. Drivername=mysql
    2 G) ~, Z, x- F1 S5 h7 P. N% g
  46. Database=test
    ' F5 N% a4 _4 c" g4 G
  47. Hostname=localhost
    8 P. a% Q; u1 S% U' z
  48. User_name=testuser
    ! v' g& @  `, t
  49. Password=my_password
    ; ~, v$ m  p& _8 u
  50. GetDriverFunc=getSQLDriverMYSQL: T9 H$ q8 t8 u- n& h" G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 J- P# w6 {. ?) a. {; _! I
  52. LibraryName=./libsqlmy.so# k# |' E4 Z8 B8 \7 ~  y( N) F
  53. Active=1
    ) n" l' b! F$ _4 _0 x  _
  54. ---example---
    6 o& U6 f$ X" G9 H8 \7 E

  55. 7 \2 }0 v' w1 N2 t$ y
  56. On a windows box, also running the MySQL server locally, it would be:2 G$ o) _( x; w6 i% [, b. O* E& k
  57. ---example---$ T1 X  Q! Z2 ?+ }5 c
  58. [DBEXPRESS]4 d9 y' l4 V. H  A+ }( f
  59. sqldir=mysql_sql+ n4 F0 s2 E: b1 s- |3 @
  60. Drivername=mysql
    3 ]+ s1 d* }0 i4 \6 R$ i
  61. Database=test
    1 I6 _9 {% c9 V
  62. Hostname=127.0.0.1
    8 l1 d6 T& {) c1 Q0 B6 g# o  k
  63. User_name=testuser$ ~: Q, w: q% x& O
  64. Password=my_password  m$ y8 Z8 ]: u2 H4 T
  65. GetDriverFunc=getSQLDriverMYSQL, x! N, a% k: x3 S" q1 C% q% g
  66. VendorLib=libmysql.dll: S/ @- G: D" I! n
  67. LibraryName=dbexpmysql.dll6 `, A# j+ \+ H3 |0 p* u" c
  68. Active=1
    % K$ t+ F1 E, O( v, S
  69. ---example----
    / _6 C% e$ ^5 t
  70. - written 02.03.04 by pwk.linuxfan
    ( B0 S* ]5 L  O4 U% g

  71. , e8 \9 Q* f  `7 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ s5 r$ X$ Q% [+ @( B9 v- f

  1. ' g6 Y! o) ^' a& z  T# Q) G' {- y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # i. ^& y2 `; e1 q

  3. ' D) p  l7 j, Y: o5 p; q7 k
  4. # # #我们所需要# # #
    8 E2 b5 Y# c+ z8 c9 B" b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( k% P8 {. T% M/ J* r- V
  6. 不会解释如何做到这一点-也有文件存在,为
    5 _; V- D, e7 O* c3 H, H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : }! f5 l/ G% u; I+ O& J% o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & Q$ g* U& G2 T7 t6 j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " N. p4 P' k: d: C
  10. 本地机器,这是我的MySQL安装。 9 l1 N& e2 y+ I2 t5 W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 n( u* t+ A* g0 p: M* h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * n7 c+ D8 b) P9 O+ x5 U
  13. 数据库。 / f. n! @/ T2 g+ x9 T- H( q1 b5 m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 p5 Y; `; Y. o, a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - M; J& n2 L* Z6 q7 K" m
  16. 在teamspeak论坛,如果你有兴趣。
    3 V0 _$ S' h2 N- @+ \. ]0 N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! m* q& V) p  K5 {2 ?
  18. Borland公司使用。这个司机只能界面与客户端库5 @- Y# E+ W9 c" `6 ]% Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, `0 Y% }7 n) h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : @) p( u- v, ^
  21. " vendorlib " ,并解数据库连接。
    ; [+ A$ C. e+ Z6 x2 S! E, X: y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; g( G# D7 y3 O. k
  23. 5 u: g  ~* K6 T3 X
  24. # # #做好工作# # #
    - x1 i- \" q  k- `" }4 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ j. I; O1 {) j# e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# U( y6 f2 s7 A
  27. 结束:
    ( P; N5 W1 p" A6 l. t
  28. ---削减这里--- 9 j3 p2 f) j4 f0 Z$ h; ~
  29. [ dbexpress ]
    5 j1 S' ?3 M5 d7 T6 H- V! r) |
  30. sqldir = mysql_sql 3 u: W8 a. R( W8 \8 i
  31. drivername = MySQL中
    . w* }; F; e4 x' K# T
  32. 数据库= your_database_name_here 9 z" [4 y1 M" s- Q/ @" j+ ~
  33. 主机= the_pc_the_mysql - server_is_on
    + f* L- o* f9 y
  34. user_name = user_name_on_the_mysql服务器
    " @* w+ A, V8 O% G) |, z0 T6 f9 u
  35. 密码= password_to_go_with_above_user_name # ]' Y1 W; T- ?& y0 M- }
  36. getdriverfunc = getsqldrivermysql 8 j1 D: K* R2 R+ {: Z( E0 r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % |' L5 j! U* |$ G
  38. libraryname = path_to_libsqlmy_libary . X3 U8 E: @0 T. ^1 k% i
  39. 积极= 1
    . V* Z; w9 `6 m0 L  J+ n
  40. ---削减这里---
    % L$ N) M9 H4 o0 j5 S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & S: B. l5 F3 Q% p2 z3 P7 H( |
  42. ---例如--- 1 Z. Q$ }4 t2 |5 h2 L$ }8 m
  43. [ dbexpress ] 4 T  b! @& a/ F. @0 O
  44. sqldir = mysql_sql ! x: F2 B7 l) ^( K
  45. drivername = MySQL中
    9 }5 H4 ]6 j! B% o
  46. 数据库=测试4 l* `" p/ z8 v) w% C. q+ Y
  47. 主机=本地主机1 R  b% [+ b: O- b7 b- Z; {% u6 Y
  48. user_name = testuser
    ! Q1 n% U& M4 `
  49. 密码= my_password
    1 H$ Z3 i- q0 i7 ?% L
  50. getdriverfunc = getsqldrivermysql 9 n3 _+ K, w* d& m9 [2 G: H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % o3 i( V) a) _; t6 u6 k5 l/ q; y8 U
  52. libraryname =. / libsqlmy.so
    , e  \' J6 P# @. p
  53. 积极= 1 2 U) e: c) `( {+ b& l# o) `
  54. ---例如---
    + s$ o8 Q4 u% v4 |; b; H/ U
  55. " \( {0 s& G2 i$ D. }) K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : K, x, _* `7 Y0 b
  57. ---例如--- " ?+ t/ X% o8 `" }: s' v. q
  58. [ dbexpress ]
      {. w4 r, M: w; o
  59. sqldir = mysql_sql 4 E) X/ d: Y, ]+ K8 G( P
  60. drivername = MySQL中5 B/ y, i- y6 O* p2 w
  61. 数据库=测试
    : n9 `6 N8 q* c4 p% Y5 y
  62. 主机= 127.0.0.1
    ! c* u. g  n' {$ }( t
  63. user_name = testuser
    & _! E7 _9 K$ I9 M
  64. 密码= my_password
    * V! Q% x. F/ q9 g8 A# C. H/ b. B
  65. getdriverfunc = getsqldrivermysql
    2 o- s6 ^6 j7 B" G( |4 k: B
  66. vendorlib = libmysql.dll在. t; a6 y$ z' c, u. f* V. C
  67. libraryname = dbexpmysql.dll
    + r: G- u4 }: L7 H
  68. 积极= 1
    % d/ V2 l% Z: S* X; d# v
  69. ---例如---- * M9 G( ~  |8 B1 }- ~
  70. -写在0 2.03.04由p wk.linuxfan
    ; [' G  U1 u3 {
复制代码
发表于 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  M; L4 w. E: W- m1 |0 w
) A7 P/ X( M& E$ b- |2 c
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-25 20:47 , Processed in 0.116219 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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