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

3538 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ O8 o! J! g% u- w6 m  _! b$ Z; f8 V& ]" y) R/ y
  1. % Z/ u; e# h6 z% r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 G$ Y' O4 e9 f3 C5 c4 R

  3. 5 m; h# w$ q" w+ a% \
  4. ### What we need ###
    % G0 X4 h9 ?5 ]% {' A1 k
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' R2 F' M* s* t, n2 Z4 O) o7 f+ m
  6. will not explain how this can be done - there are documents out there for the & N8 Z7 _$ o2 h
  7. interested. The requirements include a (empty) database for TeamSpeak to use) N- W% j( N5 {( o* z* Y8 ]; S
  8. and a user account (username + password) that has the permissions to do stuff8 e# ^: R5 b% Z
  9. with the database. Additionally, you will need a vendor library installed on the1 c1 m3 v" u  g9 V5 g7 Q+ G( D
  10. local machine, this came with my MySQL install.( Y! R) o- l4 g- \1 E7 _2 [
  11. These instructions will not tell you how you might transfer your data from the( o! F% Y/ u% S0 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 Y3 i4 q2 ~/ b; |2 s
  13. database.
    4 h. E3 K. @8 B: Q  Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at( X( M7 t! R& e1 k( H
  15. the time of writing, there are still too many issues - check the current status
    1 c; x+ ~3 c# h: }: Z
  16. in the TeamSpeak forums if you are interested.
    & y" W6 u. V1 Y0 m" z' z% N& S6 @7 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. T0 X8 `" K  s2 P8 [- K( u
  18. Borland was used. This driver can only interface with the client library that
    ! h+ D$ Q. b" T4 r. Q- V& F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 s# g4 u# j' j/ a
  20. client library - basically all you have to do is to use a 3.x client library as
    ! I  O+ _& O% h6 `
  21. "VendorLib" and a 4.x database to connect to.
    8 \7 K- `( g" q, b, D
  22. If you need more info about dbExpress, you can contact Borland.
    1 n( @2 `4 U( ?+ u
  23. $ S; h& `, @  H
  24. ### Doing the work ###6 n) h4 q0 r3 J3 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . M) R, n  [+ G
  26. the perquisites right, just open your server.ini file, and add this section at; b2 t9 A) l; u' X+ I
  27. the end:
    0 R1 x/ j" y( T% Q
  28. ---cut here---, P1 F6 b4 p3 m9 \$ S& Q# k
  29. [DBEXPRESS]
    5 X: u( K! R& i. A! P: y0 o
  30. sqldir=mysql_sql& d/ G2 @" I9 ~9 q+ m  L9 O' U
  31. Drivername=mysql
    8 P  a& W1 W1 E/ y( J
  32. Database=Your_Database_Name_Here
    ' I, N1 B0 j0 `% K( G
  33. Hostname=The_PC_the_MySQL-Server_is_on6 I  N& e- o! W9 F% ]
  34. User_name=User_name_on_the_MySQL-Server
    0 F. ]1 N  t1 U9 R" x( u2 v. y
  35. Password=Password_to_go_with_above_user_name. e" }3 w2 v; Q' j& B
  36. GetDriverFunc=getSQLDriverMYSQL
    & y- x' z) `$ e+ V* \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib6 E" O5 P) t, M
  38. LibraryName=path_to_libsqlmy_libary
    $ E9 |+ G' W6 a: _$ D6 W. f6 w5 Y& n
  39. Active=1& D) Y# [/ I" V9 B
  40. ---cut here---
    + Z7 R2 T$ o- O5 }9 _, E! G% ~( P% w  b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , J( z; R# T& A8 L9 `1 O/ F, I: Q2 S' z
  42. ---example---3 \- b8 y, D' l3 C5 c6 R9 ^
  43. [DBEXPRESS]
    : M* r$ @4 Z* J1 f3 D- s
  44. sqldir=mysql_sql
      k& P: G; P9 R
  45. Drivername=mysql. [; g# Y( U0 v; z8 K( _
  46. Database=test
    9 w6 V4 q, g9 ]0 `( I: `
  47. Hostname=localhost
    & |& z9 H  f  ^( |- B! I  u* t! f* P
  48. User_name=testuser8 _7 |; @1 H1 H
  49. Password=my_password
      O( ^4 w) k* N2 m; X  P7 C7 U4 Z9 q
  50. GetDriverFunc=getSQLDriverMYSQL
    8 w( D) ]0 l) ?0 s: g) o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 b, ?0 r$ E2 R- N: S
  52. LibraryName=./libsqlmy.so' D4 Q: M6 n" k* \& i9 t
  53. Active=1
    6 x1 _, ^# {8 k0 ?( \  T
  54. ---example---% E# `2 i' ]1 d

  55. 3 d3 S4 g2 u) d+ s! A3 q# U
  56. On a windows box, also running the MySQL server locally, it would be:
    7 f2 L7 y  L* R) Z3 N( }5 c, d2 R2 A2 C3 ~
  57. ---example---
    7 y/ ^0 B$ L' h
  58. [DBEXPRESS]6 w, J4 O* m) z9 c9 U
  59. sqldir=mysql_sql0 {5 o' [# g1 w0 T& x; ]- I
  60. Drivername=mysql9 N3 x; A+ F# T
  61. Database=test7 v+ v0 e' N; e- H3 O7 Q- e
  62. Hostname=127.0.0.1
    ( u* V. h0 R- x5 N+ x
  63. User_name=testuser
    # W% O, s. G8 [. S
  64. Password=my_password
    4 I& S* q- S, k) M1 c8 o  l
  65. GetDriverFunc=getSQLDriverMYSQL
    5 _1 S- B, m6 X' q$ V) Z  s6 K
  66. VendorLib=libmysql.dll! D: Y2 \, s' a7 J3 `. D( T
  67. LibraryName=dbexpmysql.dll
    7 I, d6 K3 Z$ m$ Q! q+ E) N
  68. Active=1
    + l8 _4 h# K. l! Y5 I, y8 H
  69. ---example----/ J1 a7 l7 R; k2 v' W: c3 h
  70. - written 02.03.04 by pwk.linuxfan
    3 n4 X" v- F/ c, d

  71. 5 T. H- Y9 `  `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: k9 a2 ~1 o. F& L5 T2 [) S7 B
  1. 5 k; h" p6 r# H5 d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 E& x9 {' U& s7 y  `; _" q$ m! Q& t

  3. . e" p! @+ N7 n. [4 d0 E4 l! H
  4. # # #我们所需要# # #
    / w# f( e+ T" B* z2 G3 T' _2 @( g1 i; b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 [- K2 ?' g4 I% V+ A( x
  6. 不会解释如何做到这一点-也有文件存在,为
    " u" r3 J$ p/ A4 c% p. C! N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( e8 p; P1 A0 K8 c% X4 k) ]8 L. L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ ]8 M  x- }% {. `1 d9 W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ d5 O9 o3 c( X0 a& E1 L
  10. 本地机器,这是我的MySQL安装。 : [$ V  b2 _6 [: Y) T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 Q9 @) C9 v1 ]) U) K8 z. S( s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 S" ^$ J2 _2 o& r$ M
  13. 数据库。 & Z1 J" \/ }7 a! g  r  |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ I4 f) r# S# x  k/ N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 }7 X% U4 g* V3 G5 d: S
  16. 在teamspeak论坛,如果你有兴趣。 , g% V$ v) }1 _2 W4 G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 x! {$ @, Q$ {  ]
  18. Borland公司使用。这个司机只能界面与客户端库
    , P- m7 d  ?) a/ d- v8 E" H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; q. A' ~0 z( H: n) z0 _9 X4 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( [+ @  D7 I& }  z( D- M
  21. " vendorlib " ,并解数据库连接。
    + G9 P4 ?3 h7 s- i7 O# N3 Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * m  `* l- x: q5 @  W

  23.   E8 O, C9 a8 x. Q
  24. # # #做好工作# # #
    , H7 ~4 V5 ^9 f  ~) v  i4 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! @; G7 k& _5 l1 e) K2 D5 ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! \# h6 B: D& J: E" @
  27. 结束: . x( \' Q4 x' d( W) p( j7 X
  28. ---削减这里---
    " d  G; H5 C& ~" ?" V* L
  29. [ dbexpress ]
    , H* j( `: ^* Q& `, c- P4 A+ ]
  30. sqldir = mysql_sql & Q0 A% g8 E* O
  31. drivername = MySQL中
    9 h! p4 |& [0 u" W
  32. 数据库= your_database_name_here
    - O9 @7 ^! F$ S+ @. Y
  33. 主机= the_pc_the_mysql - server_is_on
    ) Z7 O; o3 w! h1 U6 d  L. P+ W
  34. user_name = user_name_on_the_mysql服务器+ P( v: _" t+ Q6 ]  @2 V7 G" T
  35. 密码= password_to_go_with_above_user_name - @/ ]) {: r- G- L# ?7 ~- s  v
  36. getdriverfunc = getsqldrivermysql
    & R! t( l* n* i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : j5 q1 I! n- N+ K' m9 k- r
  38. libraryname = path_to_libsqlmy_libary
    9 t% |1 E% Y4 Y. I; R- [$ x
  39. 积极= 1
    $ y6 u% x: K2 Z, V7 T* `* @' G
  40. ---削减这里--- ) Y( p. O5 }% C( M* L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : K. B& z) _) S0 e* z3 D
  42. ---例如---
    9 W7 b9 n  R- J7 C
  43. [ dbexpress ] ) J) A- |1 d4 N/ U0 r# Z& H2 C* t. E
  44. sqldir = mysql_sql 2 Z+ F' K5 L9 u, i7 a* k
  45. drivername = MySQL中
    9 W1 h; [+ O5 m* K7 h' s% S: ]/ O
  46. 数据库=测试. P- s0 f" W$ J# ~' r, k9 _
  47. 主机=本地主机: G. q+ P; V" r" w
  48. user_name = testuser
    ) V: r& l5 h4 G  W6 U  H
  49. 密码= my_password
    4 ?  i/ t9 |! D- n% F" z# z1 Z5 _
  50. getdriverfunc = getsqldrivermysql . u$ X2 }. {7 u/ o$ L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , C" u1 {+ R( {& _6 l8 ~1 s: @
  52. libraryname =. / libsqlmy.so
    ; a" ?9 p: X! |9 W
  53. 积极= 1 ) O: @9 \" {1 `5 _3 \6 s
  54. ---例如---
    / A6 w2 K  u' f) d: s; `

  55. ) g- k+ j: `! |9 b2 M6 R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' x0 n# y" T7 G) u/ o- i8 u
  57. ---例如--- 7 a' `3 s# v  G
  58. [ dbexpress ] / D" w. K/ b4 B- t- h7 v( a
  59. sqldir = mysql_sql
    5 l5 P8 b. x1 v0 G# F9 A6 E
  60. drivername = MySQL中( V0 n: z* A$ K+ ]  }$ T
  61. 数据库=测试3 |4 K+ A# ]5 ^: K
  62. 主机= 127.0.0.1
    * j1 K) ]6 o" y5 @
  63. user_name = testuser * H+ M4 ^# X; t
  64. 密码= my_password / e& Z0 N6 Q4 i6 B
  65. getdriverfunc = getsqldrivermysql : k0 s: n; j5 E4 f3 a
  66. vendorlib = libmysql.dll在
    ) X5 b7 U: W# I( R8 \/ D0 N
  67. libraryname = dbexpmysql.dll
    & s3 }6 Z+ y' U( ^
  68. 积极= 1
    # ^6 O  L1 \& E
  69. ---例如----
    ( G0 i; P* H2 F4 x! m/ E
  70. -写在0 2.03.04由p wk.linuxfan
    & J1 N) m9 c# w. a" p' ~+ h
复制代码
发表于 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
7 R4 v+ |! ?7 t0 G8 q6 V2 ^/ T7 _
- {3 L  F. R& V, U: w9 z6 G5 _% fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-19 10:55 , Processed in 0.071959 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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