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

3082 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 ]6 [/ V- i8 y: C% G/ B: ^  A, l

& X5 P  G# t" g8 W) u! i  C7 s$ i
  1. + g. H& g. a& ~( L  e9 v0 J+ n9 V. a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  N) D3 G  K) g( O. C) |: G$ l
  3. : Z. N; H* I1 r% _4 Y
  4. ### What we need ###
    % j5 A% W% @7 d  t# q+ j
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 d: v* l- ]( H1 u
  6. will not explain how this can be done - there are documents out there for the ) B  [4 O  m" @- d' u, r" C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! U% X8 V+ W1 `/ ~. U8 Q
  8. and a user account (username + password) that has the permissions to do stuff; P5 P3 a. Q* Y
  9. with the database. Additionally, you will need a vendor library installed on the
    / V3 e1 v0 ~+ P' l& ^+ |8 z' W" V
  10. local machine, this came with my MySQL install./ s9 M0 v4 S, H! o) ]9 A
  11. These instructions will not tell you how you might transfer your data from the
    9 N: m) H8 V( f, J, r5 o  h6 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) |- Q4 i( B/ x8 b6 o1 G
  13. database.: Y: g" p; `6 T% T+ H' }# F
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 z, R% }9 V" N) G, ^+ U+ \5 E
  15. the time of writing, there are still too many issues - check the current status
    : n( F; s# K/ l# g$ E
  16. in the TeamSpeak forums if you are interested.
      M' H  f) n3 G) d; C2 z* Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 u0 x. _; z+ I+ T- U
  18. Borland was used. This driver can only interface with the client library that % F. \6 c1 d! }# A, x: ]* H: H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: h6 t3 T6 }0 @
  20. client library - basically all you have to do is to use a 3.x client library as 0 g6 q' x+ s* |1 `
  21. "VendorLib" and a 4.x database to connect to.
    ; W4 Y! F+ ~/ N0 }
  22. If you need more info about dbExpress, you can contact Borland.
    ( O6 B/ b! B. j0 r8 Q$ v/ t1 r
  23. + c. @0 N9 X8 Y2 ^* j1 @4 x
  24. ### Doing the work ###4 G: Y. q" e; Y. `4 A  l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' Q3 C2 ^5 W2 m: e; Z6 e& u5 z
  26. the perquisites right, just open your server.ini file, and add this section at
    ' a5 L. P& \  U1 b/ ~6 C3 g
  27. the end:
    , J3 ?: \: i; ^
  28. ---cut here---5 f9 U$ A; }. _2 }4 M2 \7 z% P- t% k# B
  29. [DBEXPRESS]4 H; h" \! R2 s; o
  30. sqldir=mysql_sql
    ' N8 U; D/ ~, o/ b1 V# Z( E9 q6 z
  31. Drivername=mysql0 U# o8 F" V& Q+ F
  32. Database=Your_Database_Name_Here" v2 d+ ?& {$ s2 k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & e9 _1 Z2 z  D
  34. User_name=User_name_on_the_MySQL-Server$ ^& F7 _; I) q$ f7 d& w
  35. Password=Password_to_go_with_above_user_name
    + |: r$ e* f' R: P5 q6 N. b1 ^
  36. GetDriverFunc=getSQLDriverMYSQL
    6 E# C% I# u; b# C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; d% i' n" l% u
  38. LibraryName=path_to_libsqlmy_libary* w) p2 |, q* @$ V3 @& @
  39. Active=1! m5 I* h% [# p0 j+ O
  40. ---cut here---
    1 {! j1 |' V6 [. H$ F2 r* h
  41. In my environment (a linux box with a MySQL server running locally) I have:' W1 N5 ~2 x2 ^4 {/ o+ B
  42. ---example---
    & F  k5 d" R2 g" m1 V5 K
  43. [DBEXPRESS]
    , e0 a6 j0 ~8 j. d" W! L7 s$ W
  44. sqldir=mysql_sql
    8 g$ G* V& m# ~8 r% ~% k2 f) c
  45. Drivername=mysql! _6 f4 ~9 w( N* g
  46. Database=test8 m4 J1 J: B# ~" l
  47. Hostname=localhost
    0 {' t. [6 y# z' y" u
  48. User_name=testuser# e8 i  A% M/ O7 l% E- p
  49. Password=my_password
    9 M, J2 C- y3 e' g
  50. GetDriverFunc=getSQLDriverMYSQL0 U8 h  G1 b1 F0 l# z& i: j! E9 w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, w( w% b- Y" Q7 a0 }$ K, N6 O
  52. LibraryName=./libsqlmy.so
    ( ^4 ?3 ~3 |% \
  53. Active=18 [1 L. {0 n8 @" Q/ r' ^( ~7 ^
  54. ---example---6 n  s+ M( X# @, E
  55. 8 w# w7 t( w+ C$ N' f" L% l
  56. On a windows box, also running the MySQL server locally, it would be:
    ) M8 g* c& o: m! i# p( ~$ G6 N
  57. ---example---4 d' g7 P$ |% R9 K8 s- l
  58. [DBEXPRESS]$ l, K) V; i6 j9 O2 r/ j
  59. sqldir=mysql_sql( b) V2 ~: n, }. X# U
  60. Drivername=mysql, g7 G+ x# y) u! v/ T. S
  61. Database=test# A$ L6 {/ ?8 Y$ I  A
  62. Hostname=127.0.0.1
    + t; c- p: y" |% S2 u# L. r
  63. User_name=testuser$ X4 ^4 w* x+ d0 ~6 Q' w
  64. Password=my_password
    0 D* E4 @/ ~: Q7 H
  65. GetDriverFunc=getSQLDriverMYSQL! y0 o" A6 W; o
  66. VendorLib=libmysql.dll
    9 ]) E# t3 _7 T4 d! t( E# y9 A" u
  67. LibraryName=dbexpmysql.dll
    0 n8 X& q' R) _7 g( f; G
  68. Active=1
    8 b  g' p. \4 Q) `& P+ Y
  69. ---example----
    / `' q' D2 S; d4 W% u8 x, P4 l( a  [3 L
  70. - written 02.03.04 by pwk.linuxfan7 ?0 }3 b: o; Q* X
  71. 4 o4 L; @+ J& A0 I3 |0 O9 N" M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 |+ |' S+ x8 X" q7 A& p  V: w

  1. - ?; X3 z* x5 n! c: ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / f7 j0 W, t6 F
  3. 5 G$ v0 K5 \: f4 _' X. \% R
  4. # # #我们所需要# # # 4 C" A, t1 r, h  u  s* q& Z( {  n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 |. A7 A' i9 `6 Z
  6. 不会解释如何做到这一点-也有文件存在,为
    3 T+ z3 a" z+ G7 v% }) i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& L! P( Y5 a2 c: I! n: S5 F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 l! P6 B5 {1 w5 Z& ~1 J' U  L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % Q8 X0 D% `% Y, M, a
  10. 本地机器,这是我的MySQL安装。
    5 L- a- J9 W4 T) n4 U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 `" p1 f, `1 c- x+ H- T5 p/ [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( O0 Q3 g* L! c" Q3 ]
  13. 数据库。 ! Z) c: `$ x' y6 t: X5 a5 _' b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : i3 w1 A4 M& A- h% j
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ o3 s$ `4 H8 a. [& E; z$ z0 X: z
  16. 在teamspeak论坛,如果你有兴趣。
    # ?5 q" T' V1 c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" r. `4 V  V% }. C- k) U$ s; N
  18. Borland公司使用。这个司机只能界面与客户端库& E* a  r/ n0 R& K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ C/ z( ?0 Z8 Q/ f" N+ V/ }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' i( s0 S7 d% r3 ?
  21. " vendorlib " ,并解数据库连接。
    / {0 P' X9 z2 V% k8 H+ E6 }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 l% {1 g9 L. _) L6 J* w3 t

  23. & E5 c3 Y( l! w6 S/ d2 x
  24. # # #做好工作# # # 9 q8 v. u  l) a  _0 _: X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) f8 N% k# Z& M" X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ |9 Q" Y! X% U' T
  27. 结束: 1 J" B0 H# Q5 ], K8 N$ `
  28. ---削减这里--- . }9 x5 O5 n) h$ K" _4 k: @
  29. [ dbexpress ]
    7 j. Y5 }  F0 b+ T; V6 b9 Q6 D
  30. sqldir = mysql_sql ( u8 |; F; G  P5 y
  31. drivername = MySQL中0 u$ l. s- |, q- _2 o( }
  32. 数据库= your_database_name_here
    3 Z1 [/ ?: V8 i# h7 N! y2 }
  33. 主机= the_pc_the_mysql - server_is_on
    ) C# k' F2 c, ^- s  A; L
  34. user_name = user_name_on_the_mysql服务器
    ! r/ E5 j( t' L3 C5 B. f
  35. 密码= password_to_go_with_above_user_name 9 _% h* }" D' b0 j
  36. getdriverfunc = getsqldrivermysql
    ( J' n) |2 W/ h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 x8 G0 m$ A3 l- R9 Q1 _- I$ S% d
  38. libraryname = path_to_libsqlmy_libary
    / R% c) \4 D' \  o3 n7 V. O0 z
  39. 积极= 1
    : ^0 d6 U/ g  N, c/ }& @" E
  40. ---削减这里--- ; z) t$ C; I3 n; t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & U2 ~5 W) X6 g9 _) T
  42. ---例如--- " ]7 q8 ]* }& E3 e
  43. [ dbexpress ] & Q0 O" ]1 |6 K4 Y% N
  44. sqldir = mysql_sql
    3 v# Y; a" K8 s0 F- F/ Q2 e& p
  45. drivername = MySQL中
    9 L* e! \) S" b- p' k6 l
  46. 数据库=测试4 ^# p4 P0 T1 r
  47. 主机=本地主机
    # |  B8 P2 t# [7 D
  48. user_name = testuser
    ) X+ m  I2 f- ?5 n, f1 {1 }
  49. 密码= my_password
    , q  A0 ?- y# H) m( Q+ W6 @
  50. getdriverfunc = getsqldrivermysql
    . h( c+ y5 D2 f, `) I+ k( M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " g! T6 l! z5 {  r' X- q) H1 W
  52. libraryname =. / libsqlmy.so
    , r) h% R, s  ~* C3 `8 k3 U9 ?$ m
  53. 积极= 1 1 l% d$ y5 s, z" u' m
  54. ---例如--- ; |$ v+ ?( c7 a5 i. Q/ [6 i
  55. 7 D6 h; V' M6 H0 I9 n' d( X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 w2 u! b4 y; g6 D! K$ k, {
  57. ---例如--- 5 V% J( T/ q. r0 J
  58. [ dbexpress ] ' Z5 z% g$ w% D* S: y- R
  59. sqldir = mysql_sql
    4 q5 B9 h3 D4 T  W7 A* c2 J
  60. drivername = MySQL中" o+ j. L& j% G- x
  61. 数据库=测试: n% _' i3 X8 @7 s5 i+ }
  62. 主机= 127.0.0.1
    * x6 D  j5 d: j
  63. user_name = testuser 0 r7 P* h  W3 L
  64. 密码= my_password
    5 R, y. J4 r- p6 u
  65. getdriverfunc = getsqldrivermysql
    ; ^# c7 ]$ G+ L2 \1 d
  66. vendorlib = libmysql.dll在
    ) c; i& y' w3 v5 V: F8 d& d% [
  67. libraryname = dbexpmysql.dll - l% n& e, `+ N+ Z& r
  68. 积极= 1
    0 E7 I% N' h9 U" K6 t% @, o# ?
  69. ---例如----
    % g+ t8 @' K, I" h; L
  70. -写在0 2.03.04由p wk.linuxfan; \( l& t8 \) }5 a7 G
复制代码
发表于 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
, a4 X, s7 z' X7 c# Q" {: k
+ K. K5 M3 G7 c+ D4 o; k# T! Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-28 08:33 , Processed in 0.094719 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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