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

3110 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 y9 h3 j8 z6 E. C
! y# O$ j3 ^) i; W5 N

  1. 3 b* a7 V/ ~- V! m4 i" z9 e1 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 x! J$ G. |  \3 V% w2 c* h- E/ q$ X3 U" R
  3. % B* x9 @) V0 d8 i# Q
  4. ### What we need ###% X+ \% S4 v& C+ V
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 f# B3 E1 U; w' y
  6. will not explain how this can be done - there are documents out there for the
    $ Z) a) L: @( |2 l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 G  m8 e/ ~% V# D6 ^. `
  8. and a user account (username + password) that has the permissions to do stuff
    ) t. ~0 s; p' G+ M+ l6 k% M, e; X. P: ?
  9. with the database. Additionally, you will need a vendor library installed on the3 {+ d$ V+ A8 D
  10. local machine, this came with my MySQL install.
    ! ]' l0 K- s$ F: \" ?$ x
  11. These instructions will not tell you how you might transfer your data from the
    9 n7 U, N' R3 z% ]- L/ z9 Y3 f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, l% _3 C3 ~# C1 W1 s
  13. database.: s9 |. e4 h  y7 @, e1 |; \) o4 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at. r1 z$ Q  q2 W
  15. the time of writing, there are still too many issues - check the current status' M$ V* p8 N, f. j
  16. in the TeamSpeak forums if you are interested.* @6 }) D" ^$ Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# g4 V- {( K& X, Q# O  `' Y
  18. Borland was used. This driver can only interface with the client library that
    ) ^- h5 }2 G& ~8 Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      a7 t" C  D8 a4 P( d! i1 m1 ^& @
  20. client library - basically all you have to do is to use a 3.x client library as
    : a' @1 |( m0 p1 d
  21. "VendorLib" and a 4.x database to connect to., s  ]: ^: h) |% {& c- ?; j2 {* y
  22. If you need more info about dbExpress, you can contact Borland.8 ^1 P9 c3 s* ?9 e! r

  23. 8 I( U8 l: b) {$ x9 h9 C
  24. ### Doing the work ###
    0 m* ]1 O. N9 w8 z- Z( Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( P) r2 w( M* K/ ^4 x
  26. the perquisites right, just open your server.ini file, and add this section at1 `  c9 Y! w5 X$ ]- |  u
  27. the end:4 @* q" z; i, p3 s3 M: ~
  28. ---cut here---! s/ _7 w! q$ t5 M/ g( ?
  29. [DBEXPRESS]
    5 h6 u5 {" T8 f/ `* x
  30. sqldir=mysql_sql4 d) R( k$ y. f8 `
  31. Drivername=mysql
    / A2 v9 |+ G4 n& P
  32. Database=Your_Database_Name_Here! R  J5 u: t5 F* J1 H
  33. Hostname=The_PC_the_MySQL-Server_is_on3 I9 A2 H) ^, k; ^  T6 r
  34. User_name=User_name_on_the_MySQL-Server" |: i( m7 L9 R  k
  35. Password=Password_to_go_with_above_user_name
    & c/ Z, P4 k8 G& x, H1 r3 t
  36. GetDriverFunc=getSQLDriverMYSQL
    " d; B3 B$ b* Q4 F1 k  e3 F* o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; o2 ^7 W0 k2 `' V2 @5 [! F  U9 s
  38. LibraryName=path_to_libsqlmy_libary
    & a$ V0 @1 D$ D0 X- y; L
  39. Active=1
    6 B8 m/ H$ _! `( @" [) H
  40. ---cut here---) x; Z9 g" [0 p) i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 s8 y3 v  A; ~# C; W2 u
  42. ---example---
    ( s- X) R$ [* Q/ d2 k3 F
  43. [DBEXPRESS]
    5 x5 A0 K2 H. Q& F. g( {+ Y
  44. sqldir=mysql_sql- f) ]( q1 }$ o. s* K
  45. Drivername=mysql0 J2 P) M) F8 u; U! s' h' N, E
  46. Database=test
    . E4 @3 \* a! V7 m7 Y
  47. Hostname=localhost
    . j8 b" f, F; K. c; {. k9 A  G
  48. User_name=testuser0 h5 h+ W/ f3 V5 a6 x4 B1 q4 I
  49. Password=my_password# G" r; h' B; D! D
  50. GetDriverFunc=getSQLDriverMYSQL9 K  X+ d1 Z2 f: S, `* G; d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) o) U1 v8 j/ P3 Q+ m
  52. LibraryName=./libsqlmy.so+ V6 n1 S, g8 ~% c7 {5 m
  53. Active=1! p; O7 y& z  F4 U+ f
  54. ---example---/ ?8 `1 X# Y. w* Y
  55.   s5 x  K6 W$ z" i' e/ _
  56. On a windows box, also running the MySQL server locally, it would be:+ n9 J# x: _1 x+ c% \5 }& Z
  57. ---example---; _1 }% z& w$ q$ d" p2 {
  58. [DBEXPRESS]
    2 T; `6 B& m/ `5 H( k; Z) v. U
  59. sqldir=mysql_sql8 H9 ~- K4 E3 ~' ^6 C
  60. Drivername=mysql6 V; A; g; o% O3 c8 a
  61. Database=test
    3 S- L6 ^' q' \# @3 d
  62. Hostname=127.0.0.1
    6 p7 j* Y( u( z2 A# |7 t" S
  63. User_name=testuser
    # c9 x7 N( {% W9 y+ x( q6 T
  64. Password=my_password
    6 D6 O! z' R$ q& \; B
  65. GetDriverFunc=getSQLDriverMYSQL
    5 Y  e. y; u( p) c5 ^2 V# S
  66. VendorLib=libmysql.dll
    5 l& G2 X& l3 \6 Q9 Y
  67. LibraryName=dbexpmysql.dll
    : _6 t2 n- S/ N
  68. Active=1
    2 q( ]7 y, M+ A2 ~& g
  69. ---example----
    % D( m" @8 Z* {9 t) C3 Q2 |
  70. - written 02.03.04 by pwk.linuxfan9 C+ G2 k  E1 T6 @0 o+ i

  71. 0 c. c, Y' u& F2 }# @3 w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, `8 A, P! L/ S
  1. 9 r2 ~" b% z5 Z$ B; f) R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # Z, w9 s: H' R( c9 a' N9 x

  3. , a: q6 P% U2 ]7 d) Y/ V
  4. # # #我们所需要# # #
    ! g# k( }3 r7 O" y" H$ ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : @+ K- Z2 A4 L
  6. 不会解释如何做到这一点-也有文件存在,为
    8 [$ c8 A$ b8 a9 V: M4 C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! U7 b% t1 Z* H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, B' A/ A9 ]# `; q, ~( S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" n& Z3 M. h5 d- Y
  10. 本地机器,这是我的MySQL安装。
    / n5 L  H3 h1 ^9 s! k( G6 K! i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) C# }7 V+ ?2 }4 V. D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 ?; D! z- X1 C5 L
  13. 数据库。 - n: N$ j( ]8 S! e4 y5 Q0 p2 c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ V6 P  C, Y$ V6 B$ x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , m. O. j5 |* r# i; f* Y2 q
  16. 在teamspeak论坛,如果你有兴趣。 7 M% \6 W$ f' Y  c& R1 `( ?& ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 h2 a- G( H' P- B, d, R) C5 x
  18. Borland公司使用。这个司机只能界面与客户端库, j6 Y* S- E! i3 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ P( h" O( V  K% F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : |( Y& L+ d& m8 y- s
  21. " vendorlib " ,并解数据库连接。 4 p8 q; C  S% N) F: U/ k- B* h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 Y% U& L  G$ q9 _) t  I- [& X. c

  23. ( X, T2 a$ D6 m6 K
  24. # # #做好工作# # # , G# N- t6 g1 b7 C/ j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * G# L* J. I3 M+ l2 a' [' ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 h9 r! b1 P/ i
  27. 结束:
    - L/ f$ B6 }% T% v
  28. ---削减这里---
    + P, e1 Y/ C+ c, ?4 s  ]2 |3 K
  29. [ dbexpress ]
    " f$ x- `% f/ [* y# U
  30. sqldir = mysql_sql
    4 E' t' j" s1 U" h, i' D5 C
  31. drivername = MySQL中1 R% Z3 ]9 [+ W4 i& E! ]) k. G
  32. 数据库= your_database_name_here
    - a0 [! t- p6 Q+ k8 D
  33. 主机= the_pc_the_mysql - server_is_on
    8 K7 [% \1 ?5 J5 E
  34. user_name = user_name_on_the_mysql服务器
    $ |- E6 @2 P! S5 p4 i. g) o
  35. 密码= password_to_go_with_above_user_name
    7 p7 D, D% F# g( p% T9 t0 l8 c! R
  36. getdriverfunc = getsqldrivermysql
    : a8 l3 e& I& f- `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 n& q  p$ w7 T6 Q
  38. libraryname = path_to_libsqlmy_libary , V! x& x8 x, O" e' q
  39. 积极= 1 ( r0 c0 i. \6 _
  40. ---削减这里---
      ^7 o. X7 Y- J+ \; f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 [, a: x# _8 `
  42. ---例如--- 6 W7 u. L5 U/ [1 C* _
  43. [ dbexpress ] 7 F$ `& W& z8 V. m  u" P. H( A
  44. sqldir = mysql_sql 3 G) F5 K$ F- G( e, B
  45. drivername = MySQL中
    % R" ~( W) _; s+ Q& w: E1 q
  46. 数据库=测试
    ' f: ^+ i, _  g. g
  47. 主机=本地主机8 b0 R7 {) R' v9 p8 o- y
  48. user_name = testuser
    7 _4 `% l. v- E$ ?6 G+ Z' b2 f
  49. 密码= my_password
    ( \8 W# i6 X% m9 @
  50. getdriverfunc = getsqldrivermysql
    # G( W  p5 ~3 A' s: [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 S3 y6 C' Y& S6 Z( ?+ z# R' P
  52. libraryname =. / libsqlmy.so
    & ~' ?4 r5 m7 t
  53. 积极= 1 ) Z: k' k" g( u& \1 F
  54. ---例如--- , S, @! T7 [$ l5 R4 G; B
  55. , C# X- K9 y& _' |& \9 D
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) x/ ~& c, M! F" V# H3 }
  57. ---例如--- : R5 K, {+ U) [2 T( Z! m
  58. [ dbexpress ] * Z9 v" y" V7 N+ F5 C
  59. sqldir = mysql_sql 4 s; F8 b! [6 `6 Z8 v+ D
  60. drivername = MySQL中
    % k  O6 N, c& A
  61. 数据库=测试/ N2 s2 w1 `' c) {! z, R& H0 K
  62. 主机= 127.0.0.1 8 s9 P% e( C% G( n+ I
  63. user_name = testuser
    & @. A1 S9 t. F& m) X# d) ^) {
  64. 密码= my_password
    0 Q: R8 c) s! K
  65. getdriverfunc = getsqldrivermysql   X: _& J% r9 R0 {( A" ^; d' N
  66. vendorlib = libmysql.dll在
    / C. ]. F% ?- K
  67. libraryname = dbexpmysql.dll
    * T2 u; H7 y, b) F) a/ W4 }% j; y
  68. 积极= 1 $ S  ^1 J' ~/ V# R" d: m
  69. ---例如---- $ S) L+ x& k# l- m
  70. -写在0 2.03.04由p wk.linuxfan! @* H! F5 ]$ [5 d
复制代码
发表于 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. i+ N7 s9 e: H& h1 P, A
8 @7 N) X4 g4 Z  H! b
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-3 23:13 , Processed in 0.106475 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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