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

2596 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & }4 C% @. [" L+ v2 Y& i
  ]4 p! {$ U' s* }- h/ u6 Y

  1. * S- I# ~( w/ _: {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 {* _7 \) s' a; v. g  E- M
  3. * G& e1 b6 _( g" c8 ~) S
  4. ### What we need ###
    1 a: o! }5 }; g5 p* f- n
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( H; Y6 z) W6 j1 n- V# R
  6. will not explain how this can be done - there are documents out there for the 2 ^7 N: j6 z( {4 u
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 z1 n3 D) A% O, A; ^, u1 N! P% D# W
  8. and a user account (username + password) that has the permissions to do stuff# X$ Z3 m  }1 O$ l
  9. with the database. Additionally, you will need a vendor library installed on the( c% A% L7 c0 ?, N
  10. local machine, this came with my MySQL install./ G2 N1 G" J( p
  11. These instructions will not tell you how you might transfer your data from the6 f5 ?/ S" Y. a2 J8 L" q7 v& p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) U2 Z8 o+ \% _) N! g1 {8 O; N
  13. database.
    7 b$ d' Y0 q* W0 d. i& P8 @8 d5 k8 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 n6 U! D1 N% P+ @' H& o; ~6 O
  15. the time of writing, there are still too many issues - check the current status
      s& Q2 q" R7 f
  16. in the TeamSpeak forums if you are interested.! f7 O9 v# t$ j8 J8 s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 x$ e* g! {3 \: w7 I7 s/ O
  18. Borland was used. This driver can only interface with the client library that
    8 R' _- v  F5 _- q' t2 L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - b: }' t6 U0 U( n2 e
  20. client library - basically all you have to do is to use a 3.x client library as ) k  q( X' r$ m/ B5 ]0 e
  21. "VendorLib" and a 4.x database to connect to.
    * I8 f! Y* o! n* J4 J5 A
  22. If you need more info about dbExpress, you can contact Borland.* t  _, Z$ @* x0 ?- N) k; V

  23. - p/ U# X( ]% Y" T5 I
  24. ### Doing the work ###
    5 U0 f* N$ k1 M6 l* b' c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / s4 R- p% p9 u. W0 Z; }% s4 l1 U, v
  26. the perquisites right, just open your server.ini file, and add this section at
    & ?' H! o! a, |; U
  27. the end:2 r; o/ h/ K0 _. Z) ?, v
  28. ---cut here---
    & n% B0 N; F0 b
  29. [DBEXPRESS]; ^  q' e+ m( a# p5 v/ N; d3 {
  30. sqldir=mysql_sql
    . ?4 B5 j) [; e
  31. Drivername=mysql
    ) q3 B" Q! P4 n
  32. Database=Your_Database_Name_Here% E! |; T2 u' a" _3 ^0 x' E0 d, c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 _* i8 B: c/ v  ^& {! X& a
  34. User_name=User_name_on_the_MySQL-Server3 C( U, K( v7 x" W* ^7 o
  35. Password=Password_to_go_with_above_user_name
    7 p3 G. w" p, L: V; f
  36. GetDriverFunc=getSQLDriverMYSQL
    0 k% y" A' q6 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ g# a% [) `% q$ J" _0 A/ j7 Q& \
  38. LibraryName=path_to_libsqlmy_libary% _- f$ P7 B$ L6 z
  39. Active=1
    ' q* ~) d: {. |5 j& }% w# j
  40. ---cut here---) v. q# S8 L: z( d; s: c
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 V. F9 R# J! f+ ~
  42. ---example---
    9 J4 r1 R9 k9 H& g: a4 P
  43. [DBEXPRESS]8 B% }' ]6 I3 ^( @
  44. sqldir=mysql_sql0 k+ K' H' v  t8 _* d( L
  45. Drivername=mysql
      j; c" J' ^4 G8 ]. v! [
  46. Database=test
    ; @+ L3 ^) z8 N( C, b) T% m
  47. Hostname=localhost
    ! `" [1 s+ F) o; f3 ]/ F
  48. User_name=testuser; |$ i# X- g& m0 N( m
  49. Password=my_password0 i4 c$ G7 n" o5 d+ I
  50. GetDriverFunc=getSQLDriverMYSQL- |& T, r& J9 [* B. s5 F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + d% G1 M0 ?' q' _1 ^
  52. LibraryName=./libsqlmy.so
    6 H% Y. J" V& |; Y! F& A2 ?
  53. Active=1( T0 K: X% V7 P- \' d
  54. ---example---
    - H3 P( u! t# _- [: S) V5 T4 W: s$ g
  55. ( Q6 D3 Y% J+ }' P$ K8 Q2 \
  56. On a windows box, also running the MySQL server locally, it would be:
    , o0 ]) Y5 i! V$ C3 `  n# l! k
  57. ---example---; G9 [' q/ X* f" w, Y3 I. a
  58. [DBEXPRESS]
    - i$ P- v" d. _0 p1 A
  59. sqldir=mysql_sql
    0 ^4 [0 b! h  u# d# l
  60. Drivername=mysql4 S  i- {/ [* D3 R/ ]0 f- t
  61. Database=test
    $ C. }. v. J0 ?/ i, ^
  62. Hostname=127.0.0.1
    , i( T% N& ]3 d7 z3 f) U
  63. User_name=testuser
      W+ ?; R' d: N7 w& n
  64. Password=my_password
    , E8 c& J7 |0 ]8 r" R
  65. GetDriverFunc=getSQLDriverMYSQL
    0 q3 B4 a) @# h3 E2 p
  66. VendorLib=libmysql.dll. ~1 h# `7 |- l0 a: {; a$ v
  67. LibraryName=dbexpmysql.dll% b6 U) O3 O) W3 i( X: y- X( }
  68. Active=16 V; }% ~0 f& I- u
  69. ---example----% ^" v  n8 s& t/ g: B4 ^- m: {
  70. - written 02.03.04 by pwk.linuxfan; g! K/ G( I7 W7 }  Y8 L# x# x1 @$ {
  71. 7 M& s1 ~: G# S) a# G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 [: l8 U; Z6 G/ `& J

  1. 7 |% J& J0 Y0 @. E5 @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 v% w( i! F# u+ ^+ P
  3. " \. i/ p3 I/ C/ l
  4. # # #我们所需要# # #
    , K! [, L, C, @+ T; I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " r6 b- c4 y* T9 H
  6. 不会解释如何做到这一点-也有文件存在,为
    : N# ^% ^9 J: L) {2 s+ n2 {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# J5 v& n( n& {2 q9 r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' U/ J' `2 c2 V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* W* H2 o1 J8 N8 r
  10. 本地机器,这是我的MySQL安装。
    5 k& K* a9 d! }$ z" k' Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , y3 A4 g& |2 k' E8 y- d) G+ U' _
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 g/ r" y; L& K# ^/ O2 o, G- D
  13. 数据库。
    ) B0 ^) M  ?1 N, A% Z- |8 n7 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. U, z4 z+ K2 o1 }6 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 [% O/ R& V+ l& @$ {: u0 d
  16. 在teamspeak论坛,如果你有兴趣。
    1 {6 m$ h: q; x4 A4 u5 d, Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 E/ @& w/ Y: v8 W
  18. Borland公司使用。这个司机只能界面与客户端库
    - E! g+ S- W- o' Z8 N8 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ Y& `2 M! ?) p3 ~8 X* z$ J) g) v' @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ \9 }# s3 n* H" k: ~
  21. " vendorlib " ,并解数据库连接。
    - C9 e1 j- H7 L2 Q: `5 W: x$ f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 T* F' ^6 g! G
  23. - C* K) {- V: `8 ^6 l: @
  24. # # #做好工作# # # / j4 l% A" [1 P! i& i% f8 k, I. v9 n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 v2 L8 X) ~7 x* k# \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 H6 |% R3 T/ v  {
  27. 结束:   d) E* e  K9 P* E- Y
  28. ---削减这里--- " V- Q8 ~9 P. ]$ ?
  29. [ dbexpress ]
    / j0 `; ^' T' O' J- G# o
  30. sqldir = mysql_sql
    $ V1 {/ w% f5 D5 a/ W2 {; L' W
  31. drivername = MySQL中; A& u8 S- |. x- _, z; Z2 @; W
  32. 数据库= your_database_name_here ! {& `/ T, e. z# Y- \
  33. 主机= the_pc_the_mysql - server_is_on
    ) C; e: o$ a. h. E9 b# ^9 ^
  34. user_name = user_name_on_the_mysql服务器
    + m! [% @) S0 O/ r  U3 l  R2 }
  35. 密码= password_to_go_with_above_user_name ) Y5 j' X$ ~5 }
  36. getdriverfunc = getsqldrivermysql ; x4 @1 R$ j/ k5 s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + j9 U  W9 V$ c9 U
  38. libraryname = path_to_libsqlmy_libary
    - O  V- y. x+ B7 i& q" S
  39. 积极= 1 # a9 W. I6 \1 M8 Z+ b
  40. ---削减这里--- 0 h* t2 |% I( A0 x7 W" x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' v$ @0 w2 p, V8 `: Y2 W' j1 w8 m
  42. ---例如--- 5 }) P! O4 l. S) w/ E& [0 `8 N! S
  43. [ dbexpress ] 2 h1 s. W6 X, J$ G+ V" ]
  44. sqldir = mysql_sql / A& l1 o- B( t
  45. drivername = MySQL中$ e3 I) e( n# `/ D" B
  46. 数据库=测试1 m9 n# u* K  d# N/ O
  47. 主机=本地主机1 Q7 X! r* F1 H( W) Z5 r1 r
  48. user_name = testuser
    6 ~, t& c  m+ f5 @
  49. 密码= my_password ' ]% a! E) ]- w/ T
  50. getdriverfunc = getsqldrivermysql
    5 W; y( S. e' N# i* ?( G+ U7 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & k/ A7 W1 x. L! ^& k* @- B
  52. libraryname =. / libsqlmy.so
    ) O- C' I& ^" w; d6 H5 W
  53. 积极= 1
    3 ^" ]# N3 F/ r
  54. ---例如---
    , [( T1 g7 o4 Y$ r% p& n
  55. $ S! s' a& Q% P# w. E6 {
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 b9 d  x0 n0 t) F  o& b
  57. ---例如--- ( ~( H: ?( x' V
  58. [ dbexpress ]
    - l8 U7 d6 t5 D5 J% E
  59. sqldir = mysql_sql
    6 Q. k3 M7 y# t" W6 ?
  60. drivername = MySQL中
    5 {0 m* y; h3 w
  61. 数据库=测试
      M: j. L$ ]5 T- |6 @
  62. 主机= 127.0.0.1
    % K0 L9 |; Z: e" C* c- r) L8 l7 s3 I
  63. user_name = testuser
      F) w. m5 j, ^' j6 b1 {
  64. 密码= my_password 4 b: T- H  a8 A" G, o: o
  65. getdriverfunc = getsqldrivermysql
    ) k& Z" o# S; Z+ p$ _
  66. vendorlib = libmysql.dll在
    3 L& r' H6 c5 \1 q5 u4 v
  67. libraryname = dbexpmysql.dll
    & M3 p. o0 q: W4 q0 O
  68. 积极= 1 / Q1 d6 A& l, H1 n* ]9 Y! W( A
  69. ---例如---- ( n5 M/ K! g( G% B
  70. -写在0 2.03.04由p wk.linuxfan
    + B3 t) n& M" o7 ]" L
复制代码
发表于 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 words1 h, \* t0 n$ r* w: ], A
2 h" N  L# x) e6 k
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-9 01:29 , Processed in 0.088313 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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