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

3020 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. k3 [1 H6 d0 z8 Z' u7 @2 @4 ^( u/ M$ R# P. x  _* R$ ~5 M2 j
  1. 0 Y+ h  d( I7 \# u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % \/ ]& {+ Q* M9 c7 }

  3. % I9 w# S# E3 e$ o* ]2 y9 a  @
  4. ### What we need ###
    8 T7 ~0 i7 G2 A& q5 D/ T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 Y* a* k9 X" u) V: j
  6. will not explain how this can be done - there are documents out there for the
    / a) o4 b& T& |; t( D
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ d0 z: R6 h9 i1 t2 A) F, R- f
  8. and a user account (username + password) that has the permissions to do stuff
      V- y6 i5 h& t; @" `
  9. with the database. Additionally, you will need a vendor library installed on the, Z4 t2 p9 j& c
  10. local machine, this came with my MySQL install.
    & I/ d1 ~$ i* U1 `6 _9 W$ Z
  11. These instructions will not tell you how you might transfer your data from the- q) [: C) i5 w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! W$ ?: ?0 c1 t
  13. database.
    & X# k6 P& |, ~* P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 j( m7 L/ w+ n) M% \9 Z
  15. the time of writing, there are still too many issues - check the current status
    # a/ Y' h* ~; B$ J4 e
  16. in the TeamSpeak forums if you are interested.
    6 z# X( j' o. e: S6 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 i+ Q% W5 |9 \) o: Y  t
  18. Borland was used. This driver can only interface with the client library that
    7 y" w. y  ?" A. k7 i4 P- a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' b" I3 p0 G- u) w( U6 R
  20. client library - basically all you have to do is to use a 3.x client library as - c: O) \' i( z/ y/ o9 o
  21. "VendorLib" and a 4.x database to connect to.$ W( f! Q4 q+ Y5 {9 @* S
  22. If you need more info about dbExpress, you can contact Borland.
      S5 I6 I3 X  M+ e' f6 ?

  23. 8 G" g9 l3 W6 _1 O9 s1 L
  24. ### Doing the work ###
    / t1 [' u* D, s! _; y( w  j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; e! z# H$ W+ _; D
  26. the perquisites right, just open your server.ini file, and add this section at
    : ~/ m3 O0 y8 k% [( o, \
  27. the end:( b+ y) c3 r5 y- C
  28. ---cut here---
    ; B6 J$ A' @7 K; v. u8 _
  29. [DBEXPRESS]2 C( Y7 s7 N: |- l
  30. sqldir=mysql_sql
    - E6 X- V7 r9 \; Y6 W, \: m. A4 P
  31. Drivername=mysql$ H. \& S  T# M2 L8 m' h
  32. Database=Your_Database_Name_Here8 p4 T+ U" l# F% `
  33. Hostname=The_PC_the_MySQL-Server_is_on! k. d7 H- r  J( b9 k2 a7 O; G. R
  34. User_name=User_name_on_the_MySQL-Server, I% R0 o: b: S$ F6 @: P
  35. Password=Password_to_go_with_above_user_name
    , S( E7 c6 w3 L* J+ R9 R
  36. GetDriverFunc=getSQLDriverMYSQL
    : E9 U# |% o( c, Q! L; w% _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( B- \. l! C- @5 D) J
  38. LibraryName=path_to_libsqlmy_libary( k/ H( H: |4 o  d9 j6 H: L
  39. Active=1# e+ l/ C0 M4 @, I
  40. ---cut here---% }' E& Y& x- c! r( `
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! `2 t4 M$ X9 f% k4 z
  42. ---example---# g& G, R, x3 P1 j: j0 a
  43. [DBEXPRESS]; K2 d1 W% @, S3 u7 g
  44. sqldir=mysql_sql
    * |/ d6 T" ?* R7 B/ i- n9 P$ J
  45. Drivername=mysql! D  B( n' c. U( l" ?9 B5 J$ q6 {! ]
  46. Database=test
    : \( w: N3 h5 O5 w! G5 N
  47. Hostname=localhost
    : A1 g) J* h: e/ D6 v3 ]5 F+ m& K
  48. User_name=testuser
    + P+ X7 ]" Z8 X/ e
  49. Password=my_password
    " ]; }- X! W! P5 l- }( K7 ?# h; V/ ~
  50. GetDriverFunc=getSQLDriverMYSQL
    0 H: b9 E3 X* R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. \3 i3 D1 p: R# {- D7 s) {0 z
  52. LibraryName=./libsqlmy.so
    : \5 [+ v. \6 U# t2 k: _
  53. Active=1  y/ g3 L6 w0 x5 ^$ X3 A
  54. ---example---
    " F; S& G  t' k1 A; Q: {

  55. , P2 x. j: k8 \& q  \' f0 X
  56. On a windows box, also running the MySQL server locally, it would be:
    5 ]( l7 \: z* V# A! _- a; d
  57. ---example---
    5 Y' l: q+ |0 `* N2 e! s
  58. [DBEXPRESS]: ^7 g% v* M# h: v1 c* X$ k8 J
  59. sqldir=mysql_sql
    , E5 m* ]' i& l2 J* u2 e
  60. Drivername=mysql
    1 m1 T/ _. r; N# W1 E4 d
  61. Database=test' \; J5 |, V2 o5 G4 n$ m' v  R
  62. Hostname=127.0.0.1% ~2 T0 ~, K. k8 n! _: U" i* ]' [
  63. User_name=testuser
    0 a  y' s8 `6 O- n: Q6 N. v' {0 Z
  64. Password=my_password
    % D7 G% H" E; N# I( o9 O
  65. GetDriverFunc=getSQLDriverMYSQL& d0 `; C8 T2 R% x' o0 d0 ]
  66. VendorLib=libmysql.dll$ N+ \1 t) g6 n
  67. LibraryName=dbexpmysql.dll
    2 ^' n& y$ w! E9 J0 p
  68. Active=1
    5 S6 W) I, [0 e! T" V
  69. ---example----
    ) ]  N7 V9 n4 M; T; {0 |! r
  70. - written 02.03.04 by pwk.linuxfan
    % z; l3 U! f* `! K7 _8 e( a7 X
  71. / t3 e: }; [! h" C8 V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( \8 T* Z* j; H0 [- `" U: U0 n

  1. ; s4 \( q$ N0 G5 L* t3 B. b7 y8 W! }, k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & m* S& K4 m( Z/ O7 e( L

  3. ; b$ n* M' M5 x0 t
  4. # # #我们所需要# # #
    1 F$ |# m& n2 x7 d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 ]4 J5 j: a7 {9 R7 m
  6. 不会解释如何做到这一点-也有文件存在,为6 ^5 j0 X% \% t2 e% L5 Y8 U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' k! n9 m9 j7 q  Z6 Y. i: _' z( j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      }! W9 R; i/ c7 t/ j. T& z7 q- Z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 D8 P, E) h4 _! k
  10. 本地机器,这是我的MySQL安装。 ! X& D! J8 \$ G6 h  ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 X: [9 [* U. ~# y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + P' P: A$ e, w$ y" l
  13. 数据库。 9 h1 N) N. ?* }% P, {( a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 C0 }: T$ w! q* C9 v- R& d& h+ g
  15. 编写本报告的时候,仍然有太多的问题-检查现状% `. P# m- j& y0 \( r4 U
  16. 在teamspeak论坛,如果你有兴趣。 0 g% t' P0 j! P' e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 O  s9 n- |5 E; a$ `
  18. Borland公司使用。这个司机只能界面与客户端库
    - S3 Y- c5 j; A( m. r# P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 p5 r! B4 |7 ~7 ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % i- r8 M) G6 o$ y0 v, o- T
  21. " vendorlib " ,并解数据库连接。 3 U1 n" z, W+ r3 r' [5 z# U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % f0 L& t8 {1 C* y/ N, b/ ]

  23. ( P& ?7 I' f0 C% q0 Q9 U$ a/ Z6 b: i
  24. # # #做好工作# # # $ s, p  n/ F, s' ]6 s9 u. i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 Q( \3 V7 \$ ^' H2 A) |' q# }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * K% u  l1 R- w/ Z; ]& r& I
  27. 结束: : K6 q  V2 p7 S) f9 \- Q' z: D
  28. ---削减这里---
    , X& {, I1 `$ l4 f+ T, g
  29. [ dbexpress ]
    9 _6 \" p: s, {# u0 F/ T) p
  30. sqldir = mysql_sql
    2 W* a4 }1 v" R% w
  31. drivername = MySQL中
      d: R+ E9 |7 B" ]) r7 j
  32. 数据库= your_database_name_here * q/ m9 s- E. r6 A7 S6 E
  33. 主机= the_pc_the_mysql - server_is_on 7 F; \  \7 T* f7 I& Q
  34. user_name = user_name_on_the_mysql服务器. g! C) M! ^9 i
  35. 密码= password_to_go_with_above_user_name
    % h8 K% X% k* i; t- w5 F- x, F- V
  36. getdriverfunc = getsqldrivermysql : B9 M# e* }4 h/ h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 D2 M! ~! `( b1 `; s  g6 k3 z. q. W
  38. libraryname = path_to_libsqlmy_libary
    ( ?9 K. O/ d' u. t
  39. 积极= 1
    ; O) s+ O/ @- R3 B) _
  40. ---削减这里--- ! X" h, \& _$ }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 L- Y$ k( ?; ^( O# ]3 @
  42. ---例如--- % c# A( D. j3 g. T
  43. [ dbexpress ]
    2 X" [6 H. x$ A3 h! D. F
  44. sqldir = mysql_sql * p& o2 M) s1 G* {% i
  45. drivername = MySQL中
    0 s& y- p6 S; w* D
  46. 数据库=测试
    8 ?- W8 |( m2 O0 k/ M7 m% M1 b5 v! j
  47. 主机=本地主机* M% r- a  r' q2 J
  48. user_name = testuser % v0 d3 w9 x1 h- [
  49. 密码= my_password
    - [# X2 l/ G( j) j
  50. getdriverfunc = getsqldrivermysql
    ; m: Q4 e7 R% p" D6 L: H# m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . l0 |  ^* C/ O+ R& d9 D- j
  52. libraryname =. / libsqlmy.so + K" t6 e2 }6 R/ C  L
  53. 积极= 1
    7 W8 e# O6 l; X& t) }
  54. ---例如--- / x" O& G8 I/ n0 \5 W/ D% a% t
  55. * p4 y8 ?) h" V, M# g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & v5 {  S4 B0 ~
  57. ---例如---
    " C9 \" }$ k3 h
  58. [ dbexpress ] $ n9 w8 ^6 Q& k: L* d
  59. sqldir = mysql_sql
    * k6 f2 b' @7 ?/ G* J" |+ g% M, l
  60. drivername = MySQL中! J) C6 I1 [+ o7 l/ A5 ^1 U8 K
  61. 数据库=测试( n" S9 y% ?: C$ L$ n
  62. 主机= 127.0.0.1
    ) |9 f, e2 f, R; H7 G9 C/ A
  63. user_name = testuser
    ' }9 w& ]4 q$ c2 [& a
  64. 密码= my_password 4 n4 s* J. Q( f+ j2 g1 F1 d, L/ C! W
  65. getdriverfunc = getsqldrivermysql
    9 w5 }; _! T# s$ ^/ f
  66. vendorlib = libmysql.dll在9 |5 v/ `$ d. a$ F( ]
  67. libraryname = dbexpmysql.dll , m: t$ R+ e2 @. [% H3 k
  68. 积极= 1
    - Y, J9 n6 F& E, T$ k! b
  69. ---例如----
    + U# `# _4 x/ v' |+ |3 Y: o
  70. -写在0 2.03.04由p wk.linuxfan* c9 d/ S0 p9 l- B) Y; y
复制代码
发表于 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
: f$ Z4 A: h$ u* F: P" m  I4 A* w! r  d! ?& 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-8-14 06:27 , Processed in 0.103353 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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