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

2755 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 T4 Q# m" p5 @* J& U) W' k9 P" K5 x0 l5 m( a

  1.   c8 t) p$ @2 y6 t7 s  J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( w* t5 f# C6 P3 `6 |7 A

  3. , ^$ H- L4 @- q9 J/ U! |
  4. ### What we need ###
    ; ^( k& K; I9 F6 |7 B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % j) {3 R. ?6 ], F  a
  6. will not explain how this can be done - there are documents out there for the ' r3 ^+ f# w5 `) u4 d3 B, ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * E" r+ ?, `; M2 M0 E! s, N
  8. and a user account (username + password) that has the permissions to do stuff
    ) x: L9 i, d: l& b* Q) [
  9. with the database. Additionally, you will need a vendor library installed on the3 v+ Q) j7 G: x$ c$ R( u" m
  10. local machine, this came with my MySQL install.5 ~1 z1 E; {& a; c5 Z. Q5 K  c/ y
  11. These instructions will not tell you how you might transfer your data from the
    ) `0 I4 H* N- c, l2 q( k) B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # n$ r! S3 G2 }% _- [; F/ ?
  13. database.! t! r4 j- ?- ^4 i4 l! O2 U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - X$ |! B& e, h) R
  15. the time of writing, there are still too many issues - check the current status  @- G/ m8 R; f. ?7 j
  16. in the TeamSpeak forums if you are interested.( `: X1 t' t8 [' M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 i/ g; U% l) [5 {, f; t
  18. Borland was used. This driver can only interface with the client library that
    # `. b: [( m1 v2 L7 t# n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 C5 A1 R! t7 L
  20. client library - basically all you have to do is to use a 3.x client library as
    9 R. N8 p% i. h( `6 T
  21. "VendorLib" and a 4.x database to connect to./ ]* {7 R( B* ]/ ?- g, _0 f
  22. If you need more info about dbExpress, you can contact Borland.3 C9 W% s! W# X% Q: `
  23. # l8 J0 J* p  |7 Q2 {
  24. ### Doing the work ###
    2 o  _  S/ O  E8 j, ?. I7 V; I# F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 S/ `+ d, C8 |6 y6 q8 m, l
  26. the perquisites right, just open your server.ini file, and add this section at
    , `6 ?/ i- ]! H- \
  27. the end:
    # i. g# ]% b8 g) S' S/ L( u+ S7 K
  28. ---cut here---
    8 Y) ^* S- y" |1 n, P1 D
  29. [DBEXPRESS], X- y" L5 j( Z5 q4 K6 r! V5 `' G  j
  30. sqldir=mysql_sql
    2 w/ @$ V( [6 T: K0 c( t, A5 }
  31. Drivername=mysql
    8 `& V! }' {5 a- ~( a9 h
  32. Database=Your_Database_Name_Here6 l( A9 d$ @4 @" A" o
  33. Hostname=The_PC_the_MySQL-Server_is_on2 ^0 M5 x, [7 X1 h0 ?: }
  34. User_name=User_name_on_the_MySQL-Server
    $ {9 N& `- e( p, @1 t  U- f* e
  35. Password=Password_to_go_with_above_user_name* P# }' z# R% m- @3 v) o  U
  36. GetDriverFunc=getSQLDriverMYSQL" U. N9 v0 j! J7 G/ u# W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% Z! w$ A( f$ ~& G+ m! L
  38. LibraryName=path_to_libsqlmy_libary* s& x4 ^+ z# Q
  39. Active=1# w+ f  C+ N, Y/ }( ]# d
  40. ---cut here---
    1 D$ c; a6 J/ `4 t0 K" ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( H( o: {  N; p
  42. ---example---
    0 \; P, s/ a+ I+ W- U. e+ _
  43. [DBEXPRESS]* K5 z1 x8 M4 P( ~2 M# U  S/ c+ p  \
  44. sqldir=mysql_sql+ g( \! [- M! \7 t6 A% w% c
  45. Drivername=mysql4 Z7 P- m: \; C' T5 X
  46. Database=test  @. P$ L1 j# T) ^. I2 F5 b6 @6 y
  47. Hostname=localhost
      H- u! n" G+ o* r
  48. User_name=testuser) V8 F- c* t0 o0 k6 w3 U
  49. Password=my_password* ]1 u! a7 [. B" K# R9 M/ a9 U$ N
  50. GetDriverFunc=getSQLDriverMYSQL+ U% ]: g4 D& v, k* X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; c/ J( c  P1 [; p! E7 I, `# n
  52. LibraryName=./libsqlmy.so+ M8 o, L  M. ]% M3 q2 ?* B
  53. Active=1" d4 a" S- |& o8 K3 R
  54. ---example---
    . c/ S- R, Z! s; ?
  55. ( |5 g8 l9 N- r9 C
  56. On a windows box, also running the MySQL server locally, it would be:
    ' D/ |! q" J7 w: O7 u
  57. ---example---
    + Z2 a& ?/ t' B% Y4 L: d
  58. [DBEXPRESS]3 ?0 n( w) B1 v6 w
  59. sqldir=mysql_sql5 S0 k! a$ t( g3 @  ]8 ?& T; A- o
  60. Drivername=mysql% P) S' w& F9 w2 v0 c
  61. Database=test* ]( N+ u5 p& d! o# }- V! f, `
  62. Hostname=127.0.0.1
    2 n0 m5 c' W" n" l* A, j
  63. User_name=testuser' o  j+ q3 Q) W8 U
  64. Password=my_password
    - F: N# _4 x( X" ~
  65. GetDriverFunc=getSQLDriverMYSQL; u6 G3 o/ y. Q+ P9 g& K. E, J
  66. VendorLib=libmysql.dll
    ( t3 g% K3 L5 y0 F
  67. LibraryName=dbexpmysql.dll; u* d9 U9 ~# n0 b$ v3 M8 s
  68. Active=1
    ! U, c3 j3 R; `" x4 q
  69. ---example----
    ! e& {4 q; [: m  k3 H: W
  70. - written 02.03.04 by pwk.linuxfan
    2 U' `6 Q4 r, Y# g

  71. % p0 @5 |/ Q# p! o$ ~% d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, i6 z3 O6 b6 t! @6 X

  1. * j) L' H( n8 Q& p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 L' r: Z# I8 [# ~: M7 s  S/ N/ t

  3. ' b  l* w( r+ L# d
  4. # # #我们所需要# # # ' S4 z; R3 f! d; ^+ N# Y# {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 E5 j$ u5 E7 J+ m3 q9 j* B: T
  6. 不会解释如何做到这一点-也有文件存在,为
    0 v) f, f. Y! A+ }8 m! i+ s# }( u% `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 v, ?- `5 B( ?) J; k* A2 Y+ P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 E) S" R' G2 A+ C" q  \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ k3 V6 x2 u9 q1 U
  10. 本地机器,这是我的MySQL安装。 7 k" x- G4 O, {3 ^7 \1 d9 c  ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 W, l- v5 r6 M9 ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - |) i) J  U& X  }- q' K
  13. 数据库。
    . U1 N7 `& F. c# e# l3 f* [' x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 k# i6 i7 [/ F7 _9 {$ ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , v( ?  w. n# J! K
  16. 在teamspeak论坛,如果你有兴趣。 " g! f* b3 `, X1 J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 g* @* @5 w  F9 V2 a0 ?) u
  18. Borland公司使用。这个司机只能界面与客户端库
    5 y; W7 M# Z  {
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + K( r. M8 ]  p( u; O, `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! o7 U  O( H4 F5 ?' @  `7 I
  21. " vendorlib " ,并解数据库连接。
    " P, g1 Y- T4 F; o3 d# |0 \- A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ e: `9 Z2 s1 L9 W6 |) u" ^" M$ R

  23. ; p* g& t7 K8 x% @0 w7 {4 K
  24. # # #做好工作# # # ; A9 ]! P2 V: o4 }4 y6 {. V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 n4 F. i4 {, I# q! @" o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% n2 h; w- t: }6 W8 [$ o2 m! B+ T
  27. 结束:
    8 t$ F/ a& }  K% x
  28. ---削减这里---
    4 A+ S9 x/ V; @& i; i; ^
  29. [ dbexpress ]
    + e% L: J' F, K0 E; z7 r4 s; x1 c
  30. sqldir = mysql_sql
    0 R4 T. J% V2 p, E# t; N6 n! m
  31. drivername = MySQL中
    ; E8 }% ]% s1 r$ H2 M& P
  32. 数据库= your_database_name_here
    * K+ r( {7 w0 f0 d
  33. 主机= the_pc_the_mysql - server_is_on
    1 G! L$ B4 p; a3 k2 `) @
  34. user_name = user_name_on_the_mysql服务器
    0 u" T/ C3 i/ {* U* R
  35. 密码= password_to_go_with_above_user_name / T: y# X) x. s7 J' P. O
  36. getdriverfunc = getsqldrivermysql 7 ]! C; _# t" D9 A8 A! u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 ]2 S( T: a# a" `
  38. libraryname = path_to_libsqlmy_libary 4 n$ T& j. B3 U) w3 y& D
  39. 积极= 1 6 l6 @) L* y: o
  40. ---削减这里---
    * S  g& V8 R. \2 W6 F) I/ D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 P# f# o" z9 K
  42. ---例如--- 1 G/ A4 s  k8 i2 \6 `6 i! T! ~
  43. [ dbexpress ]
    & ~% I# F6 C/ M  S. Q
  44. sqldir = mysql_sql
    ; T" d+ ?8 L+ Y) X4 K- B1 g
  45. drivername = MySQL中
    0 G2 k4 E* Q% m0 e' s2 \9 I" B: G
  46. 数据库=测试# I+ ~" ~3 p0 Q3 s. W( A1 O
  47. 主机=本地主机
    $ O9 p9 e  q/ }( N% ^  h4 I9 R
  48. user_name = testuser
      I! y, G) S4 ?! i1 {$ C6 a1 y+ f' l
  49. 密码= my_password $ x& o0 U1 ~- g, q- L9 H' T2 j
  50. getdriverfunc = getsqldrivermysql
    2 P) W; j/ ]! H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   B! e0 H- P8 F( ~' p# W3 C" f
  52. libraryname =. / libsqlmy.so   F" @' y! i7 L* a7 q
  53. 积极= 1
    $ q: u- ^% E/ A" ]% a+ Q& [
  54. ---例如--- % i4 `3 H: ~4 y, |6 p

  55. $ D7 a: `" G# s! A( J2 G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      X0 D( d# s0 h1 W' {; U% i8 d
  57. ---例如--- - f6 H% _$ A+ ]) n$ R5 V6 e( l
  58. [ dbexpress ]
    " s2 w; [: ?. k# D
  59. sqldir = mysql_sql # V9 U% g1 i0 ~1 l, Q( R7 E5 x
  60. drivername = MySQL中
    / t! r0 K1 T0 B6 D# s
  61. 数据库=测试: N# ], D) h4 z5 j. s* H; x9 L
  62. 主机= 127.0.0.1
    * |/ @! r3 C: v- Z
  63. user_name = testuser
    6 x  @/ x$ K( t
  64. 密码= my_password
    - b/ v. u  O( F4 x7 c7 w: Z  x$ H
  65. getdriverfunc = getsqldrivermysql 6 E. [; J0 \' C' _, D( Q6 D; m6 H
  66. vendorlib = libmysql.dll在
    2 p) d. H; r& m' U  d: J  O
  67. libraryname = dbexpmysql.dll - s9 p6 ], ^1 K
  68. 积极= 1 1 z* f: i% {" |8 ^
  69. ---例如----
    / I" B8 L% o" y, @$ ~
  70. -写在0 2.03.04由p wk.linuxfan
    8 Q- l  Q) u  e. C# J
复制代码
发表于 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
/ L4 ^5 q* u' C: {+ [
% M& I: [( f$ a8 B, S$ Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-13 08:25 , Processed in 0.106568 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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