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

3106 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( J5 i  D+ `3 S. v" P$ M, [; G4 e5 Y+ w9 r0 j( ^

  1. 1 L# Q6 C1 W0 K/ r2 Q* [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 a3 z2 M7 ^2 I! G1 [. m7 w! j- a

  3. ; Z, Q8 Z( i1 R$ G; H
  4. ### What we need ###/ S4 e2 L: q8 w. i, e
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 C- C' z8 T# o6 t! V; B) A
  6. will not explain how this can be done - there are documents out there for the # I& ]- a" k+ P4 D( x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 g0 O/ S7 e) Y% J. ^( T* c
  8. and a user account (username + password) that has the permissions to do stuff% _% q! q+ h" Y3 k1 v: t4 I
  9. with the database. Additionally, you will need a vendor library installed on the0 O+ @! \6 R+ @3 t" B, M. A% [+ q2 K
  10. local machine, this came with my MySQL install.
    ' o7 n3 E1 v; o* @, @. N0 T' F
  11. These instructions will not tell you how you might transfer your data from the0 X( _5 r& l* c1 H6 v3 q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 a- v8 p- z8 W! }6 ~2 D
  13. database.0 H' S$ B' o( U4 k; v( f/ n
  14. Some users have reported ways to import a SQLite database into MySQL, but at* p" w; R7 K- S- I! R
  15. the time of writing, there are still too many issues - check the current status% Q( H! K* q. C% r; E/ H
  16. in the TeamSpeak forums if you are interested.0 r; w/ Z' L5 @- s) b# |; Y8 Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- [8 l7 K% ~, G, k: H. L
  18. Borland was used. This driver can only interface with the client library that $ y0 s1 j  w# C. C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, o0 Q* _  ?- U( Y  W/ m
  20. client library - basically all you have to do is to use a 3.x client library as
    % T9 R" \5 R  u# E6 x+ b
  21. "VendorLib" and a 4.x database to connect to.4 w: Y1 f. T* z
  22. If you need more info about dbExpress, you can contact Borland.9 @( |, D5 X8 j) N* e8 e' R
  23. ! T8 j* _5 [9 X/ p) i
  24. ### Doing the work ###
    9 a, z' a+ R. r* r2 W$ k. T4 _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 g3 ~7 O2 y; t$ e" H$ \: k  l1 I
  26. the perquisites right, just open your server.ini file, and add this section at+ T& K6 N6 w9 ^. m
  27. the end:8 O+ @. u/ T3 Y& h" h
  28. ---cut here---
    / i/ W* z5 q3 M2 \
  29. [DBEXPRESS]
    3 @6 h9 n; H6 c9 \% G* G" e* D
  30. sqldir=mysql_sql
    3 y! M. g1 g( _: r! m" Y
  31. Drivername=mysql
    8 n) V, s* L" T# t
  32. Database=Your_Database_Name_Here
    7 _$ c1 O& w- a* D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # K: ^4 \1 H8 T, j- ~" \
  34. User_name=User_name_on_the_MySQL-Server* {( p% T4 H0 w0 _. R& j" p
  35. Password=Password_to_go_with_above_user_name
    6 @  ?4 k' F8 W* [+ [2 o/ \
  36. GetDriverFunc=getSQLDriverMYSQL
    ' o2 M) g% n' a  p, V/ O, P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% o" s+ i' f. x% c) ?) B
  38. LibraryName=path_to_libsqlmy_libary+ B8 u, l, J3 p, w7 e% h
  39. Active=1
    ) U# V* s5 S" S, d# @9 W/ C
  40. ---cut here---
    2 p9 q3 B2 d7 i3 U% G
  41. In my environment (a linux box with a MySQL server running locally) I have:8 x$ B; `1 n3 X- f( _( E
  42. ---example---. V5 q* \* `6 _# C, x* Y. G
  43. [DBEXPRESS]
    ' d' B9 p0 f  h& D& g& m6 U
  44. sqldir=mysql_sql
    * i; y3 ]! \& m+ j! V5 l5 x2 B
  45. Drivername=mysql5 {  K& v: p* M: R
  46. Database=test
    ! u1 y& _) J, o) Z$ N( |4 M5 ~
  47. Hostname=localhost5 _3 `+ ?/ c) w9 m: R9 b+ [6 t& ^
  48. User_name=testuser' x/ B0 w# C8 m/ ]+ @
  49. Password=my_password
    $ P' @; A: t- ^$ |& A6 B
  50. GetDriverFunc=getSQLDriverMYSQL- E9 t. A6 B! s7 s! \3 S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 F! `" S3 j6 \: {: W9 q8 P
  52. LibraryName=./libsqlmy.so
    7 u- w/ {9 W: c9 n2 X$ d
  53. Active=1' P; _  x  @  t$ ^" a# F! T
  54. ---example---1 N4 ]* }8 l$ ~, R* l1 y) ^
  55. 1 p- c/ Q1 j( e. ?( V
  56. On a windows box, also running the MySQL server locally, it would be:% N1 c3 }( }9 i' X
  57. ---example---
    " a$ M: x4 v' j
  58. [DBEXPRESS]
    7 ?9 ~0 p" k3 }* ~- F; E
  59. sqldir=mysql_sql
    , V) t. Q4 q% Q& N$ z( u4 ~* \
  60. Drivername=mysql
    # w+ m9 w0 s, \" h( ?6 Z
  61. Database=test
    / I% i" [, S6 I6 W
  62. Hostname=127.0.0.1
    3 f$ l1 w+ l& w9 w
  63. User_name=testuser! N3 g$ U( n8 @# X/ I; K
  64. Password=my_password3 m* M7 D/ G( C! e5 _8 z, g$ _/ i
  65. GetDriverFunc=getSQLDriverMYSQL1 a( V1 k, m  U" ]
  66. VendorLib=libmysql.dll* C" {; R5 t8 m% e) J
  67. LibraryName=dbexpmysql.dll0 Z1 r/ H2 }* s% m" `
  68. Active=13 {- ]) p; ~4 D) T1 ]* K, r
  69. ---example----' d9 I) _5 c$ v2 @. J( ~6 m: i
  70. - written 02.03.04 by pwk.linuxfan( Q3 T. Z. X4 j: J) k7 _' D

  71. $ m/ f! F$ f7 f4 B  \6 p3 y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' i* i4 e8 W; g6 N

  1. / u% `9 r, Z4 G3 n' ~$ R* m7 y" |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 }6 K- }1 t" L& i& N4 |. Q
  3. $ Z( \9 |# m4 J$ Y- U
  4. # # #我们所需要# # # 3 W* H. O2 |8 V6 t# e6 L# z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ s: d$ X, j+ M7 U: `% S" b+ C
  6. 不会解释如何做到这一点-也有文件存在,为. c) I; e  Y" u5 X* J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 _1 y$ t0 x& B  k9 [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( W0 I7 n3 ]& t- y0 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. s1 ^, \2 N. Y( x( D( Q9 b3 H
  10. 本地机器,这是我的MySQL安装。 . l+ P1 R5 U3 N+ L8 B3 w* Q# I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( F0 q8 g8 v, y  E: c# i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( a- s1 R4 }) f  A# C! B+ x  k- w
  13. 数据库。
    ; U" D: a. L1 t- Z6 z% ^$ ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 l% H6 L: w0 [4 B6 @$ {
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 T8 q/ \. w* s+ i7 Z; N, i
  16. 在teamspeak论坛,如果你有兴趣。 * H# y7 {! w  V5 M3 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 U9 b+ ^: k4 r( d
  18. Borland公司使用。这个司机只能界面与客户端库; E0 O, g- X( g0 _+ u# B2 v+ S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, f; g" V2 f2 v; K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- H9 f; L4 X& ]1 Q4 p8 W, Y" Z) q
  21. " vendorlib " ,并解数据库连接。
    8 ^9 Q# g5 M7 u6 L  R' i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 P) I! S$ r1 {

  23. 2 q% `. z! |; L+ s, \+ H
  24. # # #做好工作# # # 3 g" Z# p" T5 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! S7 O5 C$ W& M+ L" ^/ \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 a) G9 s( c3 Z/ Z( B
  27. 结束:
    - p) h: r0 Z! C" Z
  28. ---削减这里---
    " R3 D, y  }* k/ x6 t; e
  29. [ dbexpress ]
    9 [* v( q/ A$ }8 E1 t( @0 T$ [) v
  30. sqldir = mysql_sql % A& @: a2 }% r* `# L6 h( W
  31. drivername = MySQL中
    7 `, |6 z, J$ N: [' n7 w; S
  32. 数据库= your_database_name_here
    # _) ?2 \  r. ^! f' f  L
  33. 主机= the_pc_the_mysql - server_is_on ' w+ r, ?5 _# [9 k. [
  34. user_name = user_name_on_the_mysql服务器3 l% M/ p7 L6 d2 i( t8 M
  35. 密码= password_to_go_with_above_user_name & ^$ q+ n- x) D  y
  36. getdriverfunc = getsqldrivermysql ( x3 w% Z0 J( R& ~! S2 q: A/ {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % i- L0 B( |0 b: }, |
  38. libraryname = path_to_libsqlmy_libary
    4 X- e5 e& J$ r
  39. 积极= 1
    ' ?/ B7 E/ Z4 p
  40. ---削减这里---
    4 {6 l$ ~2 T! j# m8 H0 t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 a8 J0 Y3 N1 r; e. S0 s( X
  42. ---例如---
    ! L6 E3 ~: @1 L% p% L, v
  43. [ dbexpress ] 4 j+ h) a" f) W8 E9 Q4 t
  44. sqldir = mysql_sql " _% b" e2 a/ m8 f3 N, P4 G
  45. drivername = MySQL中; {  w9 M8 R1 F0 n
  46. 数据库=测试
    1 N" ~" i) I  p. v* k
  47. 主机=本地主机
    % L$ c6 I; O5 z; \% h, j, ^. y. x
  48. user_name = testuser : F4 K% }" }$ m  T3 Q
  49. 密码= my_password
    9 q  U3 _9 V/ C1 T+ J
  50. getdriverfunc = getsqldrivermysql 4 H3 @1 T  j4 L  q0 s% W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 W1 l0 q0 t+ q2 l' N- `- u. A
  52. libraryname =. / libsqlmy.so 2 j; f& S4 k0 W+ [0 L
  53. 积极= 1
    * r7 U$ K% N3 z* i# @; L- ^
  54. ---例如---
    $ `9 {9 C# W5 Q- n* N7 t" p
  55. ( @# M' _+ k2 o; Y8 s& C, D
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / ^! B7 _5 w. Z6 D; l
  57. ---例如---
    2 E8 P4 l8 x2 Q& N# ?$ M  V
  58. [ dbexpress ]
    ) K0 J% P8 p# r7 f/ B" ?) F
  59. sqldir = mysql_sql
    ' Z% R4 [' c9 q- s, ^
  60. drivername = MySQL中
    6 S, ]% |% D5 I/ r( y6 X
  61. 数据库=测试
    4 r) V1 [8 G) q! w, A
  62. 主机= 127.0.0.1 0 B7 R6 |( O7 z( D4 B, r3 O
  63. user_name = testuser % a' d" z! y# `
  64. 密码= my_password   x2 G0 n! u/ O" [2 }
  65. getdriverfunc = getsqldrivermysql # u4 W/ O* F" ^1 {. k* j
  66. vendorlib = libmysql.dll在
    8 j8 G) s  X4 G
  67. libraryname = dbexpmysql.dll 8 c9 S0 p& X+ }1 `1 E
  68. 积极= 1   x+ @; U: p3 c3 z4 F6 q
  69. ---例如---- " r1 g: [+ N5 [) }$ I) [) e1 l
  70. -写在0 2.03.04由p wk.linuxfan6 y* \* `% f) d
复制代码
发表于 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 words2 E5 ^( w3 Y9 S; X

* S+ u' s: @  z$ Jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-3 08:23 , Processed in 0.100526 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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