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

3137 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. q* `) V  p- G' Q# _5 J% b
  G# F1 k( {0 Y9 l) Z
  1. 9 ~( h1 R9 o4 z, k" p  f  C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % g+ ~7 b- p/ R4 m. T* H- U* d

  3. 1 t/ E) {: ]  z# r+ [  B7 u- R; s
  4. ### What we need ###
    ' q& _, v$ p% W; q- Q! v
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 ^5 _- c! Z" e, v: t/ d6 }
  6. will not explain how this can be done - there are documents out there for the
    4 [3 Q4 T. Q* i
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 q$ Y5 M; P9 k- H0 B2 |2 `% c
  8. and a user account (username + password) that has the permissions to do stuff2 p/ _$ r" d# N  _8 d
  9. with the database. Additionally, you will need a vendor library installed on the
    & w6 p: s$ g' f2 x3 R+ w/ q% R3 m( {
  10. local machine, this came with my MySQL install.4 o1 L, O# T* I: g
  11. These instructions will not tell you how you might transfer your data from the
    ! k7 r+ @! \2 P5 d( H0 B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 l, P: R; ?3 B* Z
  13. database.
    " U$ T' q7 U1 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 s5 j7 c+ c1 }- X- R
  15. the time of writing, there are still too many issues - check the current status6 _' q) |( |4 W
  16. in the TeamSpeak forums if you are interested.( x( v8 ^# ]9 f. y( Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 {% m' w  r5 }4 r* D4 m
  18. Borland was used. This driver can only interface with the client library that / [. Z$ |" `% J* u/ }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- H/ O9 p- {" _, X
  20. client library - basically all you have to do is to use a 3.x client library as 3 D" x% p# h) ]' |
  21. "VendorLib" and a 4.x database to connect to.5 }' u" p) r9 A2 b% O$ D
  22. If you need more info about dbExpress, you can contact Borland.$ W7 ^. z: s# y4 I3 |
  23. # {/ ]3 s$ h/ L& n: _! g. t. N4 c
  24. ### Doing the work ###
    $ f; m  n# i/ y& v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 c- Q" P: z/ e; }6 t  d
  26. the perquisites right, just open your server.ini file, and add this section at9 M  b0 j! }' }( R( R3 q
  27. the end:
    ( \; U+ |& s# @& b6 U, a$ c; \4 v
  28. ---cut here---
    5 S, F$ J8 q6 d) E% w; X1 ^3 r
  29. [DBEXPRESS]9 b& ~- T) @1 A
  30. sqldir=mysql_sql) U+ w) N+ \+ {( V- J
  31. Drivername=mysql# t8 k4 r6 B, Y% Y
  32. Database=Your_Database_Name_Here
    ) k; |. f) d& Z. w0 I6 R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 X/ S0 z5 g( m# N; {
  34. User_name=User_name_on_the_MySQL-Server
    0 q- q% k9 |$ P0 x4 Z) w& K
  35. Password=Password_to_go_with_above_user_name
    . `. }+ \2 E" K! W1 C; v
  36. GetDriverFunc=getSQLDriverMYSQL9 h$ U( ?0 d' ^( n6 f( o/ `* Z  S$ P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 A% \( t( L: h% s  q
  38. LibraryName=path_to_libsqlmy_libary
    ; p- s: U6 U0 {6 c( E& j4 W# J
  39. Active=1, Y- I6 \2 T  |
  40. ---cut here---
    & _1 @" I$ o% F
  41. In my environment (a linux box with a MySQL server running locally) I have:" ]7 S- @! F# h  r2 b, O0 J
  42. ---example---
    / }) C5 M9 Z6 p( b
  43. [DBEXPRESS]3 H9 K8 }% o3 {3 O
  44. sqldir=mysql_sql
    ' E( D% W% M. f- c, r
  45. Drivername=mysql* j8 l; Y/ L+ B" S; t+ O; M5 Q+ R5 m
  46. Database=test
    / t+ L* _1 N5 O+ z: e  J
  47. Hostname=localhost  y& C9 r2 o2 g& {
  48. User_name=testuser
    4 z& `5 ?* N1 H6 w( Z0 u
  49. Password=my_password, X1 x- M1 x* j
  50. GetDriverFunc=getSQLDriverMYSQL$ @( u% H" @" M/ Q  Q/ u: y5 [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 o& r( l- k, \
  52. LibraryName=./libsqlmy.so) }- q, c1 y/ R0 m0 B* w
  53. Active=1
      C- c, R: @9 U* ~
  54. ---example---
    : @5 {+ ~7 G/ r; ^/ K
  55. , N1 v6 Z; @: B% j# [; Y% z
  56. On a windows box, also running the MySQL server locally, it would be:9 R; l; y+ m$ p; J
  57. ---example---3 E8 k4 j. c% o) D' l1 y* C
  58. [DBEXPRESS]  c  t) i; E1 \
  59. sqldir=mysql_sql
    / D3 G( u0 N' e, g" N* H
  60. Drivername=mysql! x$ R% V# @, L8 T. k2 O# u
  61. Database=test2 ~) d2 P+ \* y5 L4 t
  62. Hostname=127.0.0.1* A( Q4 k1 J9 k! A' o4 Q; \( C
  63. User_name=testuser
    7 G; D* O- s6 E4 Y7 R
  64. Password=my_password- Z; v/ y. y0 M! m0 F
  65. GetDriverFunc=getSQLDriverMYSQL
    5 |1 c% z' Z( y, d( g. \3 i0 F( Y
  66. VendorLib=libmysql.dll9 ^" Q' ~, C# ]: o+ x+ K' M- g
  67. LibraryName=dbexpmysql.dll
    ' R/ l/ p$ b) a
  68. Active=1) r2 B- w* M: K5 C) J; N) r
  69. ---example----) [5 Q, n5 G, Y, Q% y
  70. - written 02.03.04 by pwk.linuxfan3 ?" T0 g4 `9 k8 O+ D5 t* z& Z
  71. 6 P5 u2 t5 \+ |  u0 \$ D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ D7 ]" l0 t' ?7 v) O$ z4 ^
  1. ; P4 [: C1 r: x- f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 Z3 w4 E  w) F7 m7 v7 |4 M
  3.   V9 {7 m7 n  X9 t
  4. # # #我们所需要# # #
    8 B9 |# d* W1 G. |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " g" n" ~0 V2 P0 ?  [- u* M
  6. 不会解释如何做到这一点-也有文件存在,为
    / {9 L6 h' V' Z+ f+ J9 I& w3 y0 s) Z3 n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" n# ~& B" O# J$ @6 T0 }! h& P1 z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. X3 T% r. e* E1 K: I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 j- K* ?: b9 r- p( V9 s
  10. 本地机器,这是我的MySQL安装。 & p3 p0 K/ r2 O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; g% w# b. D' K& c8 d1 y5 M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 Z) ]/ P# S" y' o
  13. 数据库。
    0 P6 x: G& G8 I2 _2 R# Q2 f7 A* r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & t: v0 e0 u- L& j1 P
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 v! ^7 ~* \( ?; z
  16. 在teamspeak论坛,如果你有兴趣。
    . u4 q/ N& e* \" ~" ?8 \( z! U# g( a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* G0 n4 i+ S$ G/ }0 v" \6 _8 V
  18. Borland公司使用。这个司机只能界面与客户端库* L7 |  D9 ?! h- y8 I! Y! ]8 K. H4 G+ W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : h; n& @- x! k; A. H8 W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! e: U, p4 }5 e, N+ \; O4 a
  21. " vendorlib " ,并解数据库连接。 - ~& ~  v7 `) E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 ?6 F1 ?( X2 a! {

  23. , ~$ u/ y6 }- p/ v5 \
  24. # # #做好工作# # #
      C) c8 X' C1 F( ^; R; R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 e( L# L( G8 `. C" s( y( N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 Y1 f2 {, b' k  k4 N
  27. 结束:
    $ w: G; D  p( W5 w& V4 v% ^2 p! F
  28. ---削减这里---
    8 C2 l" K4 D4 z& ]  \
  29. [ dbexpress ] . V, G. ?7 r, [  K
  30. sqldir = mysql_sql
    5 U1 D/ k5 [/ X& G& ~
  31. drivername = MySQL中' h7 M* Q6 _) [) q
  32. 数据库= your_database_name_here 3 {3 z, u4 L0 {7 c. x
  33. 主机= the_pc_the_mysql - server_is_on
    0 g: M, T, q1 e/ V
  34. user_name = user_name_on_the_mysql服务器
    , f- k0 D  O5 q6 L
  35. 密码= password_to_go_with_above_user_name / M9 J6 A" T- D
  36. getdriverfunc = getsqldrivermysql
    ( |" |: O* u' w- n2 `: }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      D, X) o8 c: n
  38. libraryname = path_to_libsqlmy_libary
    2 k  F" E$ h, _+ t$ A" ?% a
  39. 积极= 1
    ) P, H. J: r/ a8 o. z& d
  40. ---削减这里--- 2 M5 H* D! _) v. e! B6 x+ c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 r' w6 @! W# [4 X7 K' f7 S
  42. ---例如---
    8 P4 Y3 Z. }) Q
  43. [ dbexpress ]
    ! a1 Z: f7 ]# K5 |) ~# m
  44. sqldir = mysql_sql # C5 b' N; Z, B1 g/ j1 S* j
  45. drivername = MySQL中
    ) Y+ G! E; s, i6 a; ~, h3 _, ?' e
  46. 数据库=测试- p' W, _* A9 y
  47. 主机=本地主机
    8 _9 U& M9 C% @9 f$ ?0 ^
  48. user_name = testuser & s1 i$ F* k3 z4 \
  49. 密码= my_password
    / r9 }$ f) j0 }0 J% x- a4 s9 K( _) Z4 I
  50. getdriverfunc = getsqldrivermysql % Q# x; [, B! z8 C* e' _. f. e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) G, @% F& p  }. C* K5 C; d
  52. libraryname =. / libsqlmy.so
    ; {: q0 P0 K! q, r/ E* u. T3 M7 ]
  53. 积极= 1 * v- L6 ~: B4 o( z* \2 j
  54. ---例如---
    # {! L6 Z% p7 b
  55. + ^" m4 z* h/ f0 P" a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 E  x3 t& A; z5 `& |; y* C  f% k1 n1 `9 j
  57. ---例如---
    # q9 ]% a$ S. e
  58. [ dbexpress ] + h. h0 r) y5 P! z/ u$ R
  59. sqldir = mysql_sql " T  t2 ]; S, W. p
  60. drivername = MySQL中
    / ^- L5 {4 t4 \8 x% @5 B% ?+ K. D
  61. 数据库=测试1 r- Q) I' H. h" A
  62. 主机= 127.0.0.1
    6 h7 N$ m1 V) K/ o$ Q
  63. user_name = testuser ) R4 I6 _$ h' K$ S2 d" o# G
  64. 密码= my_password
      l0 c. N8 |, ~2 p: |/ V# h% l1 [
  65. getdriverfunc = getsqldrivermysql % H& n; T: s/ s0 J+ X" T
  66. vendorlib = libmysql.dll在  `8 f. y+ S1 F- x
  67. libraryname = dbexpmysql.dll
    ( v/ m% c- _% H* s# S% p/ Q" R
  68. 积极= 1
    : n. D- G( n5 e3 x) N) n* B
  69. ---例如---- & l9 z. o( G& S) {7 z
  70. -写在0 2.03.04由p wk.linuxfan  Z* ?- j  A, H+ d; E8 n( u5 l
复制代码
发表于 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 words1 \+ N% s" ?; i. S4 K" A
. k: O5 C/ O' {- ~0 [+ v) P
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-9 03:45 , Processed in 0.111383 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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