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

3331 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 B8 y6 R& s2 _9 e: X9 B

) d5 f/ z( t  t
  1. ' ?# ?, P: [( L* q- b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 t# M& ^; t( F) }# L0 T

  3. / [/ c. U/ {) I$ j/ a+ D, e
  4. ### What we need ###
    / G; S' n. d1 i. T8 u* C# W9 j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , J$ _4 @$ Z4 ~% {' v
  6. will not explain how this can be done - there are documents out there for the
    " }! P, L2 R% J8 A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 l0 u5 q8 b3 Y& p; s2 h) V
  8. and a user account (username + password) that has the permissions to do stuff
    0 f5 V; ?( z$ ?8 ]
  9. with the database. Additionally, you will need a vendor library installed on the
    9 E3 n/ i3 b, r# D9 u
  10. local machine, this came with my MySQL install.
    + u% }& b; i: g8 i& m
  11. These instructions will not tell you how you might transfer your data from the
    # A, e  i0 |0 {, M, s# k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 x/ Q9 ^" t  {5 d$ l. L
  13. database.4 V( s! \* o$ Z: a/ l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 N/ ~# j5 x! h& s
  15. the time of writing, there are still too many issues - check the current status0 j6 q  s1 \- g9 J# `1 u
  16. in the TeamSpeak forums if you are interested.
    + P' ?/ ^" o) j/ K4 R! ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) i3 D3 @8 l. M" }/ I
  18. Borland was used. This driver can only interface with the client library that
    ! v+ F; @% s& C5 e! ?: I. y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      }' U4 e+ m4 e' H  W: u% r- j" \
  20. client library - basically all you have to do is to use a 3.x client library as 8 F: V* T# S5 ], _4 i; j; A
  21. "VendorLib" and a 4.x database to connect to.
    ; v: w4 ]; \. |* ?- N' L
  22. If you need more info about dbExpress, you can contact Borland.
    2 Z  V6 M3 ~) s" h" D0 G9 F
  23. : I( }  t" o' g2 A/ e
  24. ### Doing the work #### u2 O: ]) S" w# j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; ?* y, c+ \6 m7 E$ R# P
  26. the perquisites right, just open your server.ini file, and add this section at- Q' r6 L/ t  ^4 z) M- T
  27. the end:
    ' ~# @1 W7 [9 B# U" j- |5 p1 c+ v
  28. ---cut here---- j: _" ^; \9 |
  29. [DBEXPRESS]; U. J% e* I4 x' ]& h
  30. sqldir=mysql_sql' t$ x# b" q* }+ g
  31. Drivername=mysql5 q6 C) k, q/ a0 S
  32. Database=Your_Database_Name_Here' a0 r' B' }. \6 K% e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 N2 w0 p0 I! ~
  34. User_name=User_name_on_the_MySQL-Server
    7 W; ~& Z6 J6 k" k$ O. q; r( w
  35. Password=Password_to_go_with_above_user_name
    8 A, H( m6 W' p( u! y! R
  36. GetDriverFunc=getSQLDriverMYSQL
      e3 [. L* l" n6 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 R- N6 N4 l. E4 p6 x( J4 v
  38. LibraryName=path_to_libsqlmy_libary
    0 X6 a& w4 i" L8 d
  39. Active=1
    * R/ g9 J; J# w+ T. {2 j
  40. ---cut here---
    - q  J- B1 h8 H; |" p3 v8 ?
  41. In my environment (a linux box with a MySQL server running locally) I have:- f, i5 m7 N" @1 [& `* w0 S* g
  42. ---example---: [4 q7 t( u) |/ m+ A+ @" _
  43. [DBEXPRESS], C% w0 P7 l$ V& Y
  44. sqldir=mysql_sql& v: u+ E) Q9 o
  45. Drivername=mysql
    , F3 p  Q" V9 K# L2 I" Z7 y9 W
  46. Database=test
    : K& I6 ^+ R7 k4 f, v3 _% l% s% Z, A
  47. Hostname=localhost
    0 L9 T* |+ j% _/ N
  48. User_name=testuser; R; m1 N! @+ b
  49. Password=my_password7 H* A4 j" O, s& z% B
  50. GetDriverFunc=getSQLDriverMYSQL
    ' q' `" M" v& T. k) h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 Q0 V" k. A9 f' p
  52. LibraryName=./libsqlmy.so
    , p' M, p5 Z2 o8 Y7 ^
  53. Active=19 Y, k8 w7 |1 H0 N8 F  Y1 Y# B
  54. ---example---
    $ g5 F% Z. P+ {$ t$ H

  55. # l( K. _& W: d
  56. On a windows box, also running the MySQL server locally, it would be:' T, i4 X- f6 n9 m7 ]3 W
  57. ---example---4 ?6 P& r, q; g, C$ m
  58. [DBEXPRESS]
    # ~$ M. ]$ q/ B9 ?8 a' L; U1 P
  59. sqldir=mysql_sql
    " A  V: j& h( ^7 E  B+ X/ w
  60. Drivername=mysql/ L8 M1 U, D- B! g( e+ V7 C
  61. Database=test6 G3 K: P- e/ E( l% K' g
  62. Hostname=127.0.0.10 M+ F4 ^: W- ~3 a6 ^* v
  63. User_name=testuser
    , s; I6 z& d, J9 w3 `8 D
  64. Password=my_password
    . {" r, J5 i; U- m
  65. GetDriverFunc=getSQLDriverMYSQL6 q' v3 ^" g8 o
  66. VendorLib=libmysql.dll# @- p: O! o( h& @
  67. LibraryName=dbexpmysql.dll, H! P. p5 W- M2 V9 j. E$ b4 o
  68. Active=1
    3 o/ W. n7 z' ^; q
  69. ---example----) K8 x6 l  L1 h, b8 {+ X
  70. - written 02.03.04 by pwk.linuxfan4 x0 ~9 v8 M0 [
  71. - w' {6 z6 Y+ H+ V" E" f, m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% H4 }8 E  v8 A7 g) Z! F6 T, ^6 J' H
  1.   K! f; E7 Z( V! h/ c' T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) u1 g; s; Z% {7 r

  3.   Y) O/ _$ f% v& z1 K" b' R
  4. # # #我们所需要# # # 8 D% x2 p/ f0 U2 l0 g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! b  ~2 W2 P# U4 D
  6. 不会解释如何做到这一点-也有文件存在,为- @$ _% u9 d+ C% P: B1 D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 \: B+ E& H3 t. B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : h: ^6 f; O; m; ^% i9 ^8 J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 T0 X& x8 G) [& T7 [
  10. 本地机器,这是我的MySQL安装。
    3 V: e4 F) _5 v6 B' e/ X. m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. n. ]2 f& F1 c( W/ m' U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + I5 N6 C; G1 n/ ?; u
  13. 数据库。
    : }4 g. T) ]7 s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ ^8 P1 N: ^6 |0 @0 Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 U9 b4 z- x& j0 ~) M- L
  16. 在teamspeak论坛,如果你有兴趣。
    7 u8 X0 X1 W, y3 D6 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; {5 P$ A. E0 x3 _% U8 A: m
  18. Borland公司使用。这个司机只能界面与客户端库
    9 Z# C! U4 E; |" i. q: e. Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 k- k# j) B: p* g- a. t& ~( }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      L% V5 Y. q# H8 f+ o8 S
  21. " vendorlib " ,并解数据库连接。 / T& I# a/ W- h& @+ Y' \7 `- F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' Y5 D% z, Y: j. x' H7 l7 k/ l
  23. 5 M, y- c! k( h4 {% y, l
  24. # # #做好工作# # #
    / k0 |4 R7 v% ^4 e& R* I; U: B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % E" [8 \0 e* @5 k% s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在" y5 _2 d) F" S% |' z( F
  27. 结束:
    2 h4 A, [  y" i
  28. ---削减这里---
    4 T1 C1 ]& ~/ O' \/ E; `9 [7 X- S% r9 @9 h
  29. [ dbexpress ] ; C/ W2 Y8 j1 K" @8 ~
  30. sqldir = mysql_sql : e7 t, L" g. o/ l
  31. drivername = MySQL中. P) M3 W! k/ @3 u. Z- f( X- C. l
  32. 数据库= your_database_name_here
    2 R1 {9 h; A0 G! _
  33. 主机= the_pc_the_mysql - server_is_on
    ' G: V) ^! [  v* `( n3 r  u
  34. user_name = user_name_on_the_mysql服务器
    6 [3 R% _/ e0 A/ Y. b8 F8 Q2 D
  35. 密码= password_to_go_with_above_user_name
    / _  x5 h4 u* D; k
  36. getdriverfunc = getsqldrivermysql
    $ V% k! g/ e& l+ f# W1 k0 q5 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 a2 r4 Y* Q2 i. t, L
  38. libraryname = path_to_libsqlmy_libary
    1 p- B4 a" w/ m+ h7 N: ~6 e8 t8 ?; @
  39. 积极= 1
    ( F! U2 l  v1 V. ?% `7 G
  40. ---削减这里--- 0 W/ |- @9 q, s; i; H) p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # ^1 X9 u( A: ~% _& t( [3 W
  42. ---例如--- & E3 j! {' K. ]% l, A
  43. [ dbexpress ]
    " B7 @( R1 _* p
  44. sqldir = mysql_sql ) z! ~. E. w+ a) i2 E9 f+ v
  45. drivername = MySQL中* S3 `' l2 m5 \* R: \6 j
  46. 数据库=测试
    / k; w3 A9 q2 @. q. }$ b
  47. 主机=本地主机
    * @6 @5 n" o% T
  48. user_name = testuser
    6 m( _& P# t& w" c% p8 r% l, i
  49. 密码= my_password
    3 R5 u& j# l/ u) F9 U) m
  50. getdriverfunc = getsqldrivermysql
    7 w) q  n, b% |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 }/ }6 j% h' ~' n& f" M
  52. libraryname =. / libsqlmy.so
    * F  Z  K& B6 ^5 R. b  I+ _
  53. 积极= 1 , l6 X& A0 |* M/ `9 m
  54. ---例如---
    9 V2 P9 V8 g) V6 u- s, P
  55.   l) C$ C+ s& M
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - T$ B8 |" o1 r" g: z
  57. ---例如--- $ y  V" b3 T  S' r9 ^8 q
  58. [ dbexpress ] ! }$ H* ~. v- L; c+ T( _; s
  59. sqldir = mysql_sql
    * _% P, F* O! q' d( t2 p
  60. drivername = MySQL中
    4 _0 b0 |8 f  }# p3 ?: U) u
  61. 数据库=测试$ z* l0 \2 ]3 ?* m) a9 m; G: I
  62. 主机= 127.0.0.1 / B/ o8 ?7 |3 D# h' {1 v
  63. user_name = testuser $ ]& B6 S- e1 q$ w' z, N$ P
  64. 密码= my_password 6 c# t# p- J& _& G! ~
  65. getdriverfunc = getsqldrivermysql ( Q, ~! n: G' a
  66. vendorlib = libmysql.dll在/ m2 T1 b6 P# P4 x/ }0 [
  67. libraryname = dbexpmysql.dll 1 s- F# A9 t" I  D/ P4 j0 `3 q
  68. 积极= 1 ; d6 w. }5 y' O$ F* `* D
  69. ---例如----
    $ I+ c/ V" F4 _6 O& o
  70. -写在0 2.03.04由p wk.linuxfan5 o5 d5 M3 a  Z; Y2 i# s
复制代码
发表于 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* ]5 N( ]8 |* a. q/ V* U, ~& D  y
) U; t+ n4 ]& L: B- J, F: S0 a+ W
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-14 14:29 , Processed in 0.092012 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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