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

2815 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 T  V& b6 D' b: X
2 U& B8 N2 p- k: N2 `% _
  1. / E4 k, Q' a* Z* n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ B# a" S4 i2 k
  3. " V' H3 s: f' B( z( o
  4. ### What we need ###
    ' R7 M/ t, k$ O$ s, n& \: O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 J3 E# ^- h) r3 P
  6. will not explain how this can be done - there are documents out there for the . r7 @8 y8 k% {! T) d$ W
  7. interested. The requirements include a (empty) database for TeamSpeak to use# L$ [, f* V$ X2 c4 P! h
  8. and a user account (username + password) that has the permissions to do stuff
    ' i5 c- n" T: B) M& Q: G
  9. with the database. Additionally, you will need a vendor library installed on the
    ! R9 g7 n( ?4 w- x6 l- o
  10. local machine, this came with my MySQL install.. x5 L& M+ J1 t& G/ A
  11. These instructions will not tell you how you might transfer your data from the
    ( {& U5 M# ?2 c* A) i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( O- |$ |0 {* J/ ^8 M
  13. database.) E& t+ F# c$ H$ N- y$ [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; m8 ]+ R" R: K* y# k9 D; J
  15. the time of writing, there are still too many issues - check the current status0 Z) L' |( [3 u5 E% e
  16. in the TeamSpeak forums if you are interested.
    6 y1 x. Z! D% Q( ?8 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . ]& L) M7 }. C" g3 [+ I
  18. Borland was used. This driver can only interface with the client library that * M. A$ N: O+ R# T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ W& H8 W9 v7 ^5 v0 ^. R; l  f( }
  20. client library - basically all you have to do is to use a 3.x client library as ; j, z1 W6 W9 ~, Q
  21. "VendorLib" and a 4.x database to connect to.* W5 s  X7 R* M, w) b
  22. If you need more info about dbExpress, you can contact Borland.1 R9 p3 B7 \+ h/ T; w0 Q/ B* j

  23. # I! t) ?% J! O5 [6 r
  24. ### Doing the work ###
    : G( b2 m6 B9 F( A3 s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 `; B. ?3 Q# v' V8 [( |! l' g
  26. the perquisites right, just open your server.ini file, and add this section at5 a( C- w! }" f9 I8 E3 P
  27. the end:
    0 M) X9 Z: {/ A4 W( x2 [; Q  P
  28. ---cut here---
    , v8 j+ r' A/ E8 o
  29. [DBEXPRESS]; k( s5 v: R+ k$ e
  30. sqldir=mysql_sql, t7 o# x% ]$ W/ O( m8 B# h
  31. Drivername=mysql
    * n. U+ [- k! Z% e# E5 I
  32. Database=Your_Database_Name_Here3 \7 Y; \* i( o; X* K: Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
      Q7 i1 w/ R3 i# i  ]
  34. User_name=User_name_on_the_MySQL-Server
    " K! |3 r' c5 F  H9 m: n0 W8 J
  35. Password=Password_to_go_with_above_user_name/ b" F; g/ _" v* X# ]+ M) W) p
  36. GetDriverFunc=getSQLDriverMYSQL& o$ v1 I& Z  G2 \; c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * h: g; N0 C8 c: C5 Z+ |! w+ l
  38. LibraryName=path_to_libsqlmy_libary
    0 ?3 |/ c' P7 Q" s% W. ~1 h$ E4 {
  39. Active=1
    . V1 t0 ?. n" l: O
  40. ---cut here---
    ( `) t: x4 F0 m- U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * j! V0 R' o. G* Z) R
  42. ---example---2 g6 m: d  j; W  ^/ U: P
  43. [DBEXPRESS]
    " X, N' L) S6 R6 x9 I# j
  44. sqldir=mysql_sql, P( w, T; U& D  B7 I1 I
  45. Drivername=mysql
    + ]" J) N3 n# t5 c  ^+ d
  46. Database=test
    . U  ]% o7 ]6 ^3 S8 g0 M
  47. Hostname=localhost! B0 Q- w9 k( z# H8 D
  48. User_name=testuser. m3 N$ S: F* l
  49. Password=my_password5 U* k0 A. Z  F9 }  U4 |
  50. GetDriverFunc=getSQLDriverMYSQL1 s+ O' L. i, Q8 w; u' I% S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & o( w9 `' y% x% `& o9 q
  52. LibraryName=./libsqlmy.so
    7 v4 j+ L3 D! a! j- k* n( V: ~3 [
  53. Active=1/ ?4 E" ~; w- ~6 Y+ X, E4 x; Z) P
  54. ---example---  z; R( C) n6 J# q8 R, B
  55. + F9 S, t/ ^; k+ j8 y
  56. On a windows box, also running the MySQL server locally, it would be:
    : ]* T6 a% x8 V" O. y" W; i7 ~) O
  57. ---example---
    / B' T7 g1 o# d) Q$ `4 F
  58. [DBEXPRESS]2 q1 {* F* X4 X- z- n; L+ L/ G
  59. sqldir=mysql_sql* {& {. B$ Y# Y& H
  60. Drivername=mysql2 }3 M1 r" \) G5 g: l" }
  61. Database=test
    9 y- z; l! {3 k* l
  62. Hostname=127.0.0.15 x& F$ v2 F, }) G
  63. User_name=testuser
    ( J/ Q) A& X, B5 j
  64. Password=my_password
    9 s; ~( P& P$ ~% t
  65. GetDriverFunc=getSQLDriverMYSQL- @! @+ [. r9 x5 ~7 i  K
  66. VendorLib=libmysql.dll5 E* t! o! {( g9 }
  67. LibraryName=dbexpmysql.dll
    ( Z4 _, R3 d0 q
  68. Active=1
    % A3 C! X3 V2 t8 D# Z) B
  69. ---example----
    ' o" R7 w, P; ]. p
  70. - written 02.03.04 by pwk.linuxfan# M5 b; N9 M' @
  71. + B2 R* d* C& E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 s0 g1 s8 d- S7 Q/ l+ |; X- g. S
  1. % G- c2 {, m  O1 |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . n  q* A7 ~4 i/ V  y
  3.   q, K8 V- \$ Q
  4. # # #我们所需要# # # 8 m) Y1 V" q" ?; N+ H6 j2 P9 Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 Y  c" B* q4 I6 \! W5 i! Y: }
  6. 不会解释如何做到这一点-也有文件存在,为
      Z3 {+ b; O# O/ j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; u- R7 e) {6 ~. V% u2 `8 Z6 \! g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 u+ ]5 K/ `. }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) ]. L% M$ |" M
  10. 本地机器,这是我的MySQL安装。
    5 L6 T# x: o2 K5 F/ m" [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 [+ ^8 I3 j$ z* o- o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' w7 s( t* L7 }* R3 C
  13. 数据库。 % S! P" H8 ~. Y* x+ s; @" e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) N! v( Q; {! E2 x5 H
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 W' w" B" c2 L1 }; d
  16. 在teamspeak论坛,如果你有兴趣。
    3 i+ n% J$ B/ H) B6 k+ x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' Q9 b- y7 J- v, r9 V* J" A
  18. Borland公司使用。这个司机只能界面与客户端库
    3 J& H9 T& j$ [: q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 t, ]4 |& c& J$ X! u+ K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 K* j3 J5 ^2 H& ~0 R
  21. " vendorlib " ,并解数据库连接。
    2 A8 o. b7 Y7 s9 g5 |  S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) J# i0 |5 c/ A
  23. 2 r5 x8 K+ R) Q0 J2 z/ ~/ g% W7 K
  24. # # #做好工作# # # * n5 G$ w0 F. `1 T- h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 I$ \$ M7 @6 f( x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - P; n' w0 b) V7 N) X) k6 z: V, @
  27. 结束:
    - n' x, l5 v7 D  T5 i
  28. ---削减这里---
    : U& S$ k/ a8 n* U2 C) I
  29. [ dbexpress ] & Z  P1 [0 H/ a! I/ [* m+ k' m: y
  30. sqldir = mysql_sql + O+ e. f0 a1 Y& x5 W
  31. drivername = MySQL中  b& l) F5 ]0 h* P# c, x8 Q' K
  32. 数据库= your_database_name_here 5 C6 L$ ]5 D# S% ?' g& L( x
  33. 主机= the_pc_the_mysql - server_is_on ! F5 B! K' \! \2 S4 F
  34. user_name = user_name_on_the_mysql服务器
    ; _- V* R* u. t) w3 ?4 x
  35. 密码= password_to_go_with_above_user_name & c# F3 w0 `8 E+ ~% [2 P
  36. getdriverfunc = getsqldrivermysql
      X) H- Z/ N( C7 B- e$ P6 ^. k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % V) }! f# g" I+ c
  38. libraryname = path_to_libsqlmy_libary
    8 W( }# W4 g0 [& E/ Q; z. x
  39. 积极= 1
    $ w& B* ?8 d$ X2 ^% s
  40. ---削减这里--- 5 \( P) D9 ~5 e0 i; c1 h  D$ e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : X7 k+ J! W. r( _* q0 e
  42. ---例如--- 4 r( N$ J5 f1 M' p. z6 `4 e
  43. [ dbexpress ]
    . q; K; O( b' w1 ~1 N6 L# t
  44. sqldir = mysql_sql
    " f! ~$ M  l2 E( _8 ?
  45. drivername = MySQL中
    4 S* C" F) T7 O5 g: a- z" c
  46. 数据库=测试! r8 n5 g4 Q( D' x8 P; k
  47. 主机=本地主机
    3 b0 i2 @: N7 ]" L, e/ d
  48. user_name = testuser $ M  t, m; p) P
  49. 密码= my_password
    8 @3 @" M; f1 i1 f1 [, D
  50. getdriverfunc = getsqldrivermysql ) r/ A! Q6 L" g' a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 ?3 G- j; |, ^
  52. libraryname =. / libsqlmy.so # ]) J" T% k3 }+ N6 d
  53. 积极= 1
    5 F% Z/ z# j/ }. E# V- R! s7 ]9 R0 B
  54. ---例如--- 4 q  B0 \5 l2 ~. c# v  l, q
  55. * Y" l( Y6 w  J
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) w5 A/ H4 Y, P; j& N
  57. ---例如---
    # G  I4 u4 d* ^* q
  58. [ dbexpress ]
    9 _& O: S3 \& h/ {7 P
  59. sqldir = mysql_sql
    , A- R7 w9 S. k* w/ j/ s, e3 S* R( q+ Z
  60. drivername = MySQL中  o. u5 y: H' ~% @  }. {
  61. 数据库=测试
    - u' N0 f& S  Z0 h
  62. 主机= 127.0.0.1
    + ], L& E0 d( t3 Z( v- E3 s+ _
  63. user_name = testuser
    . q5 {! p/ l9 G) u% j7 }
  64. 密码= my_password
    + \; R+ p, C+ r7 M
  65. getdriverfunc = getsqldrivermysql
    5 u' X* ~3 q; [
  66. vendorlib = libmysql.dll在. T0 Q: i+ u2 {& L
  67. libraryname = dbexpmysql.dll * j1 A  s3 d/ |& M. F
  68. 积极= 1 8 U! A, v3 v6 f# a& c. a
  69. ---例如----
    ) C3 S) p. F+ }. c) h7 b
  70. -写在0 2.03.04由p wk.linuxfan
    - b" g7 E9 S3 X# u7 ?0 X
复制代码
发表于 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" i3 F) M* S& c  F) B

9 n# o* w1 V' d2 i  g' Mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-28 02:23 , Processed in 0.108364 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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