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

3569 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. ?; [" ?" ]! e$ s+ u5 R
% K# Z& q. G" H/ A

  1. , `3 _: O* G) A, ]. e$ j$ x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 B# T4 t1 k9 L0 [4 C9 s
  3. 0 `/ u6 }9 H) I9 d8 s
  4. ### What we need ###  b: H! g3 j; A0 C& j  R: n) Y3 W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , D, g4 ~2 z2 B3 K# V) I4 m
  6. will not explain how this can be done - there are documents out there for the
    , S# w) W! y0 U6 d% T9 t. S  t
  7. interested. The requirements include a (empty) database for TeamSpeak to use. K" Y0 t; B! B) G* r& M* ]" \
  8. and a user account (username + password) that has the permissions to do stuff3 S( i% ~+ Q$ L/ S
  9. with the database. Additionally, you will need a vendor library installed on the. \8 V$ I- ?7 z' X9 F
  10. local machine, this came with my MySQL install.
    4 Q, G2 v. @  ?- h
  11. These instructions will not tell you how you might transfer your data from the3 n7 M) X/ j' ?) L/ u# f# Q( N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # n5 S9 c9 q& \; ^) a: {2 q& T
  13. database." D* ], z: E9 R* m! n6 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at# C! ]5 L4 h0 l9 s8 i
  15. the time of writing, there are still too many issues - check the current status$ Q; K3 u1 ~0 }" ^- C! G; E
  16. in the TeamSpeak forums if you are interested.
    & f$ d2 f9 |8 J# D& ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " T# r2 Y" ?9 x  Q6 D
  18. Borland was used. This driver can only interface with the client library that
    4 C5 H# y4 D/ p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 I5 H/ ]  Y8 J/ D3 e' F7 d
  20. client library - basically all you have to do is to use a 3.x client library as
    & N9 K9 L' b1 k- t0 D# c) W5 X2 a
  21. "VendorLib" and a 4.x database to connect to.
    + f. D6 k" J) P
  22. If you need more info about dbExpress, you can contact Borland.7 Z* T. I1 y" U- a* E9 d. Z$ p

  23. + a$ I% X: J# u& d5 F! h
  24. ### Doing the work ###
    6 G) V2 P+ ^& r% A" S* v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 b+ w7 B! Y) C/ b4 S
  26. the perquisites right, just open your server.ini file, and add this section at8 r4 N9 o$ b  y/ p
  27. the end:
    " S6 k8 x% K8 q
  28. ---cut here---
    4 m9 \) N7 R) F
  29. [DBEXPRESS]
    1 t1 h5 D! v& g( f6 c7 ]
  30. sqldir=mysql_sql
    / ~# Z6 e' R5 n* i9 A7 X) Q
  31. Drivername=mysql, U# Q- w" x& B: Z5 o  g+ }
  32. Database=Your_Database_Name_Here
    ) ~  u( X9 Q8 x( `- A5 c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " O3 R3 {' x5 d- K0 ~
  34. User_name=User_name_on_the_MySQL-Server
    7 C6 m1 c2 {1 a
  35. Password=Password_to_go_with_above_user_name2 M0 M. Q7 N& `& D, L% N8 {
  36. GetDriverFunc=getSQLDriverMYSQL
    ( h9 z3 F; Q( w4 x3 U3 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 @# x: [6 U$ ]; W' M. A
  38. LibraryName=path_to_libsqlmy_libary
    9 c, Q0 C* ]6 z7 z! b; [, _
  39. Active=1
    3 R. e1 q$ @& [& u: U
  40. ---cut here---
    8 k5 a$ J- v. q1 s) Z# s& U
  41. In my environment (a linux box with a MySQL server running locally) I have:1 i) v$ e- ]" D% Y5 j
  42. ---example---
    3 T& \, G4 N! Z- O
  43. [DBEXPRESS]
    + A9 x6 I9 u- v! ~! R2 j
  44. sqldir=mysql_sql
      U' ], g! f9 y/ ]
  45. Drivername=mysql% H- A5 \8 M! s; M% U
  46. Database=test
      r% o& ~1 e9 q- ~+ C7 c- M7 |
  47. Hostname=localhost# K5 H" u# A0 X/ b0 |7 U
  48. User_name=testuser
    ; p! e) F0 o. D1 M& k
  49. Password=my_password
    2 F& s/ R. @# Y9 B% }# h
  50. GetDriverFunc=getSQLDriverMYSQL
    4 i, r: |- h% D- L5 N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 q0 x+ N) V" s; ^
  52. LibraryName=./libsqlmy.so
    6 L. {' O" P' z  x7 o/ H
  53. Active=1
    / v% A" U2 G. y. {1 ^8 b! z
  54. ---example---; O. ^0 l3 r" V$ i

  55. + _" V1 ?1 r6 W4 f, v* i# _! h
  56. On a windows box, also running the MySQL server locally, it would be:( I& Z+ [1 N* }; n' D! Y
  57. ---example---
    ) d/ R+ q: n+ I  Y; ]# r. z
  58. [DBEXPRESS]
    * A, e, F, C/ G/ o% H) ]3 q
  59. sqldir=mysql_sql
      H3 S( A+ c: N( T& S  [
  60. Drivername=mysql
    7 J  H0 i" A, C9 D/ L
  61. Database=test
    6 x0 [# ^4 D9 ^
  62. Hostname=127.0.0.1
    3 b2 l: h" C* N' C+ M9 q
  63. User_name=testuser- c& `% I) d8 x9 L
  64. Password=my_password! _; z$ n* u- k2 Y
  65. GetDriverFunc=getSQLDriverMYSQL9 ]7 l* s$ ?4 D9 x1 B3 Y
  66. VendorLib=libmysql.dll
    + q3 H7 [+ P# ?9 e$ h. N2 t# f
  67. LibraryName=dbexpmysql.dll( y% V' S+ `- z0 {) n( a5 u$ f5 v- y4 m
  68. Active=1
    ) I5 [: r, ], Z0 J4 h+ H1 i4 p
  69. ---example----
    ! V6 D2 f) |0 M  i7 `
  70. - written 02.03.04 by pwk.linuxfan
    1 L- g: O2 K0 N$ ^

  71. % h9 E4 @: c7 O3 ], K" ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" T) J2 S. u2 O- B

  1. 3 P4 j5 z4 y# }* v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : ~( ~+ P. C. q! G+ v/ K

  3. 1 q! b/ G7 q4 K4 C  b
  4. # # #我们所需要# # #
    ; O' Y8 {! n5 X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - e  S& A2 G( w0 W6 H# t
  6. 不会解释如何做到这一点-也有文件存在,为
    4 x% D4 b' `' V# E& i$ z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. Q# ]5 m0 M. R6 |1 E- p" m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( Y9 \# `% C! @+ u; h9 S+ Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      u2 }- a9 k8 W7 W- b+ z
  10. 本地机器,这是我的MySQL安装。
    ! @8 S% \+ F: D2 M  C1 ?7 a% ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) [4 u' h: i: X6 o1 L3 {9 }5 Q. ^+ Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , C; M+ h9 ^1 S& W+ ^( u; R! i
  13. 数据库。
    ' X/ e! R% {) U, S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 `+ Q$ _9 c' Q( m: ^) O8 g9 `! ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) }6 O, s9 ~! Q$ L8 T/ [0 `! v
  16. 在teamspeak论坛,如果你有兴趣。
    ' b, P+ C! i0 Q6 f0 d) q& r2 W# W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & Q5 q3 b* y4 q7 a& ~: C
  18. Borland公司使用。这个司机只能界面与客户端库
    % B% |7 Q' r6 e" s! x, j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; c# A3 N4 e, `" i( H8 C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , M0 d. J1 \  Z$ k" e
  21. " vendorlib " ,并解数据库连接。   b' S3 E- R3 c, k1 Z# f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( a+ \+ S7 ^$ B. L; _/ R
  23. ) u5 \7 E: Q% [) m
  24. # # #做好工作# # #
    ; K3 ?" c5 P9 H1 R1 C: E: {7 g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 M, Y& x  H1 n7 v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - p& q* r; ]* F9 k( d
  27. 结束:
      c) b/ f8 @& t. r* Q1 S0 |
  28. ---削减这里--- % a1 \. R# i, q4 V, \! L
  29. [ dbexpress ]
    . P$ z  q; H9 Y$ Y- v9 o' n& w0 ]$ L
  30. sqldir = mysql_sql ! x) q- }5 o  C* {1 Q( j
  31. drivername = MySQL中
    4 A1 {4 V: Q9 i, R. y
  32. 数据库= your_database_name_here 9 n: ~( \- B- E' T3 O6 D
  33. 主机= the_pc_the_mysql - server_is_on / `/ q$ |( d- O4 X, S, o$ f9 ^
  34. user_name = user_name_on_the_mysql服务器8 i: Q6 O. ?  a! q; d
  35. 密码= password_to_go_with_above_user_name
    : l" q: e& A7 R8 Z3 ~
  36. getdriverfunc = getsqldrivermysql
    ! p! j0 j' a- B' i/ N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : I# Y' h+ Z2 O3 \# p
  38. libraryname = path_to_libsqlmy_libary 6 D5 d" h& ^) q/ Y# r' d& e
  39. 积极= 1
    4 N) j0 Z  K7 H. z% U8 d7 D( B7 B1 W
  40. ---削减这里---
    6 V7 K* l$ Y# m7 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      g0 s4 J6 G5 B' M( ~
  42. ---例如--- / j1 x, |/ x2 Q9 ?4 D0 m
  43. [ dbexpress ]
    # o5 q" _. u& @5 L
  44. sqldir = mysql_sql 3 {1 _( d/ |9 \9 r/ V
  45. drivername = MySQL中2 l; d1 L8 E. D7 f
  46. 数据库=测试7 y6 G! f) P5 o8 o* q
  47. 主机=本地主机$ a1 e! T  E5 ~( h* o( m
  48. user_name = testuser
    - d! {& `, c) I' q+ O
  49. 密码= my_password - ~3 E, r  {9 I5 a
  50. getdriverfunc = getsqldrivermysql
    % |6 Q) V/ X; ]) \4 Q1 u! l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 q) m4 q+ B+ L, J
  52. libraryname =. / libsqlmy.so 9 `  P; _- R: \, @
  53. 积极= 1
    ( P) Y9 v* O8 i; n
  54. ---例如--- + E8 y5 `7 ]+ X9 f
  55. - r- |2 M, ?7 ]2 V0 K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 Z4 K: J8 D; n: P0 ~3 u
  57. ---例如--- % z# I$ h, i$ n) Y' f, n+ g' Y
  58. [ dbexpress ] # P5 _9 H' J* f9 {; P9 f: \5 f
  59. sqldir = mysql_sql 6 C" W. B- x& M' b5 Y; Z
  60. drivername = MySQL中
    $ m: G) Y) m0 B# m0 X# C
  61. 数据库=测试
    * E0 l& b* h( y1 I$ q
  62. 主机= 127.0.0.1 8 r; K/ A  W) ~) n- @8 h: D
  63. user_name = testuser 9 x7 g: u5 h# S2 `4 ^/ w5 Z0 @
  64. 密码= my_password 3 [' ^" S! [" Q  Z7 U6 Z5 \! i% s
  65. getdriverfunc = getsqldrivermysql ! b2 c$ d) W1 I( M- v& I  n
  66. vendorlib = libmysql.dll在: X6 z9 B$ @- i; e2 I
  67. libraryname = dbexpmysql.dll
    : _) v6 l5 y/ Q- x+ p1 x$ s
  68. 积极= 1 3 U6 [& n/ B! ^: @3 D# k/ e
  69. ---例如---- , `! E5 ^7 D  F# |  u  Q8 `; Y( e
  70. -写在0 2.03.04由p wk.linuxfan' x* Y  k5 X/ Y  ]3 ^' k  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
8 r4 k) r; v  J( \: }  v9 [4 [( a3 I: h9 s  I! z1 }
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-26 10:26 , Processed in 0.059145 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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