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

3012 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  d" _3 G1 k- Z3 B% k0 k9 q- U) W+ u
. _2 w$ G' S8 A$ b" U
  1. : j, t4 r- f+ |& d! v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  {9 r+ _4 `9 Q! [. A4 e

  3. + |3 q# o6 u! }" {( e1 L5 D
  4. ### What we need ###
    ; g+ F( ~0 }7 P" G" W. B' ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 Q; o1 N- I5 p1 ^3 E3 R0 T# y
  6. will not explain how this can be done - there are documents out there for the $ u8 h& q) |6 p  r8 }1 E  Z( U
  7. interested. The requirements include a (empty) database for TeamSpeak to use) K( C' Q% v( W  B
  8. and a user account (username + password) that has the permissions to do stuff* `0 q1 e, `; G% b. W  L4 ?
  9. with the database. Additionally, you will need a vendor library installed on the
    ' }- e4 _7 y* m8 H1 M" l8 A
  10. local machine, this came with my MySQL install.0 U% `* l- H. s* q) O( z$ S: y* {
  11. These instructions will not tell you how you might transfer your data from the
    + O0 W  t! ?* k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " L5 h$ z) a4 R- p3 ^8 i! A1 q
  13. database.
    6 o& ~5 m: N" Z. S+ R$ |  A) m- p
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 g( }+ t9 u. u) j& W$ N
  15. the time of writing, there are still too many issues - check the current status6 H  p; d' F6 R- V( R& s2 ]1 |
  16. in the TeamSpeak forums if you are interested.
    " q8 ^# D+ r. X8 n, S$ Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 u4 u+ s. t- |; g
  18. Borland was used. This driver can only interface with the client library that 3 ]9 @1 V' r' r4 i1 ]" |
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* j  i* ~6 i9 \8 L4 G: ]8 C
  20. client library - basically all you have to do is to use a 3.x client library as
    0 k" _" U& w2 N: P
  21. "VendorLib" and a 4.x database to connect to.
    , p  p: z. l! N* v' W9 B' m
  22. If you need more info about dbExpress, you can contact Borland.
    " Q9 G. p) v9 j5 G8 @! ~
  23. 7 v1 Y2 m: V2 e  `5 T0 w8 H$ c! G" P
  24. ### Doing the work ###
    0 ?8 }: l  j. h6 i& q6 r. S+ {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( Y4 x8 B( |, i& f  V* y
  26. the perquisites right, just open your server.ini file, and add this section at
    7 ]6 @% p$ i1 A$ C' T& L
  27. the end:
    2 D, w: e" n! G% ]1 V9 d
  28. ---cut here---
    / W" U7 h; f0 n$ L  f4 R7 K6 I
  29. [DBEXPRESS]
    $ z$ J* C& O1 T# R1 Z8 `
  30. sqldir=mysql_sql
    , B9 [# N3 T0 z' ^0 L1 M8 ~, p
  31. Drivername=mysql
    9 `$ u) R, _4 |* @( }. h5 l: V
  32. Database=Your_Database_Name_Here9 N+ Q6 c" S6 P8 L9 }; a8 c
  33. Hostname=The_PC_the_MySQL-Server_is_on9 i) i4 f1 y  h% F
  34. User_name=User_name_on_the_MySQL-Server( W& u: z' o% ]4 z$ S3 h
  35. Password=Password_to_go_with_above_user_name
    + N/ p/ t' K( G
  36. GetDriverFunc=getSQLDriverMYSQL8 M& v* q4 m6 v6 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : `  W) ~; [4 h) f' @
  38. LibraryName=path_to_libsqlmy_libary
    7 l+ o! w. p) X9 A
  39. Active=1
    7 M- k3 ]6 ~" u3 l
  40. ---cut here---
    $ _5 L; y! @' ?8 m  ~
  41. In my environment (a linux box with a MySQL server running locally) I have:" Z  v  |9 z: q1 b* H9 b4 k* h
  42. ---example---; [4 r8 ?: O, A! @3 L
  43. [DBEXPRESS]% q7 d7 h0 @! t5 {+ ?
  44. sqldir=mysql_sql7 d' i7 d  p  h5 Z* _7 M9 ~
  45. Drivername=mysql% ]$ W  L1 f: R, w1 |! j+ g( u! p
  46. Database=test5 i9 x$ ~. }/ s$ l9 a% x
  47. Hostname=localhost1 C) Y. j; N8 N8 Q! J
  48. User_name=testuser( M: N% P* I% d" ?- j- Z# B1 Z
  49. Password=my_password
    # N5 s& _" f/ r  \) m( K
  50. GetDriverFunc=getSQLDriverMYSQL
    0 h' g% y0 \' Z8 u$ W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' ?3 W6 Y. S$ r) e; g2 C
  52. LibraryName=./libsqlmy.so
    , \5 N0 ^7 Q! h! I4 A; v
  53. Active=1( N- p6 m: x: y" U/ c0 h
  54. ---example---/ s1 t* K- c: K. U

  55. 4 z, m+ J7 [, {" c- t2 O9 I/ I1 [
  56. On a windows box, also running the MySQL server locally, it would be:
      q# i& s" t" V- t
  57. ---example---# m7 b4 ~4 N  |
  58. [DBEXPRESS]) h' i. Q1 G6 A# T" A( |9 K5 u! P
  59. sqldir=mysql_sql
    3 j' V, N( A6 h! C+ w5 N. P- L
  60. Drivername=mysql
    7 X1 j1 j/ {& {: g
  61. Database=test% G+ `6 Z" p8 B0 @! ^7 q- P
  62. Hostname=127.0.0.1" B2 [5 I; e( N
  63. User_name=testuser
    ! I  ^. {& M& X9 H# g
  64. Password=my_password
    - m' ^" `9 ~$ `" b8 v
  65. GetDriverFunc=getSQLDriverMYSQL: u( H0 F! r3 Z9 p. b
  66. VendorLib=libmysql.dll
    ! T! E! j3 ~  X
  67. LibraryName=dbexpmysql.dll+ x6 u! G2 B1 d  J) B7 B. H6 d
  68. Active=1% A# O$ |$ M3 e9 D  e: ^& i
  69. ---example----% ?4 r7 _; k- \- @/ f* r" b
  70. - written 02.03.04 by pwk.linuxfan0 E9 l" t6 ?& c5 I

  71. ; U- v# f& ^9 Y+ n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) \% k# c6 w: h2 x
  1. - s3 X8 [' l' Q% w2 \$ D2 v  ~
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - o) ?. v2 |) |8 r' c, V. Y

  3. 2 x- z# K+ }9 s4 X4 [( ~
  4. # # #我们所需要# # # ' L9 |7 D' J: V# U8 q2 h  P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 \8 p9 Q$ Y7 P4 E' X5 k2 y0 L
  6. 不会解释如何做到这一点-也有文件存在,为9 N- {8 E+ d9 j  W; }2 X) C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # z$ f- S7 r4 t( j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% d! i- f/ n! Y( a1 a$ n5 h  I- j) {8 m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ s7 _: \8 D  {' P: f9 [: x
  10. 本地机器,这是我的MySQL安装。
    5 X3 z$ h; l* @0 ]9 T7 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) I- U( d- Z% K. ]9 r/ ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * f+ ]! r, j% o2 `1 X- G
  13. 数据库。
    / ~9 L: l" _: W: y, m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; ^/ _% f# Q( Q$ x/ ~8 t  d( n
  15. 编写本报告的时候,仍然有太多的问题-检查现状  t6 t8 T& t7 l/ i
  16. 在teamspeak论坛,如果你有兴趣。 % J/ ]4 V' i  n* e" h: F& t# H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机  ~, c) l6 t2 q6 D! {4 A" B3 d) B
  18. Borland公司使用。这个司机只能界面与客户端库
    ! P9 O0 N# _1 m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 M8 g8 U% S( V3 D! L7 j9 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 w9 c+ k* ]3 h
  21. " vendorlib " ,并解数据库连接。 : ~3 G! c# u1 D; l& L5 p6 H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & B; E& i6 N% b- s3 n* Y, _' e% T

  23. % y8 N; ^  w0 d7 W; h3 Q% i" n- j
  24. # # #做好工作# # #
    1 W' c# O6 Q+ A0 @# I$ r6 H+ L( x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ R3 z6 A; ]1 ~0 _* ]5 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! @/ S+ K& l% q, M
  27. 结束: ! q/ o- @8 I% u) r9 S- r9 H1 s
  28. ---削减这里---
    9 {8 I2 \; `2 I2 U% I
  29. [ dbexpress ]
    3 `/ N* E! n, C0 ~& @/ }
  30. sqldir = mysql_sql
    % ~' u5 l3 p6 U* f2 n
  31. drivername = MySQL中
    : V$ H3 D! e" L1 g6 [
  32. 数据库= your_database_name_here
    / W/ Q( C5 E4 f. L; @# n
  33. 主机= the_pc_the_mysql - server_is_on 4 U5 E4 Z* E5 j3 O! N
  34. user_name = user_name_on_the_mysql服务器
    3 @. `7 u6 r; W, [% p
  35. 密码= password_to_go_with_above_user_name $ W' o. H9 A( C# j+ W
  36. getdriverfunc = getsqldrivermysql
    ! i  x! [6 U: _1 ], e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( C' K6 R7 c1 H9 |
  38. libraryname = path_to_libsqlmy_libary / G, |$ ]9 I5 q+ T2 o
  39. 积极= 1 3 C8 b! Y  S: q: p7 j5 q7 D5 @
  40. ---削减这里---
    : Z! A* J) X4 [# X0 f# Q( J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + t8 C8 L# N9 Y0 H- o" N
  42. ---例如---
    $ W- ~0 G' x, Z$ `  {: P' ]
  43. [ dbexpress ]
    9 V9 n, N* H; s2 k9 ?0 Z! Z
  44. sqldir = mysql_sql * j4 U* f8 \- L1 O% P
  45. drivername = MySQL中- t- B9 _# M3 W# q6 V& X& g6 U
  46. 数据库=测试+ Z2 v7 U% G4 P
  47. 主机=本地主机
    ) q) H% m! d# ?9 i' Y4 Q
  48. user_name = testuser ' l  X0 |& P: s
  49. 密码= my_password
    $ P4 `6 K( K/ n4 [( A
  50. getdriverfunc = getsqldrivermysql
    3 O/ `1 e; s1 e& G$ {" `/ I. _) ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . R# r0 H. C* j3 |0 u5 q# I4 I: {
  52. libraryname =. / libsqlmy.so 9 }; h0 i" ~# n' \# b9 ?
  53. 积极= 1 ) M3 R! N* q( ]. Q
  54. ---例如--- 4 r# k6 K. l+ x

  55. / ~, M  s# n* n* i  X7 @) U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' H$ J. y& G# J  _
  57. ---例如---
    + D& ~! G, l# ~" X8 Z. S" @
  58. [ dbexpress ] ' u* V* p7 r& G: p
  59. sqldir = mysql_sql 6 m% }2 i  C  K7 y( ^8 a
  60. drivername = MySQL中) U( e5 ^' [( G0 s/ |+ M
  61. 数据库=测试9 p/ V( b) q+ n7 `9 m
  62. 主机= 127.0.0.1
    7 x6 S; M$ o$ F# b4 Q7 C/ C
  63. user_name = testuser
    " ~, D2 _$ Y& {  q3 k5 [% |4 ^
  64. 密码= my_password
    ; o& t! \& @7 d! X1 {9 D& f% B) g& R* `
  65. getdriverfunc = getsqldrivermysql
    $ K0 O# W$ B: Y9 g: d
  66. vendorlib = libmysql.dll在
    ( R4 Z- J) D0 M8 }5 r
  67. libraryname = dbexpmysql.dll 1 x; K% W9 j, @! [5 I9 [
  68. 积极= 1
    ; f" S& J5 u/ |* x
  69. ---例如----
    : c4 s" g& k+ J
  70. -写在0 2.03.04由p wk.linuxfan' p( \7 e4 T: Y, ^7 |/ n+ v4 c2 t5 e
复制代码
发表于 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
/ d! `5 i* k$ l0 u
0 h6 `! D% Y* Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-12 14:35 , Processed in 0.093657 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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