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

3067 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 L; ]5 [: D. S; j
; D) X! _" S  R* X

  1. ' e3 ?' Z: Z% H: M2 l0 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / m- T  H9 g" _# f3 g) {
  3. 6 x6 e# ]0 d1 L: R
  4. ### What we need ###
    : ^2 Y7 ?7 Y5 Q9 _( C( X
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 X% c7 z; l* B) R, X3 \
  6. will not explain how this can be done - there are documents out there for the 3 d+ h: W" W4 p" ]- f
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      Q9 k, s1 T1 Z) I, m0 ]
  8. and a user account (username + password) that has the permissions to do stuff. A; T" u' ]6 L( p$ [6 b
  9. with the database. Additionally, you will need a vendor library installed on the
    4 v2 F& u! \* a, g  e* }. R  F0 J
  10. local machine, this came with my MySQL install.# @, G6 A8 z! r
  11. These instructions will not tell you how you might transfer your data from the
    ) {, o8 G8 X1 a7 Y: s# p, j9 j' `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 ]& \" N, ?# r, e
  13. database.
    ( z5 x# W! G. V4 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 G/ m3 H* c' E" b' f
  15. the time of writing, there are still too many issues - check the current status: U! w& j- l/ }
  16. in the TeamSpeak forums if you are interested.3 S6 i) x9 E8 [! n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( G! Y5 B6 h9 o* o5 d5 Y; j$ X% ~
  18. Borland was used. This driver can only interface with the client library that 5 x2 f' Q6 T+ i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # x0 f, b- k. D. I2 N
  20. client library - basically all you have to do is to use a 3.x client library as
    . ~+ s- E; a* I7 E1 S/ D5 ^; c
  21. "VendorLib" and a 4.x database to connect to.
    ; u  I; C6 u  G5 Y( H( ^
  22. If you need more info about dbExpress, you can contact Borland.
    6 W$ B* w2 ^" @5 h2 z  p
  23. . r+ \, o' |) v$ ]  B/ }
  24. ### Doing the work ###) ?+ V& U* y6 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . m: J* D* b) N: L+ A& y
  26. the perquisites right, just open your server.ini file, and add this section at
    + }8 n' \1 O# H4 V/ |( A3 G
  27. the end:
    & h1 L# e9 N- \, d
  28. ---cut here---
    6 f( \/ m! m, N  u
  29. [DBEXPRESS]
    4 I0 U" `* Z# M! b6 }- ^. A
  30. sqldir=mysql_sql
    8 {$ J5 l) ?- p6 `, c) `
  31. Drivername=mysql1 k7 U% G0 c7 e* a* K" @1 C
  32. Database=Your_Database_Name_Here
    ' c  N; g) T5 r
  33. Hostname=The_PC_the_MySQL-Server_is_on( `: E) l8 d1 A% a( C% q% Z% m- h9 z
  34. User_name=User_name_on_the_MySQL-Server' s- K4 p7 X" D& q, o1 @
  35. Password=Password_to_go_with_above_user_name5 [* P  V* [' e
  36. GetDriverFunc=getSQLDriverMYSQL, s1 u0 Z4 s6 y! x8 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* R. e. n7 ]5 O# p" H
  38. LibraryName=path_to_libsqlmy_libary
    & d/ _0 t2 O2 _* x+ t
  39. Active=1
    1 N5 E4 L% N. @8 D$ K4 H" Y7 ]$ L
  40. ---cut here---) N4 f0 ]- ]8 r
  41. In my environment (a linux box with a MySQL server running locally) I have:% f* P3 i, Z4 B" W8 E2 o# s' J
  42. ---example---3 s2 Q# _- O! u- D1 p8 G/ q* P
  43. [DBEXPRESS]
    , f/ s8 x+ F7 O0 g; d
  44. sqldir=mysql_sql! f2 R4 X1 E9 s) X3 v9 y4 X5 `
  45. Drivername=mysql6 \7 J+ P# a8 M" D
  46. Database=test) q& a$ F2 ^( Y* u2 |. E8 L. R
  47. Hostname=localhost4 l+ k% \/ B* }8 H$ D6 t
  48. User_name=testuser
    8 U* W% a( ]5 I, }' O5 N
  49. Password=my_password
    : e) ^/ a* V7 f
  50. GetDriverFunc=getSQLDriverMYSQL) B* I) S& U! c- t7 ^# B. R- i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      q1 A  l3 s+ A0 _6 a
  52. LibraryName=./libsqlmy.so
    6 ^- `7 g3 G/ a, v
  53. Active=1
    # ], g7 ^. h0 J1 ~! g9 L
  54. ---example---( j  H3 `9 m& d$ x: t

  55. & o7 Q4 R# c% Y- x# R
  56. On a windows box, also running the MySQL server locally, it would be:
    * H) N+ C2 h; J( u3 ^/ A
  57. ---example---
    ; X1 c2 n$ e8 q
  58. [DBEXPRESS]$ o# H8 Y& X# N+ g. m6 H
  59. sqldir=mysql_sql  K( ~0 `; n* Q
  60. Drivername=mysql0 m' }0 `1 V6 a1 R
  61. Database=test
    2 K- [& H& h8 j, J+ E- `
  62. Hostname=127.0.0.1- v3 N3 N2 ^7 i1 a" v9 h  q( C. p
  63. User_name=testuser
    1 h' I( v  g$ W+ Z# e! h: g! O
  64. Password=my_password2 Q: s' G6 Y5 U  h, m0 s" N
  65. GetDriverFunc=getSQLDriverMYSQL  e  K4 q. f$ A$ c$ p
  66. VendorLib=libmysql.dll' a1 W- `# q8 t3 @2 e# y  I
  67. LibraryName=dbexpmysql.dll' a' s; G. `* d
  68. Active=18 G4 Z% ?7 l7 J
  69. ---example----
    , t" O% O  y7 X$ t' T4 C' W, M0 @
  70. - written 02.03.04 by pwk.linuxfan
      x' o$ _+ |( r- X  U
  71. 6 _$ F. M" l8 A/ R6 T* e& k" u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; M: J( n( Q" F; M* o: n1 A

  1. 3 L. Z. ^1 c: g% @% A; e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : W/ F: q, H- s" O2 T
  3. 8 H1 ~! Q1 `% ^1 w
  4. # # #我们所需要# # #
    3 l5 {" w4 G7 H; s- z( U1 }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 B4 V% h! N0 t: j, t
  6. 不会解释如何做到这一点-也有文件存在,为
    # X6 O7 K7 K- k' ^$ v4 s1 K' |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 C$ Z) ~4 Y3 W+ v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 ^9 z% p3 F. s* n9 @$ J& C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* b3 Y5 e+ ~: L" c
  10. 本地机器,这是我的MySQL安装。 * Y- O3 v- ~& T+ d* Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 ^# I9 ^# H* B. ~2 z1 f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / w* F( A6 r1 W; `- \% f! W
  13. 数据库。 5 b+ i# C, ]/ l  C% ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ f% A1 }) s) n. K
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 |9 `, r: U2 f$ f: m
  16. 在teamspeak论坛,如果你有兴趣。
    ( l+ @0 O( O: x0 l/ i( s: \# ?% ~1 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& q' C; L. z& r2 r' |
  18. Borland公司使用。这个司机只能界面与客户端库2 n/ }( o* R0 H0 ~( B3 U2 Y, E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / F8 t; L" t+ b& _9 s3 f& K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 j; B9 ^! X5 _4 e2 H
  21. " vendorlib " ,并解数据库连接。 " Q* y/ ~  Z+ Q2 e3 X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : T# K. U# `, n3 Y' B
  23. # L8 E$ f/ o, `
  24. # # #做好工作# # #
    . J; C0 R. Q6 A; O* {) |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  H" h) a& l: l' R4 D! q% B1 v/ `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! k* c5 j/ ~( c" P5 t
  27. 结束:
    ( w  Q2 E+ B" D2 l
  28. ---削减这里--- 9 D# g$ B6 c9 J" B  |; @' _0 G
  29. [ dbexpress ] 4 i% J0 A3 {7 A8 ~: ]: X
  30. sqldir = mysql_sql
    7 x6 D8 C( U; e# l9 L- P$ N
  31. drivername = MySQL中
    % i6 S! D0 @$ i0 g, N6 U
  32. 数据库= your_database_name_here 2 z* o7 I4 c7 O" _
  33. 主机= the_pc_the_mysql - server_is_on # [; e5 s8 t, w+ _
  34. user_name = user_name_on_the_mysql服务器4 J# ^& ]; |4 D2 s+ b
  35. 密码= password_to_go_with_above_user_name
    , |( l. [* R! M* b# e  k
  36. getdriverfunc = getsqldrivermysql 3 f, S+ u# Y; H! n: O) J: ~( o8 `7 [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , f) O: A) P1 {8 {
  38. libraryname = path_to_libsqlmy_libary ' {% f, x: D0 C& l0 @  ]. Q
  39. 积极= 1
    . n% x7 H% ?2 M" g
  40. ---削减这里---
    4 z5 N  v/ T2 o$ r; ^1 C, w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      b4 \4 g- b8 G0 l# W( b
  42. ---例如--- 8 [* e- @, O" U4 t) J+ P& h
  43. [ dbexpress ] % I7 s  M" Y( P7 G5 B) G
  44. sqldir = mysql_sql # o- n( I: U4 z' m
  45. drivername = MySQL中0 h4 p. k" D; ?: y8 \3 e& v) x
  46. 数据库=测试  I. t# x" X9 p$ q
  47. 主机=本地主机) K9 O/ ]1 U3 N" _' {
  48. user_name = testuser
    " K- L8 R- |* s  _
  49. 密码= my_password ) ?5 q& W9 G* o0 b7 o
  50. getdriverfunc = getsqldrivermysql ' M/ X' V/ j% G5 w  q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 N: i1 _+ @% j
  52. libraryname =. / libsqlmy.so * g# i* |8 Z6 o& C0 ?
  53. 积极= 1 0 i) c8 P, O1 P# J4 `6 I  T& Y
  54. ---例如---
    - S: N2 g5 J% N% M# d

  55. 9 v/ u3 B4 P/ G% C0 w3 I3 ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ p/ M8 S9 T7 C2 i- M
  57. ---例如--- 3 \+ A. J6 R7 a3 ?3 @& [; ?
  58. [ dbexpress ] 7 z+ K) b* a' h% X) z
  59. sqldir = mysql_sql 4 s8 m0 s: p2 p3 p, m  h
  60. drivername = MySQL中5 n2 y, T+ x$ c) O6 Z# W
  61. 数据库=测试* p1 I/ j- R' B3 d/ R: M
  62. 主机= 127.0.0.1
    . T  Y5 q" x# u( i* L3 H9 B7 E
  63. user_name = testuser
    1 b1 l% p! q. `/ t2 @
  64. 密码= my_password
    / R( x/ y+ D0 j: D
  65. getdriverfunc = getsqldrivermysql 6 f+ s# ^, ]+ U6 }* q
  66. vendorlib = libmysql.dll在7 }0 I* K7 j- v4 Z$ m  o
  67. libraryname = dbexpmysql.dll 6 w2 U2 V  d7 C
  68. 积极= 1
    0 D( t8 s! p4 Q8 V
  69. ---例如---- 8 J# ~+ a; m/ l# J
  70. -写在0 2.03.04由p wk.linuxfan6 G' R# k% m  R3 {# O
复制代码
发表于 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 words4 Z0 Y$ D2 z. D% z* ~
! t# z: ?3 d- ?
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-25 04:20 , Processed in 0.091468 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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