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

2999 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# T$ p/ g5 y' `' F" m: b& m4 \( ^# f5 }* f( h* q0 Y; \4 c' X, Z

  1.   A8 I: ]5 S) Q" J: b' [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' E- C8 p! C8 _7 e+ e* U

  3. 9 T# k0 P- d9 M+ {. p. P
  4. ### What we need ###
    8 v6 J" w1 j, |* T# U) c
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 F3 C& X; ]9 J% K
  6. will not explain how this can be done - there are documents out there for the : L3 H7 C7 V& E- m4 J: W5 k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 L# q/ C# S, n! ~7 d8 B( q
  8. and a user account (username + password) that has the permissions to do stuff
    # Q7 V5 S& F2 D) X4 k2 |1 h
  9. with the database. Additionally, you will need a vendor library installed on the) c2 r' |7 d6 a
  10. local machine, this came with my MySQL install.) M( f" U6 n: [6 _, ~
  11. These instructions will not tell you how you might transfer your data from the
    2 _, S) l7 G+ ?# I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 y' \# G# _, a+ _6 ^4 H
  13. database.' `6 A4 F) s0 ?3 l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 j% _/ m& y, Y7 _
  15. the time of writing, there are still too many issues - check the current status
    2 h" A2 c2 I+ ]3 k" Y# v
  16. in the TeamSpeak forums if you are interested.% ~/ H$ ]4 T3 g; E1 r! Y# s1 T  X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' z3 F0 e4 y, f) [/ f5 l  y
  18. Borland was used. This driver can only interface with the client library that
    6 o3 ]0 _) @/ d) w7 ]5 s& T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) R* K0 ]/ ?  t! z
  20. client library - basically all you have to do is to use a 3.x client library as
    $ z, W# u8 u8 N
  21. "VendorLib" and a 4.x database to connect to.
    2 i7 a9 n/ l2 i/ P( G  K
  22. If you need more info about dbExpress, you can contact Borland.
    ' |% u8 A+ c/ ]' P
  23. ( @$ Y: A, h9 U" U7 l) O
  24. ### Doing the work ###2 _% h+ i% O' J2 g5 s' K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' v8 _' f7 N$ l9 t, l' q4 j
  26. the perquisites right, just open your server.ini file, and add this section at
    3 I+ Z! ^: ^+ k5 D; p, g6 c
  27. the end:5 I. t' @' q" |  p2 Z# D* P: S0 [3 T
  28. ---cut here---4 i) R$ n" i2 k" d; m' R, l
  29. [DBEXPRESS]7 [* q  I3 i/ }- h, E
  30. sqldir=mysql_sql
    & _6 B* `, L0 ^2 N; D
  31. Drivername=mysql3 K  k6 ?) \- R; Z+ v: b8 z
  32. Database=Your_Database_Name_Here8 U% I- g5 i$ n7 ^6 J
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - a: A* X- G7 K3 w. s- W2 ^% W
  34. User_name=User_name_on_the_MySQL-Server6 m1 H2 u- q  N
  35. Password=Password_to_go_with_above_user_name; u( n1 O5 p3 R* ]& M! y( \4 J
  36. GetDriverFunc=getSQLDriverMYSQL
    , X7 Q$ T1 y3 _5 e# I2 {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 O4 u, d0 O3 c* T% H8 q0 j
  38. LibraryName=path_to_libsqlmy_libary
    1 U* C4 o3 p0 Q5 e. x" g& _( d
  39. Active=10 W3 g0 P7 {6 n
  40. ---cut here---
    5 ~4 i. H5 I0 }' O: w! A0 p- z" Z0 c3 h
  41. In my environment (a linux box with a MySQL server running locally) I have:* Q8 F% v( }1 t% z4 P; V
  42. ---example---- A1 n0 a& O& \6 R
  43. [DBEXPRESS]1 @  V8 @- \) k3 L' U9 E4 W, S
  44. sqldir=mysql_sql/ t7 j+ F& [+ g3 p& z8 ~7 D8 u
  45. Drivername=mysql
    - `  Z$ r* v8 r! C; u
  46. Database=test' P0 a5 C: y" X. L7 K
  47. Hostname=localhost
    ) M  Q5 \7 F+ W: W$ O4 k
  48. User_name=testuser
    ! p* R& ]9 }7 H& O' s' Q. I* j% L
  49. Password=my_password
    & f: C; {9 t( d/ g' ?, S4 B
  50. GetDriverFunc=getSQLDriverMYSQL
    0 g; E! ]7 d8 f( Q/ e. S/ V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 R( K% S. T1 [7 `0 d8 b& h# }
  52. LibraryName=./libsqlmy.so/ }% V. G9 i' D' Q3 h. j
  53. Active=11 _9 U# ], U0 K+ `
  54. ---example---
    ! k" d+ _1 S3 i! P- I, c- q
  55. * J% V6 a) M7 V0 K
  56. On a windows box, also running the MySQL server locally, it would be:3 C+ d- P# N+ v& s
  57. ---example---
    9 M/ U) n6 E, R+ i1 M6 p
  58. [DBEXPRESS]
    6 ?( V3 o7 h( i2 v: |" a! [
  59. sqldir=mysql_sql& G, b2 W" c% \: f0 E1 n: ~6 J! ]# C" R
  60. Drivername=mysql  V& r; n5 y4 D: O" O
  61. Database=test
    0 p8 T/ Q& X3 J, y+ D
  62. Hostname=127.0.0.1
    5 ^8 n( e# H/ V1 s
  63. User_name=testuser! M+ L' a2 F% K' Z% ^, Q
  64. Password=my_password/ R8 g3 C1 [/ G) Z/ ^
  65. GetDriverFunc=getSQLDriverMYSQL
    3 v! x5 t2 t- q* v6 J# s
  66. VendorLib=libmysql.dll* O; w- E: E- X2 N# Y6 g
  67. LibraryName=dbexpmysql.dll: V7 f2 j0 Y* K6 z
  68. Active=1( X6 _8 Z/ l/ `9 [: R7 q
  69. ---example----" }7 d4 _2 i! F* ^3 s- f" l$ Q$ @
  70. - written 02.03.04 by pwk.linuxfan5 n+ \9 U4 d2 P" W/ B% e

  71. 6 [7 n( g$ e% N( P. i# o8 ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 J1 q; V6 H; C
  1. + P7 n$ e& ]/ g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " X8 [$ r  C% D0 k

  3. 8 U8 w8 z, a  U7 x
  4. # # #我们所需要# # #
    , L, h  C& z5 e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 h. N% V/ [0 o: K9 k: r. M
  6. 不会解释如何做到这一点-也有文件存在,为& C9 O4 L! m9 a4 w1 h- B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 T4 w# d/ n8 `. J0 A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( O& @- W9 @! w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . @' L6 ~' Q) U& c: X) u
  10. 本地机器,这是我的MySQL安装。 5 G% u$ @+ @1 m) {% f6 u, x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* n3 d+ w/ M/ \+ C5 a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' O  I% I& `, O; O3 x
  13. 数据库。
    * m. k; ]8 O& `/ B3 ]# E1 h! t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & ?  r4 `$ @3 u" S" j
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 p3 U1 m7 |! g: i- Z
  16. 在teamspeak论坛,如果你有兴趣。
    : H: g! ]) k/ T9 t, a7 K( Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 I& z. W, y: @; V
  18. Borland公司使用。这个司机只能界面与客户端库
    ; K+ w  w& o2 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : j& [8 G; H' V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* a# C- h) Z8 G. t
  21. " vendorlib " ,并解数据库连接。 . @" n$ ~# l- T# G' `/ \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 Z3 m. |! O. u4 ]$ j

  23. 2 k8 x8 v/ i+ L" `/ o6 h, B4 f% e
  24. # # #做好工作# # # ! f. n/ c; z" Z1 G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ z: Q: f# |9 z9 t% M5 u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ E# O- c% i  }) V
  27. 结束: + l6 P* a# M% ]) R+ P
  28. ---削减这里--- 0 V; ^2 T9 |& [* O1 ~- O$ @6 n
  29. [ dbexpress ]
    ( y$ ~: N3 X/ H! D0 {
  30. sqldir = mysql_sql
    ) u( _  l8 v. z9 N0 b2 B1 T
  31. drivername = MySQL中' d; W1 o; B# I# w) c
  32. 数据库= your_database_name_here
    . e$ T2 V3 b( i( v
  33. 主机= the_pc_the_mysql - server_is_on 4 |$ _$ e( x3 u) b4 q1 h$ a
  34. user_name = user_name_on_the_mysql服务器
    ) o3 \9 m" ]0 M) T. r3 q3 e
  35. 密码= password_to_go_with_above_user_name
    8 a7 b& s8 g! r9 r: }7 b
  36. getdriverfunc = getsqldrivermysql
    ( Z5 r) s$ e/ S6 @% y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % H4 P! B/ }+ k$ O: ~8 U" s
  38. libraryname = path_to_libsqlmy_libary
    % D; j  b4 H; E4 J2 m. Q
  39. 积极= 1
    . H9 S' p. O) t; x
  40. ---削减这里--- 3 N8 Z- C. ]9 w* L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & L* R- M, {: F2 s7 Q. D
  42. ---例如---
    ) ^3 H5 d) U8 b% y- r& S
  43. [ dbexpress ] 6 E+ X/ r" v5 f7 e, M- |7 j
  44. sqldir = mysql_sql
    ) e% K5 G' W( |) K4 V2 I
  45. drivername = MySQL中
      p1 j/ t: l; P" h
  46. 数据库=测试; q7 X/ E" u) @& x
  47. 主机=本地主机. B- U9 h* |* }" ^* C
  48. user_name = testuser 0 W0 b$ y' H/ R$ J. C, L
  49. 密码= my_password 0 P) X" w8 `/ i2 P
  50. getdriverfunc = getsqldrivermysql
    * J! O, l+ o: U  g# |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * t  T  s3 z6 J# L7 w! |- Z
  52. libraryname =. / libsqlmy.so
    - C% f4 F1 K/ z3 T$ E2 |& L3 ?
  53. 积极= 1 % A, ~5 ~: Q, D4 I) u1 U
  54. ---例如--- 9 n, u; h0 L9 r9 b2 e

  55. " H5 o6 f0 O. H2 F$ ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 \6 z; S# V7 J! ~/ F
  57. ---例如---
    4 I3 w8 S$ N( ?4 w1 a! y
  58. [ dbexpress ] 9 L: }7 s6 ]5 ]1 ?, \
  59. sqldir = mysql_sql
    , Z; R8 @  _+ p2 Z; b
  60. drivername = MySQL中
    - R) `+ Q9 M6 h& z& A
  61. 数据库=测试  K# b# R* B' Q, t- ]
  62. 主机= 127.0.0.1 6 F" F0 d/ K# ]7 l  U7 b
  63. user_name = testuser
    ; X' t$ @: V, J* g- n, E7 g
  64. 密码= my_password - C8 F" i8 y. i0 q
  65. getdriverfunc = getsqldrivermysql
      M6 t, }! \' U0 v
  66. vendorlib = libmysql.dll在8 X8 I7 v1 j# B" g! J, i+ F: P
  67. libraryname = dbexpmysql.dll $ l4 [  Y8 w7 U5 N0 a
  68. 积极= 1 1 C' F* T: Q, H! O
  69. ---例如---- 5 x9 P" ?3 c$ n& ]
  70. -写在0 2.03.04由p wk.linuxfan& I8 V! T0 B9 E) A% o' \
复制代码
发表于 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
4 P+ w+ L# P7 r+ U; Z5 C% M; m& k# l7 y/ z: i
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-9 01:24 , Processed in 0.112812 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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