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

2952 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" W9 Z2 d2 O( k( Y6 _# N$ J
  `/ i; F! g  A6 U  `7 {, k5 z
  1. 1 v( q1 ~7 w5 s. G. @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ V) U# ?5 F' |; I; z0 X
  3. # I1 o( _! d  u
  4. ### What we need ###' N& R& E& F6 C% l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 R5 S8 |1 R' K$ N- ~
  6. will not explain how this can be done - there are documents out there for the 4 G% [( ^, k- U
  7. interested. The requirements include a (empty) database for TeamSpeak to use! u' G1 S; M) r7 S
  8. and a user account (username + password) that has the permissions to do stuff
    ( ~/ P' G% s, F0 `+ l/ y3 T
  9. with the database. Additionally, you will need a vendor library installed on the, f, B  z, [4 W/ R% ^" t
  10. local machine, this came with my MySQL install.
    ) S' ]1 o+ M. C) p: n! K+ f7 \6 o/ \
  11. These instructions will not tell you how you might transfer your data from the  o6 {8 R- f2 {* j  B" d6 L, m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, @' @3 C+ t% k, c
  13. database.
    ( s* I: c  V2 |; w4 P/ Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at' \6 r* p! N, S) D: r( Y# ^
  15. the time of writing, there are still too many issues - check the current status2 V* H; `5 u! Q
  16. in the TeamSpeak forums if you are interested.
    , o; ^- J+ i! H5 E) U8 _. K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% |+ y. z. c! o0 b! A
  18. Borland was used. This driver can only interface with the client library that
    7 u- n0 s; S; W/ p9 z$ y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - o& n# `! d* _  l: x9 z
  20. client library - basically all you have to do is to use a 3.x client library as % O" Q+ \. J1 c4 ]3 q# N) j! E
  21. "VendorLib" and a 4.x database to connect to.
    8 }% v% v" c' _. M
  22. If you need more info about dbExpress, you can contact Borland.  G+ O5 k7 R3 L9 V

  23. ' c6 D6 U$ s. m/ g: R: m
  24. ### Doing the work ###2 Z/ z% k9 N3 [3 Y6 {' c# Z4 O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + s  s6 b  o5 ?' \3 M# N- M% A5 K
  26. the perquisites right, just open your server.ini file, and add this section at
    , o* r& U+ F5 o. O* _' m
  27. the end:( X9 T1 z9 l6 x' C/ [5 J, Q
  28. ---cut here---( l/ y/ Z7 G$ o% M0 _
  29. [DBEXPRESS]
    0 e! p- j, o6 f3 J
  30. sqldir=mysql_sql
    ; X2 J7 w; B3 }+ U# Q
  31. Drivername=mysql
    2 v4 I6 i4 }( z% M8 Q
  32. Database=Your_Database_Name_Here
    ( r( m( L' `/ e3 R; g& u+ A% j
  33. Hostname=The_PC_the_MySQL-Server_is_on. _, K% L. q: }
  34. User_name=User_name_on_the_MySQL-Server
    ( g# g4 d+ s$ I- j9 P( r& y
  35. Password=Password_to_go_with_above_user_name
    ' X! U/ L! n# @$ s1 s- ~
  36. GetDriverFunc=getSQLDriverMYSQL# X& I( `, r+ u3 n5 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # l9 n+ `3 c0 t5 C$ r5 `! |9 I" V
  38. LibraryName=path_to_libsqlmy_libary
    1 j3 Y- c; w' ]
  39. Active=14 E# y7 ?& v! l1 d) t
  40. ---cut here---- I  a* |8 m- t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) A- ^8 Y7 k" ]+ M5 j3 e
  42. ---example---
    ! [) I4 Q  g9 s" z+ U
  43. [DBEXPRESS]& a. V: _7 I0 i1 J4 I
  44. sqldir=mysql_sql
    2 [$ u- u6 c+ q4 _9 P' C
  45. Drivername=mysql! n7 u* h: ]& R! |0 z
  46. Database=test
    , x0 M! `" I0 @5 H' l) B0 B' s0 @
  47. Hostname=localhost
    ; q6 ]/ K: n' C  a! S$ ]; ^7 o! c
  48. User_name=testuser
    , @7 `" W$ }5 G. H. T* J& q* X
  49. Password=my_password
    3 q* S2 B; \: h) p8 h
  50. GetDriverFunc=getSQLDriverMYSQL
    - u1 a9 I  u+ h* G5 E' G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 N* B$ j8 a! b5 m3 Q' p. q
  52. LibraryName=./libsqlmy.so
    - N6 v) R2 D6 t' y, ?
  53. Active=1" C/ |* B0 {0 Y8 F. Q8 p' a5 ^8 E
  54. ---example---% C5 M" k+ j, b4 `* @, E

  55. & \+ f- ^* S- m
  56. On a windows box, also running the MySQL server locally, it would be:0 _9 M/ z9 D2 a: V' T
  57. ---example---
    * n+ D/ d& c! }+ |+ v6 D2 I( O& `5 I) a
  58. [DBEXPRESS]) \' y1 R: k  l$ S! v
  59. sqldir=mysql_sql  Q3 a4 g- J7 G" M. g) K1 {; {
  60. Drivername=mysql7 [% X8 [7 U8 O+ x" K
  61. Database=test
    8 ]' h4 @/ l# k6 D) j1 S: z
  62. Hostname=127.0.0.1
    3 l+ b4 y$ a5 G& q* l7 m- T/ [
  63. User_name=testuser
    & X# Z1 H) R; q- U# y& p
  64. Password=my_password4 f+ s% z: `+ l% E6 x* N; W
  65. GetDriverFunc=getSQLDriverMYSQL8 V8 w$ x. J* P6 [$ R  C2 N
  66. VendorLib=libmysql.dll. g+ v* C8 w7 V+ ]$ \
  67. LibraryName=dbexpmysql.dll
      w2 O" s/ N; ]/ Q7 d' {5 f
  68. Active=1' e4 S, N# L# @# h. X
  69. ---example----# l' t+ `; A/ F( b2 k) n3 ]5 a
  70. - written 02.03.04 by pwk.linuxfan" @8 T* g% x2 m1 s% a
  71. 0 ]/ Q  l6 E) H0 k- L( R! o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 a. {) c7 R; }0 ~8 d9 T

  1.   R2 X/ o$ |, I6 x2 @; d# U2 k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; ?2 y& y# c# _& s8 K3 ^9 [. P( q- Q

  3. ! q; T7 U) c& F4 {# D1 @
  4. # # #我们所需要# # #
    ; l& e, ^$ l  y8 `1 H+ Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      p" e/ ]6 g9 F! s
  6. 不会解释如何做到这一点-也有文件存在,为0 V$ H; v! {: Z. z* l- I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 v9 y* V( k; N; h' J' h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : h& l+ C$ N* ^% E5 K1 o5 P( D+ x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , e+ [  E$ M) V; ^( M
  10. 本地机器,这是我的MySQL安装。
    * k# V8 Q8 F7 B1 c7 x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 A$ y) z2 M' a3 W/ R% C4 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 n* e& V; E! ~8 w4 o
  13. 数据库。
    # J; x( i; }1 e( X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 k  K( j9 A: n- A! b/ ]( M
  15. 编写本报告的时候,仍然有太多的问题-检查现状' ^! U( {$ r7 _
  16. 在teamspeak论坛,如果你有兴趣。 ! h# g. E2 v8 }, A8 ]0 q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" K( h: [6 j9 [: H3 u6 J
  18. Borland公司使用。这个司机只能界面与客户端库
    6 e4 i( \/ x2 a- J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 ^: ^6 ]6 S+ z! U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ o% V; M% c. Q" o/ Q9 A
  21. " vendorlib " ,并解数据库连接。
    ' q" b8 V( N+ s) P" E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . k4 v. O5 r. f: K$ n

  23. $ F6 e, i# a0 S3 E. F& M. F
  24. # # #做好工作# # # 2 G& Y7 H( F0 R# N. l* C: v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 @( [, Q! M# _* k7 ]& F$ m5 h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " Z$ Z9 ?/ d; k1 f6 h5 v6 b
  27. 结束:
    ' P" ?; q; _. D0 ?2 H
  28. ---削减这里---
    # \4 H. C3 B+ p0 n( l% }2 @, u; N
  29. [ dbexpress ] 4 C( L; _9 t! f( v" J
  30. sqldir = mysql_sql
    # T7 R" |. L5 j9 A% m
  31. drivername = MySQL中9 K/ V, U7 M$ J6 |) C" X
  32. 数据库= your_database_name_here 1 Q; d4 I% ?, i
  33. 主机= the_pc_the_mysql - server_is_on 7 x- e; x: ]; ?2 a
  34. user_name = user_name_on_the_mysql服务器+ F" h. G  O2 X: ~6 R) p: {* }
  35. 密码= password_to_go_with_above_user_name 2 @7 g* [' j0 e% Z" _
  36. getdriverfunc = getsqldrivermysql
    " i- |" O: {7 S% N+ {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 w: y" v) _) i# G3 m
  38. libraryname = path_to_libsqlmy_libary
    7 I/ \0 o% j* K! s/ z
  39. 积极= 1
    + q2 r$ {1 q& Z2 p' N
  40. ---削减这里--- * F8 |* }* O3 m  B# H5 b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 l% t8 F8 N% B& v  N9 z! s5 a" l6 Q
  42. ---例如--- # g7 G  f7 B+ w' ^4 j0 h
  43. [ dbexpress ] , h( W) }* r6 a" z. r- ?: f
  44. sqldir = mysql_sql
    5 @" {6 [6 {& H% A1 Y" r0 @
  45. drivername = MySQL中
    9 `2 t8 @' K" H" P
  46. 数据库=测试2 p) |. L3 ?- e: g
  47. 主机=本地主机5 w3 S7 O" o+ _% M/ V& }" z
  48. user_name = testuser
    ! Y* o/ U* p$ x- }
  49. 密码= my_password
    6 p* {* z( I3 C& }/ n1 Q
  50. getdriverfunc = getsqldrivermysql
    : [9 H0 z9 D! q6 J- t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * B6 a. {2 U0 U3 ]2 a
  52. libraryname =. / libsqlmy.so
    # j6 H8 k6 _) h, x& }/ i  q+ x
  53. 积极= 1
    & u" D. Q. r3 p( D# D' ^
  54. ---例如--- ; d3 P6 D% N! I& X

  55. + ?$ i, O/ R$ ~' X& Z4 k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " X, r+ A  ^  a2 g( u& C, K5 }2 v
  57. ---例如--- 9 ?( ?$ [0 {1 v6 B) t( \: r% l9 n
  58. [ dbexpress ]
    2 y$ y/ x- U/ P9 Q& R& \& Q
  59. sqldir = mysql_sql
    3 R7 x/ F, f6 j0 D
  60. drivername = MySQL中0 x) w1 W. }  ^# n
  61. 数据库=测试
    ! b7 \7 P) x9 k( z* r+ J0 n( ]
  62. 主机= 127.0.0.1 1 ?) e# t" D# Z9 G  g
  63. user_name = testuser ; `$ _; K7 X8 \7 ]' l( K
  64. 密码= my_password
    / f7 n3 ?5 O' N/ \! x
  65. getdriverfunc = getsqldrivermysql
    % L% w9 q: D, j* p" v6 H
  66. vendorlib = libmysql.dll在
    , v7 `( R/ ~  L& C# w
  67. libraryname = dbexpmysql.dll   N% @2 a  ]5 ^6 p8 }4 j2 y5 D% H- f
  68. 积极= 1 ! V. t/ _4 g0 \! c
  69. ---例如----
    & R4 {  ^" l; p( k2 O7 y0 u: L! x
  70. -写在0 2.03.04由p wk.linuxfan4 @1 A3 t1 f# y* Y9 b0 i6 L7 V
复制代码
发表于 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 words8 e, U. {# M) W7 R0 |

- z  N" ]% w3 C( H' Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-29 22:55 , Processed in 0.103223 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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