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

2761 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) b" H* S& s4 N' o: \' {% q

6 Y/ Y/ T' t: Y5 `5 p4 y( a2 o

  1. ) T( }) o/ ~, z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) ]9 y9 O7 G9 Y% z+ S/ Z' y; `& m6 E0 L

  3. - l; i, w2 M" V# I$ o
  4. ### What we need ###/ K4 w8 j4 S2 X7 y7 O# g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) R/ \7 ^! m6 J
  6. will not explain how this can be done - there are documents out there for the
    " @( _. Z; m- t8 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 x9 f: y6 U, |" m0 }
  8. and a user account (username + password) that has the permissions to do stuff8 u- m3 q' r4 ^4 r2 O+ K
  9. with the database. Additionally, you will need a vendor library installed on the% U) b: Q2 H  e; Z- B
  10. local machine, this came with my MySQL install.- f2 u! y- K5 ~* _, `* g' l
  11. These instructions will not tell you how you might transfer your data from the( r  B& }. z1 ^7 e% p/ j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  J+ S+ F6 T- @2 M4 m/ T
  13. database.
    : K' ~, x- b- F9 s2 ?9 L
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 o' Y8 [. ^7 u( ?* O, {- }' h+ h
  15. the time of writing, there are still too many issues - check the current status
    ; h3 S2 i7 [" d
  16. in the TeamSpeak forums if you are interested.7 i2 m3 f; N5 K. c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" G9 }& h3 {7 D
  18. Borland was used. This driver can only interface with the client library that
    & p* J* J+ ^6 N% E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' g% W% {$ K: c
  20. client library - basically all you have to do is to use a 3.x client library as
    * k5 w4 s3 L! g9 _9 p
  21. "VendorLib" and a 4.x database to connect to.8 k- P$ Y3 ]6 p, |8 Y5 _6 e' `
  22. If you need more info about dbExpress, you can contact Borland.4 P. B/ y) a; i2 E+ _9 _# ~8 V1 I

  23.   H1 _+ p! P, J; z
  24. ### Doing the work ###8 ^% r" d  r; k9 a# j) S) l$ T* ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; w. J# T) y) B- a# ^8 D: i8 ^
  26. the perquisites right, just open your server.ini file, and add this section at
    6 T8 S: |: K4 b, X3 S; k5 @
  27. the end:
    7 _5 v3 I' D. @. \7 r) `" m( G, w
  28. ---cut here---
    8 ?' e, y7 ~" f. |( G& {$ C
  29. [DBEXPRESS]4 M. G* A6 o$ G" W: z2 g3 {. ^- H
  30. sqldir=mysql_sql, ?4 G% u% i" K+ _
  31. Drivername=mysql4 P: V/ H- X4 S( _
  32. Database=Your_Database_Name_Here
      r' N9 @+ E& I& Q* y4 ^5 A
  33. Hostname=The_PC_the_MySQL-Server_is_on. M; z1 l( a) N0 @" H4 _7 J( b
  34. User_name=User_name_on_the_MySQL-Server
    9 {/ O& n6 p  Q# J& H) I
  35. Password=Password_to_go_with_above_user_name1 o/ F$ T. n! r% D8 I
  36. GetDriverFunc=getSQLDriverMYSQL; M2 b; u* l2 L% w5 G+ v- P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( A7 v- T0 w  k9 p" P( E9 h
  38. LibraryName=path_to_libsqlmy_libary* t7 a$ J2 y# T% P; ]
  39. Active=1
    * g% d7 M1 y  f7 g7 T
  40. ---cut here---
    - ~8 ^4 C  K/ {) ^6 ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + ^+ I+ J$ x- ~! P
  42. ---example---
    " K: x! I$ E3 f) N
  43. [DBEXPRESS]
    / v# A2 s6 L+ C
  44. sqldir=mysql_sql" [- r, i; a& W, u) L' ~
  45. Drivername=mysql
    # }8 p0 L5 d9 G
  46. Database=test
    3 m; ?' B# t6 x7 X& z' E
  47. Hostname=localhost) X; Q3 B$ C$ P3 R# b% v( e
  48. User_name=testuser- E: f" c2 ?( r6 x5 _9 }( {
  49. Password=my_password/ x' O  c: {! X7 b/ O1 c( \
  50. GetDriverFunc=getSQLDriverMYSQL
    7 P( u2 E0 {! E/ O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& l$ N. e& d5 Y1 N
  52. LibraryName=./libsqlmy.so( z. r$ u7 W8 @9 I* j+ ]; {* |* g) a
  53. Active=12 N2 o( {3 I1 C( r. j& M; L
  54. ---example---
    1 R& X/ ], Q3 q5 g: }# D
  55. 8 U' E4 e, O) R6 B% F) H! Y
  56. On a windows box, also running the MySQL server locally, it would be:
    % i( J# t; t4 @5 e, R  s
  57. ---example---
    / m( ]4 C6 T! S. h# \, _& c
  58. [DBEXPRESS]
    ! r5 K2 E. A" s# y1 t
  59. sqldir=mysql_sql. z9 V9 ]: G0 c5 w& j4 }1 |
  60. Drivername=mysql
    1 L# `' g- M% m2 n: E
  61. Database=test+ M* x4 c( z- ^
  62. Hostname=127.0.0.10 ^! c; Y( V: {; v3 g$ i
  63. User_name=testuser
    ; b2 W. a) I$ H1 i( I+ O8 }4 |
  64. Password=my_password
    8 P' H( P, ~; N2 V3 B
  65. GetDriverFunc=getSQLDriverMYSQL2 ^* e) a  v1 _- I( H9 k9 C: j3 z
  66. VendorLib=libmysql.dll
    % c5 E8 ^; Q0 _- J
  67. LibraryName=dbexpmysql.dll+ X# U0 A1 Z( t; E$ M' D
  68. Active=19 g+ X& j& x( j$ [
  69. ---example----
    " U  g- u' z0 z# P6 m
  70. - written 02.03.04 by pwk.linuxfan9 \. X8 M8 |8 ]
  71. $ ]! T! V$ y% b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 p% C' x% w, q5 D
  1. $ U: [) t1 j4 H4 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * F+ i* N! S" a3 u6 X6 h

  3. " g) \& }6 G7 f7 [8 P) C
  4. # # #我们所需要# # #
    . }& K* V# I: y% s9 @: B4 a4 p5 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, }9 i8 Z( B6 `3 s" G
  6. 不会解释如何做到这一点-也有文件存在,为  ~3 m' {" V+ J5 U) X7 g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - N# u8 ^. G  C# k% c3 W+ p# C' A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( g% U" ]0 @# h& g, o% M+ p* s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # b7 b  A$ [" @4 x9 Y; |! w; x9 d
  10. 本地机器,这是我的MySQL安装。
    - w3 U2 n( O. t0 H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      h9 r6 g8 ?- y2 i' d: ~5 o2 C, s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / M1 J; \4 c4 T
  13. 数据库。 # v' q# j9 ^# t7 i% o, D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 b9 J# }0 j: d- q! t" x# `9 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; x6 {: s/ z6 a5 b9 B9 R( @
  16. 在teamspeak论坛,如果你有兴趣。 1 a! `, d3 t8 g' @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) `: _+ o% O- v; m* O4 [8 q
  18. Borland公司使用。这个司机只能界面与客户端库
    ' ?0 ~" O# c/ J" ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' j# i. `! R2 {$ c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 M* s/ F( }3 S# |  T( |
  21. " vendorlib " ,并解数据库连接。
    $ z5 E+ _! d" x! n6 q& T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & E2 X8 q% Q0 u9 x5 v/ Q# T
  23. 7 B: w. t+ L, ?6 i! ^( n7 k* Q# y
  24. # # #做好工作# # #
    3 x5 W  _) X  y* T0 G2 \3 ^( W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , g1 t% M1 m2 J0 \8 P4 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 J1 ]6 O% |' y# y  w
  27. 结束:   v/ q, ]8 A: \2 G
  28. ---削减这里---   D5 K9 p( i; g, x) d  z
  29. [ dbexpress ]
    5 Z- }) g' U( D$ U0 Y* _
  30. sqldir = mysql_sql
    ! ~+ C3 V/ b, i& B* ^* \
  31. drivername = MySQL中0 o7 L3 |8 v) ]& a) v9 P
  32. 数据库= your_database_name_here
    . N" U; M# C  g7 B
  33. 主机= the_pc_the_mysql - server_is_on 9 }6 e; o* |# s" N$ G3 L: ~
  34. user_name = user_name_on_the_mysql服务器
    & M+ e( @6 r0 |9 ]
  35. 密码= password_to_go_with_above_user_name : K+ V, ~2 w6 g/ q; s
  36. getdriverfunc = getsqldrivermysql 8 K: {* R( T$ ?5 K1 Q& k; F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , l; v' G6 k+ Y, t1 Y7 L
  38. libraryname = path_to_libsqlmy_libary
    * z3 w6 R: F. L+ O
  39. 积极= 1
    ( k) ?$ w. Y+ f/ j# o/ t" v
  40. ---削减这里---
    ' Q, _5 o! F" _  H# S9 W9 G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + Y; x3 T4 [$ B$ O# Q
  42. ---例如---
    6 }* Q  ?- Z5 ^, i: l
  43. [ dbexpress ] - B2 v0 m* H/ A9 B% ?" k& w" U6 _
  44. sqldir = mysql_sql $ r3 J4 x2 s8 P& T, \
  45. drivername = MySQL中
    2 L% k7 u3 `3 X2 |& j# P# n
  46. 数据库=测试0 o* }5 ]) e) V+ O# D. W; o$ A
  47. 主机=本地主机
    % g* U& G! K  l
  48. user_name = testuser
    3 A" q2 p" Z3 m) J- V
  49. 密码= my_password 3 a- d  w* X9 [5 t: s+ Z
  50. getdriverfunc = getsqldrivermysql
    - y" \8 j4 j: O$ p8 b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 D; b% F2 N* l9 s
  52. libraryname =. / libsqlmy.so
    7 k; l6 g/ J4 i) [+ K
  53. 积极= 1
    8 h% W. }2 T0 L2 L: }
  54. ---例如--- % m0 W% ^  i- Q- f! E' E6 K" d

  55. ) T$ e: D$ |$ ]2 H, F
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * k1 y+ L+ x9 i: y7 o6 o# ^' e
  57. ---例如---
    7 N6 L- E, g  ]# i6 Z7 Z+ r
  58. [ dbexpress ]
    2 o- j0 g1 G# U' Y; f$ }+ A( l
  59. sqldir = mysql_sql 2 N  [% f9 j! G! |. Z, c% u
  60. drivername = MySQL中4 z: D9 g9 e% X; h6 c# y! X, U
  61. 数据库=测试& l2 n$ h! g( P* {& F) [3 ^% R
  62. 主机= 127.0.0.1
    " g! k4 @) [" e( p( s, ~' b# J
  63. user_name = testuser
    ; R! Z3 F8 }* ]9 r7 J# m
  64. 密码= my_password & U6 ^, j$ G* Y% p
  65. getdriverfunc = getsqldrivermysql
    2 \" Y# l4 u' `& l8 c3 ~
  66. vendorlib = libmysql.dll在1 J% _0 z+ J* }) Q
  67. libraryname = dbexpmysql.dll
    3 Y9 ?! r( z1 [# e4 e2 u' ^
  68. 积极= 1 % Z) I; O+ a& M2 B: E4 c
  69. ---例如---- 1 a! S! j- \2 Q6 p
  70. -写在0 2.03.04由p wk.linuxfan
    1 z3 l; R3 a6 i" t) I- F
复制代码
发表于 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
' n% F0 t3 z% J( D" `6 k. E9 R: M6 e9 e+ U1 P9 u- o! K
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-14 19:34 , Processed in 0.103827 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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