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

2580 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ e' ?' P- N5 [+ c( o  Q2 B; S
' p; j" {" i( y8 t/ u$ O
  1. 6 X6 k/ ?! k/ W0 f4 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' w, r. c/ ]2 r% \4 q

  3. ! v, u' _, s: I* O! ?& P
  4. ### What we need ###: q5 j( b) d. R% {. I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , O; s, N: Q$ n3 v
  6. will not explain how this can be done - there are documents out there for the ) N: ^. u' F# t4 e/ n2 P/ j" Y6 m$ f. G
  7. interested. The requirements include a (empty) database for TeamSpeak to use( {  N9 I% Z' J7 H$ C& ^$ t
  8. and a user account (username + password) that has the permissions to do stuff. y: ]9 n9 w! I! g: n0 M! D
  9. with the database. Additionally, you will need a vendor library installed on the
    $ _$ x; f/ F( h8 i1 ^  l$ X
  10. local machine, this came with my MySQL install.6 b+ ]( b8 M+ J, U9 {/ g+ u
  11. These instructions will not tell you how you might transfer your data from the: Q) g# o5 i3 ^8 r. N0 F3 m: X, j: h
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ O4 X) h% r7 Q7 {# H( U, M
  13. database.4 m: m2 L2 t6 Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 d0 M0 a$ c4 a0 _0 o8 f: B( E
  15. the time of writing, there are still too many issues - check the current status
    8 z7 ~$ N1 d4 d0 c
  16. in the TeamSpeak forums if you are interested.
    # `3 j: q& U1 ]+ i9 c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / X# K  ?; Z/ k" C& k" C# N. {# l
  18. Borland was used. This driver can only interface with the client library that ; K4 l4 r; L0 j6 K8 q* m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 h/ |' u6 z4 H7 \
  20. client library - basically all you have to do is to use a 3.x client library as & R+ n% R, c9 Z
  21. "VendorLib" and a 4.x database to connect to.
    0 Q: c- T, s2 z3 s5 I+ I
  22. If you need more info about dbExpress, you can contact Borland.
    ( u2 E$ N6 [/ ?2 j; L

  23. 7 O' K3 ]4 }: n+ ^0 `
  24. ### Doing the work ###9 k1 g( g0 E( i  c' c. J; H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / s$ y7 K3 e5 G. `( q! L
  26. the perquisites right, just open your server.ini file, and add this section at
    * q( Y8 O9 K/ F
  27. the end:
    2 n) C8 q! r6 A
  28. ---cut here---' W' n5 ^# y7 w& x8 ^
  29. [DBEXPRESS]& ~9 s0 `0 L7 z9 x
  30. sqldir=mysql_sql/ p% z" R0 E& K0 _
  31. Drivername=mysql
    3 f, ~2 X: Q; X1 D  ]$ z
  32. Database=Your_Database_Name_Here
    6 Y* w# `! J( Y$ X' [8 b8 s
  33. Hostname=The_PC_the_MySQL-Server_is_on& l) N8 J# V# ~' D6 w! p* K
  34. User_name=User_name_on_the_MySQL-Server, D5 \/ ^: `$ E: e6 S. d$ Y; I. ^0 D' i
  35. Password=Password_to_go_with_above_user_name+ w. ?5 S% U' w* \! F  }9 v
  36. GetDriverFunc=getSQLDriverMYSQL
    & S& X* W# V; R3 J5 B. f3 v8 C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 z  n6 q+ J4 {: k
  38. LibraryName=path_to_libsqlmy_libary
    ( h, |3 T! l! L+ {, n0 |9 _
  39. Active=1
    9 D. a: O) X1 K1 k7 D
  40. ---cut here---. m( Y' z, R6 c/ U
  41. In my environment (a linux box with a MySQL server running locally) I have:, Y4 r2 B0 b5 \- i" W1 \5 T
  42. ---example---
    ) P7 f  C$ G+ l2 c! _9 D
  43. [DBEXPRESS]
    : i+ D' s9 I$ ^; X2 G+ A" C
  44. sqldir=mysql_sql. |2 N. X! V" q4 r3 D  k
  45. Drivername=mysql" ^; R. B) t6 Y7 X# e: J1 H
  46. Database=test
    $ Q" R7 {" q& D) W1 L9 s/ u
  47. Hostname=localhost. w2 @2 {. X, }4 p  g" ?
  48. User_name=testuser. a6 J( r' j+ S) m. J" O* g# R
  49. Password=my_password
      i; R) b0 [- M, c4 j; ]% e7 N+ b
  50. GetDriverFunc=getSQLDriverMYSQL
    ) V0 M6 b( E3 R' p% A& v* [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; n* O+ v4 }! n" a& y$ w/ B
  52. LibraryName=./libsqlmy.so7 f/ B/ B" j9 G5 P3 c, ]
  53. Active=11 k' \1 P! E* X1 I0 y# N! _9 A
  54. ---example---
    - k9 u2 F! R/ t. ?' Y1 @+ h

  55. & D9 j1 y1 Z, t1 m; S4 S& I
  56. On a windows box, also running the MySQL server locally, it would be:" `! q) q1 G7 H7 y. F6 I: r
  57. ---example---
    9 O0 a/ G( H6 o  H8 K2 r. _
  58. [DBEXPRESS]
    ! n! a+ S( c% I! T1 o
  59. sqldir=mysql_sql
    ! }5 V$ s, E+ e/ ]& z0 E
  60. Drivername=mysql9 ], W% X* n5 L: C
  61. Database=test
    0 f+ u- z7 N, X
  62. Hostname=127.0.0.1
    ! O- d+ }7 h, m& z' X, f
  63. User_name=testuser
    ) a9 N* \: ~3 C3 a
  64. Password=my_password: F! g7 b3 P1 \% e& s: p
  65. GetDriverFunc=getSQLDriverMYSQL
    ) F' d. n, ^) C+ g  }
  66. VendorLib=libmysql.dll' N8 T6 S' V4 [4 r. z% I5 g: z" t2 J. l
  67. LibraryName=dbexpmysql.dll
    . G& [( Q2 E1 e' Q; G
  68. Active=18 R: ^$ v' m" s! \4 q8 B
  69. ---example----
    ! z) U( F& E$ b1 o. Y( z
  70. - written 02.03.04 by pwk.linuxfan% L& t2 G% K' v0 g& G0 q! k  r
  71. 5 N, w9 x% N# `6 D% t' l0 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 q8 K" R8 \) x7 M% W

  1. , H1 z% n! T+ m  w6 g: \+ |% E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / S$ v# I, e7 v* @2 j( k+ G
  3. ' O/ c- T7 l) [  p) L, @( G
  4. # # #我们所需要# # #
    3 O( h* ^: K, s2 ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: z1 x* q1 L+ z# @) A2 G
  6. 不会解释如何做到这一点-也有文件存在,为
    $ N4 v& t* M' X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + W; N* E2 f- s4 k- ?$ N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) u$ v$ E  }% z) ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . Q, m6 y7 ?  K  O; R! D
  10. 本地机器,这是我的MySQL安装。 ) Y) m) y" s# R  q9 o) {: f' g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: b3 y* @" K& }9 a# a4 v" j% B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : }9 H4 s2 n1 \3 {" y2 e* O; v8 @' P
  13. 数据库。
    $ b0 m: }3 C+ k' u1 h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  }# g- {7 F1 P1 L
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 i+ Z* T6 e# X3 Q% B7 Z
  16. 在teamspeak论坛,如果你有兴趣。
    - @- f+ `, b" h' Q3 F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 d: ?: i" E. j" a
  18. Borland公司使用。这个司机只能界面与客户端库
    & s. S3 I* A/ t2 |: Y" q5 c8 V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; G5 k8 y* C! U9 {8 A, b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& S1 A2 X4 h  A& D
  21. " vendorlib " ,并解数据库连接。   c7 ~7 A9 }- z0 W4 R/ w. W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! d/ U; {0 L3 U3 O
  23. + i$ k# L& e$ D; T( o* w4 Y2 |
  24. # # #做好工作# # # 9 v- `' d3 ]2 Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! p- Y1 M: I. Z  e  Z' n( f5 }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / g# `. r5 L  s$ ?; T* c& x- U* n
  27. 结束:
    # J. w( }0 {3 d, M& n3 x6 b& g
  28. ---削减这里---
    $ w1 M$ H. a; F& t  U( E) b# T
  29. [ dbexpress ]
      p4 X4 m, ^) ^0 n) G0 r$ v8 E1 o; P4 `
  30. sqldir = mysql_sql 6 m8 i4 W& o3 U0 {* l
  31. drivername = MySQL中
    + H' }$ Q  O4 ?  q# q
  32. 数据库= your_database_name_here + r% b/ a* N# S# n- ^/ a- j
  33. 主机= the_pc_the_mysql - server_is_on
    8 w2 _' Y) K# f* R6 m" f
  34. user_name = user_name_on_the_mysql服务器$ q# G5 L& K' M# t/ T
  35. 密码= password_to_go_with_above_user_name
    : `) P  |! q3 x6 x& I
  36. getdriverfunc = getsqldrivermysql & k5 R; p& T1 \4 ^8 o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 w6 p: n0 D6 r3 r) ^7 ^: n
  38. libraryname = path_to_libsqlmy_libary * V: [) U6 _1 m  Z% H  k
  39. 积极= 1 5 H) |0 l0 ~& f! ^$ ]
  40. ---削减这里--- 7 Q  p7 x, {8 ?5 E' p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 H. e. |$ }( m& b
  42. ---例如--- , X7 L. L! l- A
  43. [ dbexpress ]
    5 D+ K* A$ U" ?  W9 z# s
  44. sqldir = mysql_sql " M# J/ y6 |- q, i" X/ u# ]
  45. drivername = MySQL中
    9 x8 k  K' y' L& Z7 |  g  X
  46. 数据库=测试
    $ x' A8 b* ], b2 g) n7 a
  47. 主机=本地主机, l: h. h9 M2 y+ ?' o  r
  48. user_name = testuser 1 z1 @/ j) U4 j; r9 p! V8 M
  49. 密码= my_password + J. e4 p7 }: _0 U" Y* @1 ?% [- V
  50. getdriverfunc = getsqldrivermysql 8 [; {/ V1 y% c' c3 T1 U8 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % I8 S" S' S5 S
  52. libraryname =. / libsqlmy.so 2 Z* E3 k: H1 Q* f5 G
  53. 积极= 1
    ! f4 A  _( x. a  R6 `  x* A
  54. ---例如---
      ~, V0 i0 `  ?. f% ^
  55. / h& L: F! s1 Q& d/ [/ J
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + t3 j$ Q# |3 W6 W3 l
  57. ---例如---
    8 N9 p  g5 T0 E1 t5 P- e2 P
  58. [ dbexpress ] , {/ P5 V& Y5 L# T
  59. sqldir = mysql_sql & {. ^6 Z* a+ T4 K% e1 h
  60. drivername = MySQL中
    1 N, d: \3 N$ N4 F) [( F& I
  61. 数据库=测试% @: k: m4 e/ O
  62. 主机= 127.0.0.1
    . H* S2 H7 y5 Z7 y
  63. user_name = testuser ! j4 a, _# r: U  F
  64. 密码= my_password 3 y& N# B4 ~' ?  w: d- j
  65. getdriverfunc = getsqldrivermysql 9 i. @0 h6 i5 x# w) H% ?; x- @
  66. vendorlib = libmysql.dll在) @5 }! r6 E) S: f/ `  J- @- g
  67. libraryname = dbexpmysql.dll
    8 I3 @" d' I  _0 _8 r
  68. 积极= 1 ' U) j9 F! s8 f/ z  G2 @; Q
  69. ---例如---- - G) c% S! G! J6 x$ H
  70. -写在0 2.03.04由p wk.linuxfan
    , X8 U8 c% A7 P" [
复制代码
发表于 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 words0 o: Y8 M: V1 V6 D
# E! V8 y6 C8 J% a2 V4 I
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-4 16:00 , Processed in 0.108420 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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