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

3406 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# j2 a, Z( \( B: G' M5 I7 K
* u4 e: |6 f& T3 ^

  1. " A: d# x, N* G: D# t0 N0 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & }  R, g" u; ^2 q

  3. ; z5 a- a1 [: w' `" D- u
  4. ### What we need ###
    $ G2 E- R; {  G- l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / A% @( [9 X: U; s+ U
  6. will not explain how this can be done - there are documents out there for the 7 ~: ]: I- [, s& ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : G% w/ h0 C' J3 X
  8. and a user account (username + password) that has the permissions to do stuff
      f; s7 N  R2 L
  9. with the database. Additionally, you will need a vendor library installed on the
    7 [1 A! F0 w, s1 D. c' k* N
  10. local machine, this came with my MySQL install.2 a6 _; X. o6 f* `. e+ w: ?. y) Z" k
  11. These instructions will not tell you how you might transfer your data from the6 y( T9 m8 V4 N5 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      u8 {5 `, ~1 P6 G7 _2 \/ l" l
  13. database.) q& F4 m! c$ M* x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' ~7 I2 K! h' d2 e. R* A9 _* @
  15. the time of writing, there are still too many issues - check the current status4 l4 E( g8 O+ I1 z# h1 @8 i- u' t
  16. in the TeamSpeak forums if you are interested.
    : K3 p0 ^+ |: ?: i; }3 J7 Q" {, v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) I: V' R/ Q: ^" v: w
  18. Borland was used. This driver can only interface with the client library that / o+ p2 H/ J+ g* k) Y, f" ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- A8 S9 W+ i4 i, `$ j' M, O
  20. client library - basically all you have to do is to use a 3.x client library as
    & \0 o7 u" e' g6 y/ f' q
  21. "VendorLib" and a 4.x database to connect to.
    3 T0 G$ m0 B$ Z( L+ e+ z/ m
  22. If you need more info about dbExpress, you can contact Borland.
    + A4 Q9 F9 P. Q4 X1 q

  23. - g8 u. F4 \' w; K
  24. ### Doing the work ###
    # o& Q7 M: |6 ~: v1 P+ B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ C) Q, ]9 T( H) ?
  26. the perquisites right, just open your server.ini file, and add this section at
    , y, q" s% T; v7 B* v: ?6 O
  27. the end:0 {( h9 r' q/ c9 G$ a  v& \: K& ]
  28. ---cut here---' _/ a8 _2 A6 G+ j2 u
  29. [DBEXPRESS]
    5 }" G* x3 ^- T  y6 @
  30. sqldir=mysql_sql
    / m+ Z, m3 b/ S5 F; O- V* l+ h
  31. Drivername=mysql, D+ C5 K  H7 b% ~9 U: |
  32. Database=Your_Database_Name_Here
    & A& x7 m: M; t; F9 `7 S9 @3 P0 n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * p* U: C- d+ @
  34. User_name=User_name_on_the_MySQL-Server
    % X8 w9 k- h+ v2 w
  35. Password=Password_to_go_with_above_user_name
    , D* ?  R# w* `: j7 a; k) z
  36. GetDriverFunc=getSQLDriverMYSQL
    ) V& j; v' U6 Z, T" e! o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 s, s0 [& d4 K+ @
  38. LibraryName=path_to_libsqlmy_libary' r, t4 N0 ]8 U0 F( P4 }0 y" q
  39. Active=1, j) }, `% d1 G$ v( \+ {
  40. ---cut here---
      x9 `" Z# Y  S5 D1 k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , x! [- Y$ {  G$ M9 d. l) l! }, U' U
  42. ---example---
    * a5 a& {( d; b5 x- _1 v
  43. [DBEXPRESS]6 m4 ?! C  z: w* `
  44. sqldir=mysql_sql" C0 r( {: S% v8 a
  45. Drivername=mysql) H4 y$ m/ l# \7 Q& p
  46. Database=test+ p6 U4 i' V& G/ U* C" O
  47. Hostname=localhost
      ]' r/ U: o8 F5 h9 C
  48. User_name=testuser
    " _$ {4 G! G( l# R
  49. Password=my_password
    ) b9 N: o) x$ g5 K" f$ \
  50. GetDriverFunc=getSQLDriverMYSQL% b4 J  l7 A/ |: W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 ^; \& N+ A  Z9 w
  52. LibraryName=./libsqlmy.so
    # p# \. i/ H0 g" |$ a9 u
  53. Active=1. {# g. ^( @! ~2 o: ^6 A1 G
  54. ---example---, P6 |. U3 g3 R3 S1 D9 p* d" I) a2 |

  55. . a. ]. S! f. q( m
  56. On a windows box, also running the MySQL server locally, it would be:
    5 @& t. u  s" f
  57. ---example---
    7 Y$ S" d, D; h' f$ g% m# ~& n1 S- X
  58. [DBEXPRESS]8 e2 o2 e2 I( u8 S
  59. sqldir=mysql_sql
    . e- }5 x6 ?% [5 `) ?
  60. Drivername=mysql
    / F; W5 Q3 q6 \: k+ B8 P# @
  61. Database=test
    / i! }+ _/ X( g, {
  62. Hostname=127.0.0.1  Q7 V9 y5 [5 B# T
  63. User_name=testuser- C1 h0 o' x$ A! x; T; C  T
  64. Password=my_password
    6 D0 l+ k5 ]! g4 y, U+ `
  65. GetDriverFunc=getSQLDriverMYSQL
    . D! [2 J# {/ X" t* i" ^
  66. VendorLib=libmysql.dll# {) r+ |7 m8 o! f/ _0 a1 s
  67. LibraryName=dbexpmysql.dll& c( `# g- ?) n. J! ^; H" q' X
  68. Active=1
    2 r$ o5 o+ |% {, X
  69. ---example----$ }& U  Y' k+ a3 c- V3 d
  70. - written 02.03.04 by pwk.linuxfan; a) k  O! O7 ~0 w/ k6 I9 M
  71. ) Y4 p* M# [- O& w, ~$ G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; \5 O4 Z' r1 C

  1. ( f0 |. |4 N: a; E, p+ o" G% L' M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 [/ f1 h% [0 d4 `( x
  3. 6 N% r' N& g. u
  4. # # #我们所需要# # #
    ; O1 U  I, m% }- [5 C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : p/ r, {) W, a. _0 O- x: J+ J
  6. 不会解释如何做到这一点-也有文件存在,为
    7 I6 w- X# E. ~* N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' K/ o3 R" h. p, x9 o$ v: D$ }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + T0 x9 C( c* M3 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 E/ k) y  X3 u; z9 {
  10. 本地机器,这是我的MySQL安装。
    - T) Y! _& h' ]9 J7 _) S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. W4 ^/ s4 S; p9 S6 N5 t2 R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " q% u2 S0 ]5 S4 n) [6 ]- H
  13. 数据库。 3 J7 ]! x  ~( z. D/ @5 _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ j3 L' i2 M8 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + F  x; o. u! a% T
  16. 在teamspeak论坛,如果你有兴趣。
    3 d6 T2 O& b2 s( g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 R. u6 z3 R* z  ?, i; D
  18. Borland公司使用。这个司机只能界面与客户端库6 o% {: @8 f# q( p0 A  J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ }9 m$ Q/ S; x+ a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& A# r. d, S1 K
  21. " vendorlib " ,并解数据库连接。
      ~$ d8 ], ?$ \5 d3 k4 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 Q" f- m: a* w+ Q4 C& L+ w

  23. / [1 Y* c+ W2 w. z  G
  24. # # #做好工作# # #
    / i2 ]1 Z: o; `( |9 G- U9 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      V0 G' H& f5 F9 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , `, U  t9 Q" v2 O8 Y: \! a, n% d1 J5 G
  27. 结束: & E& o9 o: s8 J
  28. ---削减这里--- * `( @( {. X# c
  29. [ dbexpress ]
    ; D# m8 M2 b1 R
  30. sqldir = mysql_sql 5 D! _& r) d) n1 z/ x
  31. drivername = MySQL中5 N  E4 C, X7 L
  32. 数据库= your_database_name_here
    7 e1 T. z5 l  x7 N0 _1 I* i
  33. 主机= the_pc_the_mysql - server_is_on % M: s6 H4 M* {. N. E
  34. user_name = user_name_on_the_mysql服务器
    4 K8 N" Z' e8 ]- ]. h/ p
  35. 密码= password_to_go_with_above_user_name
    ; {! F9 P  L; d
  36. getdriverfunc = getsqldrivermysql
    3 a; w8 E( @6 `# J6 e6 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # R5 A. `/ x  A3 }1 B8 G$ ^
  38. libraryname = path_to_libsqlmy_libary
    ! i3 P3 w. t7 Q: ^
  39. 积极= 1
    # b" m* O+ b. W
  40. ---削减这里---
    $ O1 U8 P: M; ^$ c/ W- b0 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) \9 }" T8 @! w* ]( o) e
  42. ---例如---
    4 A: A7 m; _3 J
  43. [ dbexpress ] 4 K0 x# ]4 ~/ w% q; Q" T0 o) v
  44. sqldir = mysql_sql " I1 D; I0 R4 O, B5 @, k0 W: O0 q
  45. drivername = MySQL中! S2 M# v, l6 n5 A" [; C
  46. 数据库=测试. v0 _. D) M$ m. M
  47. 主机=本地主机: N& K- L, t$ _
  48. user_name = testuser
    ' w7 K2 v* d0 X
  49. 密码= my_password
    % P: M: r9 T; ?8 n! B7 n
  50. getdriverfunc = getsqldrivermysql
    - `1 v, D& i( H- q+ N* e0 x$ Z. h7 t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % C7 f" W) x" @
  52. libraryname =. / libsqlmy.so
      s" U4 t; ^, ]" ^$ g2 n( \
  53. 积极= 1 ! H) L2 J6 q4 V* ~
  54. ---例如--- " p; V) g1 _8 o8 s
  55. ) n; P6 J6 ]! E4 G3 \: t* d# r
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " [* {! w) N* k
  57. ---例如--- * S  e+ u, X  W3 v1 Z
  58. [ dbexpress ] & M) `3 B1 C$ C: x2 q
  59. sqldir = mysql_sql # I9 R' z0 V, F: q+ i! z# U* t, p
  60. drivername = MySQL中) E4 q$ O. K& u! Z4 v
  61. 数据库=测试
    2 ]4 x; r: e! D2 \. P$ w2 Z) f, M
  62. 主机= 127.0.0.1
    " |6 ^! e  I+ v& y- ^# a7 F
  63. user_name = testuser
    ' j: M7 g% [* x0 k
  64. 密码= my_password
    . l/ d3 G- y% w4 b/ e# @$ O$ U7 X
  65. getdriverfunc = getsqldrivermysql
    : Z0 M% Q" U( r/ w/ e
  66. vendorlib = libmysql.dll在6 `& S! n$ w1 }5 f1 E
  67. libraryname = dbexpmysql.dll
    ! z3 R( ]- B$ u
  68. 积极= 1 3 T, P' }3 i% @  }% i
  69. ---例如----
    + \& C5 J! h2 [: H( V, E
  70. -写在0 2.03.04由p wk.linuxfan
    . s9 w! ]! C& B) i5 ^0 f) `1 k
复制代码
发表于 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. v/ f8 N3 `0 M
3 K+ w8 @3 p! h  l/ |1 N$ Q% N$ d) r
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-28 03:08 , Processed in 0.057133 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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