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

3278 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + ]+ u2 U+ e1 v7 \; P
0 b2 Q+ ?& C: X, U3 v; o/ j
  1. ) x- z$ V) e/ T0 ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 t7 l& _  Z; K) v! a6 J  h4 ?

  3. $ m8 E' ^3 w; m( M* M
  4. ### What we need ###; ?7 C7 R2 K0 U1 J+ q" N
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 P+ |  ^  j. p
  6. will not explain how this can be done - there are documents out there for the
    . T; _+ N/ r! u* r( D7 x
  7. interested. The requirements include a (empty) database for TeamSpeak to use: F# T/ u0 s6 M
  8. and a user account (username + password) that has the permissions to do stuff; \( F' E/ B; f/ I& D
  9. with the database. Additionally, you will need a vendor library installed on the( c; P% O) w- G+ S. I9 }( G3 i
  10. local machine, this came with my MySQL install.( k' n# [: ~( }* Y) |
  11. These instructions will not tell you how you might transfer your data from the2 W- H1 T) W: j2 C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ m* f9 G' G" D6 @; m! B
  13. database.- w* S- q- [) Z" u  V$ G; p" y
  14. Some users have reported ways to import a SQLite database into MySQL, but at& d! V. x1 W; K: J4 i# b  l2 `
  15. the time of writing, there are still too many issues - check the current status  |5 b  ]( X! i+ P% {
  16. in the TeamSpeak forums if you are interested." I1 `9 l# G# K6 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) P# t8 m  r+ u: c0 d" X$ c
  18. Borland was used. This driver can only interface with the client library that
    ) k* J; s: T# p# g9 U8 U; C$ E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " j( C4 F( ^" X  _! F3 g0 ^
  20. client library - basically all you have to do is to use a 3.x client library as - L5 s: U! k% y+ w) |  `
  21. "VendorLib" and a 4.x database to connect to.
    0 o- C8 U* N$ @& \, J: s% Y
  22. If you need more info about dbExpress, you can contact Borland.
      g6 O2 }. _6 {. G. |

  23. 2 ?, ^9 u# U) o* r+ C
  24. ### Doing the work ###. b# Y2 G+ }. [& b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 }# q2 [6 _& u4 N
  26. the perquisites right, just open your server.ini file, and add this section at% g9 }" _! s7 _5 ^. n' r  J( Q: m
  27. the end:
    % J: K; W" U  L" d
  28. ---cut here---
    . h/ ~' I7 Y% A/ O" g* x
  29. [DBEXPRESS]
    . k7 ]0 }' W2 [! i% ?4 d# r, Z9 Y
  30. sqldir=mysql_sql$ ^9 p. |5 F; [- P8 J* H
  31. Drivername=mysql' v2 S4 }/ M" a+ c
  32. Database=Your_Database_Name_Here
    9 E& G5 J1 d9 b( {( q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 y  ]: q& }6 N4 Y/ t( j
  34. User_name=User_name_on_the_MySQL-Server
    ( {& }- v4 f, M) B5 l# v" _8 E
  35. Password=Password_to_go_with_above_user_name
    7 l+ _( ^, X1 d
  36. GetDriverFunc=getSQLDriverMYSQL  B& p& b! M$ ~) v6 T# y7 i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " `% W$ j" S/ G# X: O; U
  38. LibraryName=path_to_libsqlmy_libary
    / |9 N3 `7 v% l. W
  39. Active=1
    ' y+ \( d; g* W, [7 y) t
  40. ---cut here---
    / t7 q9 P5 v, f. N: p
  41. In my environment (a linux box with a MySQL server running locally) I have:& U  N, h0 X* \" E
  42. ---example---- i; d# h) A- }6 Y7 H
  43. [DBEXPRESS]) ]2 j$ a; P( @; J
  44. sqldir=mysql_sql
    + }  l0 F) n, y: H1 O
  45. Drivername=mysql
    " f. I- I" ~- N
  46. Database=test7 h4 |2 U" C8 n2 Q2 W4 |/ R
  47. Hostname=localhost# L$ a8 n; s" `: Q  D3 i' V/ W
  48. User_name=testuser, m) n7 A& M/ f) F- Y
  49. Password=my_password& K' i: |7 O2 `# P/ c
  50. GetDriverFunc=getSQLDriverMYSQL$ N2 R) Q3 a" Y9 L2 @0 K+ c% j+ C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ S# j* F) r) \% B- U1 i
  52. LibraryName=./libsqlmy.so
    7 S+ S: ?( L! X  A
  53. Active=10 @9 m* R7 v! D  b
  54. ---example---3 q6 t) D2 @, h! q& z/ J; V

  55. 4 ]: t# J5 K6 W) w" C; U
  56. On a windows box, also running the MySQL server locally, it would be:
    6 r3 T8 z7 t  p! \
  57. ---example---
    3 A4 B8 e7 R7 v
  58. [DBEXPRESS]: x- }2 g& D) M
  59. sqldir=mysql_sql+ g. u5 j6 I! x" S$ E2 o$ L. [
  60. Drivername=mysql6 [2 q6 |' Q) B. E* Y1 B7 \
  61. Database=test. |5 v, `' D2 I: V
  62. Hostname=127.0.0.1
    : H! \( p6 j  |  z
  63. User_name=testuser: l9 ^9 D$ X3 Y7 b6 V+ s
  64. Password=my_password! G2 w; A" b  n/ a2 P/ v
  65. GetDriverFunc=getSQLDriverMYSQL
    3 y" |. y3 c7 p7 L5 B
  66. VendorLib=libmysql.dll5 G, ^- J; |! ^! k
  67. LibraryName=dbexpmysql.dll1 [& x' L* W( V. Q+ @
  68. Active=15 j0 B# ~( K' }  u
  69. ---example----
    ; H5 P' A# ~- M$ _7 r. Q' s7 o# P
  70. - written 02.03.04 by pwk.linuxfan
    ! ^% @0 o3 `/ a9 h4 p) p4 H

  71. , \" U1 E/ U! p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, v: a2 |  M& [! Z
  1. $ X7 A: k- ]# U. C! d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 p% Y, S) \! U. r. M0 i4 ]7 ^
  3. 6 s1 l2 `$ \' @- U9 {  |
  4. # # #我们所需要# # #
    ! J! `9 _$ ?% O% S+ E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 T) F3 V% W! S# X* r9 Z% x
  6. 不会解释如何做到这一点-也有文件存在,为
    ' _- f- V2 A5 ]: M* ]  w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( I' C* K# o/ y" v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; }1 w  s0 _8 y' c4 c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. l( x5 F$ M. D, i# l
  10. 本地机器,这是我的MySQL安装。
    + l# Q* a6 k% x' {% m- K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 y5 }8 a9 R. N. P+ N4 r7 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ K- A+ Q- @/ Q) U9 |
  13. 数据库。
    ; a6 O/ V$ ]# ~: m) x6 ~( @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & R6 t( o2 w/ ^5 K$ A3 _! l/ Q: o. O% {
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * f8 [; A5 M! N& M' @- A) R% d0 d/ n
  16. 在teamspeak论坛,如果你有兴趣。 ) i. g/ p- M4 l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& V9 v) o6 M* N3 l: Q7 ?4 r3 ?  [
  18. Borland公司使用。这个司机只能界面与客户端库; W, [+ t3 S' c$ ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      X9 d* a' Y0 Q) V+ c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 W5 D6 I# t# w2 Y6 ?8 o
  21. " vendorlib " ,并解数据库连接。 ' w7 H5 P9 I0 y- w1 x$ y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 A4 `- z1 U4 n$ s" l: S
  23. ' Z9 ^" f" q; \, W1 x
  24. # # #做好工作# # # # M; d8 K( H; t  v* ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: _- B( U8 Z0 k4 t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( a. h4 b: p: l5 V
  27. 结束: 0 E0 d, Z9 L$ A6 j* G* Y1 j
  28. ---削减这里---
    ) d/ s  D- Q+ b( z4 v3 z
  29. [ dbexpress ] * z  H9 \6 T$ n  |/ R5 ?9 k
  30. sqldir = mysql_sql
    4 i3 X6 m0 f* i0 _1 W* i; ^1 W. f) D, `
  31. drivername = MySQL中
    2 l, f9 ^0 S, }; a8 j2 ]* M
  32. 数据库= your_database_name_here
    : O0 N1 C+ |2 K" f# Q
  33. 主机= the_pc_the_mysql - server_is_on 8 Y4 A9 G8 k: T% \. u
  34. user_name = user_name_on_the_mysql服务器
    ' T! O8 o6 q0 O( q: @6 J7 g
  35. 密码= password_to_go_with_above_user_name
    0 W: v- M1 E7 T4 }- ]4 J( c+ H4 n7 p
  36. getdriverfunc = getsqldrivermysql
    + z+ M4 w& U% j. V3 Y3 t( L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * c/ l0 s* z6 K3 N, o, i
  38. libraryname = path_to_libsqlmy_libary # I7 n  ^8 y& j, }3 u
  39. 积极= 1 : O& |. f/ l  ?7 A" ~  d
  40. ---削减这里---
    6 Q' e( L$ f# q% l! [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( [7 f- w6 [4 W4 ?9 E* T
  42. ---例如---
    ( t2 `' E- u7 R( n( L$ V( Z
  43. [ dbexpress ]
    8 P; e2 c( e" O
  44. sqldir = mysql_sql : p8 u* P% i- |
  45. drivername = MySQL中
    # z; q7 w/ ]! E1 J
  46. 数据库=测试! B7 S/ a  I3 e' ~% o
  47. 主机=本地主机3 o. j& ?8 M+ w. y
  48. user_name = testuser
    ! d$ Q6 L' K/ ]
  49. 密码= my_password ) t& O) `& w# R1 R8 f
  50. getdriverfunc = getsqldrivermysql
    ) Q+ A0 g& ?: D! P$ u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : b- e( i( p# v( a: m% V" f- X
  52. libraryname =. / libsqlmy.so
    8 T2 O7 W2 w2 v7 A1 U2 X$ g% ?2 `9 A
  53. 积极= 1
    " Q$ V% n  u# B0 j  h* x
  54. ---例如--- " M) D4 \: N: S0 e

  55. 4 n5 j0 U/ S3 o% A$ \* \
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " j$ k; q4 A. L$ e! k4 r1 k
  57. ---例如--- " W' ]3 N0 ?8 [, L  i! U# {
  58. [ dbexpress ] % T. r6 C9 J+ s3 a
  59. sqldir = mysql_sql / s) d+ ^6 M! y% ?0 X# Z3 ?
  60. drivername = MySQL中
    8 J; W- E; E' @# Y4 O) ?6 {$ ]
  61. 数据库=测试: g9 d0 B; \! w2 K
  62. 主机= 127.0.0.1 2 K3 T4 d8 w' L* J' Q
  63. user_name = testuser
    3 H# C2 M: H8 x6 p0 _2 I
  64. 密码= my_password 0 U+ f0 x" e6 t6 f
  65. getdriverfunc = getsqldrivermysql , B( j: p& ?/ p9 B
  66. vendorlib = libmysql.dll在
    % s: q& r: A- w: K8 W
  67. libraryname = dbexpmysql.dll
    1 t4 T% P" {3 V* I3 b
  68. 积极= 1
    . a1 }! U  Q' F/ i: v5 z. Y5 [
  69. ---例如---- ( ^  A6 q5 P( J# q+ ]
  70. -写在0 2.03.04由p wk.linuxfan* g' {9 T8 c  v1 d1 s
复制代码
发表于 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+ ?, O2 e! ~! L. m. \

. ~/ _9 F4 ~' v4 |1 xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-2 12:51 , Processed in 0.106352 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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