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

2343 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, Z- G7 p% r+ H* s- E7 q9 {" [& F1 O6 b9 n
  1. ' N" c1 w% [0 {3 m) {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 G2 m- r. z+ r& C  |1 f/ L

  3. . U+ a# d! B, Q) l2 N1 d
  4. ### What we need ###, h: u* w2 f, v$ n1 X
  5. Naturally, we will need a MySQL server to store the data for us, this document
      f2 b/ _, ]  Q4 o( u
  6. will not explain how this can be done - there are documents out there for the
    6 U2 e  N) C/ N% d% x
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 }( ~# |- S: @) U$ P/ Q! ]
  8. and a user account (username + password) that has the permissions to do stuff( `: M2 a& ?! W8 E) y9 o
  9. with the database. Additionally, you will need a vendor library installed on the) P" C3 v  n" `
  10. local machine, this came with my MySQL install.
    ; M3 k$ z1 [5 r8 \5 F8 U
  11. These instructions will not tell you how you might transfer your data from the
    & Z( i! D. Z) ~  C2 o6 m) f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & {7 B2 h# p( y
  13. database.
    & X% z  _9 z7 ?) w" t# C, T, e& T
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 w3 k/ [, `1 B# w0 G
  15. the time of writing, there are still too many issues - check the current status  A1 x& F+ g9 E1 N& C
  16. in the TeamSpeak forums if you are interested.
    7 g; P: B/ T; ^; y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: z( m1 K* b* |. l( j0 z" |
  18. Borland was used. This driver can only interface with the client library that
    # I4 c% f; `$ ]) E! U- e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 u" }7 i' S: u% i4 b
  20. client library - basically all you have to do is to use a 3.x client library as
    & \0 @5 P3 W: U! ~" Z8 Q; B
  21. "VendorLib" and a 4.x database to connect to.: z" _, Q" n# q- l( e# h
  22. If you need more info about dbExpress, you can contact Borland.
    + j2 Z0 ^- U5 j5 Q5 j2 r6 k

  23. * f) ^1 w7 {2 `$ W
  24. ### Doing the work ###
    * E( n# m& f. u) T. _! W4 [0 o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 ?# P& A( ^) u" b$ b( \
  26. the perquisites right, just open your server.ini file, and add this section at' `  }( I: D- y* R0 F
  27. the end:
    2 v9 I, O5 n8 M: K
  28. ---cut here---
    + l8 N5 g" p; \9 V& j% y
  29. [DBEXPRESS]1 O% S. w" `, i/ C6 }- j5 R8 e9 t
  30. sqldir=mysql_sql
    2 i3 y+ Y# H* j( l/ K* }7 H
  31. Drivername=mysql
    $ K* b- c. l* K" P
  32. Database=Your_Database_Name_Here6 O( c% L9 @6 S$ a, C
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 M7 y2 M  a( ~( e4 J" K+ q
  34. User_name=User_name_on_the_MySQL-Server2 i  q6 ^5 N0 _: J0 W8 Q. e
  35. Password=Password_to_go_with_above_user_name. W* Q- y0 w' |% f) F
  36. GetDriverFunc=getSQLDriverMYSQL% x9 d% T5 {1 q* ?: F1 D  W9 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ f% K1 k, o; ^1 `' q0 X  f: e8 R1 Y# B$ w
  38. LibraryName=path_to_libsqlmy_libary$ [3 J; _$ S5 _. t* j  l9 e
  39. Active=15 ~# E9 S/ m. z4 c# _/ ]( Y; ]
  40. ---cut here---
    1 `$ C: r$ d9 _: g$ D
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / z! \/ Z; `  [" s) v( C: ?# e( @
  42. ---example---
    1 J7 `6 N( L( J2 c2 Y$ f) Z
  43. [DBEXPRESS]
    8 y0 ~- C2 F; ^0 ^! e: u5 X
  44. sqldir=mysql_sql! m' X; p: w$ y2 A$ ^6 K  S
  45. Drivername=mysql& u6 F" V7 C5 D* i
  46. Database=test
    ! H4 g, e, f# _
  47. Hostname=localhost
    - [% P* b9 t) X+ w: O: ~
  48. User_name=testuser
    ) u, B, G0 z" B$ I
  49. Password=my_password
      L3 O# @) H0 e% ]* c1 }
  50. GetDriverFunc=getSQLDriverMYSQL
    ( W/ D  Y, Y! k: \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 g3 W/ ?% e+ Y& I  q" J3 M
  52. LibraryName=./libsqlmy.so- e5 Q, l5 c; B* w. H+ ^
  53. Active=1- W, }4 {$ e7 |
  54. ---example---* l. J) \, Z+ o( @. ?. x

  55. 3 u( b+ L& _/ `9 U" e/ P6 ?
  56. On a windows box, also running the MySQL server locally, it would be:
    ; B8 i6 O+ f' s; @, C
  57. ---example---# G5 g. ]( p' o/ _! d0 n7 p& u0 w: R5 H
  58. [DBEXPRESS]4 X2 J( b2 B% o1 B0 J$ r
  59. sqldir=mysql_sql
    5 ^0 i& u+ _! P" Y" G5 n
  60. Drivername=mysql' I* |& z) y0 \2 E
  61. Database=test
    - q: k) H2 x' v' t0 z
  62. Hostname=127.0.0.1# C. K  W3 k0 u9 q
  63. User_name=testuser6 h) j  ^" k5 @$ B2 w. d2 p
  64. Password=my_password
    ! G. a. B( N/ l" Q1 y' A# ^* H% q
  65. GetDriverFunc=getSQLDriverMYSQL
    , I9 K! X9 B) [& ?' O2 @/ B2 X
  66. VendorLib=libmysql.dll( I% K' g1 p/ d3 J% h& ^
  67. LibraryName=dbexpmysql.dll$ ^. l2 E+ O7 Y) Y8 L
  68. Active=1
    / M" o- b, O# K7 H
  69. ---example----% b& d9 W& l0 d2 H: I2 L; W% w
  70. - written 02.03.04 by pwk.linuxfan
    . [2 N& w0 I. A  v! k5 Y

  71. * q  e. f; f4 |% G. x) T; b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, x/ G3 @. b1 u. ]: V( h+ F* x

  1. 4 v# }- V# P2 M$ _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : U- G  H* Y! a, q: n0 k+ Z- m

  3. ( s. ]1 j! k7 D3 s4 I
  4. # # #我们所需要# # #
    " H; R* n+ _1 }% v  j( p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% S4 U( F+ D- A) v+ a. I) t
  6. 不会解释如何做到这一点-也有文件存在,为
    1 n7 I. f( |) A2 r& J+ f; N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& V) Z3 c8 d' S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 {9 s, i+ z7 m" B, Z2 v& v/ v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! X% T8 F- W6 m. o/ C3 y) Z$ l9 o: [2 C
  10. 本地机器,这是我的MySQL安装。
    ) G! h5 G& d% h% F# Z1 r" n; S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) v; X1 w2 y: B* z6 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 K  I& e5 G; B! j% ?5 i
  13. 数据库。
    1 d0 j+ W! B* j. B' c% K) p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % u# [# C  u& x( Z! k6 l( f' Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状: h# j! v1 V, N' Y$ }
  16. 在teamspeak论坛,如果你有兴趣。
    4 Q6 d( o0 f" i: o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 Z8 x9 M% E# k: @
  18. Borland公司使用。这个司机只能界面与客户端库
    . R1 U. [- q4 `% H/ B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* U2 h, V4 C" ~9 I8 T4 r; t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . c3 h* v2 f/ u7 t: {; r
  21. " vendorlib " ,并解数据库连接。
    - P: e1 w$ W- Z9 H( T% I% k* ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! }. N3 R) Z% i. Q) S
  23. 7 X8 m+ A2 Y" w% z- Y: u! x$ C2 {1 h
  24. # # #做好工作# # # : ]+ `4 y8 _- X4 e7 b( I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * c9 c$ D0 M8 [' ]$ W! ~! s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ K% O/ z. ]6 x% S6 z+ D- F
  27. 结束:
    # F$ n" S3 P0 q$ s( O1 i# o& S
  28. ---削减这里---
    6 q2 z1 q8 e% ]- L2 H
  29. [ dbexpress ]
    7 p2 U! f( w" j1 h$ e7 |4 n
  30. sqldir = mysql_sql
    2 }4 r; `9 j3 S- J: X
  31. drivername = MySQL中, q( O# k6 z) Q* \/ R6 A) A3 c' U
  32. 数据库= your_database_name_here
    $ F9 S2 O' X3 @; y+ k  z
  33. 主机= the_pc_the_mysql - server_is_on $ V* W! ]; R, R$ O
  34. user_name = user_name_on_the_mysql服务器
    ; f( D" P* Q  p# B/ T; K  _
  35. 密码= password_to_go_with_above_user_name
    7 h% B" K, b$ i* s, o
  36. getdriverfunc = getsqldrivermysql
    8 Q0 u7 w4 x8 ]: R' `$ n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , J( [+ X8 F: P$ J9 W% u9 k% s
  38. libraryname = path_to_libsqlmy_libary
    ' A  S' V6 Q2 u# c# x& g0 t" _& z
  39. 积极= 1
    + N& V6 [0 j) i* v
  40. ---削减这里--- ) p2 r3 R, i  o6 z- V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' `+ k4 Q* X/ R' Y! h0 p& ]) r+ l
  42. ---例如--- ! S6 V+ y, n7 Y: \$ g
  43. [ dbexpress ] # }* c. T, l8 K+ [2 y, T
  44. sqldir = mysql_sql 2 F8 t5 K) a" N8 r) V
  45. drivername = MySQL中
    * ~6 Z/ R. y  l& V' q& z) |
  46. 数据库=测试, E# h; v& E, B' Q
  47. 主机=本地主机6 [( ?9 d# v' n0 \- ?2 N
  48. user_name = testuser
    5 I3 T# }& ?/ I
  49. 密码= my_password 3 y" t3 [' Q" l& ~
  50. getdriverfunc = getsqldrivermysql
    6 A9 _: ]) K' x5 E( X) _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 N" F+ u2 `+ U# G* `* P" ^2 b4 h
  52. libraryname =. / libsqlmy.so " j* J* t, G7 i6 Z+ O% z6 T
  53. 积极= 1
    4 I' P% t' f$ j2 x$ C  V: q# V
  54. ---例如---
    4 l, l/ u7 z+ S4 ~9 N

  55. % n/ z, t) N# q; H+ W) ]$ |
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 c0 k. @% K% a2 x: {/ y
  57. ---例如---
    : [6 U; v) U( u
  58. [ dbexpress ]
    : W; |( G9 t; r* W& M
  59. sqldir = mysql_sql 0 R. u- C, G: x+ s7 ]& g
  60. drivername = MySQL中
    7 P* K* x2 T/ p* b0 V4 `
  61. 数据库=测试8 X8 H8 _; W1 q! y7 l6 g& w
  62. 主机= 127.0.0.1 1 r# m9 H7 c9 `$ F  G
  63. user_name = testuser
    5 J. J& f+ H8 w9 I% U% w. K6 e
  64. 密码= my_password
    ; A, V, b$ Z- _, h7 Q! e! z1 N
  65. getdriverfunc = getsqldrivermysql " g& W$ c: Q- o! B5 d# k/ U
  66. vendorlib = libmysql.dll在: o& [/ R- m; C1 ]
  67. libraryname = dbexpmysql.dll $ i- n9 X0 U* J' P- t8 d/ v" h
  68. 积极= 1 ! z6 z" t  B/ O1 w8 g
  69. ---例如----
    # b. j0 F# e& ?5 o" S
  70. -写在0 2.03.04由p wk.linuxfan
    $ o1 Z. U: V- ^7 R7 x
复制代码
发表于 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 words1 \" {2 H+ Y+ h, v+ \# V& `$ m

/ J$ z+ E, X9 g1 T% ]but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-27 14:53 , Processed in 0.106763 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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