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

3622 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' r8 P# P) {0 v+ {" Z" D# ^% b; _
: x1 C7 F) n9 A( D& k

  1. ! }3 ?5 ?, }) X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ h( C/ h5 J( k
  3. $ N% u. X+ ]  F* w# b/ J. t% B' Z
  4. ### What we need #### H; J1 e/ ^. x7 g& ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
      q; I& U# v# l, c* V
  6. will not explain how this can be done - there are documents out there for the # v: C7 X. M- V1 C3 ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use! H) |' Q2 b- ^  k$ o/ b
  8. and a user account (username + password) that has the permissions to do stuff
    ) Q1 j' ~$ p% h- j9 @3 [
  9. with the database. Additionally, you will need a vendor library installed on the
    3 ~( m* m3 s# g0 l7 ?6 ?
  10. local machine, this came with my MySQL install.( S1 g$ z3 X9 k4 P* ]! g
  11. These instructions will not tell you how you might transfer your data from the  U9 S1 }% o+ `/ C7 L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 v7 M. c6 y. s
  13. database.- F6 i  b) p) m: k$ J$ Q, \# \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! A8 o1 j! N- |2 A6 W, h
  15. the time of writing, there are still too many issues - check the current status" n$ _" E( m) |/ M; k* i$ l
  16. in the TeamSpeak forums if you are interested.* a* ^5 M, A: d3 h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 M0 k  f  v% O, _  Y* Q3 W
  18. Borland was used. This driver can only interface with the client library that
    " I9 O. K+ \% d' k8 I: Q5 I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - M) c, J- a5 B, C; O
  20. client library - basically all you have to do is to use a 3.x client library as
    4 @5 G( d: a' F3 z+ `# e
  21. "VendorLib" and a 4.x database to connect to.
    - p" e3 I6 p; |: [
  22. If you need more info about dbExpress, you can contact Borland.
    , C; Q$ L. T/ w% R
  23. 2 d/ f) n: c0 F/ f* R& Z& h. h% _, ^
  24. ### Doing the work ###
    % X' s9 z) z3 E: [. p8 k# p4 u/ J' U$ x2 F& J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: y' K) u% }7 C4 a2 V
  26. the perquisites right, just open your server.ini file, and add this section at
    : w1 r: [# G+ L, S3 T* F
  27. the end:
    % u$ v3 s" Z1 |+ U# |( q, a
  28. ---cut here---4 e! ?! }% C: m6 _7 S' a" v
  29. [DBEXPRESS]
    3 R& `, y1 S( H" O3 w
  30. sqldir=mysql_sql
    8 [8 H5 `3 X" B% [' c7 B0 S
  31. Drivername=mysql1 e. G) d3 y0 Q3 ~3 P+ C9 y
  32. Database=Your_Database_Name_Here
    ( S  {' L7 }" g% h1 q  L
  33. Hostname=The_PC_the_MySQL-Server_is_on5 R- h+ D$ t+ D. i
  34. User_name=User_name_on_the_MySQL-Server
    6 d( v! F6 M: H/ f6 V7 x$ M
  35. Password=Password_to_go_with_above_user_name! G9 T. U& M, T; J7 N
  36. GetDriverFunc=getSQLDriverMYSQL/ [4 R; X' z3 |6 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ z' \8 g1 _4 q+ k) a) _1 {8 h- }9 ?
  38. LibraryName=path_to_libsqlmy_libary# u$ {5 t: f  W% B3 j
  39. Active=1/ ]# B' ]! y/ W( S3 t* b
  40. ---cut here---
    9 j- f) z! Q/ l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % r- [/ @- c0 X2 E4 J$ c
  42. ---example---
    ) W+ R( }& X4 w% n% R) w
  43. [DBEXPRESS]! K/ L1 \$ p" R
  44. sqldir=mysql_sql% }2 K+ t( D- L( t8 }" m
  45. Drivername=mysql& D$ K8 C# {2 i7 v) J- `9 ]
  46. Database=test4 e2 Y. Q$ n+ H$ C
  47. Hostname=localhost
    ; \  e* H- G9 w5 ^" x) w7 V
  48. User_name=testuser# t& Q" H3 i9 A2 s  N( c9 q& W
  49. Password=my_password+ ~& f+ f* k" w2 l5 w3 b7 [  X
  50. GetDriverFunc=getSQLDriverMYSQL
    , b1 Z9 t2 q# I7 a4 H3 H7 }4 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 s; Z1 W$ {  a) C. [/ U- u/ D
  52. LibraryName=./libsqlmy.so
    . i: ]1 ~: X6 \9 D0 T" d
  53. Active=1
    " G% T/ T9 v7 M) F- d  R2 B8 i8 k
  54. ---example---% b0 @# w% f; [& x- a4 c$ s8 m. X5 v

  55. 9 Z& d% J/ [2 F% k6 ~# t& [
  56. On a windows box, also running the MySQL server locally, it would be:: ]6 y, b( V/ S0 D, V5 p
  57. ---example---
    $ @& b; e6 X% j5 d" R9 l' O! Y
  58. [DBEXPRESS]& G9 Y! F/ a: P
  59. sqldir=mysql_sql
    1 q! b- y. N/ D3 p8 B2 g
  60. Drivername=mysql3 q0 G1 U! r6 x! c4 p& {: W
  61. Database=test6 g: [, w, j  `9 O
  62. Hostname=127.0.0.1
    - h  m5 W/ [' f
  63. User_name=testuser+ t" Y3 B3 ~" v/ z3 D: C
  64. Password=my_password
      _3 I  [* x* w0 v. f
  65. GetDriverFunc=getSQLDriverMYSQL
    + x  ^; J# f( A: ]* O2 ~9 F
  66. VendorLib=libmysql.dll  v  g* \/ e! k# g. l$ w' c+ ^
  67. LibraryName=dbexpmysql.dll
    ! N1 G6 z, Z) [) N6 n8 f
  68. Active=14 z: K) d  a0 q; M! n5 g5 A, c' C
  69. ---example----* Q8 S7 S7 G, n2 u
  70. - written 02.03.04 by pwk.linuxfan8 }0 _% ]! O1 U5 E! L
  71. 8 X$ q! A6 C0 V: X2 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ d6 C& R( c8 d* X) G' H6 \
  1. , g2 l" a* X! s6 r, `: T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 b$ w  q; f: p' ?! T" l7 n, L
  3. 7 z9 m0 G! F; r+ P7 b4 i$ a
  4. # # #我们所需要# # #
    + I" s. M. W+ h/ U8 r8 M- z, F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' p5 S5 I: j- X+ q! h  o& O
  6. 不会解释如何做到这一点-也有文件存在,为
    2 w  ?9 N7 r! M% M$ e# M! `0 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  P# O, {. K" R$ V, z7 g  [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" F9 b  F0 q, D, I) Z+ E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 A: W6 i' G' p2 p
  10. 本地机器,这是我的MySQL安装。 ; w) A1 V9 z+ w, |% u  T, U2 D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 i# T( G, N* v. `3 w9 J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % f- h) t) q7 n/ K
  13. 数据库。
    9 b& _$ ^# H0 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% h5 Q$ f7 b, Q0 d  D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 ]- S1 T3 z& t9 f3 |1 a3 D
  16. 在teamspeak论坛,如果你有兴趣。 7 ~0 B, N/ g& x- ^: S' U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 p+ ^9 p* k( V/ ~# ~
  18. Borland公司使用。这个司机只能界面与客户端库
    & L& Y5 X/ ?8 t8 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ E& k1 y9 Z# `9 B" |0 O3 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + a6 c" f+ T: u* P* m% N( h
  21. " vendorlib " ,并解数据库连接。 , d5 L; q. ]. i+ W, l6 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . Q0 E, h  h6 }5 ?& h. h1 S( G1 l
  23. . d' O" n& U% m
  24. # # #做好工作# # #
    0 M- }4 E/ G4 \$ ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( U! l: W7 b, f1 S1 j( j8 J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . I. Q0 W1 B+ w" k8 z7 I9 C8 U
  27. 结束: ) C$ ]0 k' ^$ M: ~' r( }/ [
  28. ---削减这里---
    - e8 q3 A. A8 x: T
  29. [ dbexpress ] * q* Z$ P7 k( J9 f' i9 k# C; H4 q
  30. sqldir = mysql_sql 2 U* M0 W* [: l% @% I$ w
  31. drivername = MySQL中
    6 v: {: m% c' x0 M! C3 X
  32. 数据库= your_database_name_here
    0 }$ ], r+ \) o/ d' X: n+ R
  33. 主机= the_pc_the_mysql - server_is_on : M5 n6 G6 x0 a- w4 a% R; ~5 V
  34. user_name = user_name_on_the_mysql服务器! K: H8 O3 s! j& @
  35. 密码= password_to_go_with_above_user_name
    8 g( O- _4 B% U7 A4 D
  36. getdriverfunc = getsqldrivermysql 4 c6 a/ y% w; k  w/ v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # X. }! m' r  e
  38. libraryname = path_to_libsqlmy_libary
    7 k0 V4 i& @( g; N0 w. A" u
  39. 积极= 1
    ; D% d8 J/ S5 E# A
  40. ---削减这里--- 1 t: ~, k: ^$ S# S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) x; \8 r) A6 e& M! ]
  42. ---例如--- & b' m& W6 M  U) y
  43. [ dbexpress ]
    - _. ^) p1 j% [
  44. sqldir = mysql_sql . t7 U9 s( K" w. M1 x; C$ A
  45. drivername = MySQL中, ]. a! n# n% F
  46. 数据库=测试
    & T1 U9 o8 p% j
  47. 主机=本地主机. G. g4 H' m$ b. m
  48. user_name = testuser 0 Y6 z1 u- X+ ^, N4 \
  49. 密码= my_password
    ( O2 A, p% R2 F
  50. getdriverfunc = getsqldrivermysql
    7 T* O" }% L& {8 v/ y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - F3 F- K2 i1 v+ z
  52. libraryname =. / libsqlmy.so , N! g( f$ T" Y6 s  o
  53. 积极= 1
    9 k: ]# A6 s( r. T' C  d
  54. ---例如--- % @4 k* f$ }3 n7 I% r

  55. ; L4 h3 R( p% R1 j" B" H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " H* y6 D- n  W
  57. ---例如---
    5 j- k1 A8 O' w3 [1 J9 O* u
  58. [ dbexpress ] , }2 x# ^  y1 {0 k7 V
  59. sqldir = mysql_sql
    ! p, U+ \; W9 W
  60. drivername = MySQL中
    ; u0 E+ g/ I+ y" ^  g9 C- r  r  Q% m7 s
  61. 数据库=测试
    ( z0 [/ x; x, U2 J9 [- u2 \
  62. 主机= 127.0.0.1 / y6 M" V' p" U$ d# v1 w
  63. user_name = testuser 8 s' y- r) s, a) c
  64. 密码= my_password . S$ W( o# l- c, m' R
  65. getdriverfunc = getsqldrivermysql / [- _8 [& w& y& F! t6 `3 x
  66. vendorlib = libmysql.dll在
    & K3 h1 Z& h% W6 }! x
  67. libraryname = dbexpmysql.dll
    7 c. O% m5 z2 n, ?% s
  68. 积极= 1
    ( Q( i0 p: g6 _
  69. ---例如---- ! ^) W8 _7 H0 `! k' T9 p  p
  70. -写在0 2.03.04由p wk.linuxfan
    5 L3 a; c! a4 I) Q" [' ?. R
复制代码
发表于 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
4 @1 |$ z8 b* m+ f% m7 }- `0 }6 d0 v2 u9 ^# B5 J3 w
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-6 06:38 , Processed in 0.055353 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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