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

3550 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 v+ X% E. h% y  U$ p% U# j* i

  D- G9 z" s. p/ R, ?* ?! z4 b8 }0 O8 C

  1. : o* l* F1 _  S& C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & V# e8 c: ^7 T5 `" U
  3. 2 Z& X' W( x6 e- N. Z
  4. ### What we need ###
    / g% P# r$ j5 \7 C6 Y1 k$ J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / S$ y' U3 i' a9 O" I. D
  6. will not explain how this can be done - there are documents out there for the
    " ^) @+ I: d8 k8 C; r
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ r) O- o* i& j- _
  8. and a user account (username + password) that has the permissions to do stuff
    : A6 X- G# t! u8 C- Z  i6 S  p& S) E
  9. with the database. Additionally, you will need a vendor library installed on the( D4 h6 e. N; d2 z* s5 s
  10. local machine, this came with my MySQL install.' G+ h, z1 B$ z) S6 ?( i, u
  11. These instructions will not tell you how you might transfer your data from the& w1 m% m3 t! H- w- i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! V; L: j$ n) h, |
  13. database./ t/ L- M% H- l! h9 {9 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ ^3 X) g* I1 s& a+ M
  15. the time of writing, there are still too many issues - check the current status6 I# l  Q5 _2 H+ J' w: B. {9 B
  16. in the TeamSpeak forums if you are interested.
    7 g( X  R0 U: t$ g$ C: m9 a8 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) A! t- ]9 G5 W) o" B6 g
  18. Borland was used. This driver can only interface with the client library that
    0 U' H. a, c2 D8 k1 \1 m- L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " Z0 ?; k* A, h$ c8 Q& w9 l
  20. client library - basically all you have to do is to use a 3.x client library as ) J6 a/ h4 b* ]( p$ v' G
  21. "VendorLib" and a 4.x database to connect to.) p1 k, A# |1 ^. F( k6 ?# P
  22. If you need more info about dbExpress, you can contact Borland.
    / i- p2 V5 o8 ~  U5 m

  23. 5 t& q6 w1 m; H: n
  24. ### Doing the work ###
    * k1 E& h4 x0 Y3 r' j- r+ ^4 z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 S5 d$ O4 f* `8 a/ V; `6 x- \
  26. the perquisites right, just open your server.ini file, and add this section at
    : j  c  R- F- ~# a4 v& ?
  27. the end:
    7 [+ I# w! h) n: p
  28. ---cut here---
    ' l, x% n& V: b2 O0 X7 c% R# Y
  29. [DBEXPRESS]
    3 X/ I+ X, I' Z/ S0 E
  30. sqldir=mysql_sql, C! l$ T& l7 ?; X% ~* ^
  31. Drivername=mysql. M( H! |. q5 [8 r& \
  32. Database=Your_Database_Name_Here
    5 t& ]7 F5 a8 P6 f; R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; k  \9 k/ A! m- \4 A1 \0 g
  34. User_name=User_name_on_the_MySQL-Server
    ; r9 I2 Q# {% n" r
  35. Password=Password_to_go_with_above_user_name
    # F3 G$ i4 G  K- X4 O! S
  36. GetDriverFunc=getSQLDriverMYSQL( f: W) @0 ?8 r8 o" a. e. B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 m* U" t8 I6 P" P, o0 ?& P
  38. LibraryName=path_to_libsqlmy_libary* a% ^' r/ U) m$ `
  39. Active=18 j7 @1 N9 b# w
  40. ---cut here---
    ) f' t) ~8 @# \& ]+ ]+ s8 C
  41. In my environment (a linux box with a MySQL server running locally) I have:3 ^0 L9 Z' @* o/ Y& O
  42. ---example---  S, e6 z. R: c9 k- U( G3 @7 p
  43. [DBEXPRESS]
    . s0 L9 N+ V5 x+ E/ e
  44. sqldir=mysql_sql
    % A$ Q+ L0 \3 f; X1 X* \  E; z
  45. Drivername=mysql, F- e1 u1 e2 B0 K  H" ^) M' z* _
  46. Database=test& ~% o8 m8 L3 M. M  r8 D6 [
  47. Hostname=localhost% j* k, D$ N* K6 x" f
  48. User_name=testuser% q& A2 ^, l: j: r5 r
  49. Password=my_password
    7 t1 Q; W% C! D3 a, M/ ?" G: |$ V5 @9 W- U
  50. GetDriverFunc=getSQLDriverMYSQL
    ; m" B$ }1 k6 V% u$ R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ z. P6 R* y+ d1 L8 ^, X
  52. LibraryName=./libsqlmy.so
    % u6 I8 s" F6 d
  53. Active=1
      l* W: ]; d3 ?% z. H
  54. ---example---
    6 E- w7 J% m, _1 R: {& @* i* B/ e
  55. . w* ]+ p  h8 S4 e
  56. On a windows box, also running the MySQL server locally, it would be:( H7 v# t) {7 C" M$ a; |& G8 o/ x
  57. ---example---8 Q7 j9 m. t! S  O* [6 s7 ?6 i1 `2 |
  58. [DBEXPRESS]4 T' X2 J4 U, x7 F6 ^0 A
  59. sqldir=mysql_sql9 M5 u: \- N: x# r) c6 Q
  60. Drivername=mysql
    ! \( }# \- I7 ]
  61. Database=test
    : f6 c* j7 M' U. u& q
  62. Hostname=127.0.0.1& I' Q# c( h0 m9 g2 x- ~
  63. User_name=testuser1 a  _! Q3 e2 F+ \# M, g0 a
  64. Password=my_password
    : g" t6 q6 O' `$ _$ V
  65. GetDriverFunc=getSQLDriverMYSQL- N4 l. v" o" y) g# m$ o# [+ {
  66. VendorLib=libmysql.dll
    # C; e* E' {  ^$ D5 G6 \
  67. LibraryName=dbexpmysql.dll. U4 g/ y1 [* K, F
  68. Active=1$ R  H5 O1 \8 W* M) P4 C' D
  69. ---example----
    + V8 V" x2 i: ~! e/ V$ l- x2 N
  70. - written 02.03.04 by pwk.linuxfan1 y1 |( X" X% j, e* I- K7 W

  71. * B! s4 Y9 J  Y( U6 _/ T& u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 {' M6 Z6 \$ r5 \
  1. , q+ l, D$ a6 o6 S; K+ v" @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 J3 t$ I) _0 w# M! R! N% T
  3. 0 E  P& Y) ^- f) @: d# _) E! H
  4. # # #我们所需要# # # : ^* W# _0 o5 ]6 K6 ?$ [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. k0 b2 i+ f3 @7 u8 ^' W" H: P( Q
  6. 不会解释如何做到这一点-也有文件存在,为# j% w' G- t* P, t- ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% e+ N% Q3 J" t" b" X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 B) O$ ~$ F  h8 f  b8 O$ T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 Y4 y' U. f" _- i6 {
  10. 本地机器,这是我的MySQL安装。
    / P4 b' V" a) R$ N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . i& i; Q1 ^2 U( G  s' f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! M. N7 N: N$ q7 P9 j
  13. 数据库。
    , s3 A; \+ e; @' j) B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ [5 t+ q, Z- X+ J" F* s, l; C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      m7 @! y7 z* v+ M4 U) X- [- \" V
  16. 在teamspeak论坛,如果你有兴趣。 4 W  E  @  \( D" Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& W' k1 e8 g5 m8 }; F
  18. Borland公司使用。这个司机只能界面与客户端库
    & n2 {9 T: t0 v9 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. v2 y2 k) l, [  i- C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 A, T) F, X9 @1 E5 S
  21. " vendorlib " ,并解数据库连接。
    % n. b- r+ l/ v% q4 i  _$ @3 p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 @  [, `/ `; O1 y# z7 ~

  23. + D2 q9 S, Z; N6 Q2 _  H6 o8 }
  24. # # #做好工作# # # 3 d/ z! R4 M4 w  u! V3 Y- }3 r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) T: A9 N7 N9 g4 Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * H) E# u: i! o3 u8 w, I
  27. 结束: 6 A% K( C1 {5 k+ E
  28. ---削减这里--- 7 u/ {) q# w! Y' W. {
  29. [ dbexpress ] , ^# V# h7 F6 g' i0 @! v+ S
  30. sqldir = mysql_sql
    ) X- g$ Z8 V& k* C  V( R3 ~
  31. drivername = MySQL中/ p& t7 \4 s3 v2 w
  32. 数据库= your_database_name_here ) T" q- }: W2 q4 x; M- Q
  33. 主机= the_pc_the_mysql - server_is_on
    $ o5 X7 e0 q6 W- P# e! g5 u- ]! \
  34. user_name = user_name_on_the_mysql服务器
    " y) J$ R& e8 y
  35. 密码= password_to_go_with_above_user_name 5 p1 k% F3 N* A4 u2 @1 {! r# c
  36. getdriverfunc = getsqldrivermysql
    7 w2 q2 G/ [2 |) T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 W7 j0 ?$ O4 P7 o( P
  38. libraryname = path_to_libsqlmy_libary 3 L1 j  P  _7 `; v% b: Y
  39. 积极= 1
    5 v5 P/ p, W- I
  40. ---削减这里---
    + c) h0 [1 l3 d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / {' i9 V* @( ]  l( E' k0 b
  42. ---例如--- 2 H# Z( U9 t; {
  43. [ dbexpress ] ! [0 M, S( c; G  ]
  44. sqldir = mysql_sql
    , v+ S2 M0 ?2 x/ @; Q
  45. drivername = MySQL中
    / }9 {6 |# _3 a( X
  46. 数据库=测试
    5 q% p) ^6 P# j
  47. 主机=本地主机8 b1 n. Q$ a; U% J: Q2 C) y
  48. user_name = testuser
    $ p$ I/ k. r6 h  J
  49. 密码= my_password ) u- U3 b. a5 n) N/ c, L  ^6 H. V
  50. getdriverfunc = getsqldrivermysql
    3 L# J# E+ O  Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; R: r# n( Y8 v- j9 K
  52. libraryname =. / libsqlmy.so
    2 X+ Z9 |* K# ^- @- [& c! ]
  53. 积极= 1
    ' {  l' Q8 x4 e: K& |0 S
  54. ---例如---
    ( U0 @. z/ c6 L& p% X
  55. ( |) |' d) a* i' ~1 e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 b+ X6 u& l, `  S, T( d
  57. ---例如--- ' D- @. t- r4 W- N6 z$ @
  58. [ dbexpress ]
    ( ]3 r! @; M& K- w* \
  59. sqldir = mysql_sql 6 n2 [! c' Z0 }
  60. drivername = MySQL中: v8 N2 x/ X4 Z. _4 ~5 F
  61. 数据库=测试7 I/ x: R* ^' ^# ^5 p8 ^1 P
  62. 主机= 127.0.0.1
    6 \$ y; R6 M' p# J
  63. user_name = testuser , Y/ V8 ?2 w  c/ t- P
  64. 密码= my_password ; C! X5 D3 G4 n/ d% o/ k
  65. getdriverfunc = getsqldrivermysql : I/ k0 Y/ W/ A9 p4 g% a
  66. vendorlib = libmysql.dll在- T- K* `+ n6 B( Y; G
  67. libraryname = dbexpmysql.dll
    . d5 {6 q" g/ |: ]5 }
  68. 积极= 1 9 A+ b5 a; w0 H& Z
  69. ---例如---- - i7 M2 u( x. d1 F8 |
  70. -写在0 2.03.04由p wk.linuxfan
    , e1 j: s  C8 l" H& @: L8 T
复制代码
发表于 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
9 j* s( e! x" I0 j4 a9 G
, v" [5 W& J$ a4 ?0 Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-22 12:40 , Processed in 0.055768 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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