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

2622 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" _9 A" C+ Z% L/ t2 E
' N8 T8 [" i& @+ B2 o6 c

  1. 9 _) A9 ^8 Y* M8 O/ E; @4 a2 u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  h7 T( v5 w/ F2 q" I4 t

  3. 6 s, K) a. \: @" F! ~( W
  4. ### What we need ###) D9 A  ^) O, ^/ u4 A5 {
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 J; j, U+ ^+ O+ t  T: D
  6. will not explain how this can be done - there are documents out there for the
    1 E& w3 ^" A; ?) V  k
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 Z/ V8 O* M; T2 M6 u
  8. and a user account (username + password) that has the permissions to do stuff: \  C1 H' R9 T' q
  9. with the database. Additionally, you will need a vendor library installed on the
    , A6 `" z" z1 i# d+ J) L5 |
  10. local machine, this came with my MySQL install.
    * o4 \$ ^  c0 M/ h
  11. These instructions will not tell you how you might transfer your data from the
    ( V- X& w& T" ]1 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 g# r: ~, R4 C- |- R3 ~; O
  13. database.
    ( i$ X/ L# }3 [# g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , Q3 }* o/ ?2 w4 X6 a+ _. v
  15. the time of writing, there are still too many issues - check the current status
    ' h- |! @, u5 D: a
  16. in the TeamSpeak forums if you are interested.
    3 m2 d9 |$ O: ~7 [5 T- ^7 N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% C# q; j/ b- C1 L, t
  18. Borland was used. This driver can only interface with the client library that
    9 l3 `2 U+ f2 J. ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 y; o2 }6 [: B+ v) _) s
  20. client library - basically all you have to do is to use a 3.x client library as % ~% X1 O! I& b! J2 a4 y/ D" m) o
  21. "VendorLib" and a 4.x database to connect to.% u# u, G+ t. C+ w9 i( s
  22. If you need more info about dbExpress, you can contact Borland.
    3 w! i# V; F% W6 A1 J2 c
  23. ' U& d3 N" |8 g6 i8 r8 e) n
  24. ### Doing the work ###
    ) h  N+ r* s, ]' ]6 y1 l5 K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; P& U0 g6 u. u* a0 ?
  26. the perquisites right, just open your server.ini file, and add this section at
    6 V% G" a; T; J' @5 Y) w
  27. the end:" \9 |9 z4 a- p( v0 c! C
  28. ---cut here---
    ) V- v- R/ R; b& j% ^
  29. [DBEXPRESS]3 g. e, n& p, I
  30. sqldir=mysql_sql1 A( z  K; ^% `# E) }: ^6 X9 c2 K
  31. Drivername=mysql
    % E. y! n7 p, ?) z3 f9 ^
  32. Database=Your_Database_Name_Here) |' f( F6 o" M  |' w, C9 [6 N
  33. Hostname=The_PC_the_MySQL-Server_is_on' @8 O% S3 g( j. R% ~. \
  34. User_name=User_name_on_the_MySQL-Server+ s$ v8 u2 `' ]. e/ J7 I% e, |1 G
  35. Password=Password_to_go_with_above_user_name# ]/ O$ u2 g* D
  36. GetDriverFunc=getSQLDriverMYSQL
    . R- F. u& R, J5 v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + c/ F9 X: A" B: w
  38. LibraryName=path_to_libsqlmy_libary+ v( a+ V% i8 {4 J
  39. Active=1
    & J  W6 W9 E; N
  40. ---cut here---
    + n% N3 l: y7 B
  41. In my environment (a linux box with a MySQL server running locally) I have:- v" h, D6 K( m  J
  42. ---example---7 U" a( A8 R/ j, k1 R
  43. [DBEXPRESS]
    7 K! O7 k& x& f& G9 u/ f* v
  44. sqldir=mysql_sql' C+ F  C) D& J0 n
  45. Drivername=mysql3 L& X0 d3 H' M: u1 Q
  46. Database=test
    " W* p( g! \" @; b" M2 z/ N
  47. Hostname=localhost; W6 p5 \. ?6 j5 g8 T
  48. User_name=testuser
    ; i, y+ Y& s4 ?9 v8 Q( Z
  49. Password=my_password
    ; ^+ V  c1 @( F$ T
  50. GetDriverFunc=getSQLDriverMYSQL
    : u+ O8 ]# _/ u) r3 X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, P* x* O1 s) g9 g$ b
  52. LibraryName=./libsqlmy.so
    / z' S% f* T9 }7 T4 w
  53. Active=1, C7 V. |, O  m& S; E8 \. z3 e: ?
  54. ---example---
    ) {4 r% E! K' G8 ?' J8 s; Y6 E" _! V
  55. ( y& O4 H) A6 [$ H
  56. On a windows box, also running the MySQL server locally, it would be:
    : P" c% n. o8 [' \
  57. ---example---
    + ~8 H6 _! p* Y3 P* c1 m( l! K
  58. [DBEXPRESS]& n8 s7 Y$ Z, Q/ A! x5 X1 ^+ l
  59. sqldir=mysql_sql1 b$ G0 C' Y0 X8 @
  60. Drivername=mysql
    0 O. Q8 I; p+ X$ U5 B) X6 b( r. _
  61. Database=test8 M3 _0 i( e2 h) K( n
  62. Hostname=127.0.0.1) l3 l. y. n( T% i
  63. User_name=testuser& ]. h, i8 @3 D/ d" w: G' V
  64. Password=my_password/ l5 M5 H5 a  J5 e
  65. GetDriverFunc=getSQLDriverMYSQL- V: o1 t2 F& ^1 [0 h
  66. VendorLib=libmysql.dll1 d9 U- A1 e' P+ h0 T- h# \5 ~
  67. LibraryName=dbexpmysql.dll
    1 ]: c" u8 ?! `  S
  68. Active=12 a3 f+ u2 l3 x7 b
  69. ---example----) T2 x3 S: _* x! N' t/ G& _; }% C1 Q
  70. - written 02.03.04 by pwk.linuxfan" z6 g: ~( j4 u# D) T0 E) L. D* w
  71. - ]' _( u1 ~5 C0 b. V0 |  f) @- \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& _4 R2 S9 P- I, F

  1. 7 [* K# [7 E" G; L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - q: `3 C; A! t. }
  3. ) I' _  m) O: b
  4. # # #我们所需要# # # ; q* F$ o$ C+ `" M7 M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 t( Z6 \* N* p& L4 y% G4 R
  6. 不会解释如何做到这一点-也有文件存在,为2 z/ A4 s7 W3 `% o/ r% e! E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 K! ~& |) l. J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 g8 A% h2 S4 u& e$ Y0 \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 Y. I8 b* n' H  Y
  10. 本地机器,这是我的MySQL安装。 0 n& N; b) {+ I  R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : D4 e) L2 _; V8 `& \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 S  ~% i4 w! ^4 e4 \( t$ |
  13. 数据库。 4 ~5 y! L. ~" g* P+ ~9 d0 ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 ]) E2 U' h: B: z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; X/ A7 w4 s( _7 x
  16. 在teamspeak论坛,如果你有兴趣。 ) M- J% o: a! {0 p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ t% D& `% k- V1 s. K" l, _
  18. Borland公司使用。这个司机只能界面与客户端库
    * v- n+ {$ c' s. Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) n" |- I2 L* _9 y0 n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # u# d" q. s- M6 ^, y0 W5 E
  21. " vendorlib " ,并解数据库连接。
    % o) m1 O$ z. F9 L7 U9 \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , E# |( t' Y6 v) c+ M4 ]
  23. ! u* k: w0 A* u! f  T' \+ D
  24. # # #做好工作# # #
    + q: F- ^+ P+ r2 M) C- G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 y" V, R* ^- h! }, b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 \: L* F, ~; R* t" V. X
  27. 结束: 2 p/ ^, ?' k2 X) ]* `9 ^: c" ~
  28. ---削减这里---
    ; E" Q# H5 X. b# w
  29. [ dbexpress ] / \: Z0 w4 \" p2 U+ |. H
  30. sqldir = mysql_sql
    ) O  I/ p  q5 ~, x2 y5 ^+ K5 q
  31. drivername = MySQL中9 o% H% A  v+ K+ t2 p/ Z
  32. 数据库= your_database_name_here
    & P" {2 j9 T5 i) v/ F# z& s5 X: Q
  33. 主机= the_pc_the_mysql - server_is_on : y  M7 O0 u1 v% l, q3 d
  34. user_name = user_name_on_the_mysql服务器
    $ ~, c. ?3 z  g5 t: d* v
  35. 密码= password_to_go_with_above_user_name ( f! p" [  _$ @5 `9 O4 w
  36. getdriverfunc = getsqldrivermysql
    . Q& M8 o- O! c5 B7 Y2 ~# B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 [+ q3 u' u% b$ e0 E8 f" D
  38. libraryname = path_to_libsqlmy_libary 8 j( y' A, p# y* |3 S. Y
  39. 积极= 1 * g! q8 g" c( T" i
  40. ---削减这里--- 0 B( P/ v8 W2 C3 v2 h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; Z6 i. `) S# Y4 ~" I! q1 U9 H$ f$ k4 z
  42. ---例如--- 4 c0 ?3 C/ A6 u1 r7 `' K/ F" f
  43. [ dbexpress ] + o& U# Z7 @% [% S7 P! r( }/ {
  44. sqldir = mysql_sql   y* m3 }4 n7 U: J% v/ ?
  45. drivername = MySQL中
    , J# B; @% G4 z* O# v" R8 _
  46. 数据库=测试( M3 ~) B+ V* Y8 u% }4 h
  47. 主机=本地主机
    8 T! x- i1 n! ]! A
  48. user_name = testuser 9 A7 R/ v& G8 W
  49. 密码= my_password
    , v7 Y2 s% G( ~7 {6 D( U
  50. getdriverfunc = getsqldrivermysql
    1 |% K2 y  }+ o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 a& ^. e0 l8 {+ v# ~* \
  52. libraryname =. / libsqlmy.so
    8 _* Q1 m9 M8 @7 R
  53. 积极= 1 : H& _5 K5 I2 ~
  54. ---例如--- 5 ^- [# t! ?/ Q& E6 p8 ]

  55. 6 i! {3 `$ L0 r+ {
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / y1 ?) [& D9 P" `. U4 q
  57. ---例如--- % c8 l/ y; i, J  a
  58. [ dbexpress ] 8 M$ A# k/ O/ s7 d9 L
  59. sqldir = mysql_sql
    , I+ d8 D# ~. V8 s
  60. drivername = MySQL中
    4 }/ X. ]& D3 J3 Z' s9 B' K  W
  61. 数据库=测试
    # R8 h+ T3 p& q- H
  62. 主机= 127.0.0.1 ) W7 N! ?+ n1 ^/ O
  63. user_name = testuser $ M6 ]7 v2 w3 F9 C3 z: z
  64. 密码= my_password
    ; j3 E& ^5 @& x
  65. getdriverfunc = getsqldrivermysql - O, @2 j; t1 z) M( F: s% _
  66. vendorlib = libmysql.dll在. m% Q* T  I5 f8 D5 }% w
  67. libraryname = dbexpmysql.dll
    7 u1 B& B3 o$ D% K- X) Y8 C: B
  68. 积极= 1 1 G0 i- x5 k7 e, d" b
  69. ---例如----
    9 q, C& b1 t7 M# ]6 z
  70. -写在0 2.03.04由p wk.linuxfan
    , ^9 u  W4 G! `, j4 i
复制代码
发表于 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
* M; ?* z( `0 E" k* `/ i9 q" b
2 g1 `) P+ n- `# v& e6 w% E- Mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-14 20:49 , Processed in 0.091859 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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