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

2261 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- v# N6 n0 W/ ~* p& C/ x" a  e; I! R2 m4 h7 _# Z

  1. + l" s* ~; ], ~/ e6 y( G( }8 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * D" M& B. v+ ?

  3. 1 C6 T: w& }, W" A: e9 |
  4. ### What we need ###9 J4 ?3 X  j  v/ R4 C7 o) `! h# y
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 W/ }" Y, `% ]" ]) c- s0 Z
  6. will not explain how this can be done - there are documents out there for the ) l- I: }8 j: Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 t! C. i& H! l( s/ @- M: B0 b
  8. and a user account (username + password) that has the permissions to do stuff
    , l& s3 _( }; J' y
  9. with the database. Additionally, you will need a vendor library installed on the$ U( K& @6 B+ [
  10. local machine, this came with my MySQL install.
    7 u, D* r$ b/ t& D; n. \  L1 F
  11. These instructions will not tell you how you might transfer your data from the) h  g' ~; L6 _5 k( w. e# Y1 f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 ~  A; w6 ~. O' b! \
  13. database.
    - R& i; {: a! ~. O" b0 y4 H/ f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * [: N- U+ K$ v5 [( T7 H9 A7 J+ Z
  15. the time of writing, there are still too many issues - check the current status
    2 K7 O! `% \: L) y+ e, _
  16. in the TeamSpeak forums if you are interested.
    , ~. S( A- z! k4 f0 n0 l6 U( H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 X: n' v; a- D/ i
  18. Borland was used. This driver can only interface with the client library that * T' ~3 E! A0 q1 `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 ~" K  ]2 _; g& ?9 j
  20. client library - basically all you have to do is to use a 3.x client library as
    : K, R, F9 }# z% g! @/ \
  21. "VendorLib" and a 4.x database to connect to.
    - l2 f6 E1 L1 ?1 s; v$ i
  22. If you need more info about dbExpress, you can contact Borland.
    % {8 W+ n3 z' d/ r  N
  23. " \5 W" c7 _- W& c! J$ O
  24. ### Doing the work ###
    " s8 A0 u" R  ~6 f0 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all! s8 `' k0 W7 C7 P( m* c( T
  26. the perquisites right, just open your server.ini file, and add this section at; v) ^) g$ i3 v3 b: O$ c3 C: I; F0 A
  27. the end:" C$ v" _0 l: }
  28. ---cut here---8 w6 W7 ?5 x3 x. _. E2 i
  29. [DBEXPRESS]; ~5 M4 S( S( u/ \$ A# X7 i) G  G
  30. sqldir=mysql_sql! d5 F& g. J- L; U7 J
  31. Drivername=mysql
    4 _: l6 Q) n; Z
  32. Database=Your_Database_Name_Here  s& K3 q' ~/ ^3 Q" g  I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 n* S0 @3 H& ?
  34. User_name=User_name_on_the_MySQL-Server' j& U' G/ I/ h
  35. Password=Password_to_go_with_above_user_name
    7 X9 L- z# R  T7 w+ t" c
  36. GetDriverFunc=getSQLDriverMYSQL
    4 A) P5 H: B2 g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & O, k- l$ V2 C8 V
  38. LibraryName=path_to_libsqlmy_libary
    ' t: k& j7 Z4 Z$ q7 N8 m) r+ Z  {3 o
  39. Active=1
    4 U' `( T; @' m9 l
  40. ---cut here---9 a3 J% H2 T  f6 n3 l2 t
  41. In my environment (a linux box with a MySQL server running locally) I have:" k3 T3 ^3 n0 n2 D$ r! F7 T
  42. ---example---
    ! c1 S6 a8 c! v1 h3 ~1 f
  43. [DBEXPRESS]; x5 @# R( z* V3 X. C
  44. sqldir=mysql_sql# t  t! j+ R2 J/ G( {) a
  45. Drivername=mysql
    ! ^6 }* B* r+ w3 n( G6 e7 Z: _
  46. Database=test
      u3 f9 t. {0 _- f9 }7 p5 P: t9 T  o
  47. Hostname=localhost; z, c3 k, x6 @6 O
  48. User_name=testuser
    ' [/ X1 G3 C; T* T7 I* {
  49. Password=my_password9 |8 n! }( Q2 ^; O' C0 U
  50. GetDriverFunc=getSQLDriverMYSQL) o8 }* j0 S6 L3 j% i( i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 |  C- @; z. q3 A4 v
  52. LibraryName=./libsqlmy.so
    9 i3 p$ N& S% e7 T
  53. Active=1
    ( N: i' f1 [" a  J
  54. ---example---
    8 s/ J" D7 i# G$ [9 e

  55. . J, j' Q7 Z+ L
  56. On a windows box, also running the MySQL server locally, it would be:
    6 h" h* x# n% z; E  v; s9 X
  57. ---example---' ~$ v3 ~% _; ], _0 x
  58. [DBEXPRESS]
    + N' R$ n5 s; p* F2 C! W
  59. sqldir=mysql_sql
    + d0 F0 x0 d; g+ w+ e( S
  60. Drivername=mysql6 j7 I- x6 s. k
  61. Database=test" B9 |: |9 l) |7 c
  62. Hostname=127.0.0.1
    8 W2 \: i, X, d0 F# ?  ~- _
  63. User_name=testuser3 |4 P5 G% P" R& X' O& H& C7 G$ x! f
  64. Password=my_password
    : x( g0 p! r& N+ O8 {
  65. GetDriverFunc=getSQLDriverMYSQL/ D8 ^) v6 Q8 N2 d5 q, i  Q
  66. VendorLib=libmysql.dll2 R. [% h% g; L2 D( o
  67. LibraryName=dbexpmysql.dll. G6 H5 Z; n( F" t, }  U  V- H
  68. Active=1
    ) \7 e! a- P1 d9 x+ C% d& w; Z7 n
  69. ---example----
    + m) ]6 U3 ^; A8 q( G5 Y
  70. - written 02.03.04 by pwk.linuxfan
    ! g& i4 U9 j7 z" }/ m6 z
  71. ' z6 z! e: B3 Q8 j& y( r/ v. V* K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 o6 {: t1 A+ D8 V1 Q7 D! I

  1. : f: J* X' c4 P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      |( ]( w! @: j1 J

  3. $ t9 X1 s4 _) Y" y% U* [; p& k/ p
  4. # # #我们所需要# # #
    ( n; D5 P1 U0 O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. _1 P* }" E8 ?  P( U/ o6 ^
  6. 不会解释如何做到这一点-也有文件存在,为
    . [* M# h8 T9 W: d1 ^3 |$ ]# R( _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 P% D" x& Y8 k) d% Q' d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* n8 K' v2 E- c* C6 }# B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + w7 g) z  Z* Z5 \
  10. 本地机器,这是我的MySQL安装。 4 y# z( g2 W& x; h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 r+ p$ c+ y) {) e" Q$ A7 c: A  ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 E- H7 B: L: I. d8 Z" y& S1 \
  13. 数据库。
    6 S7 s- d; E9 {8 v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ s, q# `3 l, e
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 o# v* u. P3 D) t
  16. 在teamspeak论坛,如果你有兴趣。
    $ M! L9 v; @( U1 ]# p) W- j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 ]: p5 o& u6 e: y# X6 J
  18. Borland公司使用。这个司机只能界面与客户端库$ R; K6 L" L8 B9 ^2 X8 K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 s1 a: g1 l! [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      Y3 R! s, Y- c; I* v
  21. " vendorlib " ,并解数据库连接。 2 m0 k3 F; F# X; v! L: v0 B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " O' L+ C  m8 O" `4 l
  23. - y( G! E$ t/ q: K# ?8 {, c- l
  24. # # #做好工作# # #
    2 c5 e& a0 Q' }9 Q6 R1 y' B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 G8 l9 G# g  a/ k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  V1 O' Z; T9 V5 E# E& ]
  27. 结束:
    0 i& `9 i8 s  ]( }5 j: A* x
  28. ---削减这里---
    4 P9 B- z$ `: ~  }, |9 \' e* {
  29. [ dbexpress ] 7 s" x; o1 ?3 `; I( j
  30. sqldir = mysql_sql % t8 P/ u$ t4 i0 {3 X5 \. k7 B
  31. drivername = MySQL中
    ' j  H1 `: j3 d, }# ]' e4 B
  32. 数据库= your_database_name_here + u% h; e, m  o4 K- k
  33. 主机= the_pc_the_mysql - server_is_on - I) l: E8 y2 g9 n1 c
  34. user_name = user_name_on_the_mysql服务器. K8 l: |5 W( q3 x+ \, i  \
  35. 密码= password_to_go_with_above_user_name
    4 d5 p1 ^* B% v2 Q  H5 Q) _- y
  36. getdriverfunc = getsqldrivermysql - d( F8 s% q/ I4 `# L, H: U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ j/ }* c# ~1 _3 p! _( I/ ~
  38. libraryname = path_to_libsqlmy_libary , o3 T2 \7 L6 n! M  ~9 c
  39. 积极= 1 ( V1 M# X/ V: J1 `, l+ T2 p& Z, a, W4 D
  40. ---削减这里---
    * q2 m& v2 b. j9 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 j0 }1 L1 {9 u# S
  42. ---例如---
    4 e; X% K$ @) v" @8 i. V7 w
  43. [ dbexpress ]
    * c1 q% h% v1 }3 e) Z# h
  44. sqldir = mysql_sql / H5 m3 k, U4 u1 I( A8 g3 z
  45. drivername = MySQL中: k7 l9 f: y) F1 a
  46. 数据库=测试
    & i0 O! X& v' \7 e8 ~/ Y, J
  47. 主机=本地主机& h$ A- w/ }& P' g& [
  48. user_name = testuser
    % N  e6 I, e, {; T5 ~  z+ z* S2 ^
  49. 密码= my_password " ~; y- t3 e7 P
  50. getdriverfunc = getsqldrivermysql ' H# Z8 {& d$ @% ~- ?8 s2 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & H! J/ e* P7 y. n4 X
  52. libraryname =. / libsqlmy.so / i. I) A+ _; Q
  53. 积极= 1 ( A) o, Y1 A0 M* s# E
  54. ---例如--- 9 d8 ~- z1 I( ^2 G& R2 o
  55. ( ]* H# s" f4 D1 y0 Z  Y% u( ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 m  E7 Z2 b8 |
  57. ---例如---
    * c0 `% s: j- ^6 r/ A" S* L
  58. [ dbexpress ]
    * Y, E1 o$ P4 b7 E2 T
  59. sqldir = mysql_sql
      w$ w  X! R1 y; n% A1 r  c3 [& [
  60. drivername = MySQL中+ M- o2 o9 I, d
  61. 数据库=测试& Q' x$ n6 `# F2 m+ |% Y# D
  62. 主机= 127.0.0.1
    & t' E& J; i- E- E  [
  63. user_name = testuser : z$ Y7 I/ G! x" I" ~" H% v. O
  64. 密码= my_password
    $ A5 r/ g3 S; x9 t8 B. ~3 ^
  65. getdriverfunc = getsqldrivermysql
      w" g# ^# Y- _
  66. vendorlib = libmysql.dll在
    " p' r' ^* @% f( J" ^- r/ c
  67. libraryname = dbexpmysql.dll # h( u1 i4 v: q; Y6 `/ L3 A
  68. 积极= 1
    . R0 K% k; [) e; C
  69. ---例如---- - `, S+ C0 O# i- a# n* Z
  70. -写在0 2.03.04由p wk.linuxfan8 {5 j9 G, J+ [# e& o: J* m6 c
复制代码
发表于 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
4 n# q# q" o: P3 l1 c4 a, m: H
2 S- M0 z5 i$ O1 G" b) ^; c* Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-3 23:25 , Processed in 0.115427 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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