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

3312 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 w% b+ f( D& Z0 P1 v- w, P0 |7 f. f& E& X0 @2 H% \
  1. + t% g  C8 V3 `, [: y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 c  W* T' Z1 A* L2 j# N$ v' a# _% E

  3. " N3 B% N# i1 k( ?- a& q3 ]3 q+ I
  4. ### What we need ###
    / P" \9 b2 M3 G4 L7 m( D( B% i7 D2 X
  5. Naturally, we will need a MySQL server to store the data for us, this document / `, b- g$ X" r, f( G6 L/ \" ^4 C9 A
  6. will not explain how this can be done - there are documents out there for the
    + L5 |5 G% m( C; U
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " P# X5 B( R7 X$ |1 W% s
  8. and a user account (username + password) that has the permissions to do stuff
    0 [/ M0 _) R3 b+ b  j+ z
  9. with the database. Additionally, you will need a vendor library installed on the
    / ^5 z$ ?: N9 t& n! A
  10. local machine, this came with my MySQL install.
    8 r0 J+ q3 o( s+ }' I" E# H/ K  z
  11. These instructions will not tell you how you might transfer your data from the1 w7 o& H% J/ S5 k( V( S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' A7 ]- ~, w8 W# k9 ~/ Z
  13. database.5 M5 @  M8 N8 F+ |' ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at% i% H8 x1 B7 P1 l
  15. the time of writing, there are still too many issues - check the current status% g5 ]$ U7 @2 s3 l# m7 m) Z7 _
  16. in the TeamSpeak forums if you are interested." z3 u3 `/ k, l9 R$ f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) T: N$ g7 u$ T  M0 }% O. \' @4 b
  18. Borland was used. This driver can only interface with the client library that $ W, h3 _0 L3 ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 X. K& J' `3 @1 h+ z
  20. client library - basically all you have to do is to use a 3.x client library as ! |' y. j2 P, J3 X0 Q$ V' {
  21. "VendorLib" and a 4.x database to connect to.4 G8 \; ]& P& o. s
  22. If you need more info about dbExpress, you can contact Borland.
    & z: ]2 ^+ F7 _0 n# @( H

  23. 1 S* [7 z7 W: k4 q& o- Z  W0 A: f
  24. ### Doing the work ###% p! W! h' e: `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 K8 d( u: i% ]
  26. the perquisites right, just open your server.ini file, and add this section at
    , ]$ s! }+ ^6 N% B
  27. the end:2 Z" n" }; c, N$ n
  28. ---cut here---
    % g2 `5 M( w0 {0 i5 E
  29. [DBEXPRESS]
    8 ^1 v) U- N$ c! ~: }. S  \3 c
  30. sqldir=mysql_sql3 O9 j8 o8 J; o& N8 @4 ?
  31. Drivername=mysql5 t. C: E2 w* o1 \& K$ C7 E6 [, ~
  32. Database=Your_Database_Name_Here2 h/ _! K4 [2 f: p4 j& ]1 L0 V1 h
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 @: g4 D+ I# Q+ k  h
  34. User_name=User_name_on_the_MySQL-Server
    ! [2 m3 a! I/ c) [0 g" ^6 I  v: f
  35. Password=Password_to_go_with_above_user_name
    8 Y: X% r, Y) V' q
  36. GetDriverFunc=getSQLDriverMYSQL2 l6 T0 \2 P! \/ }+ Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! @9 ~) L. X9 C6 O
  38. LibraryName=path_to_libsqlmy_libary* v  c: a. G7 k4 |4 k" b( _% ]: w1 R
  39. Active=1( c2 ]+ H7 o+ t' H' [* C
  40. ---cut here---6 w. }. O5 f/ f: P; Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; J1 r  x  E( z. n7 K' [5 p
  42. ---example---) |% _4 e' o* z4 E8 P8 c
  43. [DBEXPRESS]
    6 u. T( X' v4 }6 a" Y; D
  44. sqldir=mysql_sql
    ' Q& \  H  l7 ], E
  45. Drivername=mysql6 h# L: O. j6 m9 c" ?
  46. Database=test
    0 t3 i. i; k3 W6 b+ f9 P" B
  47. Hostname=localhost6 A8 c9 \7 d+ w
  48. User_name=testuser- N5 W3 N0 O$ V$ `2 u
  49. Password=my_password  T) I) s2 f0 N: |
  50. GetDriverFunc=getSQLDriverMYSQL
    ' a" W7 ~6 B! P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) A4 Z" N" F8 ^3 u' U# [3 l7 k5 f: B
  52. LibraryName=./libsqlmy.so% f1 k# X7 y* a8 ?8 O& D1 G
  53. Active=1
    $ n# A; {0 F) c5 k
  54. ---example---
    5 K" h6 r; @# y& ~) T! g
  55. / p# ]' x9 W# _: ^/ Y, u
  56. On a windows box, also running the MySQL server locally, it would be:6 X5 v$ l2 ~; W: b& ?
  57. ---example---
    9 z5 h& X' w6 T8 A
  58. [DBEXPRESS]. s, L# R. W+ R0 H4 |9 o9 @5 I
  59. sqldir=mysql_sql
    1 o( D. V3 y) D8 R* M0 I
  60. Drivername=mysql
    & z6 h! ]7 P. W# O5 E
  61. Database=test
    0 n0 j; c% o6 f( g" S7 z' J; D
  62. Hostname=127.0.0.1! u" O2 m- v0 H9 u$ v
  63. User_name=testuser( d  ^  K* m7 f# M3 }
  64. Password=my_password& _- q/ F4 }* J  a0 X6 m
  65. GetDriverFunc=getSQLDriverMYSQL
      V6 d, f. P2 ^( D5 k* q, o( _
  66. VendorLib=libmysql.dll
    1 R! ]8 M. G8 V9 G/ e5 Z4 m
  67. LibraryName=dbexpmysql.dll. a9 T$ Q  }9 T/ w
  68. Active=18 Q- z. l. R9 W  A
  69. ---example----
    ( K2 K; L7 L; @# `2 l  T
  70. - written 02.03.04 by pwk.linuxfan
    - |/ \1 U  F+ w- C  v; M' x( r

  71. * K/ _- K# @8 p% e5 y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 o% U8 B4 i$ u4 e: x* p& H3 i  z
  1. : W$ R* t  i" @! }7 S$ W+ i6 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + }1 g/ O. E* W$ A: ~, I& {
  3. # K- h- X9 M1 L5 K4 y3 `
  4. # # #我们所需要# # # - B$ H1 m2 D0 w* O# j$ g' i: {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - ]& n  o  o  G
  6. 不会解释如何做到这一点-也有文件存在,为$ O( o8 d- p3 V( {0 F. n; y& N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 Y% h3 h. z/ z* T8 ^% T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. i; X: v& }' h' D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , s2 N1 S& H! a! P* P
  10. 本地机器,这是我的MySQL安装。 6 k5 r( g- f* F9 s4 m' y4 d& S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. w/ ?' q6 v# Z* Y' A3 g( e" `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 D+ B: X: D" E3 W% U" U
  13. 数据库。 - W7 b2 ^4 Y  |6 j4 K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 ?- o  z: K* `  o0 ^6 M+ `
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 |" V0 ^/ [8 d, Z) K4 k- c# P
  16. 在teamspeak论坛,如果你有兴趣。 ; h6 n- o- y3 _8 g7 }$ f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: W: s  g/ }& f$ o
  18. Borland公司使用。这个司机只能界面与客户端库
    5 M1 `. ?' g# ]+ Y0 ^+ z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( u4 {8 R2 C- [3 l/ ]2 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 U* V- N) {  w7 {, f7 A
  21. " vendorlib " ,并解数据库连接。 9 u1 i! y0 {, U' _6 L0 R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( N: {8 r% a/ C5 U2 U

  23. $ h7 E% T: Q; M# f5 U* o4 y8 [' W" R# O* `, z
  24. # # #做好工作# # # % M, [! L3 o3 ]4 N! ~& c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : r7 F2 Y% H& I) Q& {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + k3 [, A+ }* q
  27. 结束: 0 Q: d) E; f" b6 L4 X
  28. ---削减这里---
    - v' a# k7 J4 i/ d! e% g
  29. [ dbexpress ] 9 Y% B% B& }5 ?* N" n
  30. sqldir = mysql_sql 9 H0 ~% u4 P* p# ?. u% M) q
  31. drivername = MySQL中' [' N/ z% D  U4 w) f- t  p6 N
  32. 数据库= your_database_name_here - ~: X* H! ]+ m% ?  ]+ ]
  33. 主机= the_pc_the_mysql - server_is_on + k& x8 M8 G7 k8 i$ i# v
  34. user_name = user_name_on_the_mysql服务器
    $ m. L2 m3 m5 ]4 r3 W4 m  f
  35. 密码= password_to_go_with_above_user_name
    4 b- P) r% W3 x" z  @3 J2 S
  36. getdriverfunc = getsqldrivermysql . F+ S! A( E3 \$ O7 f7 B) _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 @1 C* i: Z1 l- E; A
  38. libraryname = path_to_libsqlmy_libary & C' ?7 S: s3 A% i) c
  39. 积极= 1 . X8 V( a9 j1 K  e' C0 y2 ~
  40. ---削减这里---
    & `( x; ]4 H5 R5 v" b7 U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % A5 V# U$ r& Y0 a8 f- J# R
  42. ---例如--- $ i+ k3 w2 A2 n) l* N- R
  43. [ dbexpress ] * g1 n7 P0 p. ?) u( v
  44. sqldir = mysql_sql
    9 d( d" ?. I7 v* X/ w* p" Q
  45. drivername = MySQL中
    ! ?- p* C3 }8 n0 D( v9 Q8 w0 t- C
  46. 数据库=测试
    . y. Q; {+ j8 X+ \0 z1 z
  47. 主机=本地主机
    ' D; W3 x) E! c, y/ {
  48. user_name = testuser 3 b% X0 [$ N7 L6 P0 |7 R
  49. 密码= my_password
    * v" F+ A0 z9 ^. s$ O/ Z6 }
  50. getdriverfunc = getsqldrivermysql
    # a5 j* _+ Z: _% I" N1 J/ i$ T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 m; ?6 d* J+ ]& G1 L
  52. libraryname =. / libsqlmy.so + I, r$ Q( k/ o2 k2 _
  53. 积极= 1 . M; b3 |5 k& d7 o9 N4 Z1 B
  54. ---例如---   r; E6 W9 }- q0 ]

  55. " f  h  ^& M8 x4 e- z. Y  T) F+ K% `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / r) ?4 }! Q7 D+ D+ C& ?
  57. ---例如---
    * Z  @5 }8 e8 g6 H1 M+ J
  58. [ dbexpress ]
    $ h/ U+ E+ Z6 M% `2 m# J
  59. sqldir = mysql_sql
    , v3 h% A6 K  V- f! M% t. C
  60. drivername = MySQL中2 `/ }5 I6 u: b. V
  61. 数据库=测试
    + l9 T' S% e5 t+ ]  b
  62. 主机= 127.0.0.1 0 s4 y+ N$ _0 ^  w( b% X- E2 h+ U
  63. user_name = testuser
    / M& J+ ]% K: e
  64. 密码= my_password * W- j1 L4 ]$ r( N! o. ^/ e
  65. getdriverfunc = getsqldrivermysql + v* \4 B" T3 J- ~4 O* X" O7 Y( ]7 t. Z2 g
  66. vendorlib = libmysql.dll在
    ( {  m9 b- Y" h# O8 D1 R
  67. libraryname = dbexpmysql.dll : v" j- g% a) b( D2 S
  68. 积极= 1
    7 R! A9 l: \# F( X1 ^. \9 T1 ^6 c( W
  69. ---例如---- 8 p( m2 L# n) q9 D
  70. -写在0 2.03.04由p wk.linuxfan1 ~2 Z1 k0 G/ ?. i+ w/ H  l
复制代码
发表于 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
5 c1 Y  e* V: z" D/ u- ]" B! z; x+ I/ R% g& E
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-10 08:52 , Processed in 0.109993 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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