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

2756 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 h$ t2 \1 K4 j0 i0 g0 u! r

8 y+ [2 Y; \* `2 t  O. u8 j

  1. ; m  W. a  \9 x6 z( D7 z: i5 e+ K$ T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; B7 \, X$ d  M2 ^( ~! X% {

  3. . F5 M& \5 ?7 W
  4. ### What we need ###) R  ~0 L" {& A3 q# R
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - u, E5 k0 b* ?7 j- d# [8 `
  6. will not explain how this can be done - there are documents out there for the " t9 k6 Y: ~* x* O! L
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 o0 W6 r/ Z4 z
  8. and a user account (username + password) that has the permissions to do stuff
      T! Z( F, y/ @* i
  9. with the database. Additionally, you will need a vendor library installed on the3 q. X( S3 f, u
  10. local machine, this came with my MySQL install.
    8 P8 K1 r3 w0 A/ F, [3 i
  11. These instructions will not tell you how you might transfer your data from the' g, E0 H* P* ?( Z% Q1 E7 ^, z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 z4 j4 q! ^4 I1 l/ N
  13. database.
    4 u$ B1 s# P! y. n! f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 I6 k/ n7 |8 |% f9 v
  15. the time of writing, there are still too many issues - check the current status
    $ V. }2 H: g+ k: a5 ^$ o
  16. in the TeamSpeak forums if you are interested.4 ^% \9 w% `7 |( L4 p. v' @5 ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% |5 D9 O) W+ {
  18. Borland was used. This driver can only interface with the client library that 0 L6 o' P+ _' r: v' Z8 j! {+ B# V3 x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 n6 H2 Q) @+ ~: V2 ^
  20. client library - basically all you have to do is to use a 3.x client library as / b& z! t( }1 v' h
  21. "VendorLib" and a 4.x database to connect to.1 I1 m) l! }- _* }. O
  22. If you need more info about dbExpress, you can contact Borland.( P0 e9 T; U& u) J/ l5 F6 h
  23. 4 }) m' T6 @4 }7 j6 I# k
  24. ### Doing the work ###2 S8 y8 A1 D5 \9 K& c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " L" a) r: i' v' b( M; M
  26. the perquisites right, just open your server.ini file, and add this section at8 E- z5 v) _5 @! P
  27. the end:
    / l4 _% G4 D: T; m$ \7 E
  28. ---cut here---
    $ ?& r/ t9 c' b$ j
  29. [DBEXPRESS]
    5 u/ Z0 f% {* V
  30. sqldir=mysql_sql
      a5 w5 H# Y6 l( |  _; y4 B6 f
  31. Drivername=mysql
    : q; Y" d" Y. D5 @- C
  32. Database=Your_Database_Name_Here1 O: p6 r0 }5 z. Q+ `' K5 ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 L6 J, U& B, c1 B3 r1 q: e
  34. User_name=User_name_on_the_MySQL-Server1 O" {- t" D* ~. v
  35. Password=Password_to_go_with_above_user_name
    9 K5 q  ]2 x& a" g& e8 T/ F8 ?5 M( q
  36. GetDriverFunc=getSQLDriverMYSQL: Z6 Q* s# ]8 N- K1 f# _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + d8 I9 e" e' {5 u
  38. LibraryName=path_to_libsqlmy_libary; u8 U8 N( f; U4 H) B* ~7 _
  39. Active=1
    & f, ?. ^- k7 w) p
  40. ---cut here---3 O) |7 T( o. O  j" L& y9 w
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 r+ j: \4 W! M6 F1 x  G, ~+ X: n
  42. ---example---" t7 d: E: k" p3 K
  43. [DBEXPRESS]2 V8 I7 I) e% A/ N
  44. sqldir=mysql_sql
    ( j6 e" E3 v( y$ q0 J8 o
  45. Drivername=mysql
    # `- ~, e- x4 i0 m  j& t. @
  46. Database=test2 E, a8 V4 e- k8 E% E1 H
  47. Hostname=localhost
    4 ^- z- D* Y4 _' y5 ]" I6 W
  48. User_name=testuser1 ~4 l, s" _+ K% {/ W) Z' L! y
  49. Password=my_password
    1 }5 _2 d; c9 r& D( a1 O
  50. GetDriverFunc=getSQLDriverMYSQL1 W+ A% g# a0 T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- ^0 Y0 e7 h" m5 S' v. O9 \
  52. LibraryName=./libsqlmy.so
    . W* k5 {8 E+ P5 N9 E$ K: W
  53. Active=18 t. A+ `: O4 k% Y
  54. ---example---
    5 w' U8 I& b5 F3 o# G1 }0 X

  55. : J; i0 v" M& S4 x
  56. On a windows box, also running the MySQL server locally, it would be:
    " Z: G$ h9 s  |7 m" F- N
  57. ---example---7 ^" F+ Y4 J' }! k) `8 |9 X7 u
  58. [DBEXPRESS]1 @7 f& w* ?4 ^5 F: V
  59. sqldir=mysql_sql* \& b( R( M1 B* C8 _
  60. Drivername=mysql
    6 o1 I' q1 h+ K% [' N+ A
  61. Database=test
    # N4 G. k& G* x* @+ _8 Q& {
  62. Hostname=127.0.0.1+ r' q# w' B3 i/ J" c0 P+ v9 M8 x
  63. User_name=testuser. E- R8 u, G+ e6 }! @$ X
  64. Password=my_password- R) x. S# `1 `& Q/ L7 Q2 o; @
  65. GetDriverFunc=getSQLDriverMYSQL) w* U. s9 h+ o4 R" O% ~
  66. VendorLib=libmysql.dll
    $ I" f: L2 o  u3 w
  67. LibraryName=dbexpmysql.dll" J3 B1 [( |' @; O3 u4 r3 l
  68. Active=1& H  k8 v* Y7 u# F
  69. ---example----* _5 j  U' K: P" O  v- g* D) E
  70. - written 02.03.04 by pwk.linuxfan
    $ B6 d$ \& Q" m

  71. 2 {% ~- S1 L+ o( S+ f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 D- E. W# g5 c8 I4 h! L$ t2 P
  1. 6 ^: [6 a' z5 r- r' {4 ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . k2 j, y/ b) t4 t! a7 @; s% H0 @

  3. ( s# b+ |' R' }3 O6 H9 U1 |
  4. # # #我们所需要# # # ) D. w5 X+ e1 ~8 s: Y+ [: Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! w: h# n0 r' _, `& E2 t7 t6 \" t
  6. 不会解释如何做到这一点-也有文件存在,为1 m# l4 v4 D. z. h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% L: q! u0 |, l  ~0 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ t' G' k" ]9 [9 S: f) [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 j9 C5 n+ ~* }5 ^( ?! z6 K
  10. 本地机器,这是我的MySQL安装。 5 G$ s! T0 ^7 j. V- \/ X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + v6 T( g  Y3 f0 A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 W5 E0 s4 g  O# N8 @# I
  13. 数据库。 ; v6 |4 p- ?: j: e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 N9 J9 b# o/ }
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ d; }% E9 e8 g. r, V. E; S) O
  16. 在teamspeak论坛,如果你有兴趣。
    ; k, z6 a4 `# A  Z, I- x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " U- p; Y2 q: E& s* j0 t
  18. Borland公司使用。这个司机只能界面与客户端库
    1 ?0 t, @  h, i* q) L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 V2 N$ k: r' J5 u5 C( [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 n9 e( t, M$ O* `0 Q
  21. " vendorlib " ,并解数据库连接。
    1 y- M- f* x* U+ L) D7 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 N9 \; C, F9 r% p6 u% }" _9 G/ ~3 M7 D
  23. - K' k' ?4 n! R8 T. c- u3 P
  24. # # #做好工作# # #
    & f* f( A3 J: F/ D
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# J) P( H" r7 ^$ v' M- l; ^9 m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* I9 o( m0 {$ L4 B# m% t, I
  27. 结束:
    ' Y' y' E/ p5 j" t! g0 [" d7 z; G6 R
  28. ---削减这里--- 7 H- U! {  H9 Z; }% c: ~# d( W1 r' O
  29. [ dbexpress ]
    : s3 ]' B4 L6 f4 {5 ]: ~. d
  30. sqldir = mysql_sql
    ( G: Z" E( Q; u! T% H! ]
  31. drivername = MySQL中# e: a8 M3 h2 t
  32. 数据库= your_database_name_here ' @4 S" I: ^/ E3 ]- V$ T
  33. 主机= the_pc_the_mysql - server_is_on
    8 N* f+ O0 m& k' D; f. J
  34. user_name = user_name_on_the_mysql服务器
    . q& \5 y3 L" g( w+ e0 ?
  35. 密码= password_to_go_with_above_user_name
    3 t3 p( ?( S. C6 q# p/ U  n# {
  36. getdriverfunc = getsqldrivermysql # q, X1 Z9 {4 q9 p6 m. [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / d5 p' ?" G2 h+ i* Z0 z
  38. libraryname = path_to_libsqlmy_libary
    2 m3 n! R9 L0 }. L7 [& Q/ p
  39. 积极= 1 6 q+ G8 x/ {+ `  g' r, J* @) n3 D2 H
  40. ---削减这里---
    ; T3 Q! ^. |$ W3 z+ _7 R* N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      c, }/ q. J" z+ @
  42. ---例如---
    - ]7 O; G( y/ Q/ [% j
  43. [ dbexpress ] . l6 _" t4 K# d  W& S" N
  44. sqldir = mysql_sql ) U) e( x2 W( n: M+ o2 e
  45. drivername = MySQL中
    3 h4 C0 E% Z  X( P, A: {: v8 D
  46. 数据库=测试
    5 y7 h( t( n5 B  b6 Y( @4 M* A
  47. 主机=本地主机% Q# k4 H( k2 n7 x. X& Z+ Y( ~# l; e
  48. user_name = testuser 2 n6 a+ D& |. U" k
  49. 密码= my_password ( B  n5 h8 ?: o$ w0 I
  50. getdriverfunc = getsqldrivermysql 2 V; m) F& a/ R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : v. h1 J2 y2 ?0 J4 z- d, k8 b5 n
  52. libraryname =. / libsqlmy.so / \1 x& P" J' M+ T+ Q( |
  53. 积极= 1 & c3 e/ w9 b! J
  54. ---例如---
    6 h+ r+ H6 X/ F7 {( N3 I

  55. " z& v3 u- v- Q; n9 h* j
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ d/ X, E( L( ?) K7 o3 G, F
  57. ---例如---
    2 G5 }  m# e! C2 U" a0 b/ E
  58. [ dbexpress ]
      i- \  _) x+ u' {3 _
  59. sqldir = mysql_sql
    1 f2 d# [5 ^7 ~0 z# }
  60. drivername = MySQL中) C+ K. C% s# t8 e
  61. 数据库=测试
    $ {6 u# t$ D) _+ S
  62. 主机= 127.0.0.1 4 ^" K5 G+ E3 K7 A) C& V
  63. user_name = testuser
    " y7 g; v  E7 r' ]
  64. 密码= my_password
    3 R$ n" |) j/ U7 b5 t& \$ l2 s
  65. getdriverfunc = getsqldrivermysql 2 ~  F- b1 q- b* m
  66. vendorlib = libmysql.dll在
    ! L& v% A" h& `7 `3 g3 k
  67. libraryname = dbexpmysql.dll
    6 {- v" t! X0 U! D' v0 \- S! }2 l
  68. 积极= 1 ; h5 E+ Z& h3 |7 x
  69. ---例如----
    7 C- y7 T( e. E5 e) o  p! ]+ v5 q. F
  70. -写在0 2.03.04由p wk.linuxfan
    9 t& ~. t4 N( O: K7 X5 L- s+ d
复制代码
发表于 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& m! H- V) e8 N3 e- K7 }" I* ?
: R: }# F' w% j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-13 18:12 , Processed in 0.111310 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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