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

3098 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( T& t" y" ]' l6 F: u
5 g5 H& w& _3 F# ^$ F1 c) X1 V8 p
  1. 7 |# D2 ^$ A+ I% }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , @5 F; r' x5 z0 R

  3. ! N8 w- A5 x; Q; _
  4. ### What we need ###6 A6 n6 `1 Z7 n$ n
  5. Naturally, we will need a MySQL server to store the data for us, this document , c( t2 A* }6 q2 U7 ^% \
  6. will not explain how this can be done - there are documents out there for the 5 D0 W- r7 O( z) I( A) v4 T! d
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 Q4 j  Q, Z2 m
  8. and a user account (username + password) that has the permissions to do stuff, v& ~7 y. r) `6 g) M
  9. with the database. Additionally, you will need a vendor library installed on the
    8 ]% b1 ]: n+ x2 T
  10. local machine, this came with my MySQL install.
    1 c3 F( P+ V& T" I9 B5 ~+ k6 G1 L) {) e  z
  11. These instructions will not tell you how you might transfer your data from the1 P* C  Z/ X9 \( [# n3 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 U/ k* U3 \' S  T- _
  13. database.9 \  F7 H- E) d3 Q) w3 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 ]. \* ~1 G! p: ^3 o& K: K
  15. the time of writing, there are still too many issues - check the current status
    ! N  T8 p7 ^+ w, O( `1 ^8 y9 `
  16. in the TeamSpeak forums if you are interested.  C0 u, G* O2 l' ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 ^; g: O! K6 X! e$ v4 y9 i
  18. Borland was used. This driver can only interface with the client library that / _/ S5 ]8 x" M' o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , G, m( M# C8 s3 p1 R( |. C- |- T
  20. client library - basically all you have to do is to use a 3.x client library as
    " \( [: X, R+ \" @  V- J- o1 w
  21. "VendorLib" and a 4.x database to connect to.
    ' s8 S0 F$ w# ^) r
  22. If you need more info about dbExpress, you can contact Borland.+ [$ T( D/ U/ g9 q" a

  23. ( O9 `; B( `& I; Z5 ?: `* ~
  24. ### Doing the work ###
    " t- M5 Y. f4 w$ W5 p1 n, M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: e2 j0 U6 ]; N+ v% `: O* s
  26. the perquisites right, just open your server.ini file, and add this section at% W0 Q" O. r3 d' {9 \
  27. the end:
    7 ?$ o6 n% T# [
  28. ---cut here---, o! F+ m4 s  m% D
  29. [DBEXPRESS]
    2 D. P9 d- }- H& A6 {; ?! ^, R1 j
  30. sqldir=mysql_sql4 ?  W1 n) Q' V" u( K4 C
  31. Drivername=mysql6 @4 K& x' ~, |9 O( c( z
  32. Database=Your_Database_Name_Here
    ' i; l6 e8 c2 D# z4 a6 M2 x/ t
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 @0 s3 t: g4 |! ^2 k" X& g
  34. User_name=User_name_on_the_MySQL-Server$ A3 u3 l* d6 x, m7 u
  35. Password=Password_to_go_with_above_user_name
    $ \+ I: ~4 P8 O
  36. GetDriverFunc=getSQLDriverMYSQL3 c  R/ N3 B& T1 D4 l5 L' G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . \/ _% B$ p4 T( n/ N) {) U9 [! K" T
  38. LibraryName=path_to_libsqlmy_libary
      K" Y5 h) K+ I, |
  39. Active=1
    6 J# V: d4 a: _& l8 b
  40. ---cut here---  M* j0 C" w2 O# v8 V- i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 f9 H( W4 C5 R( L& x8 w: _' }
  42. ---example---
    5 z4 w+ a( c: R( O! @
  43. [DBEXPRESS]- n% I# T+ o7 R5 `6 Q
  44. sqldir=mysql_sql+ k! ~& H1 {& a, g& Y
  45. Drivername=mysql
    ) E1 e( L( L- a3 f8 b
  46. Database=test
    1 }$ F2 i. J) J: |2 g, H3 b
  47. Hostname=localhost/ c9 E7 h+ y8 P2 V8 c# E  ^
  48. User_name=testuser  c# N  i; m2 i$ e
  49. Password=my_password
    2 E9 u8 m" K  x5 J/ ^
  50. GetDriverFunc=getSQLDriverMYSQL
    5 U9 X  H2 ~, X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ Y$ H& X. ^; t+ T5 [
  52. LibraryName=./libsqlmy.so* s" K6 R7 u  z% a/ y* I7 k
  53. Active=1
    ! H: r( `' O3 g' r" f, M7 s
  54. ---example---- b6 v* T( A5 k1 p* w

  55.   N  ^/ ^6 Q+ v! n; A8 t
  56. On a windows box, also running the MySQL server locally, it would be:
    $ c. \$ \+ D# a
  57. ---example---; q( J( ^2 s4 \2 d5 Q
  58. [DBEXPRESS]
    9 w/ j+ G- v! ^5 t% m7 j, v1 d3 o4 e
  59. sqldir=mysql_sql
    3 P+ k2 o: K  b5 g" _* g8 Y2 E
  60. Drivername=mysql
    2 o% X) |, _9 L" ]
  61. Database=test4 v% U- B2 E$ e* _5 t7 ^( X8 F
  62. Hostname=127.0.0.1
    ! E0 B4 G' w7 V# @8 L1 I' M  r
  63. User_name=testuser
    7 w, P! @$ A8 T& Y0 @" p% S
  64. Password=my_password& Y  P% y6 v+ C
  65. GetDriverFunc=getSQLDriverMYSQL
      H) G0 C! @  A3 j6 m* b: P
  66. VendorLib=libmysql.dll5 @2 a/ B4 Q# ]' v5 n2 B+ u# W
  67. LibraryName=dbexpmysql.dll# q. |5 ^% S6 h" }
  68. Active=1
    , d" A! j8 p; C" r' ^
  69. ---example----# j8 @  b4 ?0 e) c
  70. - written 02.03.04 by pwk.linuxfan
    , U6 D" c. X* J7 K) J# ]5 o5 F

  71. 7 B- }% d/ T/ g* D; K! S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% A* J0 r) P  C4 G# y
  1. ! K1 y3 {3 Z/ \( I% n3 _) m! K& g$ ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , F4 _/ R9 a2 S/ @2 T3 l' y
  3. + b/ J, p! s/ Y& e9 W; k) W8 Y# |
  4. # # #我们所需要# # # 4 j4 W6 Y% i  o% L( H3 R: T+ K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, L' Z2 V# ^- h  g5 E, w
  6. 不会解释如何做到这一点-也有文件存在,为- e) ]3 i: H# N2 T2 Z7 U+ s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  Y6 B$ o3 k/ e3 g9 l! h2 |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( C- p" F3 ~+ D! L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. W: o4 \1 c, H: m$ |! U
  10. 本地机器,这是我的MySQL安装。
    - q5 \4 J5 o9 W( ^  E, B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - X/ K) g' j8 X: c6 c/ C# A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " [- Z& W) ^9 y7 [4 [" Q. _
  13. 数据库。
    ! y7 T8 m' n5 G+ `; Q$ N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) F+ I% c( S1 _+ t  \) N5 ]0 p& d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & l$ r% S; n  S' @0 H) G3 L
  16. 在teamspeak论坛,如果你有兴趣。
    + X% n- b1 G$ I# R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- }# d+ H0 R. C! _6 q  p. m3 J
  18. Borland公司使用。这个司机只能界面与客户端库
      M) q% K+ L& W* j5 \. W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! C- d9 l4 Y2 M3 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , f' R4 k* S( s( ^& E  h2 D
  21. " vendorlib " ,并解数据库连接。
    / P7 H5 P4 L( J8 y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ ?& U) l: U$ w6 O% n( ~% w3 [

  23. " g  G( a: g% |& U  |6 M
  24. # # #做好工作# # #
    7 Q" Z) V$ X& u8 j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # P: G: ?8 G# z" y) u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- y. A" c  I& r! I/ x9 Y% k  Y+ c
  27. 结束: 0 N1 T7 T- ]  ~8 i! t1 d: O# \
  28. ---削减这里--- 2 N$ {/ j" A% b
  29. [ dbexpress ] % g  F4 p) X6 O9 b0 m
  30. sqldir = mysql_sql 1 C+ D  F# M% p& [* A8 y
  31. drivername = MySQL中4 l8 [' |4 S5 m$ R
  32. 数据库= your_database_name_here $ o+ A/ d# E4 X1 I
  33. 主机= the_pc_the_mysql - server_is_on 8 r3 H9 A: L: c* h0 w- v! Y$ T
  34. user_name = user_name_on_the_mysql服务器* r$ R4 l5 ]/ `. \' [
  35. 密码= password_to_go_with_above_user_name 0 ?; o: f! n' e
  36. getdriverfunc = getsqldrivermysql
    . g: y  W# Q3 M! e( F" o, u$ n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 b' K6 u( x- \) `) ^% V
  38. libraryname = path_to_libsqlmy_libary 3 T! ]5 W2 T& G% r5 B
  39. 积极= 1 . f- P1 _6 |' G/ Y
  40. ---削减这里--- 3 u0 x" r3 P9 t& Z0 h( R5 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( K) L  C0 n5 h( }* Q% d
  42. ---例如--- & w9 e. S: }+ [4 F: d! X1 }1 g' ^
  43. [ dbexpress ] % s, G( Z! r8 d3 b
  44. sqldir = mysql_sql - ]+ v8 b% c0 D$ W2 h$ U$ R
  45. drivername = MySQL中1 q+ Q' m7 f7 U# _, X2 ~
  46. 数据库=测试. ?3 Y  `: R7 h
  47. 主机=本地主机8 g5 p. a2 c3 z) \, N" M9 n# E
  48. user_name = testuser : b* z: S  ^' |: p! m# M  b' t
  49. 密码= my_password + B9 h# m6 N0 [
  50. getdriverfunc = getsqldrivermysql
    8 a6 |" O/ |5 J. J) f1 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' m( ~8 E5 [1 Q4 i0 ?! @9 _
  52. libraryname =. / libsqlmy.so 1 U8 @& f0 L% N. Z
  53. 积极= 1
    # j8 }+ E" S; f' t$ Z
  54. ---例如--- : g' r4 h& n) O4 `5 g+ R' K

  55. ) Z. R$ ]+ }$ L  S, D
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 ?$ d. J; O: `6 A8 p% r" [
  57. ---例如---
    % w5 C2 P- S3 Q0 z6 Q" K
  58. [ dbexpress ]   B$ r  [1 A+ [9 S* Z: l& n4 O
  59. sqldir = mysql_sql 0 @) J& M1 F! h. z
  60. drivername = MySQL中& |1 \/ D: s3 M" t2 ?1 h  h' B% }
  61. 数据库=测试
    2 \) n1 Y) ^1 R2 {8 P8 ?4 I
  62. 主机= 127.0.0.1 9 u% Y1 k8 g3 e8 K3 V; A
  63. user_name = testuser
    ; @3 S6 G- c7 L% |
  64. 密码= my_password
    ! t% T" J; `# X0 [8 N
  65. getdriverfunc = getsqldrivermysql
      T1 A7 A8 h2 t; u: _
  66. vendorlib = libmysql.dll在
    * t; {9 s9 a, X  E' L0 `. `; F
  67. libraryname = dbexpmysql.dll
    : ~: e$ U8 T" p- X: ^5 G$ v
  68. 积极= 1 3 l* \! `+ a: R  l
  69. ---例如----
    . n+ O* K5 _5 O0 s" @. D
  70. -写在0 2.03.04由p wk.linuxfan9 n! j, K# U/ G) y( 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& S8 Y" s! w* S& K# ?$ D

$ r5 G5 c! Y5 K3 hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-1 08:34 , Processed in 0.086554 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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