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

2809 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 B3 I% ~/ B0 a
7 S" _  y3 C. |% S- b

  1. 0 Y9 z- _$ A1 l* O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & C/ ~' {# k3 B2 ~0 Z/ m9 Z$ z

  3. 3 @9 g0 q. m0 V7 _. v! G( \* Q8 y
  4. ### What we need ###
    ! ^* \: b; `  R% w5 B
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 ?3 \, \6 U) G3 h8 M3 \' J
  6. will not explain how this can be done - there are documents out there for the
    . |& j2 X3 a9 X# P& |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / d6 }# F9 g6 ~' n, d& {1 d2 O
  8. and a user account (username + password) that has the permissions to do stuff. @% H- t. E9 \$ y$ }- _+ f
  9. with the database. Additionally, you will need a vendor library installed on the
    ) L% q7 k, Z7 B& Y9 n( o2 L1 g
  10. local machine, this came with my MySQL install.
    ! ?0 Z0 `. _* Y4 Z! W
  11. These instructions will not tell you how you might transfer your data from the, `* p3 ^2 u' A, p$ y- _0 }. }& W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - f( b/ ~4 K( ^' j9 x; T7 \' l! ?
  13. database.
    8 p1 b& J" c* d7 Z1 ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 f. p" J& C2 l* x  w+ F
  15. the time of writing, there are still too many issues - check the current status1 \1 y: x7 N6 J; D2 b( F
  16. in the TeamSpeak forums if you are interested.! h# \' L2 N( |+ `3 c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; i3 L8 |$ c0 ?% ]$ S0 L7 B
  18. Borland was used. This driver can only interface with the client library that , J  v8 [6 x, \$ B3 V4 [- Y6 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 r( C  C' y8 _0 w+ V2 R1 B
  20. client library - basically all you have to do is to use a 3.x client library as
    ) ]* ?4 t1 H3 N) U& t3 I; Y1 S
  21. "VendorLib" and a 4.x database to connect to.
    ; E  _- F/ t+ r9 Q' a
  22. If you need more info about dbExpress, you can contact Borland.3 u* ~/ d7 L2 [+ T4 g2 Y4 q

  23.   b, n# @9 l- P# l, e
  24. ### Doing the work ###/ U5 L7 U' M: @
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # w2 g* `  J0 W, B
  26. the perquisites right, just open your server.ini file, and add this section at; N& l! k- k0 M0 g
  27. the end:4 W& c& u' e& n$ U9 k; y" n8 g
  28. ---cut here---+ n1 Y2 y  f9 \( X5 ?
  29. [DBEXPRESS]
    ) m8 x4 Y3 F1 g
  30. sqldir=mysql_sql2 Q2 c2 r. Y) z: x( x+ [" R
  31. Drivername=mysql$ g) T  E4 X) K1 \
  32. Database=Your_Database_Name_Here" n* _9 f  {3 t& d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! a) Y- x% \; A  c8 y$ Z5 Y0 A
  34. User_name=User_name_on_the_MySQL-Server
    , |7 N: W9 O; O8 }
  35. Password=Password_to_go_with_above_user_name. x2 h: t) z6 N5 o/ b
  36. GetDriverFunc=getSQLDriverMYSQL" D+ S  L8 w" G( v8 U9 I# n! S2 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 [; h) c( e) v/ @
  38. LibraryName=path_to_libsqlmy_libary! x& U7 E  \2 F) x/ g
  39. Active=13 o1 j- d9 n/ c: a1 ]
  40. ---cut here---
    , O/ Q( j! N& P$ z+ z( T% o
  41. In my environment (a linux box with a MySQL server running locally) I have:. w3 r1 F# @' _
  42. ---example---  J% Z3 b* M' z: R5 A
  43. [DBEXPRESS]  {$ [/ J$ Y1 ?! q  m) z" `' [- b
  44. sqldir=mysql_sql
    , L! E- Q& l0 p: v
  45. Drivername=mysql& J. |& d5 H! ]( `! u  Y! \$ w
  46. Database=test
    * l; I; K& N2 l) M0 x. h: X' @) e
  47. Hostname=localhost/ @) f8 h. ?' H: ^
  48. User_name=testuser, C. g* h% {+ R, K6 Y* [3 ^$ d3 A
  49. Password=my_password! z: B" l* N# k! P$ c7 l
  50. GetDriverFunc=getSQLDriverMYSQL
      P8 I/ Q0 k1 @3 ], H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  W- V8 Q. k" ~
  52. LibraryName=./libsqlmy.so# u7 _: {" {; ^! c+ j0 ?4 D
  53. Active=1
    3 w+ Q% o+ r( y$ p% x4 n" }* [
  54. ---example---
    4 v* F3 ?# t" k6 `% d. H

  55. 4 h/ v' ]7 h3 J" r2 t6 U' ~/ _8 N
  56. On a windows box, also running the MySQL server locally, it would be:& Q5 u# @. M+ X  l7 j8 w
  57. ---example---$ z6 ^. b+ W( U7 W
  58. [DBEXPRESS]
    ' `- a! Z" g, e5 a: g5 u
  59. sqldir=mysql_sql
    4 [8 I1 X! ?) I5 Z
  60. Drivername=mysql
    ' H- [# L  O; I& k) \8 ?& i& \4 \
  61. Database=test
    2 V4 @4 b: e$ ]
  62. Hostname=127.0.0.1" w: G* b1 Y  R( b$ C
  63. User_name=testuser* Q$ B1 S+ Z0 e% T7 J% ~
  64. Password=my_password
    - P' ^# j8 R$ J6 x: j* ~, V, j* g" l
  65. GetDriverFunc=getSQLDriverMYSQL2 \! Z( P2 {5 g% C) _
  66. VendorLib=libmysql.dll$ @. r+ B* ?8 k  ^7 A
  67. LibraryName=dbexpmysql.dll) T+ u4 P/ s  t& ?. `
  68. Active=1
    # C# h: i$ ~2 a1 b- j8 E) M% N
  69. ---example----
    2 `- T1 J9 n4 X, g; J! ?3 C
  70. - written 02.03.04 by pwk.linuxfan- Q$ a2 Z. {8 d2 E  q

  71. $ ]7 b, y7 w! v9 j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( V0 Y4 P* }+ l7 o6 b$ l% V
  1. $ H5 i2 ?$ X: J& D3 q" g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 A1 n: Z0 }) V& g8 u) n  K

  3. 0 K1 E( |% z' }
  4. # # #我们所需要# # #
    % L, ~% J( R" n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 `4 w) t3 e! Q6 K5 x# c4 g
  6. 不会解释如何做到这一点-也有文件存在,为3 f  k6 W5 K$ C" D8 |( |+ X! m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 v$ Y" B# }1 ?  N& Q! `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , ~+ l- V& E5 b6 C3 M  d. C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; S2 w" z' A9 A3 k/ w
  10. 本地机器,这是我的MySQL安装。 6 Q' ~" M& J9 c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ E  c! ~/ R1 w: M% p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( m0 U' N0 b  R/ j# ^
  13. 数据库。 0 V1 C) U  v3 R0 p1 b; A; o  o' {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & d$ Z7 y  C! C( }3 i
  15. 编写本报告的时候,仍然有太多的问题-检查现状' f3 `( c+ d' N$ D- D# y) n
  16. 在teamspeak论坛,如果你有兴趣。
    ; F6 F/ V0 O# O" ^/ @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 D' s/ o5 P" k, o7 X% o& F: e
  18. Borland公司使用。这个司机只能界面与客户端库
    / Z3 ~( v6 V" V1 F3 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  ~) E2 W/ _$ m8 |, t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 ^8 q* m$ F4 p- E# D
  21. " vendorlib " ,并解数据库连接。 2 C: z2 L8 G  h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . t. E, S0 a4 ~) b) j# K

  23. 0 f( r& Z/ P, T4 L# Z9 b5 o  w/ K
  24. # # #做好工作# # # ( R0 r7 Z0 `/ `( J# q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 G+ |8 \1 I5 s. r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ i6 R9 j7 s4 \* l6 z6 N- }
  27. 结束:
    0 M. N( H/ E9 ~  t1 S9 ]
  28. ---削减这里---
    " J6 E3 ^. K+ v5 o# |( p+ T
  29. [ dbexpress ] $ Q" w& K' L8 Y
  30. sqldir = mysql_sql + d* b5 T6 Q7 k! j
  31. drivername = MySQL中# O: v. {2 f1 S- O: b" ]8 y1 S
  32. 数据库= your_database_name_here
    4 N) p, V0 T5 p& F, R3 c: M
  33. 主机= the_pc_the_mysql - server_is_on , l+ b' r% N9 o$ V- @! e; h% \
  34. user_name = user_name_on_the_mysql服务器
    5 M( [8 Y7 U: p+ O! N
  35. 密码= password_to_go_with_above_user_name 6 E3 N( B% _7 Y( H3 a( a' }' Q" A
  36. getdriverfunc = getsqldrivermysql " @( T8 L# C* M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * K1 b' c; L4 p2 t& ]
  38. libraryname = path_to_libsqlmy_libary
    9 o# |; G, e: q9 P
  39. 积极= 1 " p! w2 R; k$ I- h" h
  40. ---削减这里--- 1 r- k3 c1 x2 v% b1 g3 R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 n' H; m$ X4 c, e! I
  42. ---例如--- 4 T* C7 [" t' d* L
  43. [ dbexpress ]
    4 O- X) X1 o7 {+ g; o2 j
  44. sqldir = mysql_sql ! I9 a! F8 ^) ~' E8 `9 t
  45. drivername = MySQL中* ~& _/ p! V) L- W& l8 D$ D
  46. 数据库=测试5 L( R6 ?0 t: E$ g1 H5 z) L; Z
  47. 主机=本地主机& f4 d* S7 D' R; Y" y
  48. user_name = testuser 0 w$ Z/ K4 ]# @/ I8 @# w; A6 B! I
  49. 密码= my_password
    8 o" ^7 N7 q! ]+ a- i+ P+ u$ M/ G; {
  50. getdriverfunc = getsqldrivermysql ; J( G- t7 c0 M8 K: [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 A& Q; ?  k  `+ U
  52. libraryname =. / libsqlmy.so $ ?7 E: }; C1 q' Q
  53. 积极= 1
    6 }: H6 I5 N$ G& H8 V! b
  54. ---例如--- 2 n0 ]# M7 ~& H
  55. : h9 _; ^" z- c% K$ u
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 O  _8 {( S5 B5 A. K
  57. ---例如--- & C/ ]1 y, ?! L- |5 J
  58. [ dbexpress ]
    ! Z& A4 \# S& O5 I2 ^
  59. sqldir = mysql_sql : M8 H" A- y0 B* k2 J
  60. drivername = MySQL中
    ' \2 n. Y! _& u
  61. 数据库=测试9 I2 S9 s5 D+ W" {6 j+ J5 l/ l
  62. 主机= 127.0.0.1 + J& s" w8 R0 Q5 }
  63. user_name = testuser + M* |) s0 W% h; n
  64. 密码= my_password
    . c# @' D3 E, G' [, l# y
  65. getdriverfunc = getsqldrivermysql
    % F& [6 g3 ~' L# t' q& V7 |1 E
  66. vendorlib = libmysql.dll在
    # g& A0 H( k* ]* `
  67. libraryname = dbexpmysql.dll
    . b9 z1 h/ _6 m( a) Z6 p% [; S
  68. 积极= 1 + H5 Q+ Q0 E" _0 ]: j6 F
  69. ---例如----
    * y. D4 h! n2 U- S
  70. -写在0 2.03.04由p wk.linuxfan
    ; K3 u: L( o5 f3 J
复制代码
发表于 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
, u' L! v9 n6 Y  ~# l9 F. d( v4 I& P! O5 H% p
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-26 21:08 , Processed in 0.093578 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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