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

2708 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% {# ]6 G% b, G2 x, |! Z) a( U
4 ]# s. l9 s0 @8 l/ T
  1. 2 O5 K5 z' s( n: k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 O* [" l! K% R- L4 h" U! g
  3. . H6 e2 _3 e& d+ s  A
  4. ### What we need ###
    " `) I$ G1 l1 z1 P' }0 D7 x& m
  5. Naturally, we will need a MySQL server to store the data for us, this document # f* A# I) {" x/ ]
  6. will not explain how this can be done - there are documents out there for the / D( T* F5 c) q1 H& D! p" t
  7. interested. The requirements include a (empty) database for TeamSpeak to use% v! p3 `; @6 a& Y' y( \, @  U; t
  8. and a user account (username + password) that has the permissions to do stuff5 {, s4 i  I1 f' u. ]! r
  9. with the database. Additionally, you will need a vendor library installed on the0 @( n0 m1 _& n+ s7 k$ t7 G# t
  10. local machine, this came with my MySQL install.
    3 B2 h; C% {" `2 X
  11. These instructions will not tell you how you might transfer your data from the- x. m) R5 r& |+ ~+ w) H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ @! C! {. d* A* z8 J
  13. database.
    # j, G! C* O+ p  n* c3 |# @) ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at! W$ b3 k; r- \1 j- s2 O7 P& @" X
  15. the time of writing, there are still too many issues - check the current status6 M# _, S1 e3 A; n$ Z
  16. in the TeamSpeak forums if you are interested.: v2 v8 U9 G; L  p6 W- r$ T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& h- d0 [9 p1 J# A/ T; k0 \2 `
  18. Borland was used. This driver can only interface with the client library that
    0 U( k0 G4 j3 y7 U- \8 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 e% W# H6 x0 z. x" B( `0 w
  20. client library - basically all you have to do is to use a 3.x client library as
    ) o  x$ v5 ]6 K4 d; {( o' m
  21. "VendorLib" and a 4.x database to connect to.0 U( }+ E0 Y# f1 Q' O/ J* i
  22. If you need more info about dbExpress, you can contact Borland.
    6 `* n  ^* ^! Z1 `

  23. / p- O% n7 b- ~$ n- \
  24. ### Doing the work ###/ ~4 J) F" T1 P9 j  f$ q3 M# U, ^! z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 P9 }4 P# j/ p$ g1 L
  26. the perquisites right, just open your server.ini file, and add this section at2 I4 ]; ^6 e0 x: \
  27. the end:! |" [5 o; _9 [8 ]: E
  28. ---cut here---$ n: @* j8 U) ?( I. j5 R0 }
  29. [DBEXPRESS]& H3 q; H6 }: e% A- M; {
  30. sqldir=mysql_sql3 W2 c" S! E8 L# X5 a* f* v4 t
  31. Drivername=mysql( ~/ K8 w. s- W  S
  32. Database=Your_Database_Name_Here) y/ W8 c: t9 T- _8 H0 k: _
  33. Hostname=The_PC_the_MySQL-Server_is_on' R2 ~# x: _; `+ }
  34. User_name=User_name_on_the_MySQL-Server
    3 y8 |" a4 [" B( i5 [& R! V
  35. Password=Password_to_go_with_above_user_name- H1 n# H, V. h7 C+ e
  36. GetDriverFunc=getSQLDriverMYSQL% d# K9 e+ J+ ^; V- H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! K8 ]) T% A. w) Q3 M& \. W/ J
  38. LibraryName=path_to_libsqlmy_libary; |' ^9 ?8 B$ X0 J1 b! _
  39. Active=1; f+ }; S" O8 N
  40. ---cut here---
    , J9 U' h0 B2 [( H7 q1 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ N! X, A3 i( b" N+ u
  42. ---example---* l0 z3 f8 X& y0 j. ?# Y* @
  43. [DBEXPRESS]
    ; |) j& K0 [9 `% C7 K# c
  44. sqldir=mysql_sql
    - k- b, l/ O  [# v  B
  45. Drivername=mysql' ]  `$ [) p/ `: \& ?
  46. Database=test
    6 H  F' T1 n% r  X% f
  47. Hostname=localhost, o: {* _6 S6 p2 N- k1 o* T9 B
  48. User_name=testuser
    $ {( ^, u. w, P7 K' _
  49. Password=my_password
    / B4 C0 B7 n4 @% D$ V: E; X2 d
  50. GetDriverFunc=getSQLDriverMYSQL
    8 G7 o: E0 [9 A. T& w4 l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : g0 M. O  E- O, K4 N5 e4 R' D
  52. LibraryName=./libsqlmy.so5 u' w) ~$ z* o! r) o7 M
  53. Active=1
    3 F1 I7 [, n5 m- y6 X& O. I5 X
  54. ---example---
    " p0 n0 r9 T- f6 H
  55. 8 L3 Y3 \6 R- U+ s! k1 u% Z
  56. On a windows box, also running the MySQL server locally, it would be:% ?5 \$ ]& S% a$ s; A+ T: k
  57. ---example---2 i+ d- v3 R  q& P/ w0 F7 f
  58. [DBEXPRESS]
    ' S1 t0 w7 a) T6 L# Y3 j. V# H
  59. sqldir=mysql_sql
    - F$ I* h& @0 v# @% \
  60. Drivername=mysql
    + f$ F5 r* }" d$ e8 ^( ]
  61. Database=test
    4 G0 K* Q0 [: |) p3 ?* @
  62. Hostname=127.0.0.1
    : k- c3 {# A/ V: b" }* `$ l% M
  63. User_name=testuser( q1 T4 }$ h9 f# V  m
  64. Password=my_password
    5 x) A4 g8 _4 ~- P
  65. GetDriverFunc=getSQLDriverMYSQL
    $ ^/ K# y, A) v
  66. VendorLib=libmysql.dll2 p% ?) X7 f+ d
  67. LibraryName=dbexpmysql.dll
    : z1 \/ [8 l1 K
  68. Active=1
    3 z8 u: E" ^9 [
  69. ---example----$ v+ N9 S' @1 I0 a" i
  70. - written 02.03.04 by pwk.linuxfan: q- ^+ F0 K* t4 Q- E- V8 `

  71. ; s& v+ r2 g# N5 P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; `) d; a5 \( J! u& O/ R
  1. 4 b% T. T0 H- o" a- J( Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' |. o. r, M8 F& P$ }2 l( l0 L* E
  3. 5 a( I, e9 H; x: u4 R
  4. # # #我们所需要# # #
    ' M+ }) P4 u/ `( q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * X, x8 s6 g: w
  6. 不会解释如何做到这一点-也有文件存在,为
    9 p* X& G3 {; V8 N/ J2 ^/ I& F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, L2 u& h  m! y5 r; R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 H6 F7 y: b) I' A- I% O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 j. O! G0 A6 O  H
  10. 本地机器,这是我的MySQL安装。 , m: Y4 c: L4 K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 g) ^. }. q( A0 q- @' ]; I. d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 q2 e. u# G  M( L8 I5 g, A2 ^
  13. 数据库。
      k* g! L$ [  u1 D, [5 \: b# k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 Q, _8 u5 `) r( ~5 M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ Z3 j7 ~9 l+ s; w' G' K2 i4 x% l
  16. 在teamspeak论坛,如果你有兴趣。
    ' }7 [9 S" ~/ `8 k- L0 K( W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + @4 N' Z" Y  R' v6 ?+ Z3 B2 y, @
  18. Borland公司使用。这个司机只能界面与客户端库
    $ L2 b! s# g2 D, {8 W! l- S% v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 I( N9 T/ g" x: u! R) H* |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ B6 p6 C. h, p, R! x6 j. ~
  21. " vendorlib " ,并解数据库连接。
    " u( |+ U6 R; V, @8 B) T( _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   P+ g7 ^5 S3 K# g3 A
  23. % @4 Y. V8 j5 B6 k( O! `; C
  24. # # #做好工作# # #
    ) ~4 n9 G. ^3 _: q2 [* h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. h+ S" ~. k$ ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 E5 v- W+ H0 T4 v
  27. 结束:
    3 Y5 U: p  L' y; x8 c
  28. ---削减这里--- ( o1 e  b0 R9 ]6 C+ @5 ]
  29. [ dbexpress ]
    4 o( w+ m6 C# L$ @1 k
  30. sqldir = mysql_sql
    + q% R" U4 d  d$ O# c! Y% c
  31. drivername = MySQL中0 A: [' N. ~3 R+ z! B0 k
  32. 数据库= your_database_name_here
    8 B: h: ^/ a# C: S4 A
  33. 主机= the_pc_the_mysql - server_is_on ) x1 H5 k: v0 A- |
  34. user_name = user_name_on_the_mysql服务器2 \, Y% B6 ~  a
  35. 密码= password_to_go_with_above_user_name % r* X+ P! o9 S5 _( i( N
  36. getdriverfunc = getsqldrivermysql
    / f# v; i) c! G3 Z  S( j) x( R# h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 G) L8 V% X1 m7 ^. A+ p# m) ?
  38. libraryname = path_to_libsqlmy_libary
    . U! i- O% y. W: r* z7 `4 Y
  39. 积极= 1
    0 p( ?# E0 {$ ^- f; V! p3 p. ~7 s& i
  40. ---削减这里---
    # I) O1 i$ n# e; R* \9 ?# r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & U& Z1 S: C" ^
  42. ---例如--- : c3 z: y) B* X
  43. [ dbexpress ] 7 u3 I+ b) O3 g* Q+ [
  44. sqldir = mysql_sql 5 S/ f: N. t" @
  45. drivername = MySQL中, m$ t6 H& v. a' ]
  46. 数据库=测试/ v: l& T: a( B* f# o  T& m
  47. 主机=本地主机
    3 o7 i2 q8 \1 m) W, \/ P8 `
  48. user_name = testuser ' S8 g3 x+ b! `; z  C4 i( s) H
  49. 密码= my_password
    3 i$ n5 S6 ~- P- F
  50. getdriverfunc = getsqldrivermysql   d2 ~/ q8 P, V9 c) R7 I4 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( E/ Z. m, k+ [; R7 e$ M8 w- q( U' k8 W
  52. libraryname =. / libsqlmy.so ; k5 Z/ N( F. G6 h/ f* @, B
  53. 积极= 1
    & {6 \( D9 \, ^
  54. ---例如--- 1 w7 s$ l# t) S, s

  55. 0 N% M2 F  u9 ?9 \/ l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 }  F' o' `. i: }0 H) g. a
  57. ---例如---
    9 }: [, v7 G8 P: d
  58. [ dbexpress ]
    1 G" E. W6 h- x/ @$ Q& A* d; R
  59. sqldir = mysql_sql
    : s0 `  B! d4 E) j/ n, `
  60. drivername = MySQL中
    9 p! E: `, V; w5 E7 V7 @
  61. 数据库=测试
    * Z! `# p' s, X6 Q7 _. o5 t
  62. 主机= 127.0.0.1
    9 j8 J1 H- n3 Q) H/ ^' l# O7 ?
  63. user_name = testuser % O  ?; u& I  s* |! z+ z" n
  64. 密码= my_password
    ! a1 f3 x: Q2 f) `' Y6 L2 Z
  65. getdriverfunc = getsqldrivermysql
    5 n$ U; X% m' o& {  v: _
  66. vendorlib = libmysql.dll在0 g5 [& L6 E/ p; _" E. d5 L
  67. libraryname = dbexpmysql.dll - V! I2 B, h3 y9 u* {" D2 N1 b2 d
  68. 积极= 1
    0 R7 n2 b/ u9 A) c
  69. ---例如----
    & @$ |6 ]% o7 O" n  Z% z
  70. -写在0 2.03.04由p wk.linuxfan8 Y' p" k+ [) U* d9 `
复制代码
发表于 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 s4 V: U  v  ], z  [
% ^% s" h1 O' w" E( U, D- m8 lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-5 09:54 , Processed in 0.087209 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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