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

2660 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : U( Z$ B4 X4 `5 k. U  I, e3 @+ x

* n" L& F4 H7 O$ a6 O

  1. . ~% |$ q" I9 r  ]* E7 B0 {. ^; u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 v: e" d9 ^. T( m
  3. / Z4 a5 }  U6 T: L4 V, l) D3 F
  4. ### What we need ###
    * h  K$ y& A4 q5 c. o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 O4 P9 ]' A" B- @
  6. will not explain how this can be done - there are documents out there for the ; |# D0 |6 o8 u. H/ l6 X
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 z* e" n( L( F4 y4 n
  8. and a user account (username + password) that has the permissions to do stuff% h- [5 U2 T# L7 k% o( h9 J/ s
  9. with the database. Additionally, you will need a vendor library installed on the
    0 F4 M# z( z, Q2 T
  10. local machine, this came with my MySQL install.2 P  D6 `! z! k3 W' Y: N2 @
  11. These instructions will not tell you how you might transfer your data from the
    ' S. Q$ U! E# P  o3 w) }8 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ Q! }8 d0 ^( ?2 H3 S# T) v' c
  13. database.
    3 M; ^( I% W7 s1 f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + N; l: ^; D) ~# P: U
  15. the time of writing, there are still too many issues - check the current status
    0 F5 n" a# |6 Z, s( k& a# O- Q
  16. in the TeamSpeak forums if you are interested." n7 [/ H  M! Z9 }+ `6 q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , `4 S8 R9 I! H- g' J
  18. Borland was used. This driver can only interface with the client library that
      S1 r5 E* \5 v2 [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 _" f: U% u2 r6 a: u/ D
  20. client library - basically all you have to do is to use a 3.x client library as ' v9 `2 e) n* c* E# O6 b
  21. "VendorLib" and a 4.x database to connect to.. m2 N) i6 Z/ m
  22. If you need more info about dbExpress, you can contact Borland.
    & q6 i- ^/ J) ^2 g, G
  23. 1 E( _8 f" |/ z7 h+ g4 Z! t
  24. ### Doing the work ###8 f) r# T, H  \6 @3 Q7 t  i- P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 n# ^4 f& b5 o& Y0 @! |
  26. the perquisites right, just open your server.ini file, and add this section at
    ; k- [( e, z4 q( n# I
  27. the end:
    4 @: J8 g# u* Y8 D* c
  28. ---cut here---
    ) X: S9 ^# [' W/ b( _- \1 ^
  29. [DBEXPRESS]
    & [8 G7 O9 w2 ~* Q# v) F
  30. sqldir=mysql_sql; `7 |6 t: E6 Q2 h8 Q' p# ^
  31. Drivername=mysql
    / K% X( i, f; d/ k. W: m( k# q* f
  32. Database=Your_Database_Name_Here
    : o# u, d' W$ F9 _) N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # W6 a6 H& p5 x0 u+ c
  34. User_name=User_name_on_the_MySQL-Server. I+ P, V, \& |
  35. Password=Password_to_go_with_above_user_name
    + t/ L  c) n! ?0 m% ?
  36. GetDriverFunc=getSQLDriverMYSQL
    7 A3 ]# r. ?; X1 |) d$ I% z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( u& n4 J, F: g) `. L
  38. LibraryName=path_to_libsqlmy_libary1 O5 C  o# \% {( F
  39. Active=1
    / ~$ M" A8 T3 V, s5 R. ]% Y
  40. ---cut here---
    + j6 }7 c* {  D; Z3 U
  41. In my environment (a linux box with a MySQL server running locally) I have:( P2 N& q2 s4 ?  k( E& I/ k0 J/ R
  42. ---example---
    % \8 `7 x- B% n! U) G& C5 N
  43. [DBEXPRESS]9 x/ k, E+ a$ e) t
  44. sqldir=mysql_sql
    " h& Z0 G7 ^* `, O& H' ]$ c' p
  45. Drivername=mysql
    4 l) H# @3 I& B5 T
  46. Database=test
    7 \& [% j( F! V# G+ n/ a
  47. Hostname=localhost
    4 l1 A% A% ]( J
  48. User_name=testuser
    + o) P, K# t* o! b5 a1 A; J5 L
  49. Password=my_password
    * S) k, {5 c; g7 `6 i- z
  50. GetDriverFunc=getSQLDriverMYSQL# k- K( R, m9 m! n% Q7 O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 [2 ^/ |; n0 m  n' b
  52. LibraryName=./libsqlmy.so
    / p' w/ p+ }- ^0 `( S
  53. Active=12 F( H# G" o6 m0 R
  54. ---example---  m1 B/ T) u4 B0 j) v

  55. - J  k6 E5 z+ ~1 R* _5 u! S! W( H
  56. On a windows box, also running the MySQL server locally, it would be:
    - c6 [: M- Y* q4 V( r, k
  57. ---example---
    6 N3 }8 F0 @: D) N$ y8 J
  58. [DBEXPRESS]  @* {% r' q8 b
  59. sqldir=mysql_sql
    . \- g2 f9 v8 y0 w- b
  60. Drivername=mysql3 X# |7 B2 \. F% D$ c3 j
  61. Database=test. Y4 x7 f: X- j$ q3 `! k+ }
  62. Hostname=127.0.0.10 c- X9 u" H, l" i
  63. User_name=testuser+ T" K! r2 _6 M$ r; F
  64. Password=my_password- q8 n9 o0 e4 b. ^
  65. GetDriverFunc=getSQLDriverMYSQL% [8 G+ Q3 j6 i3 E
  66. VendorLib=libmysql.dll
    $ T  `! M/ f! v8 G* u9 K! A% \( s
  67. LibraryName=dbexpmysql.dll
    * j& P  v+ ?" n: i; y
  68. Active=1
    / [. \4 b# N) b, h6 }
  69. ---example----
    # j# F$ }) q9 s1 Z
  70. - written 02.03.04 by pwk.linuxfan
    7 |3 b; l! A1 V1 g5 h
  71. , e) K" h6 C4 [! K7 A: r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  z5 q( f; ~8 c$ S

  1. , i1 Q3 |& Z$ m" F6 M, r# D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 j" G6 U/ {& ]2 D& Y
  3. 1 c9 J8 }8 v* E( ?" l
  4. # # #我们所需要# # #
    3 Q1 Q- o4 d8 u. R# l) R: _- r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; X. N6 T! D" t+ g: E; a5 w4 o6 B
  6. 不会解释如何做到这一点-也有文件存在,为7 O4 |; h- y; N& P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : M2 K" A9 m5 {% Q6 U* o2 D/ h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 v) U8 c6 F8 w* `6 P3 I3 I  D# ?7 C% @9 _0 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! R4 g+ k1 s6 P1 n& t0 m, u, Y
  10. 本地机器,这是我的MySQL安装。 * F1 U+ Q+ F; p' @; x( R8 v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 w' |- j) c/ P' ]2 m: C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 }$ q) U* y6 Q7 p( `8 d
  13. 数据库。 ! z! q' {1 E! C$ n5 _/ _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 P6 U3 j. f, }. N# Y0 z( |" V9 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ p5 d! U" ]. m  m
  16. 在teamspeak论坛,如果你有兴趣。
    ! F; l% L8 D6 W5 H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 O# T: G. V/ \9 x$ S4 @
  18. Borland公司使用。这个司机只能界面与客户端库5 }/ Y4 `" r) L3 U  k& j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% [$ |6 R5 f7 O! o9 O# P( d* R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: b+ c2 F3 `; Q3 p3 [, |
  21. " vendorlib " ,并解数据库连接。 & m% _, L4 H8 J" I( D7 A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 B- G0 Y; ^4 r' _/ W' D
  23. & o' e) n0 c; |! E
  24. # # #做好工作# # #
    7 h. a0 D) @  a: ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; H5 i7 E7 E" J4 ^3 z! I
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 a/ e* T+ P( v, g: Z. U
  27. 结束:
    " j" F# Z$ o& b$ Y4 X: o3 S7 a
  28. ---削减这里--- . R6 u7 [1 `+ Y4 z7 o
  29. [ dbexpress ] 7 j" b; Y1 f% l8 R* w/ _
  30. sqldir = mysql_sql 9 ^( L4 C' v2 {, k; ~9 m7 q* F
  31. drivername = MySQL中% k$ X3 F4 I& |6 l% S2 U6 J
  32. 数据库= your_database_name_here + n+ O: n- {' g1 h0 c
  33. 主机= the_pc_the_mysql - server_is_on ! y5 `. S/ e% Z3 o4 |' H/ w
  34. user_name = user_name_on_the_mysql服务器
    + `7 r# g' L! g; w5 W
  35. 密码= password_to_go_with_above_user_name
    8 B- O9 A  P# u+ W, m, @
  36. getdriverfunc = getsqldrivermysql * l5 m  Z. t. A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ f- w1 M$ H  l- p' X  D
  38. libraryname = path_to_libsqlmy_libary ) L2 i; b8 R7 L3 M9 j
  39. 积极= 1
    8 d( S4 V$ ^. b5 r$ F
  40. ---削减这里---
    8 p. ]+ T7 q4 f1 m- l+ X7 c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) n$ {4 @# l9 _! U7 Z; ^+ k% n
  42. ---例如--- 3 t6 x- ^* X. W& z+ x
  43. [ dbexpress ]
    , f% y. P1 z8 d+ N4 I  e
  44. sqldir = mysql_sql & C/ T+ Z# W/ @: b
  45. drivername = MySQL中" Q6 e6 g& U9 C% r9 y% D
  46. 数据库=测试
    * Z- S5 F& T- e* G# v1 P
  47. 主机=本地主机8 i, O* ^6 ?  o
  48. user_name = testuser , n% x" C, m0 i0 A/ w8 S
  49. 密码= my_password
    + ]. H  T; X- k! a1 @& `" x* w
  50. getdriverfunc = getsqldrivermysql : W7 |- C( \- d$ l  c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 I- o6 d9 ^; [- P( h2 a4 t7 v. Z
  52. libraryname =. / libsqlmy.so 6 w- I" |! ]/ b% ]; x9 Z" b
  53. 积极= 1
    + Z# x3 U- T4 T( T- L
  54. ---例如---
    1 ^. W2 R! E8 A- V, C

  55. " Q8 N& n5 K: ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + q3 U. w: ~# d3 i5 a
  57. ---例如--- ; E' c: K* ^& [: D& f0 V7 n
  58. [ dbexpress ]
    ' ~3 \5 w0 ?% t, |. e# ]2 E
  59. sqldir = mysql_sql
    ( J0 }: q% X1 n
  60. drivername = MySQL中
    0 {0 C1 ~3 S! C% N- I- t9 Y
  61. 数据库=测试
    3 R7 `. P7 j' Y9 g$ B- {* r+ e( m0 c
  62. 主机= 127.0.0.1 . d( Q3 k; V4 ?' S- e0 b/ ?
  63. user_name = testuser 5 Y% b$ t( w) L: a$ r
  64. 密码= my_password ( C9 J/ n: X. m( A1 _, j# d
  65. getdriverfunc = getsqldrivermysql
    * m5 n- m1 E# d9 C) r' u
  66. vendorlib = libmysql.dll在( l6 k1 W# W7 ]# X0 U6 J
  67. libraryname = dbexpmysql.dll
    - S" R2 N9 f! T$ J* }# A# v( Y3 a
  68. 积极= 1 ' T) U! |. P( k( g. C( J  ^
  69. ---例如---- % F/ Q2 I' C* q. U
  70. -写在0 2.03.04由p wk.linuxfan
    " `3 ?  h+ _  q7 v4 C% F& }6 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
* ^3 J1 {/ E8 {( J2 J  K
7 i4 w1 |* `. p7 Ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-24 14:53 , Processed in 0.100783 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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