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

2293 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ k* W4 Q& R7 @) l( {3 U4 S) c  E- v2 N3 d. I2 w$ K. g- W# v

  1. + |& B8 A. Q8 G9 k/ t! J2 r- ?/ a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 K( G* b3 X0 \' w: `
  3. 2 Z. h+ f0 X" g; V( r% S+ |2 O
  4. ### What we need ###
    3 T2 o8 a: V, G( q4 X& F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # Q7 {% Z7 p: K# O6 u# r2 J3 r
  6. will not explain how this can be done - there are documents out there for the ! g, `5 f1 M7 B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / x( @& E) a& a2 c
  8. and a user account (username + password) that has the permissions to do stuff' i5 m& \0 G/ P( E2 J. u: `
  9. with the database. Additionally, you will need a vendor library installed on the
    4 o8 H& T4 W- O/ a+ N5 ?" U$ p* x
  10. local machine, this came with my MySQL install.
    ! z/ I, u8 E, U; N" y
  11. These instructions will not tell you how you might transfer your data from the* \% t- T: F% D. G+ u  R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 b& M6 i* P0 H/ w
  13. database.
    & _2 H; Q. e7 z7 f' g7 c
  14. Some users have reported ways to import a SQLite database into MySQL, but at- |5 t$ W; G' b8 _- Y
  15. the time of writing, there are still too many issues - check the current status* S! O  B" L8 M+ Z+ P
  16. in the TeamSpeak forums if you are interested.
    1 d3 N- T6 f/ o6 A- a1 Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 @+ |8 H$ @2 ^- G" i( y6 V
  18. Borland was used. This driver can only interface with the client library that
    # C5 P0 g8 E6 M  t/ h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . s2 Q1 m5 ^) W2 x/ W: X, }! u5 Q
  20. client library - basically all you have to do is to use a 3.x client library as
    5 q- I  n6 B8 o% F$ N& |
  21. "VendorLib" and a 4.x database to connect to.
      P' a! @7 F% _3 {% W
  22. If you need more info about dbExpress, you can contact Borland.  {; u1 g" O) c

  23. 3 x( g2 U& B$ P8 L2 M/ @; \
  24. ### Doing the work ###8 A, x% R9 A' {9 V( C) x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' \0 g3 y, c8 c' H
  26. the perquisites right, just open your server.ini file, and add this section at0 v- v, h) J$ k/ L( R* |2 p; N
  27. the end:0 I6 R" R& u: ~+ S% X* u
  28. ---cut here---
    # A( Z+ J9 j$ S' v4 m: F; v& F! S( `
  29. [DBEXPRESS]1 G3 A. g6 m0 I. W; r, [
  30. sqldir=mysql_sql
    6 X) o8 Q9 U0 \$ {
  31. Drivername=mysql
    ; y6 M  A# X7 l+ l
  32. Database=Your_Database_Name_Here: K& o' l9 b6 ~9 b: l$ L9 O3 t
  33. Hostname=The_PC_the_MySQL-Server_is_on  p2 Q, |) F3 j# h) b, u# ]
  34. User_name=User_name_on_the_MySQL-Server
    3 R" P' z* Z. B$ y
  35. Password=Password_to_go_with_above_user_name
    3 X) }# U  e- N* j7 H/ B; N
  36. GetDriverFunc=getSQLDriverMYSQL7 r: g+ W, y3 s( a  b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  |2 t+ {" T3 G5 ^, c  ?& ]* x
  38. LibraryName=path_to_libsqlmy_libary
    5 s) m5 D; e4 ]/ g+ E
  39. Active=12 |$ u1 M0 m1 x$ q$ z- @
  40. ---cut here---
    9 D6 ]3 e* ^9 c' k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 ^% k5 }0 c0 J8 V0 |
  42. ---example---
    $ c% u  T, X5 k' G  P
  43. [DBEXPRESS]  F% j8 X8 h4 }+ p$ z, W8 @1 H' [
  44. sqldir=mysql_sql
    : ^$ w+ N+ u3 W+ |
  45. Drivername=mysql) ]5 x  e% A; f) V* @/ u
  46. Database=test5 R* R. p) h- d. M  r
  47. Hostname=localhost
    . c4 v* D$ ^! _6 h6 l% c
  48. User_name=testuser
    4 |0 _% L# Y/ J; n/ q- G5 t3 f
  49. Password=my_password
    ; q, X; [4 f# O  _& X/ O2 X+ v
  50. GetDriverFunc=getSQLDriverMYSQL
    6 O- e0 Q$ a) X+ r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 ^+ x1 x  Z* u- d2 Z& X
  52. LibraryName=./libsqlmy.so& U+ Q  b- z" i
  53. Active=1% g* P- E' h5 y2 e! `
  54. ---example---
      z# J6 A% j* f8 c4 e
  55. / L9 m0 Y4 ?5 \$ |
  56. On a windows box, also running the MySQL server locally, it would be:
    : q* K5 o6 o5 v) y
  57. ---example---! @9 ]: a& _! y
  58. [DBEXPRESS]* Y& \( g* f# D
  59. sqldir=mysql_sql
    . s$ }* f) M4 v3 l2 E( Z
  60. Drivername=mysql
    % g5 i# Y$ n& ^$ `, W- |. o- V
  61. Database=test% ~0 O7 h* m1 `& q
  62. Hostname=127.0.0.1# c. I( W, `& p  K3 l! g8 S
  63. User_name=testuser
    3 [" C" _: @+ o- t: U* u
  64. Password=my_password
    ) {* O) _; ~5 G
  65. GetDriverFunc=getSQLDriverMYSQL
    ' T4 _6 R: t. j0 k
  66. VendorLib=libmysql.dll
    $ y1 M4 o- n1 `7 J
  67. LibraryName=dbexpmysql.dll
    - g0 j2 E6 P$ V- z. ^
  68. Active=1
    8 y0 g  g* I) N8 S2 E
  69. ---example----& E, ]( K/ J6 p, T# J) [
  70. - written 02.03.04 by pwk.linuxfan4 p! f" B1 W" R* R* F" N* _
  71. % z0 ~" m3 P: V6 l7 G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ T# |! ]- T- ^
  1. % a, j- g$ Y% c0 g9 A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 R4 s/ O7 Z0 C' u
  3. % Y6 W* m) s9 ~' m" S) @" x
  4. # # #我们所需要# # # 7 s- @' l- I) b2 {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' K0 c- S6 U8 Q. n
  6. 不会解释如何做到这一点-也有文件存在,为
    6 ]$ @9 v0 k" x  g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * {+ h( _* H! Q. U+ c5 l1 J( g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " R1 p. g% {0 g, j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " _% e) ?2 R1 M, w, ~9 Z
  10. 本地机器,这是我的MySQL安装。
    % g8 s) y* y4 H4 _0 Q! l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 ~" _# |% J% \& ?7 B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 ~  P# o& q! L3 B$ A, X
  13. 数据库。 0 L) n/ D' O3 M- l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % D9 n+ z/ H) L( c/ }9 \+ C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! R. H0 c3 |6 K& S# H  C7 m
  16. 在teamspeak论坛,如果你有兴趣。 - h' H1 l6 o8 ~' e4 |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& y5 P% T1 e, P( j8 T
  18. Borland公司使用。这个司机只能界面与客户端库1 ]1 s4 j% p% r* d: \* [0 t0 ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 ^- H" r& _- k0 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / k% L2 `: S* k  v  ?( v" Y) p
  21. " vendorlib " ,并解数据库连接。 4 Q- ~" j* B; U2 B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * T6 P5 d, a$ l. R2 K
  23. 4 F3 S6 A+ n$ ]$ _
  24. # # #做好工作# # # 0 {  Y! \4 f, i; i9 o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 Y9 u" f' @; q$ v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- i$ M% h2 d- B3 b' e9 }4 O$ _" y
  27. 结束:
    $ O3 z* t; [/ d3 L, I; P) A
  28. ---削减这里---
    + Y' s, o# X- y+ |9 D
  29. [ dbexpress ] , `) l- _4 R/ W5 V
  30. sqldir = mysql_sql
    7 \3 C" g! ?, Z0 H0 c
  31. drivername = MySQL中9 W- [% J* _' K$ I& v& b" w
  32. 数据库= your_database_name_here
    4 n/ q2 y2 W, m# `; U! N
  33. 主机= the_pc_the_mysql - server_is_on 4 F& i' B$ l& X; T
  34. user_name = user_name_on_the_mysql服务器8 M$ z6 q8 W0 a, n& n
  35. 密码= password_to_go_with_above_user_name ( F" }& B, q- c' Y
  36. getdriverfunc = getsqldrivermysql 0 T+ ~# @3 i1 A; x& Y& R! |4 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 n1 a  z" q$ L+ B
  38. libraryname = path_to_libsqlmy_libary . |" u6 N* ~9 f& C: z9 \- ?- Q
  39. 积极= 1 + u$ g, a; z0 \: }5 b4 n
  40. ---削减这里--- * e& q* |, P; Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - T" w2 l2 s, E/ D
  42. ---例如---
    2 j7 I4 k( G0 z( D/ O
  43. [ dbexpress ] 0 X# G7 |% `- Q* V7 |
  44. sqldir = mysql_sql
    % X* U. _& |" G
  45. drivername = MySQL中# h; K# L: e6 i* |# ~% y
  46. 数据库=测试
    , m5 ~1 W  T: |' _
  47. 主机=本地主机
    7 q" Q) ^# ^) }2 N4 b( `
  48. user_name = testuser * a3 o/ T2 u! f( U4 q
  49. 密码= my_password   ~/ m+ K" k, {/ t2 x$ _4 n6 Z( A
  50. getdriverfunc = getsqldrivermysql % S/ @$ N, M) j/ f5 E2 c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) E4 C- X9 J  A' S: s2 n  k
  52. libraryname =. / libsqlmy.so . y+ c0 }1 o; E2 k" P5 v4 N
  53. 积极= 1 7 B. t4 s, x9 ^+ [8 p4 y( E6 F
  54. ---例如--- 7 j8 `- F, K6 t& K; \
  55. ( g% m) S5 @6 R! o# ]/ v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 i# Y  L/ a' j4 F5 E  A4 m
  57. ---例如---
    2 `* }4 |' z& Z* g0 G- ?5 h% c
  58. [ dbexpress ]
      P( N4 h4 L& A* j
  59. sqldir = mysql_sql 6 v  s3 @' _9 s
  60. drivername = MySQL中
    5 c3 E. j& C% {2 d$ |
  61. 数据库=测试
    & H4 y8 _; n$ ]+ D9 T1 i- V4 d
  62. 主机= 127.0.0.1 ! G( R7 F0 e% R, E
  63. user_name = testuser 7 _# ]  {8 g9 k
  64. 密码= my_password
    ) \$ O! E$ z1 F* e7 H
  65. getdriverfunc = getsqldrivermysql 0 @3 t+ v3 ^+ W
  66. vendorlib = libmysql.dll在8 }9 w$ w$ O& E+ ~# p- n) f7 M
  67. libraryname = dbexpmysql.dll 6 x, h* ]4 b, C, i5 q
  68. 积极= 1
    , K' d' H4 T& S$ e( N
  69. ---例如---- - ~  I- x; s" s& g6 r
  70. -写在0 2.03.04由p wk.linuxfan  V+ H. ~; S- v" V" F
复制代码
发表于 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. P7 z5 M+ ^! c7 n+ e/ `  s2 t
/ j; h; g! }8 O
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-14 01:42 , Processed in 0.121662 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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