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

2681 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# P' w. }# H5 P/ r8 c! C* M0 W" ^3 n. i& V. Q1 o
  1. / @3 C6 r# @2 t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ V9 b% D; n* i* z- h
  3. 1 l8 [3 J2 [: W* X3 j+ w- `
  4. ### What we need ###/ ?" B2 m5 ^7 _1 D: ~; U! Y+ \
  5. Naturally, we will need a MySQL server to store the data for us, this document ! K0 ]2 M* ]( @+ k+ L, P) S
  6. will not explain how this can be done - there are documents out there for the
    9 [5 q  |7 ?/ N
  7. interested. The requirements include a (empty) database for TeamSpeak to use! K, H' L$ w. s6 W" e% Z( N
  8. and a user account (username + password) that has the permissions to do stuff* u$ M/ g5 P. {: z3 u
  9. with the database. Additionally, you will need a vendor library installed on the0 C6 h" k* ^2 a, C; @1 x/ ^4 i9 I
  10. local machine, this came with my MySQL install.
    ' S2 l- B" O% J3 n2 E8 u9 I
  11. These instructions will not tell you how you might transfer your data from the
      N, o4 p2 q8 k, G) Z  s! @# r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + o5 u* }4 _3 f  l
  13. database.& t5 t# C% L6 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at( x# X4 n: t! T0 L% h7 p# J
  15. the time of writing, there are still too many issues - check the current status
    , D% f9 |8 P% F: ^1 Z
  16. in the TeamSpeak forums if you are interested.
    : p9 v* @: s/ u' a/ S8 U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& K) s7 C! X8 |- y
  18. Borland was used. This driver can only interface with the client library that 3 o1 D" |2 ]# C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% B# V* r* Y* K" {( T
  20. client library - basically all you have to do is to use a 3.x client library as # }! Q; n, N0 U7 M+ L. T
  21. "VendorLib" and a 4.x database to connect to.1 H: c0 a6 `% ^" H2 M  ]
  22. If you need more info about dbExpress, you can contact Borland., y; q1 V! G/ v7 {" V. t( I. E8 q4 z9 j
  23. # c  ^$ a% s6 p" E9 M  t
  24. ### Doing the work ###) Q( K4 M+ u  r3 S7 a5 M; S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + Z4 y4 z8 U) ?  ^- R2 e4 R2 d/ S
  26. the perquisites right, just open your server.ini file, and add this section at
    - W( e) D- S- M2 f* ~% U  N
  27. the end:* K* W, ~: P* a6 v
  28. ---cut here---
    ( U# c1 e0 h* K' K& D& E0 w
  29. [DBEXPRESS]
    + M1 H; y+ O: _( |
  30. sqldir=mysql_sql
    4 t, B/ w1 p) C& a! Q% Z- Y2 t
  31. Drivername=mysql
    1 {0 O# Z1 P: H% n5 [! ]: g
  32. Database=Your_Database_Name_Here
    1 b2 }5 N, B) s( S, F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 v" \: O4 z5 E! ^& `6 y( T- `) I
  34. User_name=User_name_on_the_MySQL-Server- c8 d& v8 h7 b
  35. Password=Password_to_go_with_above_user_name
    1 x5 O# t) H# L, Y) Z
  36. GetDriverFunc=getSQLDriverMYSQL- d4 @6 g$ }9 j: `  u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / _4 C% ^9 S, u
  38. LibraryName=path_to_libsqlmy_libary
    2 ~: K) r/ @, r
  39. Active=12 g5 R$ B! a/ c
  40. ---cut here---% e# }5 E! w* c8 ?2 L' B
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . p/ g8 G2 P3 L' t/ k. {  _
  42. ---example---
      |5 K# Y8 i6 d( L& {  |' q
  43. [DBEXPRESS]/ V8 [5 ^0 R4 e
  44. sqldir=mysql_sql' b* R, `, P7 e& t! S; S. a8 f- N
  45. Drivername=mysql
    ; t  _; [9 ]9 a  j: W% l# }9 v4 ?
  46. Database=test1 c8 ~# O6 L7 \# @- D3 G
  47. Hostname=localhost0 i- H" C. v1 K7 ^+ F" E
  48. User_name=testuser; k/ v9 a+ V/ M/ N; b# _
  49. Password=my_password. O8 R/ o6 p: Z+ M
  50. GetDriverFunc=getSQLDriverMYSQL8 _, Q. u2 X0 S, S2 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 ^4 Z& ], ]5 k# n6 @& v
  52. LibraryName=./libsqlmy.so5 v6 u0 D+ T# J  R
  53. Active=1
    . P" x; i4 K& o$ U$ @9 d1 E
  54. ---example---; D4 x9 a, [+ U, d- H6 ?

  55. ! M2 @, S: ~+ w* ?' V- e! @5 }
  56. On a windows box, also running the MySQL server locally, it would be:  ~# l! y/ k& |* u; O
  57. ---example---$ a5 Z! u1 E9 ^, `5 I) u- V
  58. [DBEXPRESS]
    1 n  y9 {  {0 \' ]% Z7 I- a9 u
  59. sqldir=mysql_sql
    1 Z( z7 x" o9 l8 U
  60. Drivername=mysql! ?+ v- u8 ?5 s  P' v% ^( a
  61. Database=test" T6 z2 P( j5 _2 {3 ?) @2 I
  62. Hostname=127.0.0.1
    . n' @: o$ O# o4 m, E
  63. User_name=testuser
    , w1 C4 s. E2 V' i: ^
  64. Password=my_password
    ) ~+ p- C7 ^+ R" [
  65. GetDriverFunc=getSQLDriverMYSQL
    . T4 j! {# z: [
  66. VendorLib=libmysql.dll4 G+ d2 ~& F! z, w/ f
  67. LibraryName=dbexpmysql.dll1 N, M& M1 @; S+ g9 m! `3 ~
  68. Active=1: c( \8 Q. C% T! l! k
  69. ---example----  m+ t1 q# C5 `9 J
  70. - written 02.03.04 by pwk.linuxfan- i3 r' L+ U4 J' x1 j

  71. * |- Z6 X& k% U( h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# w% B1 n, D1 e- l4 x

  1. 2 Z) Y1 `# @* T( v2 I9 v* m9 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 k( `5 G  Y4 W9 q) o8 C. l" ]+ E
  3. , s3 {% p, h. U- G+ d
  4. # # #我们所需要# # #
    9 r/ v# z- @5 l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 z( ^; o! ]! ~1 q' |6 _/ s
  6. 不会解释如何做到这一点-也有文件存在,为% V" A$ m  ~/ n0 s5 y: E& a! c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  b6 X0 }' D' z+ I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 y+ F4 r& O  S& K# R6 E+ j- N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 B2 b6 `( ^7 J
  10. 本地机器,这是我的MySQL安装。
    * W& k$ Z& J; w$ ~' o5 P( n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 N: }- h, g2 W$ E4 s$ n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 ^* L- k- h5 c( Y
  13. 数据库。
    , W0 ~8 [2 W- P3 i7 a3 M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( S& b8 L) R: W) U' r8 }
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 f9 _+ c) r' }7 f$ {$ p7 _
  16. 在teamspeak论坛,如果你有兴趣。
    + v9 ?+ l. t) \: h" c3 ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ }7 S3 @' f: I1 a
  18. Borland公司使用。这个司机只能界面与客户端库# a% k4 q6 R4 L6 I/ l: c' \8 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( q2 u- l1 h3 i- ]2 h1 i" n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : X2 a' y& G1 M* }' c
  21. " vendorlib " ,并解数据库连接。
    4 l) n& Q) R! `7 }. i3 o- [5 {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 Q5 Y  W  S& j6 g+ ?& P

  23. 1 g% z  n  A7 A; U2 S3 J8 ?
  24. # # #做好工作# # #
    . q! Y4 f7 s1 E+ i" D4 U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * E1 E: G, W! J! \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 i, q4 V0 q0 {
  27. 结束:
    ( k. L& X% v) s! {) ^
  28. ---削减这里--- : p1 W! @4 `; v
  29. [ dbexpress ]
    " ^  l1 B  v) g$ ]. J+ X0 I4 Z
  30. sqldir = mysql_sql
    ! M1 j9 Y. J/ w: F
  31. drivername = MySQL中4 m. H+ {1 ?7 F5 X! B6 u6 E# t
  32. 数据库= your_database_name_here
    ; z5 A& ]' q8 ^8 S& z
  33. 主机= the_pc_the_mysql - server_is_on
    7 m" P; c$ ]5 I* M: _
  34. user_name = user_name_on_the_mysql服务器+ d4 i+ `1 ^9 i$ b9 a; [; B( @
  35. 密码= password_to_go_with_above_user_name
    + ]8 i8 B0 L7 O( u/ e! R% O. A
  36. getdriverfunc = getsqldrivermysql . t' S# Q" \, Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / G$ p! G: b7 q% Q1 a
  38. libraryname = path_to_libsqlmy_libary , K* x. W. ?" ]( A# Y$ e; @
  39. 积极= 1
    . F2 X" m1 R# t# V" E
  40. ---削减这里---
    , ]" I; _1 t$ S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   \8 R/ T. {9 j' ~& I; X- K: }8 Z
  42. ---例如--- : |8 G  w2 W, i4 k1 J5 a
  43. [ dbexpress ] : S/ g/ O% m9 J0 J# Q, C
  44. sqldir = mysql_sql
    $ g; i$ M; a* C3 {& A
  45. drivername = MySQL中/ c, ~, V& W2 a1 \. R. @
  46. 数据库=测试6 R4 I- ^( S/ v/ f
  47. 主机=本地主机
    & T0 @' J" |7 }; ]- b4 \+ m: }
  48. user_name = testuser
    8 f+ F7 s! E  {
  49. 密码= my_password " J. B- q( |1 ?8 Q5 A3 {
  50. getdriverfunc = getsqldrivermysql # r$ E. A% s6 b4 j7 X  a8 h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : D/ i. A: n* B
  52. libraryname =. / libsqlmy.so * H2 o3 L! T4 V6 w  f1 h
  53. 积极= 1 $ [, M9 A4 w6 Z- ^
  54. ---例如--- " k2 c( I4 Y# b. w. T" e' x- o

  55. 0 n+ B! C  o" H. C) A
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! z# ~: R$ R4 X1 m- ~0 ]
  57. ---例如---
    ' u3 O2 D0 m6 f5 D' @0 `
  58. [ dbexpress ]
    $ ]! ?# f% t0 R7 E$ l
  59. sqldir = mysql_sql 0 t, M1 l1 Q5 ^+ R; T9 |2 s
  60. drivername = MySQL中  f' {* P: T, M: T7 A9 h
  61. 数据库=测试8 Y+ t  d" `( I1 f* y: i6 g
  62. 主机= 127.0.0.1 8 x: H. n5 m5 U+ i$ ?9 p4 j; x
  63. user_name = testuser
    & k# ?" W% u! {' D$ k9 C) M8 X
  64. 密码= my_password
    ) Q2 d& a% R9 V/ @5 h
  65. getdriverfunc = getsqldrivermysql + [/ a7 t1 A% M& o" S' @: L- E
  66. vendorlib = libmysql.dll在
    : o) g3 K, t8 e5 g+ y5 y* z" s
  67. libraryname = dbexpmysql.dll
    ' R4 {) @" X" F, H0 _
  68. 积极= 1
    4 A7 X/ @2 Q4 m+ z* A2 F3 H: S
  69. ---例如----
    - v; k4 ~1 t- Y9 v% \9 p% a
  70. -写在0 2.03.04由p wk.linuxfan
    ' F  s8 g, `5 A1 t
复制代码
发表于 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 words9 `3 A8 G+ a4 w! }+ r
; U# ?( t! m. N8 n$ f3 `& c& G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-30 02:44 , Processed in 0.099069 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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