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

2832 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & F- A1 x5 `+ X! h
: D6 A" z" ~3 _# w
  1. 8 F! y" I5 {8 h* X  C- @6 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* x( u2 U$ I% e  F* u

  3. 9 S% H; a% u! J! \# O
  4. ### What we need ###
    2 k) x% }' l. f# l: [6 {* H& x
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 w4 P; g7 h+ p5 [% D4 C" D
  6. will not explain how this can be done - there are documents out there for the
    6 K% T- W# C2 l: ]- n( t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) F# G% k' t5 d* U  D$ U* }; a
  8. and a user account (username + password) that has the permissions to do stuff& o+ W4 g) I- s. u" o
  9. with the database. Additionally, you will need a vendor library installed on the- d  s0 Z2 f0 h4 H
  10. local machine, this came with my MySQL install.
    . f% j) l. C' e
  11. These instructions will not tell you how you might transfer your data from the
    6 L& q0 o; q2 h
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & h8 t  K& t4 E1 n* b& ?: z
  13. database.
    0 {0 s% N+ p% y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # y- m  l4 n5 ]" N1 y9 h. l5 K5 F
  15. the time of writing, there are still too many issues - check the current status
    0 L% h- `" ~& D4 b+ y
  16. in the TeamSpeak forums if you are interested.
    % {% D/ u: D) ^9 q: K" E! g  t( m% }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 i- A) S  `! h: p
  18. Borland was used. This driver can only interface with the client library that ; K" `+ B# M) Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / z3 I( {" Q, ]: e- _$ {* M
  20. client library - basically all you have to do is to use a 3.x client library as 5 r# ?: d0 O9 D, k, L
  21. "VendorLib" and a 4.x database to connect to.- i/ ~0 l1 r8 y& \9 e
  22. If you need more info about dbExpress, you can contact Borland.
    9 Y- f0 x  \2 d' j

  23. 1 `& y- j) V1 i0 A; X4 P
  24. ### Doing the work ###3 y5 G& b. o$ ?* I% K% V  X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 B$ z7 N4 m! ]! X
  26. the perquisites right, just open your server.ini file, and add this section at& K, a3 g) e( G. @
  27. the end:
    , h! Y1 g1 f$ Z2 x2 v
  28. ---cut here---7 C2 `* x* H. x; X. \
  29. [DBEXPRESS]6 l0 ]/ ~1 v7 O: }6 C: w+ J- b
  30. sqldir=mysql_sql# z8 M7 F8 @# [0 Q
  31. Drivername=mysql# y. ]5 ?# C: q2 I: E# Y- R" s
  32. Database=Your_Database_Name_Here" n2 L! w- d! [% [
  33. Hostname=The_PC_the_MySQL-Server_is_on2 Y% N4 o9 f* ^
  34. User_name=User_name_on_the_MySQL-Server( E3 @; b* n0 O4 o8 ^+ U
  35. Password=Password_to_go_with_above_user_name
    . i( y# Z( D* V4 F  G
  36. GetDriverFunc=getSQLDriverMYSQL
    0 L! `4 ~6 p7 N% z: a6 J8 K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 h- d/ ?  H3 F. Q& Z( o
  38. LibraryName=path_to_libsqlmy_libary7 g/ ^  d+ x! V; `9 L# Y
  39. Active=1  ]8 a8 s  W3 Y" z& @0 N
  40. ---cut here---3 e7 c* t" a0 [* [: J! @% M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 q4 [" {; x$ Y
  42. ---example---
    & ]9 f! o0 `+ r7 F' p# k3 }: Q1 p6 p
  43. [DBEXPRESS]' Q7 A8 E# n/ G0 B8 V) C
  44. sqldir=mysql_sql
    1 n& Q, b2 z/ K% v$ S. p0 F/ l
  45. Drivername=mysql, P) t, d" `, i* C! m! r
  46. Database=test  l) K* |8 |  }# s* y. U$ Z  K+ _6 W9 ?
  47. Hostname=localhost
    1 {3 Z5 x# r' R1 M/ |' j! B
  48. User_name=testuser2 i6 k  E8 c$ T' O& L/ f; Y
  49. Password=my_password
    , I: O6 N/ C6 D$ `" s; a
  50. GetDriverFunc=getSQLDriverMYSQL
    & @- f5 \' m# j( a2 \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( B1 i) E* J$ T% c2 d* c8 H
  52. LibraryName=./libsqlmy.so7 H6 P9 S' \( h4 f' R# t* c0 l
  53. Active=1/ s, F3 v* C: u3 p+ T+ s' y' m
  54. ---example---
    3 N6 c1 L  x8 ?( Q* x1 m7 h5 n8 O( e

  55. ; W7 u* `+ \8 }8 i* V
  56. On a windows box, also running the MySQL server locally, it would be:: ^- N0 }2 w& Q$ M! M
  57. ---example---6 W$ N4 p4 g2 K! n
  58. [DBEXPRESS]
    / g, M2 E0 c: I0 H! {
  59. sqldir=mysql_sql  E& M/ q  B1 S% H( }3 [
  60. Drivername=mysql
    / f4 m# W2 O8 B" W5 S
  61. Database=test" ?7 V6 f0 _4 D1 E& [" f
  62. Hostname=127.0.0.1
    1 R8 _. L6 k  f8 d  v& ]- @+ V
  63. User_name=testuser2 v" x8 k4 L9 q7 M* g8 q8 ^
  64. Password=my_password9 m2 n4 Q; b2 o% L
  65. GetDriverFunc=getSQLDriverMYSQL9 ^' ?* B. K) \3 L
  66. VendorLib=libmysql.dll) ]# D6 a: E* P3 t$ l
  67. LibraryName=dbexpmysql.dll
    & N4 L' {3 Q7 _: u7 r% O
  68. Active=1
    , Y: x! s0 v4 H+ m" N1 c
  69. ---example----& J' N9 z' f( s  o% Z, d* t
  70. - written 02.03.04 by pwk.linuxfan  C+ F8 O8 j  ?+ f

  71. ! x- O, Z- `" J$ v6 t# M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 p( B7 b2 ]) m! V

  1. 6 X) c# ^- O+ t6 H4 i/ [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; ~- x0 G+ t) S. i4 R, r0 T, H

  3. $ b) W/ G$ N, y# t1 I
  4. # # #我们所需要# # #
    , e6 g/ m* N! D. @" H# r6 S0 L. |. m0 [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 r( f, t" z0 z* u% g
  6. 不会解释如何做到这一点-也有文件存在,为
    - P2 ^# V7 q) I% M) B$ j; U/ C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * ]) i( q6 I7 ~4 N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 w7 y$ C8 `6 A# y' w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 A6 e7 i& z! h) w
  10. 本地机器,这是我的MySQL安装。 " d2 I- V1 ]) V  z7 D( c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / Q3 i* m: E- }9 W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! A8 i  d" L! O
  13. 数据库。 ( b1 E, f% S, x4 v" D% {/ q3 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 m: P4 p2 d: G+ ~" b- H3 o$ I
  15. 编写本报告的时候,仍然有太多的问题-检查现状) a. S3 y0 U7 l% Y& v; Q/ K
  16. 在teamspeak论坛,如果你有兴趣。
    ! F5 Z1 m# _* l( }/ g: g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & A: {5 @7 n+ d) W/ ^! N6 B; t. _
  18. Borland公司使用。这个司机只能界面与客户端库! N+ }# V/ E3 I5 l2 k) K2 [) q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 X  T0 J: b8 @( d# o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 w: c+ f) p: d/ ?7 m. i
  21. " vendorlib " ,并解数据库连接。 , ?; ]" r% b1 B9 j- Q  J4 Z3 C# x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * e" }, j4 r5 y6 A' V
  23. % `/ n$ s1 W, P
  24. # # #做好工作# # #
    3 D) D5 H% A& l0 ]$ G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 b/ L7 `7 x+ h& f' q1 t* q" P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 A/ N, m' K+ J% U% d
  27. 结束: 5 Y8 g( F1 n8 r) U! e1 G" N
  28. ---削减这里--- . t% s; E' L3 y# i
  29. [ dbexpress ]
    6 k- i' q0 n, K6 q3 ?7 [9 z
  30. sqldir = mysql_sql 0 C+ b9 n0 g5 A4 B; z1 ~* \$ f
  31. drivername = MySQL中
    - U6 M" c1 G* ~6 \& s# c' H7 i
  32. 数据库= your_database_name_here 9 R# g6 x2 W2 W, ?9 u
  33. 主机= the_pc_the_mysql - server_is_on : S8 u9 m, Y" G/ j9 b- u1 E
  34. user_name = user_name_on_the_mysql服务器
    - ]* C3 t* V8 A2 `% U, S: g
  35. 密码= password_to_go_with_above_user_name
    - Y" C, h2 W7 F% {5 F; j
  36. getdriverfunc = getsqldrivermysql
    . l7 O5 r" ^) H- g& N& i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - y% J4 ]2 `  F* @+ A7 ~$ R
  38. libraryname = path_to_libsqlmy_libary
    - v& w% M! b  `5 n
  39. 积极= 1 5 E( ~, ?9 T- Q
  40. ---削减这里---
    , m. i' ~! ?( j" [0 ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 ^! \& l# y# z7 q2 s
  42. ---例如---
      {  t; p$ _/ K4 ?8 U: K
  43. [ dbexpress ]
    : E0 ~- I/ k1 a. j" K/ q9 y
  44. sqldir = mysql_sql
    : ?# R( Y! X9 v5 T7 X1 L2 ~
  45. drivername = MySQL中% L/ P9 U( ^3 J) x* _
  46. 数据库=测试, P" M. |7 Y8 ]- P! W* O
  47. 主机=本地主机7 F# C- Y9 N9 b! l" Q
  48. user_name = testuser
    1 V! t, m9 Q8 T
  49. 密码= my_password
    . p' \; H' }$ S' o/ }
  50. getdriverfunc = getsqldrivermysql
    ) C' S# Q6 ~, h/ U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) K. u& y) ]% L* P/ V" d* w1 A3 T
  52. libraryname =. / libsqlmy.so
    , T( ^* o4 d( G: K, Z+ Z2 d' A
  53. 积极= 1
    . q# f# {$ r% K, {
  54. ---例如---
    , }2 m! x6 p" s- R( [/ y" Z$ t
  55. 0 I! |8 c, R; Y- m8 b) |! v
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 f8 K: B* ~" S$ [% y
  57. ---例如--- 1 ~& y6 D+ e: p: N( f/ f* k
  58. [ dbexpress ]
    6 d0 Y8 W5 }8 N4 @* Z! T4 T: x: |4 ?
  59. sqldir = mysql_sql $ m  m$ q& j1 d, u
  60. drivername = MySQL中
    , H4 u& E% W# {3 Y
  61. 数据库=测试
    5 _) h. K. h( a
  62. 主机= 127.0.0.1 7 ^3 I$ O6 I& [$ I7 ^% J
  63. user_name = testuser
    3 d) D3 Q1 Q' [: d$ s) ^) W; d
  64. 密码= my_password 1 ]. e1 G% ^, v8 U1 Y8 V
  65. getdriverfunc = getsqldrivermysql
    , [2 n. M" _) f. N! z# F1 H" z& X
  66. vendorlib = libmysql.dll在6 ]/ ]/ [' y. R/ a
  67. libraryname = dbexpmysql.dll
    , m5 [3 i) h$ }3 L2 A3 u# W
  68. 积极= 1
    6 y9 W6 i5 s8 j
  69. ---例如----
    ) ]& Z3 J) h  B
  70. -写在0 2.03.04由p wk.linuxfan  ]3 K0 u( ?+ R) ]4 I% |
复制代码
发表于 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& P: v% S4 V. l7 |
7 F7 b( g9 X! @" {) ^but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-2 09:59 , Processed in 0.111388 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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