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

3479 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 K7 [1 G1 n+ Q1 X6 r( j, t' E8 ?% W5 a, d: w$ _- T

  1. + w2 \/ R. F# f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( S9 D3 A. w# ~; _3 w- n. m9 n3 n
  3. ; a, F& z3 T. b, U3 T
  4. ### What we need ###1 D' G4 X  m' i/ l
  5. Naturally, we will need a MySQL server to store the data for us, this document & ?4 k/ h8 a5 ~. U! e6 G
  6. will not explain how this can be done - there are documents out there for the 4 A' [/ O1 g, O! I
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 o9 |' Y6 H" I" U
  8. and a user account (username + password) that has the permissions to do stuff' j( k3 l2 _  w4 T3 ]: p# t; a
  9. with the database. Additionally, you will need a vendor library installed on the. o- S1 X: ?2 O4 B2 Y) J
  10. local machine, this came with my MySQL install.
    ( v4 I! Q, U4 n9 N' i" a! |- r
  11. These instructions will not tell you how you might transfer your data from the
    - t& n$ G# }: x& h( U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 ^: Z" `$ J  A7 I
  13. database.. X7 A2 i( f. b* U/ H
  14. Some users have reported ways to import a SQLite database into MySQL, but at; c6 ~- g8 c6 ^0 x
  15. the time of writing, there are still too many issues - check the current status% `, t  w; g# R9 @
  16. in the TeamSpeak forums if you are interested.8 r1 ?6 @) @% n' a) k' p1 ]  I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) P# S" ]$ q  b7 v/ M+ N
  18. Borland was used. This driver can only interface with the client library that % ]' s* k# o8 n7 q" D6 Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 u! W2 n. ~' `* j0 z
  20. client library - basically all you have to do is to use a 3.x client library as
    - _$ m. L. O1 [' Q; N/ t  J7 U
  21. "VendorLib" and a 4.x database to connect to.3 |/ x& v2 C7 e$ t. o  ]
  22. If you need more info about dbExpress, you can contact Borland.' W- ~! y" a, d( f
  23. + b; Y1 N* @3 T0 H& I) c
  24. ### Doing the work ###
    9 e, B7 U& g9 R7 E$ @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* g. E9 A# p7 g) d' z% q
  26. the perquisites right, just open your server.ini file, and add this section at! e% X& _6 `$ }6 E
  27. the end:5 t# |5 s& c8 \9 }- d1 Q
  28. ---cut here---0 ~; `/ o7 V! P3 k
  29. [DBEXPRESS]3 {8 F9 @2 w" p9 A$ E
  30. sqldir=mysql_sql2 [' q9 [$ I: s# O; U6 V1 l
  31. Drivername=mysql6 T! w9 S  P$ P) j) e& l) q5 |
  32. Database=Your_Database_Name_Here4 t9 r0 H. [3 ], ^
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 E- _4 x7 ]  o7 [4 Q) _5 p# [
  34. User_name=User_name_on_the_MySQL-Server. L' Z$ y/ v$ {: i" T
  35. Password=Password_to_go_with_above_user_name, @9 C8 {+ p" O# `% P: I
  36. GetDriverFunc=getSQLDriverMYSQL
    " m  u% }! H! |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % Y; P! m; M) }( o
  38. LibraryName=path_to_libsqlmy_libary* r/ J9 B" t. f. \2 E; d/ Q( H5 W
  39. Active=17 S7 e$ d5 Y; s4 [3 v3 q$ H6 V* t
  40. ---cut here---( x7 y- ~4 d- E1 |
  41. In my environment (a linux box with a MySQL server running locally) I have:
    " f6 g+ B# B0 _1 N+ n0 H; x
  42. ---example---
    ) ]; s5 [8 O. e& n# t
  43. [DBEXPRESS]+ F0 N& O& I' o* A7 ]
  44. sqldir=mysql_sql
    , i: s& e/ z8 }, `7 r
  45. Drivername=mysql
    ! B- J5 D( H& |$ A2 V
  46. Database=test
    ) l; x& M9 M! O
  47. Hostname=localhost) F7 X0 w" `5 B6 o! M' ?
  48. User_name=testuser+ w: B3 [6 f$ {  y! D, c% Q
  49. Password=my_password1 z& A1 \1 Y( n& H0 E8 c% m
  50. GetDriverFunc=getSQLDriverMYSQL
    , ?# F% V1 q9 w8 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 C, O* ?$ L  G4 X1 {, i
  52. LibraryName=./libsqlmy.so
    ( l; c6 n" _1 C( ]6 q" e! m/ ]
  53. Active=1
    0 B! g0 g) I. k% w
  54. ---example---
    8 y" u8 T$ K: L6 L, c7 j

  55. 0 f/ [3 f; ~9 I' `
  56. On a windows box, also running the MySQL server locally, it would be:" i% d& P) a; {- n
  57. ---example---
    + t) n1 f( }2 @# Z3 r
  58. [DBEXPRESS]
    / `3 E1 |( n/ ]! n$ b; T
  59. sqldir=mysql_sql4 I9 o2 D0 W1 h
  60. Drivername=mysql3 m2 N0 p' g- d- G3 R
  61. Database=test( k+ T* M0 Q" V+ |
  62. Hostname=127.0.0.1. _% S" r4 p, \* J. @
  63. User_name=testuser
    / {/ o& D- B/ `+ o: g* a, G1 A
  64. Password=my_password
    8 \- S% \/ `8 D! \6 h7 O0 F! }
  65. GetDriverFunc=getSQLDriverMYSQL
    3 B( G. N0 T4 \" |0 o2 y; a* H1 K; l
  66. VendorLib=libmysql.dll
    0 \0 C% A1 d. B) J% R& l  U  g
  67. LibraryName=dbexpmysql.dll+ \/ P3 w' i8 _5 ^! A
  68. Active=1
    5 b! C) l6 ^6 t2 Y) V8 r' u. @
  69. ---example----6 P$ ]8 N; @" S6 g8 g
  70. - written 02.03.04 by pwk.linuxfan
    % ~# v2 T8 z/ ~8 W* f  V
  71. . g1 U. L+ M9 F# L  m, {- J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# o6 n0 H$ E: U% y4 x6 f  [
  1. ! S4 q  b  a- @" f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - C: C* @0 w' z% q2 I+ s6 {

  3. 3 Y* d& m6 S0 D  ^8 c
  4. # # #我们所需要# # # $ Z" P9 w# A3 Z$ c2 u0 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; R3 m. Z2 `$ o4 O* i
  6. 不会解释如何做到这一点-也有文件存在,为
    9 g6 i# i, Y$ {7 l9 p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + H3 q1 V  x; t& }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - I, t' p& w1 ~' k* O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 ~% `! S- x3 T2 ?
  10. 本地机器,这是我的MySQL安装。
    & \+ i' c7 |% F% w, N( G0 n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 t* }; z/ A! [( `, a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % _: p- B! A' b5 b/ {! |* p8 e  Z
  13. 数据库。 ) f4 l4 L0 X3 h3 G+ K0 ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 Q9 Q1 N& [4 J& [, h0 o# Q* g
  15. 编写本报告的时候,仍然有太多的问题-检查现状: I+ C/ l! B% O& ^; O
  16. 在teamspeak论坛,如果你有兴趣。 9 K8 U/ B; f% e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      }6 t& _# I4 H
  18. Borland公司使用。这个司机只能界面与客户端库, r: {0 ]) M1 b/ }, ^- [+ ]& ^0 w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# n; [' ~+ s4 d" V2 }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* O: B, o- f* @# z# V3 V3 e
  21. " vendorlib " ,并解数据库连接。 7 N( V3 r8 n& C0 O( T" g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' N. P$ f4 S0 e  N1 L. U8 ?$ L

  23. 2 \- g; E* j: q# j8 c2 K
  24. # # #做好工作# # #
    1 m' m+ f$ F/ S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % Y. ~7 l  a, z+ w8 {2 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 z9 _$ O$ \. x: u
  27. 结束: 3 H& t  W" e- H% J8 \) M" c
  28. ---削减这里--- ' W* c3 `% B1 c+ G; M- R! t
  29. [ dbexpress ] 5 h& Y5 L2 U; }6 L3 [
  30. sqldir = mysql_sql
    6 v  p- h7 {  V; ]' v7 s
  31. drivername = MySQL中$ h0 A- b8 p4 B, W  C  S& A2 }
  32. 数据库= your_database_name_here
    5 y' u5 C* P0 K- R6 u& t1 b
  33. 主机= the_pc_the_mysql - server_is_on   N/ g. Y9 N, I2 k2 W2 C. Q
  34. user_name = user_name_on_the_mysql服务器3 Q+ x( M' A' p/ H1 G
  35. 密码= password_to_go_with_above_user_name
    5 G! s8 w1 Y6 I5 D8 X
  36. getdriverfunc = getsqldrivermysql 7 D& W8 q% ^: c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 ^; T6 X6 A$ e. @
  38. libraryname = path_to_libsqlmy_libary
    , N) U1 {7 |9 ^  N1 A! \- `% w& }; L
  39. 积极= 1
    5 d2 K+ a+ W, Y8 |
  40. ---削减这里--- ; ~7 ^! F" q* H" j; j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 F; |( ?% E) [8 r* O0 @" M7 }
  42. ---例如---
    1 X$ n! o( x6 i6 W
  43. [ dbexpress ] 7 s; ?  P: s; P
  44. sqldir = mysql_sql
    " s* a8 N) S, ^# t: h2 o- s
  45. drivername = MySQL中. V  j1 `1 k- n: ?) E3 ^5 x
  46. 数据库=测试" X- [: Z+ D* B- I9 I: a) ]9 M
  47. 主机=本地主机+ F- Z( N# q  A! b
  48. user_name = testuser
    : P) C' V2 L/ ~
  49. 密码= my_password
    % e8 m4 F0 N" o1 A
  50. getdriverfunc = getsqldrivermysql
    & |! A9 W- `; i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! E( q6 k. I! W( x& ]. i% N) }+ h
  52. libraryname =. / libsqlmy.so / Z# M) e) @6 a; P% p; V
  53. 积极= 1 4 v1 y! R7 y  L- D; X
  54. ---例如--- 2 d3 [; D  s' B  v
  55. 0 R" m" R6 u: ?/ r" a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . d) U5 h- X# r$ N3 ?* i1 F
  57. ---例如---
      R" H( Y4 |/ N% v/ ?5 v. R( c
  58. [ dbexpress ] & o1 \; E) g# j2 j8 V* ]  @, ^
  59. sqldir = mysql_sql
    + ~& V6 w$ b& O8 R' l6 K, ]
  60. drivername = MySQL中0 k0 l$ K" J% y% x" f
  61. 数据库=测试
    & w! |4 c5 z  B  \
  62. 主机= 127.0.0.1
    5 s8 ]) y2 L7 C. {/ ^' [. o
  63. user_name = testuser 0 Z- `6 O: u; l4 `) ]+ R
  64. 密码= my_password
    0 S3 A! k" A$ V& X$ F' k
  65. getdriverfunc = getsqldrivermysql
    9 ]1 j, S* X4 J. E9 t) P+ Z7 k- N
  66. vendorlib = libmysql.dll在/ T3 ^: f' d' f! Y
  67. libraryname = dbexpmysql.dll
    ( u/ p) q0 z, ?
  68. 积极= 1
    - V  m! y) @, Q" a) v
  69. ---例如---- 0 y$ m- U/ y3 @) L+ R
  70. -写在0 2.03.04由p wk.linuxfan* O# Y1 k% u. y: M& K; D& h1 M
复制代码
发表于 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
2 l2 B7 J) X, H4 u. \  x: Q/ g5 O: T& b3 Q) [4 N. t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-5 14:42 , Processed in 0.062620 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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