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

3004 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 f9 E( j' a* X9 ]  F8 ^/ t' P
" w( m8 `* B6 T1 z
  1. - E3 r* K: ~* ?, w* ^% d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! o; {0 n+ R3 G& ^* {7 t! }
  3. * q. p5 y' v8 r9 f7 H! u5 D
  4. ### What we need ###
    ) D9 s% c6 r/ Z4 n0 w1 ~
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 S% D, q4 w. R# q
  6. will not explain how this can be done - there are documents out there for the % f6 g% H4 k' v; P4 l: U+ C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " v+ W2 |: n9 c
  8. and a user account (username + password) that has the permissions to do stuff0 L+ d) A& J5 y" L4 _
  9. with the database. Additionally, you will need a vendor library installed on the2 t5 J/ F  d. l/ m
  10. local machine, this came with my MySQL install.% u3 _5 S' {4 N
  11. These instructions will not tell you how you might transfer your data from the
    3 r7 ~; B% m1 j! H; E- n$ O& O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! ~0 U4 p" ?8 R- o8 s' T
  13. database.
    2 f8 _& _8 n0 [: N# D' o$ n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) S1 c) _$ y! K; M
  15. the time of writing, there are still too many issues - check the current status
    2 }; m" m/ O, o  G( m% X
  16. in the TeamSpeak forums if you are interested.7 ^, V( P/ x1 D: _$ d& }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 ]& t4 t5 C7 H4 a/ Q4 k- p
  18. Borland was used. This driver can only interface with the client library that
    . y6 t& g1 e/ @: `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% t% N# P. Z( a2 k2 P6 [0 c; C% r
  20. client library - basically all you have to do is to use a 3.x client library as
    . w# y: Q/ L# G/ b- X6 i; b2 F
  21. "VendorLib" and a 4.x database to connect to./ O+ X. Z8 _7 N8 N
  22. If you need more info about dbExpress, you can contact Borland.
    $ y5 y9 d8 ~: r  e
  23. 9 {' r  D4 V* |" _! D# B
  24. ### Doing the work ###
    0 X3 H% i5 R) w" q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; U0 q, M6 I2 E7 @; d/ a: g
  26. the perquisites right, just open your server.ini file, and add this section at, ^( ~# a/ m/ U/ c  L4 W
  27. the end:' D# a- x2 l2 v% Z2 b9 X' d
  28. ---cut here---5 k& U- e* l6 Y' Q) q5 M5 \
  29. [DBEXPRESS]
    3 Q, P5 z; Z3 Y4 F" c; Y6 @
  30. sqldir=mysql_sql$ ~8 q- H4 g& b# H1 k/ w# [0 r9 ?' u
  31. Drivername=mysql
    0 c! F/ x0 u7 v
  32. Database=Your_Database_Name_Here% m2 D. S) B, W4 V* X- A
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ G5 d! L- u- }( t& _: E
  34. User_name=User_name_on_the_MySQL-Server
    ' o' A. U5 @  x
  35. Password=Password_to_go_with_above_user_name7 B, B/ T9 M: H: a
  36. GetDriverFunc=getSQLDriverMYSQL9 a/ V1 l7 k% u* _# ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 A# v2 S* ~; l& C, F( C1 t8 ^
  38. LibraryName=path_to_libsqlmy_libary
    6 \8 X) t2 d+ d/ Q& V  j
  39. Active=1
    , D6 k6 `: M7 z5 R
  40. ---cut here---
    , u0 i  g. P, [
  41. In my environment (a linux box with a MySQL server running locally) I have:  Y  p  _: f* P2 Z# d% e
  42. ---example---
    9 U6 b2 _2 I( @9 G+ t
  43. [DBEXPRESS]; n& [" J) \( j
  44. sqldir=mysql_sql( q" `. z* W  D* p
  45. Drivername=mysql2 N6 ]5 [- C  R
  46. Database=test
    ( x0 f! s: m2 o% A4 c* S. f
  47. Hostname=localhost4 S" `- |  N1 u5 m
  48. User_name=testuser
    $ a9 u% k+ O0 w* J6 T" v
  49. Password=my_password2 i7 A3 `9 k' f* e
  50. GetDriverFunc=getSQLDriverMYSQL" J3 u3 o/ y5 f+ b& x  x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 c* U# e+ M! k/ h* t3 f5 T- _
  52. LibraryName=./libsqlmy.so
    0 n7 v$ ^. C6 X
  53. Active=1
    ! v% |1 l- p8 n1 _) n6 ]
  54. ---example---
    0 }& Y( R. Z' K( b* U8 w2 [% [

  55.   X( S. H* ?9 Q2 R* O
  56. On a windows box, also running the MySQL server locally, it would be:
    0 l0 Z+ X: y( P% p; m) G
  57. ---example---: s/ b+ t  \4 \
  58. [DBEXPRESS]
    9 k0 r. ?( o5 j9 t1 d( w
  59. sqldir=mysql_sql
    . O! q% ?) |; U! O8 q& d4 C2 j
  60. Drivername=mysql
    $ @1 }% p) i  x5 {' R! V3 O
  61. Database=test7 Y: l1 o' S' I8 [; e; {4 n9 }  B3 e
  62. Hostname=127.0.0.1
    7 W9 k& _- Z. l# Q( D  {& V
  63. User_name=testuser2 J" E0 g$ k4 n% m# p
  64. Password=my_password. C) E8 q9 j2 _. Q* F6 T% n- I
  65. GetDriverFunc=getSQLDriverMYSQL
    * N; W/ }, D" o0 f
  66. VendorLib=libmysql.dll
    ' ~' f2 K4 c" T* o8 O6 S3 o# H
  67. LibraryName=dbexpmysql.dll( R; Q2 f" G9 \" s  K. A4 T
  68. Active=1* `7 o# E  ^2 _$ j
  69. ---example----$ E) N1 P) V6 d0 K7 s
  70. - written 02.03.04 by pwk.linuxfan, T; o$ Q/ X: _/ M$ M

  71. # Z2 z# E8 `! f. J& u5 E4 v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& z* v7 u  y; A( r. _
  1. 9 N3 @  \. m0 b, r: z" x0 j; ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   Z. f/ Z9 p% e% Q" d
  3. 8 l, [8 N  W+ C+ G3 d! m
  4. # # #我们所需要# # #
    9 H# _' {& V, A( w* F* C' q9 z) ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 G! @9 A  j2 P9 ~
  6. 不会解释如何做到这一点-也有文件存在,为, p. Y7 k; k/ ]/ m8 _; X. q. o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. `' W8 R) a  S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! h8 O: s/ q5 q; M. n8 N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . Q* ^. x2 }) X. q6 c
  10. 本地机器,这是我的MySQL安装。
    & S7 A1 E* i* W, X8 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - A1 H! b0 A3 s6 W0 p8 S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 Q% @# P4 N/ a* q0 H7 S
  13. 数据库。
    * R7 [' X$ k$ o! t* a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 b& O8 v4 L& c; q* _9 Z( |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + y0 _& L( t5 X4 n
  16. 在teamspeak论坛,如果你有兴趣。
    0 w" |! F5 R, q! C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # x& e' }; P! y% ?$ G8 U
  18. Borland公司使用。这个司机只能界面与客户端库
    / H4 r* U9 |6 D4 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 ?- {5 M9 ]* L1 X/ j7 Q3 h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; o) M% i2 I. c6 A/ T1 G- A9 M
  21. " vendorlib " ,并解数据库连接。
    3 D5 `9 J* p6 K8 s+ k$ ]8 a; `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - j5 i0 @& W  W) J

  23. / S$ h* y; M, z- g
  24. # # #做好工作# # # 8 |: |: K" F) U6 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . _' g6 r2 ^1 N% E8 b  F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 i& w- \; E& R% G" I8 d
  27. 结束: % V; R. b" U8 l9 ~. O7 |
  28. ---削减这里---
      Y, [  i) M8 u! `( ~; ^
  29. [ dbexpress ] / k+ t" [' H0 m$ @
  30. sqldir = mysql_sql
    & e+ {4 r. z% M6 a/ @' l6 E
  31. drivername = MySQL中, @5 \: d* I& s
  32. 数据库= your_database_name_here
    * H) |' o$ c) t" h1 n
  33. 主机= the_pc_the_mysql - server_is_on
    - g) Z9 Z: G* y/ }( W
  34. user_name = user_name_on_the_mysql服务器
    6 q: B& I0 k; }
  35. 密码= password_to_go_with_above_user_name
    5 f5 P5 I! r- r: W4 m
  36. getdriverfunc = getsqldrivermysql + v1 B: W. o+ |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : S/ ^- _2 c: A/ V1 c5 \
  38. libraryname = path_to_libsqlmy_libary ( Z5 K& x7 l6 A& N; v
  39. 积极= 1
    ( m# L* r4 E0 P4 Z; V* J" X
  40. ---削减这里--- ! |' [0 k$ U2 f. \# X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 N7 i) x2 B! R! K+ K& Y
  42. ---例如---   O$ o. c" h/ \0 n
  43. [ dbexpress ] & d( W8 v+ g  m6 \: s2 ~
  44. sqldir = mysql_sql " T7 B! O8 u7 k6 W- ?, C
  45. drivername = MySQL中
    2 b7 N, R5 B3 i# ?7 G1 C
  46. 数据库=测试( E" o( w2 E2 \( ]" p
  47. 主机=本地主机
    ) Y& w4 N& Y6 B% M: A/ E
  48. user_name = testuser
    + H, ?1 ~5 E5 ]
  49. 密码= my_password
    ' i% V* M0 r6 \7 m5 w$ r* |" ~
  50. getdriverfunc = getsqldrivermysql
    , G8 F' E( c7 J7 q/ r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : ^! E6 j' Y! Z2 ]+ ?
  52. libraryname =. / libsqlmy.so
    % h, D4 @+ ^: x( r
  53. 积极= 1
    & S" i  V( }4 o/ D8 r) v
  54. ---例如---
    * z5 T% T& J: K: {( w
  55. 7 U- [, m& P$ ^1 j& Y$ J
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 ?* P9 U2 o$ n$ D0 q# r  z" D
  57. ---例如--- 3 Z( b& G3 B7 Q
  58. [ dbexpress ] ; r. g& k0 X* a
  59. sqldir = mysql_sql
    $ U" t6 m" h% ]) \9 z* M
  60. drivername = MySQL中
    & y; ]* R: W3 Z% r% M
  61. 数据库=测试
    , |8 B. ~, H. l7 d3 b
  62. 主机= 127.0.0.1
    9 j+ c; n$ v4 v2 ]2 X7 r
  63. user_name = testuser
    : f! h: E( R8 h, }7 d
  64. 密码= my_password
    # t! d! g; z2 l) x9 t% s
  65. getdriverfunc = getsqldrivermysql ! G0 ?  e# F4 M( L' `) F
  66. vendorlib = libmysql.dll在
    # R' R! a+ W5 p/ I) m
  67. libraryname = dbexpmysql.dll ' H  ~, |3 c1 I6 b
  68. 积极= 1 0 j; m3 o' s3 \
  69. ---例如---- ; H3 D5 a" V7 ]8 x9 X' A. M2 b& L
  70. -写在0 2.03.04由p wk.linuxfan% s! L% a# ^/ @2 w! |, [+ @
复制代码
发表于 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' s1 x4 |+ C  Q

" ~+ l' w$ F4 ]' Q3 q3 j4 rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-10 05:05 , Processed in 0.110769 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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