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

2840 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: E1 T5 i! x/ f* q3 [, E+ k
+ A. r1 {8 L. C/ d/ O# v" g0 t

  1. & s* h: ~6 r' z2 J8 B9 K  g' w: {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 P) O5 c+ ^* q9 _
  3. 8 [/ C" a7 X/ i
  4. ### What we need ###9 p$ J) {0 ~. _
  5. Naturally, we will need a MySQL server to store the data for us, this document % s3 S/ o5 {5 G, W3 l
  6. will not explain how this can be done - there are documents out there for the
    1 m: F' N+ N* y7 E3 ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 D2 p8 d: R$ ]9 L7 p/ Y" ~
  8. and a user account (username + password) that has the permissions to do stuff
    & m: a+ E/ G/ `) H7 ]$ ~  `4 t0 P
  9. with the database. Additionally, you will need a vendor library installed on the
    , G- e7 x2 O6 S& Z: T/ {! d
  10. local machine, this came with my MySQL install.
    # H  C+ ~: r2 Z8 J
  11. These instructions will not tell you how you might transfer your data from the
    3 H' ^( {7 P) J  W: [- q1 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 E' @# @6 ?1 s4 z
  13. database.
    % S: {0 S+ a' t$ Z& p% O* n
  14. Some users have reported ways to import a SQLite database into MySQL, but at; p" \& p2 E5 b0 _' v7 q% N
  15. the time of writing, there are still too many issues - check the current status
    - p" g3 G8 I1 K& }/ P8 |; j' I
  16. in the TeamSpeak forums if you are interested.* w* k  u. G! ?1 G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) S6 \( B) w. s& H: c
  18. Borland was used. This driver can only interface with the client library that ! U7 y2 h: f3 N% w& i/ b1 T* e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 N5 v$ @! P+ W5 R6 F. i
  20. client library - basically all you have to do is to use a 3.x client library as : u- p  K9 d. B" ^! g4 w9 P
  21. "VendorLib" and a 4.x database to connect to.
    $ X% G, C& k! X! o# T1 ~, b
  22. If you need more info about dbExpress, you can contact Borland.# n, ?; B. m4 m& g( r$ i

  23. % o; w( @: c2 U9 L
  24. ### Doing the work ###6 U, ?1 K+ n9 P# F& q$ \0 O- ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 {( {6 c3 @$ e4 z( f8 z# @
  26. the perquisites right, just open your server.ini file, and add this section at$ e7 n: O  b2 S* {6 W1 {
  27. the end:
    7 J* `2 s  p, P; _& S0 Y6 s
  28. ---cut here---/ v: y- ~) T( D! v- k* F
  29. [DBEXPRESS]0 Q4 \3 x1 ~3 k& I6 ]2 p
  30. sqldir=mysql_sql
    0 p5 f  v" w) G7 Q
  31. Drivername=mysql
    1 j) Z3 ^6 ?; \2 C
  32. Database=Your_Database_Name_Here
    7 O, ~0 u0 I- e  Z4 d* V
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 A7 D( d1 H: ?# j7 t
  34. User_name=User_name_on_the_MySQL-Server" {- B6 x0 Y* P( `  X% m
  35. Password=Password_to_go_with_above_user_name; i. H) U$ V2 [% z: E% U
  36. GetDriverFunc=getSQLDriverMYSQL
    1 @( i9 b0 u( @! @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( h% |+ F  m5 t: ~: S/ T% ~
  38. LibraryName=path_to_libsqlmy_libary: o  A5 m+ f8 r; F( [* ]0 e
  39. Active=1
    5 h" ?( u) l6 e( ~
  40. ---cut here---
    # ~( @0 l5 ]3 }! O
  41. In my environment (a linux box with a MySQL server running locally) I have:" y7 o- t" v$ v; c6 \" G4 ?
  42. ---example---" r( H, r) `. n$ t. [: L
  43. [DBEXPRESS]
    & b! ]# \$ A, r4 X/ W1 k
  44. sqldir=mysql_sql2 Q" S3 Z! _- @9 t+ K; c; m: i; y
  45. Drivername=mysql+ a2 H) U& N0 t& G: _+ F9 Y( F
  46. Database=test
    , R4 i1 g) D$ \
  47. Hostname=localhost
    6 n  M, y! s9 s3 C( s2 h
  48. User_name=testuser0 E# Y* F; \# U+ |- N5 f
  49. Password=my_password, k" _7 Z5 K, `7 l& R
  50. GetDriverFunc=getSQLDriverMYSQL
    " X0 G) @( B7 d) K6 v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' l  X3 s5 j% E+ V/ m. D
  52. LibraryName=./libsqlmy.so
    ; d5 l3 |3 R- ^5 H8 |4 ?: ^
  53. Active=1) B5 m# H) B5 Y) Z+ y+ A
  54. ---example---
    & u, Q# U7 |* z, h
  55. " G" H+ ~, [6 p8 M
  56. On a windows box, also running the MySQL server locally, it would be:
    ( [% B& R+ X, Z2 D9 z( Q
  57. ---example---" L# _+ p6 ^% a+ L" V
  58. [DBEXPRESS]9 r3 m' N  p9 g4 U
  59. sqldir=mysql_sql. Y% p- [4 Z% |( [
  60. Drivername=mysql8 F1 F: X1 Z( V5 G. s) M- W, i) a
  61. Database=test! o4 D) h1 K8 L
  62. Hostname=127.0.0.1
    % R& }1 s- J( d1 y2 R* d, q
  63. User_name=testuser) [/ o8 ^& D0 d$ L: p1 I/ @; s( }9 Z* \
  64. Password=my_password
    + \! x( S9 _  T5 g; k& c
  65. GetDriverFunc=getSQLDriverMYSQL$ N- U2 |! |3 Y" ~: q+ g+ s, e
  66. VendorLib=libmysql.dll
    $ M1 L! j" q+ s: H! q
  67. LibraryName=dbexpmysql.dll- E# @. T  z* k& i$ I
  68. Active=1
    ! ~0 q4 @7 J; U5 A9 D: N5 v
  69. ---example----
    , b9 v& x9 r: Y0 ~0 E% \
  70. - written 02.03.04 by pwk.linuxfan
    5 W' R9 Q7 P: W7 U6 [

  71. 5 M) }0 Z4 x0 R! r! d  }5 t$ T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- D: E0 H; p7 I  D$ C2 i5 u
  1. " Y: V5 P4 @- Q% E. M' T! U
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 z6 J. u$ `0 ^, D9 ?

  3. $ \9 S/ l' `. Y1 \0 N
  4. # # #我们所需要# # # : F% n0 f! I( V, i- b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . Q+ ]3 a& N( q  J, F
  6. 不会解释如何做到这一点-也有文件存在,为
    6 g, q! c. z" p$ l# {% `! l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # _0 F: u0 u4 H* I5 m9 z  x
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; f3 m# L8 a% I/ ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: d4 u9 g' V8 {' ?/ J, v* \
  10. 本地机器,这是我的MySQL安装。 1 n+ \# k" n6 x1 H: Y8 O! y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - G$ w& f  t1 P3 G$ D8 P) o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 k2 w/ n: `: V. C
  13. 数据库。
    3 _! j/ M) V, h" a5 B4 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 x+ J# O) f8 g  l) f" t
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 Y8 c5 s1 G0 J) H& O
  16. 在teamspeak论坛,如果你有兴趣。
    0 D5 T  p2 P7 n0 i! o2 ~7 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, ^3 r; p9 G, \+ E" N% H$ y# F
  18. Borland公司使用。这个司机只能界面与客户端库
    7 l2 D7 S8 V0 e4 L8 q" w6 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) L( A- P4 s: j9 v) T8 c8 r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, j6 g/ D  w" l& Y! A5 D
  21. " vendorlib " ,并解数据库连接。
    7 \6 g  f8 K/ `) o5 f% x2 b& Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , o/ [) B3 ?( K3 c8 w. q, H

  23. ) [' _. ]' f, ^1 x
  24. # # #做好工作# # # ( q: ?7 s7 n$ r$ }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 Y- S  r2 l  e- b8 x2 N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: C8 v& F3 U7 \( {8 h$ D
  27. 结束: : p) e6 M0 G- {) F
  28. ---削减这里---
    - s6 i$ h" Z$ U# v) D$ g3 q
  29. [ dbexpress ]
    5 X6 f8 I: `" y: S. f; V
  30. sqldir = mysql_sql " n7 u2 D) ]9 O' a$ h9 b0 S1 H
  31. drivername = MySQL中2 L' h! j8 g, D; t
  32. 数据库= your_database_name_here
    + O/ d  ~& F0 m) s
  33. 主机= the_pc_the_mysql - server_is_on
    8 q0 g# `$ }9 R. j$ z8 g8 w, Y
  34. user_name = user_name_on_the_mysql服务器% m1 `) l. J0 h3 q+ i2 c$ A& G+ L! i2 N" d
  35. 密码= password_to_go_with_above_user_name ) w. N0 V% ~6 y$ Z/ V' z
  36. getdriverfunc = getsqldrivermysql
    ( v! l1 i. o: E5 V0 t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 P6 }3 H2 ?: k$ v2 b4 R
  38. libraryname = path_to_libsqlmy_libary
    " S+ f( @( B& @3 P9 t
  39. 积极= 1 $ R; C7 m, t; D! n( @" n4 |$ j" _2 G  Z
  40. ---削减这里---
    $ ?  n$ R$ t! ?" M8 }( r  a: J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 H  r/ K2 O0 G' i7 O
  42. ---例如--- / `& N9 Y- f- l) g! \( y/ o0 a6 Q
  43. [ dbexpress ] $ j; C: w+ g* }7 N
  44. sqldir = mysql_sql + U9 @) F- C6 q
  45. drivername = MySQL中  W- L; D$ e/ C2 H
  46. 数据库=测试9 [. X& [" T+ v6 y# ]4 L
  47. 主机=本地主机/ `9 h% a0 F( W  z& n) U; n
  48. user_name = testuser - s4 R: @2 a7 w% T6 E
  49. 密码= my_password # v0 Y) }6 u/ O, X+ Y+ m. Q8 a
  50. getdriverfunc = getsqldrivermysql ! b% J3 C1 L  u' s4 Y* j) F' C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # W' B$ y( G: C# D$ F# [" D" x
  52. libraryname =. / libsqlmy.so 7 ~9 H# \  O% T
  53. 积极= 1
    # V2 G  F# B4 i, u2 H$ f4 ]3 p8 A
  54. ---例如--- ) F5 g, X0 l0 `6 \* U

  55. 6 ]" V" u+ k$ q* j
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 J4 q* F) _! u0 a8 l/ Y5 Z. b
  57. ---例如--- * ?2 E6 s. M: L& D4 }. X+ b
  58. [ dbexpress ] . L- V: ?& P- l) a
  59. sqldir = mysql_sql
    % J1 N$ {$ R/ ~) Y! J0 p: _
  60. drivername = MySQL中
    ; z0 m8 v1 f) P9 _5 ?5 O* D
  61. 数据库=测试5 R3 t8 `7 R$ G; d5 E
  62. 主机= 127.0.0.1
    1 e; T. I7 ^  C; _
  63. user_name = testuser ) n1 q0 w- E) M3 d: D8 O, o
  64. 密码= my_password
    0 \! n* Q/ v& v& }
  65. getdriverfunc = getsqldrivermysql - T. y" F: M5 h
  66. vendorlib = libmysql.dll在
    5 J. B& R$ E$ L
  67. libraryname = dbexpmysql.dll 8 b9 O% ~- @9 \
  68. 积极= 1 ) U, J1 k1 {( H( W8 n. K7 O
  69. ---例如----
    ( j/ ~$ Z3 O0 F4 F2 W
  70. -写在0 2.03.04由p wk.linuxfan
    + j4 p4 Q& U) k7 G. D% 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
! g" c% s+ }- l) e# ?7 ]7 y3 z; a; S, _- a/ Z
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-4 11:58 , Processed in 0.101665 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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