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

2443 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ F" w$ f' e. ?0 c! j. X: w0 P$ a* n2 s' `4 r

  1. + Z3 N9 d  d6 W7 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( U  O2 s. S4 s4 U" ^9 k
  3. 2 K  d$ b( |" D7 g1 a
  4. ### What we need ###
    ; F( U. @. `6 @: {! S6 o: v
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 T$ m" g- a+ ~" k6 d, i+ P
  6. will not explain how this can be done - there are documents out there for the & e% ^0 o: ?! o8 a- m4 w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 E2 a0 J( O5 o9 M% C: L
  8. and a user account (username + password) that has the permissions to do stuff
    ! g* ]) r0 ]& t6 j$ N( }
  9. with the database. Additionally, you will need a vendor library installed on the
    % Y+ r2 x% b. s! L( L+ z
  10. local machine, this came with my MySQL install.+ y! F( G4 K4 S# o. V
  11. These instructions will not tell you how you might transfer your data from the0 {3 d! ], |% O; r0 l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" P% e4 `! a6 w' V8 r) Y
  13. database.4 {8 C0 I- o' @+ S
  14. Some users have reported ways to import a SQLite database into MySQL, but at% N9 G* h0 N  ?( I4 m. i; B+ j& z
  15. the time of writing, there are still too many issues - check the current status2 [7 e4 [, ~$ C6 C" T+ v
  16. in the TeamSpeak forums if you are interested.# k  m$ f8 ^' |! n6 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ k( F4 B4 l4 u  O: t0 V2 N
  18. Borland was used. This driver can only interface with the client library that
    ! p/ }1 x* j: I- E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ B, ^3 I+ p) K
  20. client library - basically all you have to do is to use a 3.x client library as
    ' i9 u6 c5 H3 X/ [2 I
  21. "VendorLib" and a 4.x database to connect to.
    + l4 M1 f, t7 J( I$ N% A! `" B
  22. If you need more info about dbExpress, you can contact Borland.. o0 y, H7 c5 w3 J$ f
  23. " d( \  W/ I' S% \- i/ s# ^
  24. ### Doing the work ###
    2 W* F+ S# H# R9 _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 p# L7 @2 @& T( P
  26. the perquisites right, just open your server.ini file, and add this section at
    ) F! N3 I" p: V' E% E5 ^
  27. the end:
    ' k" u# A% l4 A, R
  28. ---cut here---+ f# a% j" G7 J% U+ `
  29. [DBEXPRESS]) ]7 p4 V& ]2 E* x# g: V0 X; Q
  30. sqldir=mysql_sql
    * G  B3 H  Q6 i/ C
  31. Drivername=mysql
    ' `/ l6 k% @) G! N3 O2 o
  32. Database=Your_Database_Name_Here1 a3 f9 r' X( c+ ^2 v
  33. Hostname=The_PC_the_MySQL-Server_is_on" ]2 s1 M! }+ ^7 M) m2 t+ [$ c
  34. User_name=User_name_on_the_MySQL-Server/ L0 h' L& k. K( r  F1 K+ c
  35. Password=Password_to_go_with_above_user_name
    * V) T& ~9 @3 f* ^
  36. GetDriverFunc=getSQLDriverMYSQL7 g2 W( ~1 M( h  m0 r/ H  \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. ~2 Z3 l6 @# v* x: ]2 s4 A/ u
  38. LibraryName=path_to_libsqlmy_libary; m. {) \7 [1 z3 k/ i9 J& D+ V8 ]
  39. Active=1
    % k2 c# w! i, j+ \& `
  40. ---cut here---1 j" R8 i& ~) H+ d0 U3 l5 X
  41. In my environment (a linux box with a MySQL server running locally) I have:& d% o6 X: q3 S
  42. ---example---7 V9 H7 X( |% o$ M/ i( v. \
  43. [DBEXPRESS]
    4 X- Z$ V: g2 A+ n0 X% g* K% C$ h# P
  44. sqldir=mysql_sql4 c- k; s3 N, D& O) }
  45. Drivername=mysql+ x, x* o% K) @& w& a  z. m
  46. Database=test* |' b5 u( ?8 X8 X, b4 P; a* |
  47. Hostname=localhost
    % ?+ c4 m9 W1 P# Y
  48. User_name=testuser% S* d# _6 s/ C$ X) W) f
  49. Password=my_password  _- b9 V6 Z8 U, ~8 j
  50. GetDriverFunc=getSQLDriverMYSQL- E# n: H: @/ l9 d/ @9 e7 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 J" E$ x# J; C) L. y
  52. LibraryName=./libsqlmy.so
    : n4 p, ]8 I/ k0 i
  53. Active=1
    & M  B' f$ ?9 p7 [' f
  54. ---example---
    * b* K, E6 p( V" \9 c% e
  55. 6 g& v1 u7 \( J- m
  56. On a windows box, also running the MySQL server locally, it would be:, S6 r4 A( f" h/ I  b% B1 g- O- D4 ]
  57. ---example---2 b7 ^0 @" }3 Q
  58. [DBEXPRESS]
    8 b5 g1 ?1 M* p) i4 t
  59. sqldir=mysql_sql' m* M4 c* i0 P- K; b& s. w  ?
  60. Drivername=mysql
    0 {0 F( ^6 f3 i$ u  q, S7 W
  61. Database=test2 x. o9 G! \5 c& b$ I7 @9 u
  62. Hostname=127.0.0.1
    5 l5 K8 J: @  ~4 x8 s4 j! j
  63. User_name=testuser
    $ x' ]; c. i5 m$ A8 L! u
  64. Password=my_password& ^0 |* Y. w3 B4 M2 l
  65. GetDriverFunc=getSQLDriverMYSQL
    . e8 D0 O5 v5 P& Y8 u# t+ E; V
  66. VendorLib=libmysql.dll9 ?( C% t, ]5 k
  67. LibraryName=dbexpmysql.dll! }1 p' c0 r3 h5 j
  68. Active=1
    . \  K$ i0 T$ F4 a- i
  69. ---example----
    % L. x' I+ X( }3 v; X, \
  70. - written 02.03.04 by pwk.linuxfan- T) G) u) \; k, P" |; D

  71. 8 B/ M  o$ `4 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' M  i/ S5 }" N# ]4 F
  1. * u& n; d3 ~+ c; P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! R; u4 g1 O' o8 ^6 s  ?

  3. 4 y) a; x$ r& R2 v; \
  4. # # #我们所需要# # #
    . ^) d' s  f0 @; i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; F' h( Y! ~: x' M3 _- F; L
  6. 不会解释如何做到这一点-也有文件存在,为
    5 h" x$ x# i$ b$ l4 Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " Y9 B' X, _+ a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ D$ G% x2 v$ u8 ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, {, C% |9 V3 f% ~  n
  10. 本地机器,这是我的MySQL安装。
    9 J! N, v5 K& w+ {, z: @% i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( Q$ i  d3 {& p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % Q1 f% Q( }5 z) y( R) m" d
  13. 数据库。 " I) K9 ^: T8 {- z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; T* R( T/ ]' c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & {9 U1 I/ M" C' y! v
  16. 在teamspeak论坛,如果你有兴趣。
    1 R# @' p3 `: m( `+ G: O
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' X0 o$ ^8 n3 Z$ Z0 T+ w- ^
  18. Borland公司使用。这个司机只能界面与客户端库6 X7 @; p: e  e2 ^4 g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 [7 d% P9 S6 E/ J4 [" b* h9 |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 Y5 i3 i1 e- ?  s
  21. " vendorlib " ,并解数据库连接。
    $ @* S3 \) F" [- Q; ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . v8 {8 |; T+ l) w3 z
  23. $ @9 g. O- @+ c
  24. # # #做好工作# # # ) Q0 }; `9 v5 j) X! B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都5 a2 e: m" n8 `! T( R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, \# z* h: e9 n' D4 h; ]
  27. 结束: ) ]1 W* q. d  Z( s4 ]: C: h
  28. ---削减这里---
    7 v, e' N* h/ ^
  29. [ dbexpress ]
    / f# k1 Q2 ^) |
  30. sqldir = mysql_sql
    7 q3 D* p/ j" @; v  \7 t7 f
  31. drivername = MySQL中
    , d/ p7 c# l& V: R- P9 A6 c& ~
  32. 数据库= your_database_name_here * I! G8 H3 Z, Y5 ^/ E8 q4 c& q
  33. 主机= the_pc_the_mysql - server_is_on
    6 z% B9 H4 }, }2 |  a/ c6 z
  34. user_name = user_name_on_the_mysql服务器
    5 b$ o  i# ^& @3 E
  35. 密码= password_to_go_with_above_user_name
    + }& B& F# K- R& z+ }1 a+ X1 @
  36. getdriverfunc = getsqldrivermysql
    # \# h5 @. y! G7 J$ C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 x% u6 x1 H9 J8 d! f
  38. libraryname = path_to_libsqlmy_libary ( I3 p; c3 i$ l; j
  39. 积极= 1
    7 W) q4 t: s8 O" e6 ?
  40. ---削减这里--- 6 Y2 ?7 |: v' p9 T( ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 v8 `" C0 _2 A/ t5 a, J
  42. ---例如--- - m' s2 V- R4 b) y8 w4 l  a
  43. [ dbexpress ]
    0 V/ }( A% F  g5 J9 J6 d
  44. sqldir = mysql_sql $ S8 I* i6 v1 D# W2 |
  45. drivername = MySQL中
    2 z' {) x. F+ y" ]9 a
  46. 数据库=测试
    # @* }0 f9 ~- L! f# x; j# U3 m
  47. 主机=本地主机
      d% r6 T+ {* ?9 a, {* n
  48. user_name = testuser
    0 r7 [4 G2 o7 M  M! d' s% H" U
  49. 密码= my_password
    : A% p; J& A8 [) k( S; y
  50. getdriverfunc = getsqldrivermysql 6 w" u- H! w- [4 Q6 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 K3 d8 R! j# b4 {/ J1 D- t
  52. libraryname =. / libsqlmy.so # I  N9 R! P# M+ e! K
  53. 积极= 1
    ; C+ O4 O) U+ t, s4 m8 h
  54. ---例如--- # P. T& G8 r: n7 T: L
  55. 8 b; F5 _" v6 b1 V+ |- m' L! E6 \4 n
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " I; ]$ ^2 x' b6 _% ]
  57. ---例如---
    2 s) \& B8 z% e! `% t* Y- v
  58. [ dbexpress ] # s! H: W+ u2 ~" |
  59. sqldir = mysql_sql 6 U* K3 Y$ T; ]- q  a; Z: q
  60. drivername = MySQL中8 p% ]# E) z2 ]7 s2 Q" `3 d+ B' p, j
  61. 数据库=测试
    0 L7 Q- K( H# a' T
  62. 主机= 127.0.0.1
    & U; m$ G4 G0 h
  63. user_name = testuser
    6 j0 w4 P" e7 M/ l* K* X
  64. 密码= my_password * \0 p) h8 F- C0 Q4 {4 f) }) `
  65. getdriverfunc = getsqldrivermysql
    7 c+ P! a7 q9 {) {4 D
  66. vendorlib = libmysql.dll在
    : R" h% G% O( F( P2 S
  67. libraryname = dbexpmysql.dll
    0 C0 v/ U% ?2 `4 m
  68. 积极= 1 4 Z1 N  A: _6 M0 `' Y0 `" ]
  69. ---例如----
    / `  ?! i7 D1 c
  70. -写在0 2.03.04由p wk.linuxfan4 u3 s! t" L, W3 z& 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 words4 O, }; G! f5 ]$ m2 R1 g
( k% T% i5 Z: w8 |$ _5 i% D
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-3 17:45 , Processed in 0.095002 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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