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

2521 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : {- i1 D- I3 H, t: Z* K
$ i; Z" g: {% F/ a7 q* T) I
  1. ) n6 ]' a' q: c6 A) i6 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ c3 C* U$ Z6 H  E
  3. 5 H  D( j; v1 z3 O* q* o9 ?
  4. ### What we need ###- `/ V3 L( b4 g5 N
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 F; c$ i1 j4 r0 w+ O" B# Y3 d, _
  6. will not explain how this can be done - there are documents out there for the
    9 D5 p6 `0 ~: P( d- e& Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 n6 G: k! b4 }1 g) g
  8. and a user account (username + password) that has the permissions to do stuff
    , c1 I4 T$ ?5 H! Q3 f& B( N
  9. with the database. Additionally, you will need a vendor library installed on the
    , I+ k" x4 Q1 m2 @5 [3 B
  10. local machine, this came with my MySQL install.
    # Q. l$ C0 K* f6 l8 |5 G) \
  11. These instructions will not tell you how you might transfer your data from the
    9 l; g1 V5 X% _8 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ C' W5 ?6 X, W" F- N0 r$ C% L
  13. database.
    ! j- b+ {9 b1 d2 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 v. s3 M+ D/ A- ?) P. x+ g3 [
  15. the time of writing, there are still too many issues - check the current status& S) H4 `  O  y3 w
  16. in the TeamSpeak forums if you are interested.! }- M; p  A8 C" h2 p) f, O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 z" J6 ^$ r) b  j4 }
  18. Borland was used. This driver can only interface with the client library that
    ! \* f0 _. Z0 A' }- _. m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . _. I$ h2 l; X$ d, E6 O
  20. client library - basically all you have to do is to use a 3.x client library as
    0 _8 y" {& u7 z& Q4 }7 @
  21. "VendorLib" and a 4.x database to connect to.* `. i7 q7 `! u: E4 j2 S
  22. If you need more info about dbExpress, you can contact Borland.- A' I" e9 N6 G( C7 b8 t! y1 H9 v

  23. 7 n6 D: W4 Z- P$ v" `
  24. ### Doing the work ###
    ; X" s! _: T0 O! D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    & T' ?; D* u6 `, U1 {% D
  26. the perquisites right, just open your server.ini file, and add this section at
    0 S& M6 A! b$ k) ^' R+ J7 j
  27. the end:
    ) m- I2 {3 {. T3 |- u! M. U
  28. ---cut here---
    $ i3 O8 b" ?3 c
  29. [DBEXPRESS]' {( j+ t3 J/ m; M2 u; s9 r' ^
  30. sqldir=mysql_sql) m& g1 d; ]2 j: O: ^0 p* j
  31. Drivername=mysql
    # f- A; b: c) j& A2 R, a
  32. Database=Your_Database_Name_Here) L7 P1 Q* B/ G
  33. Hostname=The_PC_the_MySQL-Server_is_on* V1 f  |2 u6 k! o, a/ }
  34. User_name=User_name_on_the_MySQL-Server6 Z% J/ ^/ c( z
  35. Password=Password_to_go_with_above_user_name9 o% o! C7 A; Z5 [1 F8 p! Q4 Z
  36. GetDriverFunc=getSQLDriverMYSQL
    ) Z+ X& b: m; j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) M7 [; ]+ x, A+ p
  38. LibraryName=path_to_libsqlmy_libary
    . G  j  `% t" H6 U$ O% J# N
  39. Active=1
    : e7 T* k' R# m1 Z+ b
  40. ---cut here---8 M6 L; {7 X4 \. p! T- R  V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . l2 h6 v/ j/ p3 S4 n) S' y, ?, ~
  42. ---example---( K# t- ~" ?" ~
  43. [DBEXPRESS], |8 c- s0 O$ w# T2 L- x
  44. sqldir=mysql_sql
    ' ^0 l, h$ h# [& L: @: z* `) a
  45. Drivername=mysql+ F) {7 ?  ]1 m; q$ ]4 h
  46. Database=test, e* P4 x" A( \1 G$ h
  47. Hostname=localhost$ f! J3 i" H$ d3 P% }
  48. User_name=testuser* U$ P8 s5 \2 ~6 v: ^3 c7 g4 R' ~
  49. Password=my_password; H( H% a' D; q+ G! Q
  50. GetDriverFunc=getSQLDriverMYSQL
    4 d6 x) Y+ S0 i9 {. X1 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 X/ D5 w: e& l9 v7 m; {
  52. LibraryName=./libsqlmy.so9 c3 r0 N! F, E5 O6 ]: n& t7 h% o
  53. Active=17 Z  t4 f, B5 _  p8 Q
  54. ---example---: n+ w% u: A9 }
  55. ' R3 P' n) {, @1 F
  56. On a windows box, also running the MySQL server locally, it would be:$ @' J& k+ x) X& R* a  z
  57. ---example---
    7 t/ W2 A, |7 X% e# w
  58. [DBEXPRESS]3 S) j6 O9 b& |% x+ T
  59. sqldir=mysql_sql
    0 ^8 C2 K# L: x; P% A% G
  60. Drivername=mysql
    ( U) {, O7 I+ {! z9 }( I3 S
  61. Database=test4 u$ W! ^1 Q/ P* m4 G8 u
  62. Hostname=127.0.0.1$ D0 t7 k3 o7 P( u- O' C
  63. User_name=testuser
    . N, ^( h, z3 |; z* _
  64. Password=my_password; [4 C! x7 {6 S0 R% R, G- E
  65. GetDriverFunc=getSQLDriverMYSQL! D( A$ g/ P0 u1 A
  66. VendorLib=libmysql.dll4 }! S; P- h( T8 \8 t: T
  67. LibraryName=dbexpmysql.dll, \8 _8 M1 C5 [% d+ A
  68. Active=1& _% P7 N8 B7 _+ J9 _6 C, G# s" w
  69. ---example----$ L+ v; [, _0 u, p" Q" _" d
  70. - written 02.03.04 by pwk.linuxfan
    / e2 C2 C3 e2 M) B; w+ j$ Q

  71. 1 v. P& h' W7 n4 f# Z4 f. K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 Z. U: E; z5 p+ ]2 }+ {
  1. : ]: ?3 ]7 ~) ]; h0 I4 P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; e' M" h9 T5 `) E& j" u. A

  3. % H8 t( G! _. Q) m
  4. # # #我们所需要# # # 9 R: I6 f: |$ X7 }' p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* _3 z1 k% q& @5 K9 J
  6. 不会解释如何做到这一点-也有文件存在,为
    ( ~- H9 P8 d4 Q* c# H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! V+ I" Q/ r+ B# v( P4 L5 j% u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & H  `6 [. j3 {, p4 U+ S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 Y) t5 `9 K3 A' I5 w$ C" Y( f
  10. 本地机器,这是我的MySQL安装。 + k; a: C7 x* L5 r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- G( }. }0 m+ {8 ~- n5 B, i% Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 x% ^1 l" W5 F; v+ R+ s3 I: T
  13. 数据库。 : n1 j) u3 r. V  K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 @9 p: B0 p; Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * _+ }& d7 R, f5 W5 ?* h8 q$ W  d
  16. 在teamspeak论坛,如果你有兴趣。
    8 e7 h) b3 c9 H; h. J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 u. n2 G( b6 ^
  18. Borland公司使用。这个司机只能界面与客户端库
    & g2 n3 j9 n9 D6 e  |" M, j2 ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 s3 [. X9 D/ @" k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) g$ o# M5 b: `# `! `
  21. " vendorlib " ,并解数据库连接。 5 r* z6 M9 ~1 x1 X* _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! P- @( I4 [# F: f! H+ D' }
  23. ( m- l9 S! b, t. |  r
  24. # # #做好工作# # #
    ; ]% V3 Y6 v: j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - X, S& k0 q: B1 M% h9 K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * e6 }! I& o  X3 F+ ^+ z8 s
  27. 结束:
    5 |& s( Z' X* C# V  Q" a
  28. ---削减这里---
    3 ]8 u5 M% o( H! {  e, V
  29. [ dbexpress ] $ e6 G6 m0 ]9 \5 {" {
  30. sqldir = mysql_sql
    . j; \5 Z& G8 M0 O
  31. drivername = MySQL中% U7 E7 M2 ?; V5 f; f$ t! e
  32. 数据库= your_database_name_here
    , x0 b0 w- A; n8 `' `. T
  33. 主机= the_pc_the_mysql - server_is_on 6 j/ i; O. t3 X6 }7 d
  34. user_name = user_name_on_the_mysql服务器
    ; Y8 @+ X( c) q! O( L/ i8 c+ c
  35. 密码= password_to_go_with_above_user_name , v" U" m1 W  y- [: R" D
  36. getdriverfunc = getsqldrivermysql ' i; M3 e/ M' O! j( R3 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 ?' h0 V$ j" s% q3 a
  38. libraryname = path_to_libsqlmy_libary
    % ^& m4 z  P9 R  k. S% V* O# v; o! }2 H0 v
  39. 积极= 1 6 X) E+ j* L/ h
  40. ---削减这里--- " P& ^) X0 A- m8 ~, D9 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " V/ W4 i" g, n* ~# A$ h
  42. ---例如---
    ( L* [+ @+ @' Q
  43. [ dbexpress ] 8 N# x8 I5 n; o+ ~- y
  44. sqldir = mysql_sql
    . a2 J3 |, L5 l
  45. drivername = MySQL中" l7 ^1 V8 G/ L: E8 n
  46. 数据库=测试
    1 Y5 X" o6 @* D# f7 f  z9 }2 j
  47. 主机=本地主机& t4 }  F, v' N
  48. user_name = testuser
    6 q( v  @& t  s1 \2 i+ o0 F
  49. 密码= my_password
    8 m$ f9 d/ }; D: t
  50. getdriverfunc = getsqldrivermysql 5 y$ b$ D& M6 |5 a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : g5 Z  i* \( U
  52. libraryname =. / libsqlmy.so : j$ }. l+ k# K) F
  53. 积极= 1 7 g5 s2 N0 |/ A1 W+ t9 {! R
  54. ---例如--- . ~6 X5 M( _: T; W, [" j
  55. 0 W. V0 z; N0 I* n2 g7 M, Y& w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 [7 N) ?& o6 w/ J4 D! Z
  57. ---例如--- - `) V' ^% f3 Z4 y# _# f7 d; }
  58. [ dbexpress ]
    3 z$ c4 d* _! w$ b1 x& f9 O+ l  o
  59. sqldir = mysql_sql 3 \  W5 o8 ]( i! L% ~6 ^$ e
  60. drivername = MySQL中5 a5 S# j1 X5 Q
  61. 数据库=测试1 v; }! h+ p6 `8 @
  62. 主机= 127.0.0.1 % W: c  n2 T0 ^. U# i; y
  63. user_name = testuser
    $ U# n5 J- Q/ @2 Y
  64. 密码= my_password 7 _5 H( e2 X! k8 Q" g4 U9 a# u
  65. getdriverfunc = getsqldrivermysql $ a4 J' X  M% ?
  66. vendorlib = libmysql.dll在8 u9 X# i; y4 d( {
  67. libraryname = dbexpmysql.dll $ r/ A/ y  O9 M0 b$ e
  68. 积极= 1
    9 [8 Q* @. m" M9 h+ I0 C
  69. ---例如----
    , P1 I' N3 j& d$ P. B
  70. -写在0 2.03.04由p wk.linuxfan
      ~7 G$ P( u( ~- n( Y$ l$ ^
复制代码
发表于 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 @0 ~, _2 ^" [& s$ a0 K5 q7 x  O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-16 13:55 , Processed in 0.096798 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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