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

2572 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : t8 C+ p5 o3 h: f
2 x. P- n. C, r/ Q& s" g, |( Q, v
  1.   O7 J9 i( M0 c& h; c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. k) P  r( A& d: p4 Z9 i

  3. / ?3 y, K( c, f# o# o
  4. ### What we need ###- A: Y8 U6 P% i; H
  5. Naturally, we will need a MySQL server to store the data for us, this document , ]5 \8 g. g/ E$ h* A( ^0 w  e  \, k
  6. will not explain how this can be done - there are documents out there for the
    - B' m3 ]& c! V) N
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 w( n4 F7 m) U2 A- P
  8. and a user account (username + password) that has the permissions to do stuff
    7 E$ Z: J1 G+ l) Y# G9 j% ]. E
  9. with the database. Additionally, you will need a vendor library installed on the
    . ^# ^7 F5 A3 s# f( r- N
  10. local machine, this came with my MySQL install.
    9 a" N, S! {" ^+ v% o8 x
  11. These instructions will not tell you how you might transfer your data from the
    6 t' L  B, ]0 f  @+ G: n( J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- E1 d  O6 n# X" S* U
  13. database.; B5 ~" f, o6 `5 `  R9 `1 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at( t0 f+ G1 v; ?  Z
  15. the time of writing, there are still too many issues - check the current status' z9 Y$ G& Q! y  Y, ^: k' K/ E1 K4 p
  16. in the TeamSpeak forums if you are interested.
    9 k" B6 N( A$ a. J! j$ F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: \( R' ^1 w* i" N: G5 @
  18. Borland was used. This driver can only interface with the client library that 6 \( }( R/ C/ {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' m! [, Q' T6 l/ D; \' z6 O% ^* H9 p
  20. client library - basically all you have to do is to use a 3.x client library as , @. V: m5 J  h, g% ^. w
  21. "VendorLib" and a 4.x database to connect to.
      t9 J4 ]: A$ D; d! J* V
  22. If you need more info about dbExpress, you can contact Borland.! I. Y) l" m( e( h* Q7 j. M* e7 u

  23. - L2 L5 d8 C% r8 w, F, ^
  24. ### Doing the work ###! c& P0 i5 V  a6 O" Z2 B2 F) e6 u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* X2 ^  L+ o- d6 R7 C# {
  26. the perquisites right, just open your server.ini file, and add this section at
    5 O! t9 s- u! K$ [3 t
  27. the end:  i( h" B% M, c
  28. ---cut here---
    3 L; n6 ]8 P  k- {1 V) K
  29. [DBEXPRESS], a2 u8 Y, A% X3 [* M% k
  30. sqldir=mysql_sql
    2 q4 F' z# F2 |" ]  [- V
  31. Drivername=mysql
    6 I% I& n2 y& i  o9 U8 M# V
  32. Database=Your_Database_Name_Here
    5 Y2 ?) B" Z0 |  z: ^5 _2 `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . t! Q, R( b( M1 P
  34. User_name=User_name_on_the_MySQL-Server$ r# @# B6 i; z  s  `
  35. Password=Password_to_go_with_above_user_name
    ( _1 h# q. y4 D& n. A/ R! |
  36. GetDriverFunc=getSQLDriverMYSQL
    ! W' O; k5 T6 X3 L0 W( H* G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 j/ m, [1 H8 o0 C6 c6 v1 x1 v0 y. x
  38. LibraryName=path_to_libsqlmy_libary% {4 b' ~8 F9 R6 r/ m- d
  39. Active=1
    " A- d. u) |- a, G( n5 C6 n0 n6 X
  40. ---cut here---
    ! ^; j; ]4 G. |( D) |0 [) \6 B
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / d- A# H3 a1 q% F& S5 a+ G
  42. ---example---
    # @* C( k  ]# F9 _8 Q+ k
  43. [DBEXPRESS]$ u( J" O* o' f8 }- z
  44. sqldir=mysql_sql
    9 A/ h/ }# O$ c
  45. Drivername=mysql9 }* X/ n) z# e! {6 D, C* }- |
  46. Database=test( [  ^) N: q( K$ `8 H* L. w
  47. Hostname=localhost
    8 I  v9 o6 J' Z  U* J
  48. User_name=testuser
    ! K+ S9 g3 H2 U$ V4 W
  49. Password=my_password$ Q5 y; e% C& k5 U6 @
  50. GetDriverFunc=getSQLDriverMYSQL  H& F& O7 U( N7 O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / {9 B7 w' E! i% O6 s
  52. LibraryName=./libsqlmy.so
    + _7 w* X! @" k! |
  53. Active=18 d7 O2 z+ U) M! _
  54. ---example---
      x+ _. K4 g, m/ q
  55. ) }2 z3 k7 U; X- w' n
  56. On a windows box, also running the MySQL server locally, it would be:
    : y8 K* J+ H# a6 t
  57. ---example---( J  p8 U  S6 c/ w6 }4 J
  58. [DBEXPRESS]
    8 X9 Z3 w; L* N1 ?; O+ T1 y2 G8 X; X
  59. sqldir=mysql_sql% J5 [8 q1 D2 n' v
  60. Drivername=mysql
    % K( G4 @  _+ ^( x, D3 Z2 Y
  61. Database=test1 @- w! ?$ w" C3 A
  62. Hostname=127.0.0.1; C0 g9 Z3 l5 G7 p( i  A
  63. User_name=testuser# ]/ g( J# x1 V: B( f
  64. Password=my_password
    3 D# ^2 }; A1 {- L
  65. GetDriverFunc=getSQLDriverMYSQL
    4 X# q! L7 b4 p, q7 j
  66. VendorLib=libmysql.dll
    * {0 V+ ^0 Y! [3 u$ j6 m4 o3 R
  67. LibraryName=dbexpmysql.dll
    / v% R  u1 B$ `6 S9 u0 x
  68. Active=1
    & ~6 n! H, m% [. A( F
  69. ---example----) B$ e. P. v& o4 d) i% C/ p
  70. - written 02.03.04 by pwk.linuxfan
    ' ~$ |3 O8 E. t. Y3 S
  71. 0 P, j9 G6 d1 s" e6 p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# u0 }6 r1 `8 f$ l
  1. ; p  [8 P- ]$ c" S9 d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % o1 X# X+ d* \8 M: u
  3. & M- w* N! w; l, t- ]( w4 F. j
  4. # # #我们所需要# # # 8 w0 b  \5 X6 @+ O, K* l  N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 A, H0 G3 f& `, @6 ]9 H2 I  `. Y
  6. 不会解释如何做到这一点-也有文件存在,为/ ], S! N1 K' e, b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' G. b) Z0 [  z' A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- K2 o7 X! {7 s9 Z9 ?& Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 A( N# E  H! {* `2 G0 _- l
  10. 本地机器,这是我的MySQL安装。 . \! \, u& C9 K0 A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 f0 i5 s/ k5 ?- D( k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - |) O9 q' H6 o' i/ L+ y9 ?
  13. 数据库。
    9 D6 y/ u# [8 R8 O4 b2 p- I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 ^( F  @. Q4 j  _9 j6 [) u  W
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ i; X  T5 i" U5 {4 q' E
  16. 在teamspeak论坛,如果你有兴趣。 % V( \  F/ b2 |! V& _) k  [/ e% i+ }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# r( x, j1 n1 b7 Q8 ?
  18. Borland公司使用。这个司机只能界面与客户端库/ n' V1 H# f8 L2 e/ z, `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 V& |! i% C& U7 Y* K3 v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 W3 f& C' }2 J3 X
  21. " vendorlib " ,并解数据库连接。 + k7 K3 N7 ]9 l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 @5 @: D1 `/ U* L1 Z7 e. l
  23. / N, @# F$ y( R. d9 S4 P3 C. q
  24. # # #做好工作# # # 0 ~, T8 q! \! c( U$ V: U6 \# m0 |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 o- [2 K' `, I( o- m4 {! \. M3 {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' l' t0 W; ]$ z) v) R# \8 P8 h  g5 A
  27. 结束:
    * L" i' ]2 P0 v( b
  28. ---削减这里---
    , `; j' B* J' G: J1 F
  29. [ dbexpress ]
    ( U; j2 O: G5 L  X
  30. sqldir = mysql_sql
    2 ]% B: k: j# Y, D* [
  31. drivername = MySQL中
    7 _  ^: A+ a0 M/ H& }/ P
  32. 数据库= your_database_name_here 6 ^2 s: ^) {6 V2 s) i' a6 Q7 y
  33. 主机= the_pc_the_mysql - server_is_on
    ' K9 |0 X, [, X  i
  34. user_name = user_name_on_the_mysql服务器$ \( `: S1 w; L. k+ ~3 p
  35. 密码= password_to_go_with_above_user_name 9 G0 Z' n2 X( P3 x: X
  36. getdriverfunc = getsqldrivermysql ' \) C% S* U+ R& u' p; [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 y; |, n; Y( I8 C
  38. libraryname = path_to_libsqlmy_libary 9 _' `: v! \, O' p9 B
  39. 积极= 1
    ! {0 [% x1 ~% y; g
  40. ---削减这里---
    6 V/ S5 \' [/ \4 \' b3 `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 C6 s9 B, R9 o- n) V
  42. ---例如--- ; T$ d0 A  p8 Y2 S- p; U4 c' H
  43. [ dbexpress ]
    4 p9 m, l+ v* L" }+ b
  44. sqldir = mysql_sql
    " Y( z9 n) h( ]' i$ A( H
  45. drivername = MySQL中, u4 g( u. G, w! M( u" r+ O2 N! U
  46. 数据库=测试4 i. w1 B4 e8 @; M
  47. 主机=本地主机( s$ r! K3 t+ H/ j4 f8 s8 w. D
  48. user_name = testuser : a! m. O9 k; _( v' w
  49. 密码= my_password ! n$ j' _% F; X- g3 w) u8 q; B
  50. getdriverfunc = getsqldrivermysql
    ! S2 R6 V, ^  b- s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 D1 I' w# G7 w) {
  52. libraryname =. / libsqlmy.so
    2 Y% s% L4 w0 i
  53. 积极= 1
    3 o2 U, p& E0 @+ e/ h+ X
  54. ---例如---
    1 s! v! s* [& x

  55. % |: w+ c0 w- X* T, e0 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 k9 H1 i* D8 x3 Q) B) a
  57. ---例如---
    1 o# H4 l2 O* W
  58. [ dbexpress ]
    . O) [! @2 _+ k. r0 \+ g
  59. sqldir = mysql_sql
    : `- g! T! [0 F  D0 d# q- ]3 A1 \
  60. drivername = MySQL中
    - X/ q/ h6 b1 s/ }
  61. 数据库=测试! j5 E$ N1 G- ~. ?; G2 z
  62. 主机= 127.0.0.1 * Z8 D$ ?5 K" y2 q! b2 X- d
  63. user_name = testuser $ |, g  ]* J/ q' Q& z. V' a
  64. 密码= my_password
    + @+ U; w. \* F6 l
  65. getdriverfunc = getsqldrivermysql
    9 L: _8 k3 H6 _. ^; V3 x% w
  66. vendorlib = libmysql.dll在$ e! V9 ]4 U4 l8 d$ g1 Q7 F4 `
  67. libraryname = dbexpmysql.dll
    2 i$ N. Y: R  P5 k( S! Z" Z+ ^
  68. 积极= 1
    ; S# U3 S/ i( q; {1 ?
  69. ---例如----
    5 z. E# v- H$ Q2 Y4 B8 ^
  70. -写在0 2.03.04由p wk.linuxfan
    8 {- i" l& c: I8 C  o& g: P
复制代码
发表于 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+ v: O' `+ g, r1 i0 s) E

+ z1 V1 `, U" h# ?. o9 u/ T& |' ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-2 01:27 , Processed in 0.105702 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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