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

2437 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / K5 b4 W1 z6 ~3 I: H
# @% S$ Z8 c4 Z; o& b( ?
  1. $ p+ m6 n) C4 h0 t: V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " R' p& U7 R* G+ v: l+ i3 B

  3. 8 C6 B  Y/ v# M, O* j/ g" f
  4. ### What we need ###" q! {& `, S  v9 N, Z# ]
  5. Naturally, we will need a MySQL server to store the data for us, this document " ~( V+ u1 g* Z, U1 ~8 x: y% C4 J0 R9 s
  6. will not explain how this can be done - there are documents out there for the   F, q" @( h: d2 D+ t5 j6 K) \
  7. interested. The requirements include a (empty) database for TeamSpeak to use( {- P5 q- f) s% y6 g
  8. and a user account (username + password) that has the permissions to do stuff
    9 ^0 q$ _! p2 C# a
  9. with the database. Additionally, you will need a vendor library installed on the
    / P  C- `, c# \, D& }
  10. local machine, this came with my MySQL install.) q* ~0 A6 j" D7 |( ?
  11. These instructions will not tell you how you might transfer your data from the8 f% J. }2 J2 ~* ]% |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 V) [8 |* C+ H& B
  13. database.
    7 n; ^3 g% U6 v1 |6 U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ p& c/ Q1 ^: b6 T/ r! k+ Z
  15. the time of writing, there are still too many issues - check the current status0 e3 o, x% z6 m& b5 m. M
  16. in the TeamSpeak forums if you are interested.
    ' B+ m  F6 ?( `5 [& M4 h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- {& T, A3 p/ k& m+ |
  18. Borland was used. This driver can only interface with the client library that : d  B4 c( }+ [& r! r; k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ C4 l; O3 N  o) T- j1 i
  20. client library - basically all you have to do is to use a 3.x client library as # U9 t2 ~; Q: [: ~
  21. "VendorLib" and a 4.x database to connect to.$ f5 z3 ^; C) S* g7 {3 w& Z) B" m6 {
  22. If you need more info about dbExpress, you can contact Borland.
    * a' @% z; ~9 r4 S1 v

  23. - }  D0 t2 ]0 X  D, H% K( G
  24. ### Doing the work ###
    + [" E( C& F0 t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 h, }( s, s8 C( x0 K! X
  26. the perquisites right, just open your server.ini file, and add this section at
    8 q# C8 h/ f: `
  27. the end:
    2 W$ r; Y2 r( L/ f0 Z. g
  28. ---cut here---
    , o, Q/ t/ S- c" |0 i% O4 x, ]
  29. [DBEXPRESS]! X: X- }/ A0 W6 }, |" R
  30. sqldir=mysql_sql$ a" g6 Q5 a+ k& M0 t9 j! g
  31. Drivername=mysql
    0 e; }: i7 R# P; j! d
  32. Database=Your_Database_Name_Here7 k0 b( x0 w- v% y5 {/ V
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 {- v  V  v0 n) k+ G% z0 i
  34. User_name=User_name_on_the_MySQL-Server
    $ o6 g* O' `5 |
  35. Password=Password_to_go_with_above_user_name
    5 w5 O# \7 J0 }) q, Z' v
  36. GetDriverFunc=getSQLDriverMYSQL- L3 D0 J& s  l+ ^7 @% R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 p% d/ n( B5 Q, f, v0 [0 u: f
  38. LibraryName=path_to_libsqlmy_libary: Q! S4 V) h% @# q% O4 p0 y
  39. Active=1
    ' l& z- Q/ }; d( f
  40. ---cut here---
    : X( M, o! j4 C8 b- O
  41. In my environment (a linux box with a MySQL server running locally) I have:  U4 L& z8 V( j7 \
  42. ---example---! |% h& f# g) \2 U, H% J
  43. [DBEXPRESS]9 b/ W# |4 d; y0 C& d
  44. sqldir=mysql_sql
    * y: U5 {2 _5 x. V0 k' w7 S
  45. Drivername=mysql
    : }# Z; ?( o6 t& J" Z1 @
  46. Database=test- m0 W9 T0 M! W5 }6 E) v0 K
  47. Hostname=localhost: E. a9 E7 G. F/ R
  48. User_name=testuser# {$ L& r# u# V" U
  49. Password=my_password4 O* a5 K$ u: _% _7 I/ R
  50. GetDriverFunc=getSQLDriverMYSQL
    5 Z$ u# T& ~6 o# y" M3 X/ y5 X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * q6 o/ ]% d5 f3 ?4 Q' K2 q( f
  52. LibraryName=./libsqlmy.so
    % S  E- P! ^2 p2 {2 l
  53. Active=10 U# A: p4 ^" _: O6 ^7 t/ b
  54. ---example---6 C1 I* l( L2 f8 m2 C

  55. 7 h9 m# X: H( b/ B
  56. On a windows box, also running the MySQL server locally, it would be:
    % L# k$ @, T7 I0 S
  57. ---example---
    7 b. |1 f# ^6 m( `. c! e! m% M1 M
  58. [DBEXPRESS]( b" R5 d! t" E$ D
  59. sqldir=mysql_sql; D+ e& S) m- l% L) p/ K8 z
  60. Drivername=mysql2 Y& L: w! E4 b9 c) D
  61. Database=test
    , V$ n& u/ M" h& Z. z0 `& a
  62. Hostname=127.0.0.1
    , l, L  Z6 B" y. E
  63. User_name=testuser$ p+ f, o. d) M& ]- @6 Q
  64. Password=my_password
    + }1 m5 E) X  ^1 R  n4 e
  65. GetDriverFunc=getSQLDriverMYSQL
    + G+ ]; g+ F  n! p
  66. VendorLib=libmysql.dll
    5 N9 k4 i* n3 V8 P1 B& P' ~5 I
  67. LibraryName=dbexpmysql.dll
    1 @; j. L2 K  G$ {6 q, }9 T2 W
  68. Active=1
    2 B) ~+ C, Y& O1 |7 i
  69. ---example----% \+ e: z( s% _
  70. - written 02.03.04 by pwk.linuxfan. D1 P/ Y5 F# {8 W( Z
  71. % |) C3 F7 y8 _* u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- V( S  q+ q# y

  1. 6 t# i4 J7 \; t% c$ {" l5 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 B9 p1 D% J, X3 l- G+ S8 k) g1 |
  3. , C3 j/ ?  I( ?3 v
  4. # # #我们所需要# # #
    $ p* N( `: H/ a' N. g4 s/ l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) \; |$ P  ~1 D
  6. 不会解释如何做到这一点-也有文件存在,为
      W, a# Q6 i. t/ a  `  D/ Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ Z$ _8 o4 W1 r! [3 X# ~7 R/ c. _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 `* Q, Y* r0 b  `8 D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 N$ s8 k, g+ W7 I5 R
  10. 本地机器,这是我的MySQL安装。
    1 N+ d" Q. A- n$ Q& o5 F  o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 x  c6 h9 D0 o# D& [7 ?- H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( O; o  T* _5 p
  13. 数据库。 / e$ o" O2 M: {. f0 j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 K3 h( Z7 A; c/ E2 r% `
  15. 编写本报告的时候,仍然有太多的问题-检查现状' a: @. @& Q2 f0 ~5 g( B
  16. 在teamspeak论坛,如果你有兴趣。
    1 H3 i& j- v. R" r% }0 t/ o! J) }5 c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . @7 o6 x8 W& T# e
  18. Borland公司使用。这个司机只能界面与客户端库
    % x- E6 K. v4 @: {, a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 m3 C" K5 e- j- X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , V- P! C' L, g+ e
  21. " vendorlib " ,并解数据库连接。
    ! |; l0 k( y9 J, e8 _% [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; f- r4 M  G5 {( O9 R4 g
  23. % H/ i+ A0 s6 m
  24. # # #做好工作# # #
    8 G$ u8 I& |: ]# u$ D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 u, b, H4 F; U8 [0 o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 B1 `, U# a' o, L; o* {: H" W
  27. 结束: 1 I  _( s. C* L6 ~7 H! M; P
  28. ---削减这里--- " N4 }/ x# o* Y! U
  29. [ dbexpress ] ( v- W3 X  o& e7 c& X
  30. sqldir = mysql_sql
    " I/ [& o! b) a( B- s. x) b
  31. drivername = MySQL中) z; b$ ]% D5 e1 ]# t* R
  32. 数据库= your_database_name_here ; t- ?( v) h4 ]3 x( ~) A
  33. 主机= the_pc_the_mysql - server_is_on
    8 B6 w7 _; m5 H9 z* j. N7 \; q0 ^
  34. user_name = user_name_on_the_mysql服务器
    * t5 A% l* e" O! \. t4 X
  35. 密码= password_to_go_with_above_user_name
    5 K) N% ~! t4 b# s* r
  36. getdriverfunc = getsqldrivermysql
    4 D! a, N% V" X. F/ V" i# I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % t$ `. X3 E/ H- P3 x4 b1 Q7 p4 }
  38. libraryname = path_to_libsqlmy_libary
    / b# W2 y" Q3 S% s5 y
  39. 积极= 1
    / w0 o6 K3 K0 ^! t7 K, U
  40. ---削减这里--- : n; Z8 _) b6 l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 R6 o9 D6 i+ z: a9 s
  42. ---例如--- 3 E1 o- {$ }9 Q* W5 B: l) F
  43. [ dbexpress ] % X( b9 h4 a2 Z3 W, X3 S
  44. sqldir = mysql_sql
    5 S3 X8 v( Q5 p; ?& z% j+ ]
  45. drivername = MySQL中! r, Y9 m4 Z0 @4 L0 p9 z# K
  46. 数据库=测试! p7 B! w! n# M6 q
  47. 主机=本地主机! j9 W; n. N" I
  48. user_name = testuser - A) }9 S4 s. ~2 \
  49. 密码= my_password
    & p. @' d+ z2 e" u. e
  50. getdriverfunc = getsqldrivermysql
    $ t+ B1 L4 T+ ^. g/ p, L0 `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * L$ P; F. x7 _) _; C
  52. libraryname =. / libsqlmy.so
    7 F( k2 ?2 ~- @. }) w
  53. 积极= 1 * X! e8 M% Z1 t9 w) ^
  54. ---例如---
    * m- t$ [4 T* v1 m# K  i
  55. ; g. H1 P  r1 E4 C
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % R( y4 \% Z+ \
  57. ---例如---
    5 j* M& ^! d% l. {0 ^, w
  58. [ dbexpress ] * p7 S# c4 E  q/ Y" X
  59. sqldir = mysql_sql
    ! L& C4 W) L, d* k- ?
  60. drivername = MySQL中7 a! @2 P# C+ S- c, o( [) K
  61. 数据库=测试' @" H# Y* c# m$ c, B8 W. j
  62. 主机= 127.0.0.1 % [: I4 ^: q. q) k
  63. user_name = testuser 2 L& I4 w4 F! X+ M: W/ _8 @) n# k* N
  64. 密码= my_password ) t% J- ~3 n5 i% \
  65. getdriverfunc = getsqldrivermysql * h# \4 N, u1 o6 {$ |
  66. vendorlib = libmysql.dll在
    & X, s2 m, d  x6 L
  67. libraryname = dbexpmysql.dll
    $ s- M$ B2 V: q% F8 |
  68. 积极= 1 / j9 P! h9 H5 J* e  K4 p
  69. ---例如---- ) i: |: m6 G% W$ w0 I
  70. -写在0 2.03.04由p wk.linuxfan
    ' x7 L7 g; _2 C0 r
复制代码
发表于 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* |# U! ^' J( F
7 b) L, l, t/ ^& {1 N7 J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-2 15:35 , Processed in 0.091171 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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