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

3177 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: R+ D; @) B0 }) E+ M0 U0 [* p- X6 @* Q: g$ H
  1. . [& c7 k) b$ `+ ]. I1 \: w# N- e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( }! |& z3 p- i  U
  3. 9 V7 K- w7 N- Y9 y' w
  4. ### What we need ###
    8 I! b0 d3 A$ h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 ^3 N6 w" `6 B( N. e
  6. will not explain how this can be done - there are documents out there for the * X. n0 A- u5 M/ F8 D* L8 I3 O5 V
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 w2 l. `/ I$ \( A
  8. and a user account (username + password) that has the permissions to do stuff
    - Q0 |6 B2 M4 x7 i, g5 p
  9. with the database. Additionally, you will need a vendor library installed on the
    ; F% `' p1 G% ~7 F
  10. local machine, this came with my MySQL install.
    & E3 q9 n1 O7 R" J/ T
  11. These instructions will not tell you how you might transfer your data from the
    . e  ]! \: D8 t( {1 @3 q8 {2 H) N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . c' U; Y6 `+ y6 ~6 s  t
  13. database.
    1 l, a* `( N! t( A. A7 n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; G6 Z$ G) ?. |& i4 T  w
  15. the time of writing, there are still too many issues - check the current status
    4 Q( t7 A- s: m6 l% n; S9 a
  16. in the TeamSpeak forums if you are interested.# T# I; t' X' O% }' L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 r- Y0 ?; f0 g: p1 d2 q
  18. Borland was used. This driver can only interface with the client library that
    ' B' p6 R& j3 I% Z9 c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! Y1 d7 i, L& I, l6 s
  20. client library - basically all you have to do is to use a 3.x client library as 2 }$ ~: i2 C+ V" b) ~, L  s
  21. "VendorLib" and a 4.x database to connect to., b2 X4 g: Q, L7 N4 }& w% I
  22. If you need more info about dbExpress, you can contact Borland.
    ' J; `  h& o8 P& `7 i: I
  23. : t2 C: S% [5 e* u. D9 @
  24. ### Doing the work ###
    ' ]$ ]1 O; M$ s) L' d- A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 x8 q  [8 k2 Z
  26. the perquisites right, just open your server.ini file, and add this section at5 p; Q" L( g$ v
  27. the end:& q8 N- X/ d2 {9 w: b" I
  28. ---cut here---
    & u" X. b1 P/ s1 M2 Q1 A; S
  29. [DBEXPRESS]2 }3 F5 l4 \6 z6 L; ~3 I
  30. sqldir=mysql_sql
    : i% l5 c1 _: x5 \( l) q" D
  31. Drivername=mysql
    ) @  u; a% N6 A0 l
  32. Database=Your_Database_Name_Here
    : s/ R3 n% R6 U9 k( k2 ]8 K
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! x- ?  K7 S3 E" h- g4 G  t7 C( O! z
  34. User_name=User_name_on_the_MySQL-Server
    , `8 @+ v! L3 O1 y3 e& ]& W+ l
  35. Password=Password_to_go_with_above_user_name' T9 o7 [  Y/ s
  36. GetDriverFunc=getSQLDriverMYSQL
    & K0 h( A# ?) D7 V' R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: k+ o/ A6 `  y+ r
  38. LibraryName=path_to_libsqlmy_libary
    ' q$ e# m7 @6 b
  39. Active=1* _; ]) j/ P7 G( t
  40. ---cut here---
    - w0 j4 I4 Z4 R6 e1 h
  41. In my environment (a linux box with a MySQL server running locally) I have:5 \7 {5 R1 r6 e* ?: `8 m! [9 O
  42. ---example---
    + F" U$ t) }" g# t& h, Q. n3 d
  43. [DBEXPRESS]
    9 [) z! B' B; l
  44. sqldir=mysql_sql- w+ J. K$ v9 Z& A8 u6 {2 {
  45. Drivername=mysql
    ) z  I) G" O9 r4 s7 G2 ], w
  46. Database=test$ _; u- p0 b+ P7 A* t  _
  47. Hostname=localhost! K% o+ C* Q$ M1 c, Y
  48. User_name=testuser
    7 H$ t$ ^  R5 y9 g
  49. Password=my_password! B9 k+ ?) F) O8 H+ K# o
  50. GetDriverFunc=getSQLDriverMYSQL$ J1 `5 d3 \% t, @3 }8 X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( j, t: ^2 t- w8 H9 c! k6 z
  52. LibraryName=./libsqlmy.so) @2 E' [# d2 r1 ]8 k0 b
  53. Active=1
    2 o$ X2 R9 C, t; c, y& n
  54. ---example---
    ! P8 A, R0 h# z

  55. 2 ^: S$ @: k$ j+ d) X2 Z
  56. On a windows box, also running the MySQL server locally, it would be:4 f% N7 {, ^8 E8 w6 F, `2 j4 c
  57. ---example---6 J! w7 k) ?# K
  58. [DBEXPRESS]& B2 U, @- O1 r7 ]: g$ z$ J& C
  59. sqldir=mysql_sql# @; @5 E+ c+ c( m4 f9 Y. X! j
  60. Drivername=mysql
    . p% O1 D' e" {# O& ~% z! t( t) c+ p
  61. Database=test% r7 v" [7 V- r, e  e; ~
  62. Hostname=127.0.0.1
    , A3 b( l" s2 H3 K
  63. User_name=testuser
    4 X' f! |2 \. S$ x; T  R, A
  64. Password=my_password+ A+ ?- t- |  p/ t6 R8 {" S
  65. GetDriverFunc=getSQLDriverMYSQL; ^5 o6 q4 E& J! p
  66. VendorLib=libmysql.dll+ c5 ^1 ~& b0 G6 P3 P& s% H/ ?
  67. LibraryName=dbexpmysql.dll
    ( b2 n  g1 p. ]/ p- |# {
  68. Active=1; g0 H: d+ Y4 s" @% E7 d) ]. l& M
  69. ---example----' q; J, q! e" |  B
  70. - written 02.03.04 by pwk.linuxfan" P" B4 p4 ?$ v5 y9 ~; V4 Q

  71. % Z( d6 E( H: ?+ D9 Q; [  h- ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 U+ ]3 i5 b# ?3 V# V% G' |

  1. , V; h! E- i5 z0 f# ]* M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! S! Y3 R0 s, {
  3.   @: S% r/ I: K) v
  4. # # #我们所需要# # # ) a2 B2 h. ]! U" v( F; C7 \) X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 b7 ~8 c& z! d  k  \, C
  6. 不会解释如何做到这一点-也有文件存在,为
    - T8 D6 z( _: s  D, J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! C1 X* V4 ~  V  V7 a" _/ b  c/ `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) t) Y) F1 E  d$ i  R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 A* p( L  Z' A+ t
  10. 本地机器,这是我的MySQL安装。 ) u0 d: e# b% Y1 g* X- K6 `, f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* U' d7 F: m8 X. R4 h- M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * q$ z2 [  H! }6 x* x) H& |3 O
  13. 数据库。
      g7 [( v/ y; h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 R5 U" p0 b5 ?+ B6 V
  15. 编写本报告的时候,仍然有太多的问题-检查现状( n& A4 M& v( t- {& I
  16. 在teamspeak论坛,如果你有兴趣。
    ' l% l" ]& `. D/ @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# s" [' f3 A6 S$ P; S
  18. Borland公司使用。这个司机只能界面与客户端库, v, m4 z! D: T5 H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : D. }: p9 v% B" x# t8 G; p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' {; Q$ d5 m! R1 [( Y5 a
  21. " vendorlib " ,并解数据库连接。
    $ w1 v+ ?4 a5 t7 d2 [: U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 w# L5 R1 a: A% R

  23. 0 Z6 O7 @5 g$ y* B
  24. # # #做好工作# # # $ y/ i3 w6 J" x7 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 r2 x( J2 A* ]! K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & {, o; M$ w) u' _0 Q- x6 `/ g0 x
  27. 结束:
    3 }  N$ L8 B9 _% v9 m, m
  28. ---削减这里---
    % M6 z0 c+ N& u" J2 n
  29. [ dbexpress ] 0 |! x' H8 l) i) M2 I. w1 z
  30. sqldir = mysql_sql 5 _2 J- Y( r2 n1 F3 I! F+ e
  31. drivername = MySQL中
    . x9 u+ [' [. n. Q* C" e5 i* x
  32. 数据库= your_database_name_here 0 n) `- \9 }. E$ A; D
  33. 主机= the_pc_the_mysql - server_is_on
    + |6 L0 i8 [5 f% ~  l2 F. a
  34. user_name = user_name_on_the_mysql服务器. a! b* s$ Z" g. I& F& F
  35. 密码= password_to_go_with_above_user_name 5 {$ j9 L/ W" d' a0 E# @) `3 F+ b+ N
  36. getdriverfunc = getsqldrivermysql $ C- E$ E: z/ p( D6 c- }5 ?- y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 W1 s1 D6 A/ F& m& u; F
  38. libraryname = path_to_libsqlmy_libary 9 `- z0 R+ V% b# x9 x  V0 s4 u: Q3 Q
  39. 积极= 1
    + w) Z1 C3 w8 ~; O" A. k
  40. ---削减这里--- 0 o! c& d- ~, B( L0 v/ u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; M/ n; S5 O. z3 d; i5 M( {, Q; j
  42. ---例如---
    : F5 l1 l2 \& ~2 k1 r! Z0 x, R: w- Q
  43. [ dbexpress ]
    ! r( f& G3 R$ w1 Z9 J
  44. sqldir = mysql_sql % i2 t5 T) P. K& B3 y. W% N
  45. drivername = MySQL中% M$ N* g' Q5 P  P% F! @
  46. 数据库=测试
    , J$ v9 m& a0 N2 q2 Z# H
  47. 主机=本地主机3 ^* i% E) _7 d! Z+ o- ~
  48. user_name = testuser - `% I. X. d+ A# t  o
  49. 密码= my_password ; [3 K; k0 k! R! M5 t/ q" Z
  50. getdriverfunc = getsqldrivermysql 5 x8 i" I6 J) J/ p% z% P1 o7 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & Q8 N2 i: X5 a1 b' Y
  52. libraryname =. / libsqlmy.so * z6 ]" F. Q! V1 L: D; N
  53. 积极= 1 ( d* z8 s7 e  m2 S) d7 E
  54. ---例如--- ; {$ l, q7 r# ?8 g7 x

  55. 4 t) U: [2 H  }( x6 X+ L
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 N& l& V1 Q1 u: B0 R, P" T
  57. ---例如---
      H$ s3 c1 _3 x& G0 @
  58. [ dbexpress ] . L8 J* ^. {/ ?6 P, Y. r
  59. sqldir = mysql_sql 3 |. j" Z* T, f7 W+ B
  60. drivername = MySQL中
    ( \5 E  B% |7 I) O, I
  61. 数据库=测试
    , F3 _8 t9 y5 F5 P* F, }5 t
  62. 主机= 127.0.0.1 & X- e# f* Z8 f+ n) V! `6 c8 s
  63. user_name = testuser
    * N6 l  f7 v  u" v+ }) g) d
  64. 密码= my_password
    $ m' W/ O4 H/ x0 T/ [4 O
  65. getdriverfunc = getsqldrivermysql . v) r+ J9 o% w$ _
  66. vendorlib = libmysql.dll在
    . O& a. U9 E" }
  67. libraryname = dbexpmysql.dll - C) Z+ Y; f& `& _/ @: s
  68. 积极= 1 # E4 V1 S9 I0 L% D/ `- f- }% \
  69. ---例如---- ! O8 p2 M8 a5 o
  70. -写在0 2.03.04由p wk.linuxfan
    4 K& z& H1 o" ?: C/ A/ ~6 |4 \
复制代码
发表于 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
" P- i. c) ?4 z( j- o/ J) ]
" l: y  U5 C" C: A) W" nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-17 01:25 , Processed in 0.111580 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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