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

3370 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) P" g5 {7 l  c1 O( c7 ?& ]! T- ~9 t% A* i, v3 W

  1. + D( U3 A/ E+ [* h) ~  |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & C( g$ p4 l1 i, p" F" O
  3. 1 ]6 _4 k7 q' x  Q2 P, N; u
  4. ### What we need ###6 s% e: M0 u4 D, y2 X6 q8 p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) \. Q# Y# w5 @  M( `4 a
  6. will not explain how this can be done - there are documents out there for the
    . g" y8 J+ a" E; A9 h# o
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + n% x8 {2 y# w3 x9 E5 O1 X; u
  8. and a user account (username + password) that has the permissions to do stuff. ]+ ?" a: N, c
  9. with the database. Additionally, you will need a vendor library installed on the! W% m3 {8 X9 ^. _3 F. Z
  10. local machine, this came with my MySQL install.( R; ~0 F0 a5 w! s% c' [" t9 |
  11. These instructions will not tell you how you might transfer your data from the3 p9 w- C$ ]3 y! s$ ~: N. M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . l9 r2 z: ]4 d. ]& l
  13. database.
    ; e* P/ Z5 W' C( F
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 x7 w: g3 m% @7 O: m: {! Z4 R
  15. the time of writing, there are still too many issues - check the current status; Y+ K2 w. |) R7 z$ e! g* V; u
  16. in the TeamSpeak forums if you are interested.
    4 D& O7 G7 J+ ^  c4 G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 o* O) @& `4 d7 X& i' L- m$ E4 S
  18. Borland was used. This driver can only interface with the client library that
    2 g: l' F9 y2 d: g. Y" ?% E& }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 X( B. k2 R# _. L9 k2 `9 Y0 I
  20. client library - basically all you have to do is to use a 3.x client library as
    ) g/ l) ]3 ^2 S
  21. "VendorLib" and a 4.x database to connect to.3 V( J, I5 w7 v( B; `
  22. If you need more info about dbExpress, you can contact Borland.
    5 k6 E9 E( l4 w' i7 A

  23. 3 T& p) r% O& a; h
  24. ### Doing the work ###
    ( W$ Z# U0 S/ _  X2 D( o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  g+ d+ O; U. o; C
  26. the perquisites right, just open your server.ini file, and add this section at
    $ K$ g8 p  F" w# ]% Y
  27. the end:
    2 u# f5 N9 o1 C" ^) g. Z
  28. ---cut here---! \  i  q! D! e
  29. [DBEXPRESS]
    4 L" e7 U: e# b4 A* w, K7 D/ T
  30. sqldir=mysql_sql
    0 v# j* T2 |' A# t! Q7 W4 G
  31. Drivername=mysql$ f  ~: q+ l* d, |1 `  F4 ~
  32. Database=Your_Database_Name_Here  \, S& X) A; W8 V+ }3 G3 H
  33. Hostname=The_PC_the_MySQL-Server_is_on" d2 P) g/ q3 _. c& z
  34. User_name=User_name_on_the_MySQL-Server
    * J0 b; S' G: w- o( V
  35. Password=Password_to_go_with_above_user_name
    : ~1 R( C8 K$ _' W! A$ R& I0 a: E
  36. GetDriverFunc=getSQLDriverMYSQL1 z5 s. G  C% S' V; C  N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) V8 |% {. ?3 I# \$ H: q
  38. LibraryName=path_to_libsqlmy_libary6 ]2 P3 g' X/ Z9 D
  39. Active=1
    % S# @( a- m( \, d
  40. ---cut here---
      }" ]- ~' h3 X) r
  41. In my environment (a linux box with a MySQL server running locally) I have:, y% ]& k: r* D- M; u* s8 u- J
  42. ---example---9 Y; t' U' T3 X" X, e& k
  43. [DBEXPRESS]  y7 D* W8 A' I( R% B) |9 X; M+ r
  44. sqldir=mysql_sql
    5 j7 r& T- n# \
  45. Drivername=mysql9 ?7 {: s  g, S3 h  C' O
  46. Database=test
    7 u) W: _& H: O4 |) g
  47. Hostname=localhost
    + p. u% N( ]; m+ S9 @
  48. User_name=testuser
    # W; |9 A& l5 E
  49. Password=my_password
    - g! `" A! p9 q2 W$ M
  50. GetDriverFunc=getSQLDriverMYSQL
    7 i, J: s3 ~* z. e- G; q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : a9 C, H: T* ~( j* J
  52. LibraryName=./libsqlmy.so
    % o; G* L- l1 O
  53. Active=1; z1 F" S( z+ ^" g0 K9 S3 P
  54. ---example---
    ( ?9 H6 @2 f9 w0 S* V" G1 R
  55. 8 y2 p3 V: Q) X* j$ g& }4 Q
  56. On a windows box, also running the MySQL server locally, it would be:
    & u  ]+ s& p* v. _
  57. ---example---. ~  K3 \, W$ S
  58. [DBEXPRESS]6 x5 K$ O& x# Q
  59. sqldir=mysql_sql
    - ?) V6 C& H" u% d
  60. Drivername=mysql' m0 q% l1 A& O
  61. Database=test
    # s) g3 b! l5 Q/ j, ?1 i/ T0 V
  62. Hostname=127.0.0.12 s) I1 x) N+ s7 B! ]1 Q0 y) I
  63. User_name=testuser1 W6 m" a, `/ ]" r  r: J/ P/ {/ Q
  64. Password=my_password! r/ k: Y  X3 ]' G, c: D  _
  65. GetDriverFunc=getSQLDriverMYSQL
    6 F# z6 O% n( l; V. u  {1 B
  66. VendorLib=libmysql.dll1 }, t3 s% B$ P* h. q
  67. LibraryName=dbexpmysql.dll
    - u% L* d- ?2 v
  68. Active=13 [" J' t$ T& ]1 g  p6 Z
  69. ---example----
    2 @7 s  Y7 x& N4 D2 ~+ _
  70. - written 02.03.04 by pwk.linuxfan: M" B  }5 T+ a, Z- v

  71. 6 d8 Q; d! d, w' b8 O, p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 W/ t/ h( Q" z9 T) e/ c3 @/ q
  1. 7 x# E. o& \) C' w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * J, B6 o( ?! f) z6 y

  3. : `5 ~# I3 \0 V9 V
  4. # # #我们所需要# # # 5 d0 h( d6 }% X: s/ y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. J1 O& P4 `. y4 N6 @+ W
  6. 不会解释如何做到这一点-也有文件存在,为/ _! t& _* p8 F( R, n( l% G! \2 b6 G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 I6 r' R$ e) m0 v- x8 r5 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 v1 H+ y1 N' {2 T: a$ i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( G% b" c# @' g. |3 `- S& J
  10. 本地机器,这是我的MySQL安装。 6 _, w& A! A& t/ {! K' C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( l# f' Z6 z# U( N; @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * B5 K3 R0 G2 M3 H# Q- r
  13. 数据库。
    2 J4 H+ G0 S! d3 K. W: p& ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 N8 p$ y; ~2 g! u" ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 \+ V$ F$ k8 E+ W. E
  16. 在teamspeak论坛,如果你有兴趣。 ! C, n# p# o% v7 A1 {4 n, s7 u8 m
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 Z$ X4 O% d6 T& ?/ Z3 f) ~
  18. Borland公司使用。这个司机只能界面与客户端库1 x& I5 O" h) c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 N8 o9 O$ R) i4 S4 `$ ?: Y0 |; U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# w0 {, y# a" U( }  y* Y) f# a
  21. " vendorlib " ,并解数据库连接。 / L& U( W" m; F5 _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 z! d" Z- ?' s. D, v  s

  23. 0 ~* v& Q, t2 y+ N, o! |9 T
  24. # # #做好工作# # # 1 w+ C1 N. }4 i# M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; p" A: i# {$ y6 `5 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ n: c/ w+ O$ C( i) M& l
  27. 结束:
    4 f9 K. u) H: H
  28. ---削减这里--- 5 z" ?: `( r, Z( A6 }% i8 I% g
  29. [ dbexpress ] ( D: \6 e  c) y( b
  30. sqldir = mysql_sql
    : U; _/ g) d6 C* W: C" X
  31. drivername = MySQL中0 \* z2 a& n8 E  k; W$ S
  32. 数据库= your_database_name_here
    ( m% i" l& E" ]+ k$ l( p2 {
  33. 主机= the_pc_the_mysql - server_is_on . D0 ^: H' h# K$ G& h' l% n
  34. user_name = user_name_on_the_mysql服务器
    4 t8 N8 _0 n% v( y/ ^
  35. 密码= password_to_go_with_above_user_name
    7 Q% R! i, k: B/ w
  36. getdriverfunc = getsqldrivermysql
    6 ^: X& U1 s; Y2 Q; h2 d! {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( a- ~1 V, t  N
  38. libraryname = path_to_libsqlmy_libary
    : P& M/ ], _+ t& s* U
  39. 积极= 1 7 F6 ?0 V( H' _0 ^, u9 I$ E
  40. ---削减这里---
    / m; P; Y) z' t7 f! V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 g) V# Z8 _* v0 u
  42. ---例如---
    * }- E' R! N' }( ?/ c" |
  43. [ dbexpress ] 5 n: ~3 z9 y- k
  44. sqldir = mysql_sql / L0 ^  h5 P5 H$ w1 N4 X; ]
  45. drivername = MySQL中! F$ i' x& G+ H: H8 C% h9 p4 d! B
  46. 数据库=测试
    ; L1 C* P7 g2 [. k
  47. 主机=本地主机* v% w" D3 K3 J7 Y4 U- A3 C; q
  48. user_name = testuser
    $ A- S. A  @% V8 v) ], v
  49. 密码= my_password ; s4 T4 x& u4 }! m
  50. getdriverfunc = getsqldrivermysql # e5 Y, O+ t1 n* }% d( I5 V; Q9 }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; e3 H" v9 n$ c$ [: e$ j( h
  52. libraryname =. / libsqlmy.so
    ; `  t5 t, L0 a2 C# O' J2 L" P7 c  L
  53. 积极= 1 - \& Z: N. G1 r0 i2 H! C
  54. ---例如---
    # n/ ]/ z. Z1 ^9 r

  55. 3 Q  [. y" Q% c2 y/ Z, l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! D9 J$ Y( j% I/ E( f7 Q) \0 H
  57. ---例如---
    / o3 ?2 Y1 y* q* G
  58. [ dbexpress ]
    9 b) k$ D9 ^# q; Q$ k* I" _* W
  59. sqldir = mysql_sql + u. z% G6 O" z0 d; V! S
  60. drivername = MySQL中5 @$ e' d+ J) X( c
  61. 数据库=测试/ ]# s% w" ~' E# V& l
  62. 主机= 127.0.0.1 ! t4 A% f. ?5 O3 T, e
  63. user_name = testuser + \8 c% s) u0 e; ]; A9 k# a9 y! R
  64. 密码= my_password
    ! z2 u% i3 G& U9 T4 T8 \' |& c
  65. getdriverfunc = getsqldrivermysql # ~9 K! ~/ ?3 p: g: O$ k: J, \
  66. vendorlib = libmysql.dll在) j8 P- f" G" ^
  67. libraryname = dbexpmysql.dll 9 O' p( _, I6 R/ r3 s$ ~* v9 w
  68. 积极= 1
    4 h6 u2 Q; C8 M4 s8 x. S
  69. ---例如----
    / \  G$ `/ o; g- K9 H3 M
  70. -写在0 2.03.04由p wk.linuxfan% ]6 e; R* h, L4 A
复制代码
发表于 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# x$ ]3 P& p: `! g

: W3 T6 J/ o9 H" A" Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-21 15:24 , Processed in 0.099265 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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