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

2726 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& e# G! o" f1 E
! P" P3 f! n/ I( u: U
  1.   J8 b7 {  d: J# e6 A- v7 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; ?0 b$ E/ |* X1 F/ d' ^* K
  3. 8 s! f. v3 k* ?; V. b
  4. ### What we need ###
    6 w! I  o% S" m5 C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * ~- \- V& f: s5 ^; B
  6. will not explain how this can be done - there are documents out there for the
    % X. E( g$ X+ V' W$ o; j( [
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; {: J1 ~$ Z) p. P
  8. and a user account (username + password) that has the permissions to do stuff1 G" e3 Z& W/ x9 r9 [
  9. with the database. Additionally, you will need a vendor library installed on the
    ) d0 N3 V( T7 \1 S5 W1 _
  10. local machine, this came with my MySQL install.7 d& z% w4 l6 h# @1 [3 J  y
  11. These instructions will not tell you how you might transfer your data from the# m% o4 C$ i9 M: E( T, A: `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* J1 ^1 x+ S% w( R" @' a8 u
  13. database.* I! h/ Z9 m$ U2 f4 {2 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ }( `3 C' B2 b5 y. O2 o' W
  15. the time of writing, there are still too many issues - check the current status. F/ F# a- A' v8 B
  16. in the TeamSpeak forums if you are interested.+ I' v: F3 O! c- W$ l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! o- Y6 Q4 y! E" O. {! C+ {" J
  18. Borland was used. This driver can only interface with the client library that . g# v+ ^" ]' t8 d0 }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" r, x3 S) q/ ~
  20. client library - basically all you have to do is to use a 3.x client library as 6 |( c# M) ^; F
  21. "VendorLib" and a 4.x database to connect to.
    9 q# w5 w1 j! Z, U7 Z4 p
  22. If you need more info about dbExpress, you can contact Borland.
    - P! z' v; B. Y5 i) C  {/ U2 G" v

  23.   {( a6 l* O: }# q7 N6 ^* K0 x
  24. ### Doing the work ###) c; W" I% t9 A4 Y& l1 s
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      n$ i5 z7 n% w  |" F
  26. the perquisites right, just open your server.ini file, and add this section at, _' P7 i8 a* ^) p" @, U
  27. the end:
    ) C) m6 @' D) M: D6 |6 o
  28. ---cut here---* Z: H0 J2 ?6 d, }& {. f/ y) I
  29. [DBEXPRESS]
    6 \" O2 W  s( }6 D2 O3 l
  30. sqldir=mysql_sql  S! D- m+ x' I& {
  31. Drivername=mysql5 W; h. O# h- Q1 t! @2 K5 X3 K
  32. Database=Your_Database_Name_Here
    # Z% |: B2 j) Q2 ]2 W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ T9 R" l0 q; q7 C% H0 S
  34. User_name=User_name_on_the_MySQL-Server6 C  z- `3 v8 S( W
  35. Password=Password_to_go_with_above_user_name
    3 M2 O5 s5 Z5 A- T  v
  36. GetDriverFunc=getSQLDriverMYSQL
    5 A- i2 A6 c4 U' D0 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 o, @+ Y, ], y0 L5 V5 `. l1 q
  38. LibraryName=path_to_libsqlmy_libary
    " F4 S  s; l" Y
  39. Active=1
    % l5 R5 X2 l6 I3 T
  40. ---cut here---
    : T) Z* n9 P3 b
  41. In my environment (a linux box with a MySQL server running locally) I have:3 S1 D* f  ?8 s3 X1 F. y
  42. ---example---
    ) v4 W: L2 [4 i$ }; |! x+ b
  43. [DBEXPRESS]( [5 t; F( h8 ?* ]
  44. sqldir=mysql_sql, e4 r" {9 W; K8 P- U9 U7 g& H
  45. Drivername=mysql  k& {( v9 {, r6 `9 q; i, U
  46. Database=test
    / a3 F( }8 P3 ?
  47. Hostname=localhost2 c& v* V! S' V. `4 z
  48. User_name=testuser) f6 y+ b0 Z- w1 X# d
  49. Password=my_password: Z+ \% J" a, j
  50. GetDriverFunc=getSQLDriverMYSQL
    $ t0 ^% Y& I/ t/ V* k; o) w! ], j4 x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  |0 Z7 Z1 }& z1 r
  52. LibraryName=./libsqlmy.so
    $ E0 c2 i& {# \+ r4 ~
  53. Active=1. _: f; @' j) z2 n  g/ s
  54. ---example---
    * c- f8 j/ F6 N

  55. ) c' _5 ]. O9 g" t; y- z
  56. On a windows box, also running the MySQL server locally, it would be:# V" r& C+ G8 `
  57. ---example---
    & b! I+ H. a5 w+ U7 d: i( @
  58. [DBEXPRESS]
    & E) [% E( V  z4 _; P
  59. sqldir=mysql_sql% S: P& G* d7 S! J- L* a1 y; x) J  D2 ^# E
  60. Drivername=mysql+ f0 q$ y% d) w  x: _* [" e
  61. Database=test
    . c6 s4 w! A0 t# V& y8 _
  62. Hostname=127.0.0.1; B  q* \* }1 R# P9 X# j% `
  63. User_name=testuser3 ]1 Q+ ]# A0 z: ]( x' ]
  64. Password=my_password
    ( B0 I* K( x" `+ y6 ^2 \- |3 W* ^' b
  65. GetDriverFunc=getSQLDriverMYSQL, c/ u( }  \' J% m2 k3 h
  66. VendorLib=libmysql.dll8 C. ?) ^1 Y, m
  67. LibraryName=dbexpmysql.dll; W3 I$ E7 K5 c) b- D
  68. Active=1+ Z" ?- [2 F7 b/ _0 m  [
  69. ---example----+ O& m" c$ _; [% J) U! E
  70. - written 02.03.04 by pwk.linuxfan2 c6 T+ L2 t3 }. I
  71. 1 d$ k& H8 Y7 I2 K( Z& e0 Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 U8 m+ L2 x: N4 Z4 I; }2 l: p
  1. ; q( P7 u9 B& l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : I6 o$ l* f. S! C/ ]! u& H

  3. ' s( a* l  Z7 g  o/ g
  4. # # #我们所需要# # #
    ) [, J+ K" j& Y' X8 ~! k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ _* |) p" O5 q& ?) V6 G1 T0 N, S
  6. 不会解释如何做到这一点-也有文件存在,为
    8 c! \, R  F7 k, v0 h2 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; o, R) y% Y9 [6 H( P1 |2 s; R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) m* x& V; ^: U  t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 o7 G7 E, B1 W% a  j+ @$ _3 {& ~
  10. 本地机器,这是我的MySQL安装。
    9 M& b2 ^7 a5 C! ]. e% [& t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % s& ^" ], ]1 w' x* ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( T1 B! E% m; L
  13. 数据库。
    & h0 h3 E5 E( b2 ]) X4 b' e3 m. z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 B8 d- J  U2 j2 O* D6 ~: @' ~  @
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 ]9 q+ z) m% |( I. E8 g
  16. 在teamspeak论坛,如果你有兴趣。
    # x7 P) t+ W" ?4 P, Q. |7 o" u! k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# _7 _8 k: ]3 ^, _) x
  18. Borland公司使用。这个司机只能界面与客户端库4 `/ V& }! O4 _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 U% \3 N4 P4 l* C+ q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 s1 f+ ~4 R* S" @. `
  21. " vendorlib " ,并解数据库连接。 - n1 ?8 Q$ k$ N+ k$ k5 x& f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 ~( O/ g. z2 o( W

  23. " I5 Z) ?2 u3 F' M
  24. # # #做好工作# # # 7 y2 `" ?' n  N8 R: b6 d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 ?' X" C+ E& V$ p6 F- h9 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 z6 f2 @$ G' P0 C. M' l7 t3 \
  27. 结束: - _3 @9 P* G6 d1 @/ e( ?
  28. ---削减这里---
    ) Z2 N0 ~6 {' Q/ L8 x
  29. [ dbexpress ]
    , B+ F) I& Y0 Z7 M$ j
  30. sqldir = mysql_sql
    / V4 H: g1 T0 Q! I
  31. drivername = MySQL中
    6 {% b. X+ _( T3 q. [& N
  32. 数据库= your_database_name_here 3 F2 Y% J" V1 l% e7 ~7 ]
  33. 主机= the_pc_the_mysql - server_is_on 8 \& F+ Y$ [! g- R5 S* |: W0 I1 P
  34. user_name = user_name_on_the_mysql服务器
    + `; {8 o- @- C2 W) ?) W
  35. 密码= password_to_go_with_above_user_name
    1 R; m2 T" W: U, {( t* [/ c
  36. getdriverfunc = getsqldrivermysql ' m' G1 o& K0 e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % t7 B! b9 f1 W, ?2 L5 X1 O' a
  38. libraryname = path_to_libsqlmy_libary
    # x; T+ T% B( ?6 c( S4 W9 l  Q7 L
  39. 积极= 1 + X* m7 h* p) ?) H
  40. ---削减这里---
    ; Y* v0 E- x& H3 y3 L& |9 o5 g2 X1 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " \0 v# l" a: M! y# u" U& Z
  42. ---例如--- - }: s1 k0 P# [& r
  43. [ dbexpress ] 2 A2 ~2 C* q; K6 K' ^$ x
  44. sqldir = mysql_sql ) g3 f8 j0 d( V- a
  45. drivername = MySQL中
    2 m) {, Q: R, T5 |, M3 F
  46. 数据库=测试
    9 X  G+ O& X+ _0 x$ r
  47. 主机=本地主机
    : P4 {' D  i6 F: A3 l. Z
  48. user_name = testuser
    ) P! Q( L6 K8 h- s1 E+ H+ d- y
  49. 密码= my_password
    0 N" j+ {+ Y" F! D: ?6 W
  50. getdriverfunc = getsqldrivermysql 9 j0 |6 ?! f& H9 U+ W9 J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 v/ S, @! y& m& F
  52. libraryname =. / libsqlmy.so , ?  X; `. z% o! N" r/ q, c
  53. 积极= 1 " ]& O+ s; t' }1 {+ L; T) s
  54. ---例如--- ( w& k" C% A' Z+ E: C( m
  55. * ]6 r. h  y* E( |! z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . S7 Y, ^# W2 ^
  57. ---例如---
      `' T) T* a8 ~* {1 f: A6 D
  58. [ dbexpress ]
    ; p6 m( `; Z" a
  59. sqldir = mysql_sql ( Y" J0 D; F3 m9 J
  60. drivername = MySQL中6 Q/ i0 z& s1 U3 f/ ]4 Z
  61. 数据库=测试# u& t0 U( f- T+ |$ I8 e
  62. 主机= 127.0.0.1 5 ]' f8 e) l0 ~1 e4 k7 Z
  63. user_name = testuser 1 p. C5 Y: `# v* L5 X) }, D
  64. 密码= my_password / P3 V8 \; C! y9 ~& k
  65. getdriverfunc = getsqldrivermysql 5 T) K; V; ^) d& x. @
  66. vendorlib = libmysql.dll在
    # N4 W9 J! X  {/ J+ Z
  67. libraryname = dbexpmysql.dll + r0 Q& W/ |; k& b  Y! w
  68. 积极= 1 / K. Q7 p: P4 C, D" U& [- @# O
  69. ---例如----
    & z! r# P4 u) s, S" V/ J
  70. -写在0 2.03.04由p wk.linuxfan
    / S6 I3 {# s1 H: K3 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
# F7 w7 {  p( Q! b  I; O) S! a  d
7 Z7 ~. C: B7 sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-8 20:53 , Processed in 0.096664 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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