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

2685 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + x4 B, C& K7 B4 m
) X; A, N2 w( F/ y+ O

  1. ( |1 @7 i1 ^, z8 z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: M' j9 }; _& O3 }0 Z

  3. & X& e: W7 D# q5 B
  4. ### What we need ###
    ! |+ T1 }* s( r- Q  c% `+ Z
  5. Naturally, we will need a MySQL server to store the data for us, this document & I! O6 c1 t  P
  6. will not explain how this can be done - there are documents out there for the
    ; T" I. J2 \9 m; O0 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : q1 k: V: G- I" |
  8. and a user account (username + password) that has the permissions to do stuff
    ! T: t) x8 {9 E( M  j. u& Y
  9. with the database. Additionally, you will need a vendor library installed on the
    5 c4 r1 H+ L. ]+ E/ k! Z- U
  10. local machine, this came with my MySQL install.
    ; J% y/ K/ ]% |
  11. These instructions will not tell you how you might transfer your data from the6 ~* h8 T/ b9 f3 r7 p! u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( n6 V$ F4 u9 @' n
  13. database.4 F) a, X+ D1 _- e1 U& H* ^- w
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " v. [7 D) y, M# `& F$ \4 Z% T
  15. the time of writing, there are still too many issues - check the current status* \- d7 v5 N& M8 R, ~) y: H
  16. in the TeamSpeak forums if you are interested.
    ( _" m2 G) E" m+ {  H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! v4 @: n! j  L$ T
  18. Borland was used. This driver can only interface with the client library that ; z- o. e! V6 u4 `0 t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 L5 J) r. V9 W
  20. client library - basically all you have to do is to use a 3.x client library as
    * I* |5 W; w7 q  c+ a
  21. "VendorLib" and a 4.x database to connect to.
    & h+ q2 u. u  N$ f' }  |$ r
  22. If you need more info about dbExpress, you can contact Borland.
    : p7 ~/ H$ s8 W, s% O
  23. , n' T; }4 Y  L/ H/ n* t
  24. ### Doing the work ###
      G& U7 o9 r  H7 o0 j& Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 [1 H2 b: }* E0 l- {
  26. the perquisites right, just open your server.ini file, and add this section at
    8 \4 P0 T1 S9 ^6 I; e1 _
  27. the end:% T, S, \& R; Y' i
  28. ---cut here---
    " C+ {* `8 A& k* t
  29. [DBEXPRESS]; f% Z" [4 m1 |* E9 v8 B
  30. sqldir=mysql_sql
    3 N/ g* j8 e* W" T3 O
  31. Drivername=mysql$ b) q( k' ?* R9 m& e
  32. Database=Your_Database_Name_Here8 d+ K9 W- P- |, ]/ v
  33. Hostname=The_PC_the_MySQL-Server_is_on# N$ t( P4 ?4 h% h6 g. L$ `
  34. User_name=User_name_on_the_MySQL-Server
    , d4 r( {0 N8 H6 Q5 V" x
  35. Password=Password_to_go_with_above_user_name0 [$ F9 W+ k/ U2 L
  36. GetDriverFunc=getSQLDriverMYSQL/ k8 t: l! k3 B' |8 O0 ^) a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - s  U" d: A7 [& X0 @3 P% w
  38. LibraryName=path_to_libsqlmy_libary& _% N8 S; a; z& A- r
  39. Active=1
    ! Z( p7 \5 X" y% U0 P. h; {
  40. ---cut here---  R4 `0 }2 d5 `9 m  d4 [+ v
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 r. v5 d4 ?$ Y: w& _, o' W+ }
  42. ---example---+ y' }; H$ ~$ B, r) g
  43. [DBEXPRESS]" C' _" k% h* ]# \8 `
  44. sqldir=mysql_sql
    0 n0 ]' {' _7 W: k& V7 ^
  45. Drivername=mysql
    ) u! n) q/ Y! w& w% j  k) r
  46. Database=test- f; R( h, u8 b7 d# l0 q
  47. Hostname=localhost2 ~+ N8 K0 |0 f" I" [, J" _
  48. User_name=testuser% p  I# U6 o  r, L' x# P
  49. Password=my_password
    ' [( H. `$ o; ?4 U1 e
  50. GetDriverFunc=getSQLDriverMYSQL% j. j7 f0 A6 N* P2 ^$ B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 i+ r4 ]3 K' O4 Y0 M% ]9 P6 K2 T
  52. LibraryName=./libsqlmy.so  c2 d, c3 t6 J. _1 W
  53. Active=1& f" V. i: o0 y# A* |% K0 U
  54. ---example---
    2 h# `$ ]1 v% m& B  q

  55. 1 f  w; S3 f0 w6 b# @7 S% y$ J
  56. On a windows box, also running the MySQL server locally, it would be:
    " R! {  ]7 a$ m7 n4 H5 j( |6 H
  57. ---example---5 g# D8 i* t; [/ i0 I
  58. [DBEXPRESS]/ {8 Q: ]* a( a3 ~8 D3 @# f
  59. sqldir=mysql_sql: S% L3 |: _: M* k$ a
  60. Drivername=mysql% f  r' R6 R/ ?) _  H1 B' y
  61. Database=test0 o- M+ ]* I4 P! B5 z. g0 Z! m
  62. Hostname=127.0.0.1
    . z# T  n+ h$ A  `3 z1 c' t7 F
  63. User_name=testuser6 |( `& ]3 A4 e8 y; t. O8 Y) T
  64. Password=my_password
    4 w9 K/ J  r. ^, u) i- u
  65. GetDriverFunc=getSQLDriverMYSQL
    9 Z0 h  [& R8 _; i0 D: b
  66. VendorLib=libmysql.dll3 E7 u4 M% l; ~
  67. LibraryName=dbexpmysql.dll& i6 f8 a& U) Q/ A7 G( V
  68. Active=1' _" n0 b+ u! H. {# l+ Z
  69. ---example----* n: Y7 O2 u+ Q) d$ H' ~$ ]
  70. - written 02.03.04 by pwk.linuxfan! [( v- s1 Z: J4 ]0 u

  71. $ T8 n: r& ]4 c+ y% y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% g4 w2 y- D% i; q% k
  1. ) h0 N; Y4 U$ r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 O* f6 ?6 K- y" Q4 n1 ^

  3. 6 N9 k  ?7 g0 X1 x+ b% i3 M+ P8 h
  4. # # #我们所需要# # # : R. T% [& w5 R1 K  v. Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( f5 E& z1 w/ |# x
  6. 不会解释如何做到这一点-也有文件存在,为
      L$ W2 s5 k; r; ?/ I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 M4 H4 e5 U* ^9 }# x, L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 V% h9 [( W* C1 f7 O9 A+ ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) Z8 G( x: n$ z) m0 X; @! R) {+ E
  10. 本地机器,这是我的MySQL安装。
    ( Q4 x: \8 f2 V+ w- z& G4 M; E# h" G6 K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 d( B7 |5 ~  V# O6 Z1 y; X* K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & d% j: {& ?$ B6 i" o+ ^5 j
  13. 数据库。 - A) J9 D: M7 e8 O
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- r! ?) p* u0 ?; g( U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : J- J4 m! O! q3 n
  16. 在teamspeak论坛,如果你有兴趣。 " }8 I: |) x* ]5 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 u, Z0 V: g7 [) [" b2 V4 |
  18. Borland公司使用。这个司机只能界面与客户端库) o+ O" @) _! L4 @9 l% I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # w& p7 x9 p' q: _* f( Q+ V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 R, ]- @8 R) w9 j
  21. " vendorlib " ,并解数据库连接。 ) P4 z) m! {2 `" a4 Y& j% W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 Y# k9 a% [. C

  23. * l7 b3 S+ ^3 k7 p  [
  24. # # #做好工作# # # ; i+ M3 G( z. {0 m; a$ _: F1 m9 `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ [$ V2 n- t1 l5 ~/ Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 j  r3 a( F* d1 n1 ~8 p
  27. 结束:
    9 g3 b. Y5 [  k5 h
  28. ---削减这里--- 4 L/ c$ f. k& v7 K. o7 s) g
  29. [ dbexpress ]
    # F- R) e9 E! R; k, I4 z0 G2 b1 T
  30. sqldir = mysql_sql
    5 z# i! V. ^% {8 P
  31. drivername = MySQL中0 A# G+ ]0 S- g) ?2 A- i5 x- }, J
  32. 数据库= your_database_name_here
    3 H& p& x' N0 o. O$ _
  33. 主机= the_pc_the_mysql - server_is_on
    3 x( h- N4 r& |3 Q* s
  34. user_name = user_name_on_the_mysql服务器) I2 n5 h1 Z1 H9 z/ T, `
  35. 密码= password_to_go_with_above_user_name + Q; X" I+ X6 f0 J, f" a  B
  36. getdriverfunc = getsqldrivermysql 1 s/ H+ h8 D/ z% v" M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 \+ t+ Z4 Q' k3 N+ x+ @
  38. libraryname = path_to_libsqlmy_libary
    & A# @) W0 Q+ {  Y: X8 ]
  39. 积极= 1
    ) m; F7 L) n1 f3 P- B
  40. ---削减这里---
    & h' b0 C$ w& Y; |- ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 ~6 U' u( F  F! l: l1 J
  42. ---例如---
    3 _3 G5 V: Z, K3 _0 K
  43. [ dbexpress ] 7 }6 ?# n- t/ g! _$ s1 T. \
  44. sqldir = mysql_sql
    % w8 v  i8 L9 X! @/ @+ P% N% j8 [
  45. drivername = MySQL中
    2 Y: d) d% I/ j" e; {* s7 v3 b% @
  46. 数据库=测试7 G. ]. ~5 f/ E3 ^
  47. 主机=本地主机$ S3 d8 ]( T* U7 u
  48. user_name = testuser
    , `: ~: w. x  u6 r1 r8 I/ T9 J
  49. 密码= my_password
    9 Q, e$ s9 ]% Y: }
  50. getdriverfunc = getsqldrivermysql " G6 }) s9 b6 e7 Z8 K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 {+ v& g# _9 D+ t7 v: _9 N4 t
  52. libraryname =. / libsqlmy.so ; a5 q# T) [. C6 _' y8 E! P1 A
  53. 积极= 1 # n& d9 J& \& t" v* V* c
  54. ---例如--- % u$ ^: u8 W: i+ Y$ d; }

  55. 9 n! {7 V* `  r" i1 ]( M
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 d4 P' z* ?4 ~% B+ _. v# v
  57. ---例如--- ! K- O- v8 G3 y2 V) Q/ N) t+ w
  58. [ dbexpress ]
    ' N0 R/ C; N4 Y+ e
  59. sqldir = mysql_sql ( h6 p6 x+ I5 F% ?. {
  60. drivername = MySQL中
    % L/ _4 g) @2 ^/ j: n# g8 Q
  61. 数据库=测试4 h  D3 z2 _6 @8 v0 s* l! _- ?8 c
  62. 主机= 127.0.0.1
    , ^/ w+ t- g( y% x1 t. V
  63. user_name = testuser 4 V4 p0 k" X% S& s$ n$ D6 y
  64. 密码= my_password
    5 E) d0 g* [" V
  65. getdriverfunc = getsqldrivermysql   I- F) q. r& a4 b5 ^: E
  66. vendorlib = libmysql.dll在; F) \! h' H7 T/ S
  67. libraryname = dbexpmysql.dll 5 Y; k& q0 B4 ]' f0 B" T3 d6 X
  68. 积极= 1 5 ^6 `  r: l) t2 a; V  j# F
  69. ---例如----
    ' i; H+ q  ^8 O' X6 z4 P4 o" U1 H
  70. -写在0 2.03.04由p wk.linuxfan; M& ?6 P+ ^+ T0 K( _- E
复制代码
发表于 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: p* w+ h7 `" V+ g
' Z9 R: f9 a; ?: T
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-31 07:28 , Processed in 0.102423 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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