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

2938 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, z5 f* C) s3 t7 J2 @7 A" S! a+ a5 x5 h4 P' G. _! B
  1. 2 y$ V2 ?# V! `" T& j9 U+ J+ ?7 L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ m0 Y8 P% y# T% z! p5 N/ x( j
  3. & z5 P( J, a3 j  ?9 p. r- a6 G: T$ |
  4. ### What we need ###
    1 c. G( g, I1 s* h7 ~& p( {# ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) }( V) U4 k- t) X1 [+ k
  6. will not explain how this can be done - there are documents out there for the
    % s5 Q0 x) i, A! Y$ `5 H- Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use. |# i0 h( N9 d$ {, }( t  B+ K2 }
  8. and a user account (username + password) that has the permissions to do stuff9 q" c+ p& }( c2 ^
  9. with the database. Additionally, you will need a vendor library installed on the! T- k6 P7 G: f% x) y# e( w5 F- F. q
  10. local machine, this came with my MySQL install.
    4 O( w5 }" H5 Y5 o
  11. These instructions will not tell you how you might transfer your data from the2 B  C" `( n  A" `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . H. c7 B: B  x  k
  13. database.
    5 |1 P! i, G1 i' o) B0 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 S* R1 y9 l# C" N) M% U
  15. the time of writing, there are still too many issues - check the current status
    9 C/ c. M% ^5 z) J" Z0 k
  16. in the TeamSpeak forums if you are interested.
    9 N/ [) I) D- {% R( L0 E4 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ g* i# f1 n, I8 V2 L. J
  18. Borland was used. This driver can only interface with the client library that 4 x4 D) D+ i% A: T; Z( Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # O, B' D/ r( f) N* |* G1 ~3 I
  20. client library - basically all you have to do is to use a 3.x client library as 3 a) E8 y# z# h: ^
  21. "VendorLib" and a 4.x database to connect to.
    1 O3 a  C' b' m2 e* I( z) `
  22. If you need more info about dbExpress, you can contact Borland.
    6 c" }& H& Q* s* U) [. @

  23. , y0 I3 m6 `. E( ?- D0 ?8 o" X2 S# Y
  24. ### Doing the work ###
    ; E$ o! m; ^! _( y+ d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 a) B" F5 q% z/ p$ d% i
  26. the perquisites right, just open your server.ini file, and add this section at
    , T/ o7 H! }: B" Y* e, \5 u; Y
  27. the end:6 a2 l1 ]& \3 e  b  q
  28. ---cut here---( l+ K$ T5 Q: s) ~3 Z
  29. [DBEXPRESS]
    % `2 N* P* I& g) G. K) A0 W
  30. sqldir=mysql_sql+ `" h4 L3 w3 e" O" \
  31. Drivername=mysql; X. }6 s  O' R9 A3 X# @/ P, k) ^# N" ]
  32. Database=Your_Database_Name_Here
    ; ~' a% X! v9 p0 g; g! a+ B( w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . m$ M3 a6 i' E. l
  34. User_name=User_name_on_the_MySQL-Server
      C0 L" `5 r# w* {+ p: @
  35. Password=Password_to_go_with_above_user_name$ e. B  _) {" V( s
  36. GetDriverFunc=getSQLDriverMYSQL
    9 x# g/ Y/ T5 |# G0 r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 t+ l3 F" W/ H9 d7 p& p
  38. LibraryName=path_to_libsqlmy_libary, v+ g! n3 x4 F5 @9 T- e
  39. Active=19 a; v6 i2 I- F5 l& W% Q& H8 g1 M) \
  40. ---cut here---
    5 d* B, _# E1 W
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 _6 ~* K5 g  |
  42. ---example---
    4 C: a" D9 t+ b% w4 A& V
  43. [DBEXPRESS]
    & M& @- P5 a1 ~: ?$ u& f7 w. _
  44. sqldir=mysql_sql
    : I3 Z, @# L) }. R& Z  f. }
  45. Drivername=mysql
    7 r9 v, |6 |/ }; j* H3 U
  46. Database=test- U( N) b$ ~. ~" `6 j9 R
  47. Hostname=localhost
    * y+ w  N. X1 [
  48. User_name=testuser2 }1 y. R1 w' U! q& `
  49. Password=my_password
    ( M8 I8 f; X' ?8 ]/ _  v
  50. GetDriverFunc=getSQLDriverMYSQL+ G; d. |$ b5 G3 L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ ^0 }% V) l/ S+ B! U4 f1 n4 K1 U
  52. LibraryName=./libsqlmy.so2 Z! O" B! b. W- R9 i' O! ?8 P
  53. Active=18 c# I/ T" o. S9 k4 v
  54. ---example---; }# W" g- o: W6 U

  55. ; S8 G2 B1 n0 X  _  _
  56. On a windows box, also running the MySQL server locally, it would be:
    ! B5 ^' v: k1 P* B3 f
  57. ---example---
    % _% f* c+ i6 l6 a/ N* Q. ]8 }
  58. [DBEXPRESS]
    * _4 \& ~+ H  S/ \4 [2 K
  59. sqldir=mysql_sql# Z* }5 f, x. {. |5 E' K1 i
  60. Drivername=mysql6 D7 L! d: q& ~( k, ~$ g! m
  61. Database=test: [: a( G7 Z; K0 w; C, W
  62. Hostname=127.0.0.1' x' o% J6 \5 B, K# {
  63. User_name=testuser7 |' ?, f. b5 n$ {: F7 w
  64. Password=my_password
    , C" s* y4 D8 e! B' [5 Q) h
  65. GetDriverFunc=getSQLDriverMYSQL  J- C( \" H* A) q7 z9 R
  66. VendorLib=libmysql.dll
    . X/ O: L/ |% |  ^6 L2 j4 g
  67. LibraryName=dbexpmysql.dll
    3 M7 w5 ^/ }) H( l! d* g
  68. Active=1
    4 a/ @- ?1 y( g: u! m  B
  69. ---example----
    / Z3 q* _  s  P5 c3 o1 Q
  70. - written 02.03.04 by pwk.linuxfan( I; n/ K5 ?1 t4 Y* N5 r
  71. - k- \; h  ^. ?& L8 @+ c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 v' Z6 X+ x  M4 w. A' s0 P# ?

  1. : t2 B$ u) W4 d5 k% F" r& z) e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , J( R/ k3 B9 }+ i5 x

  3. & x4 `) s' @' l& `9 f( f) Z( \
  4. # # #我们所需要# # #
    9 L/ B' u+ t& K/ F& F% P( J9 `( j9 c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 O& ?- S5 Y& B% e, _. i
  6. 不会解释如何做到这一点-也有文件存在,为: }! v0 s; I2 I) d* \; c1 e7 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * w9 f9 J0 Q  _7 u& l) f3 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , o9 \3 Z; Z/ b* N$ s" \; k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# x" X* R( [$ [( k2 M& [% B
  10. 本地机器,这是我的MySQL安装。   t8 A6 F4 j& |+ R3 c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, w) y4 |7 ]  C& C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " k! A7 T, P7 a4 \
  13. 数据库。
    5 ]( e) Q4 ?/ R, q! T$ `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; ~& `$ k* U0 w0 m7 @& h) l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - j+ h/ I% a3 @1 `7 \) [+ |1 a
  16. 在teamspeak论坛,如果你有兴趣。
    ; w( r* |- v) S' e# l% q( _  i" g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: x4 b) }1 {% u% k7 p* m& e5 T( I* c" O
  18. Borland公司使用。这个司机只能界面与客户端库
    - [: O1 n# {# A. {* B8 r  T3 I/ m- T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 K' L4 W  y- x; g- m/ y4 @* e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 B3 b) _' T+ m/ g  Z+ c# g
  21. " vendorlib " ,并解数据库连接。
    ( y7 Z' M) Q' k! |  _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ L" p- p' O4 i7 Q
  23. 3 F3 s0 V9 k3 h- \
  24. # # #做好工作# # #
    6 A7 {' n! M0 s! O9 J: m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ ~7 R( ]9 [+ T4 Q7 ~/ p) R6 s% X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 c: a& @/ H# T4 c" V
  27. 结束:
    5 }$ r. O8 i9 l8 U" L1 [+ ?
  28. ---削减这里---
    2 @& m2 q+ r% }4 p3 t0 g" k
  29. [ dbexpress ]
    ( z$ k4 p. u1 y( E' V- Q& m' a; h8 k
  30. sqldir = mysql_sql , t# B, v" t7 m. A
  31. drivername = MySQL中
    ' I# M; a) @& \. O
  32. 数据库= your_database_name_here 9 U% \' @# x" \' d: Q0 ~1 @
  33. 主机= the_pc_the_mysql - server_is_on
    . i) t. p1 g* E
  34. user_name = user_name_on_the_mysql服务器
    # i2 v% k  m8 T, p$ \4 Z) w) r7 I
  35. 密码= password_to_go_with_above_user_name - {/ V' @3 p7 X1 @, f
  36. getdriverfunc = getsqldrivermysql , Q: @; ~# |% B% f& _6 @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 t( z2 Z; K! Q1 ?7 b& i( z
  38. libraryname = path_to_libsqlmy_libary
    1 q) _  n# u4 {' L. l) a5 I: x
  39. 积极= 1
    ! l+ w5 m: T& L1 n" L2 T, u
  40. ---削减这里--- 1 |( L3 D1 Z9 \7 d+ ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - K4 P% m" h' \4 t- n( j" \% |
  42. ---例如---
    ( ]: y! p5 Y9 h. i: d3 v& B3 _
  43. [ dbexpress ] : i" v' I) y4 a- p; ~8 W
  44. sqldir = mysql_sql
      L' m# M6 M6 w+ p
  45. drivername = MySQL中
    ' i) ^; ~8 \+ W" G6 s
  46. 数据库=测试% d- G& L0 ~% ?& @  C
  47. 主机=本地主机
    + \- h* R: c& w# g$ X( T0 g
  48. user_name = testuser
    ! S2 x% `2 l! b+ b" _
  49. 密码= my_password 6 Q' v+ W3 f: ?4 F5 i& P% C
  50. getdriverfunc = getsqldrivermysql 2 ?1 ?4 Z# }# q7 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ N6 X; ]! V) c& |! ^  G1 `
  52. libraryname =. / libsqlmy.so / ~+ r# L+ M0 o7 T' F
  53. 积极= 1 4 U" \( {" Z) P! q
  54. ---例如--- 8 w. I7 g! j. ~

  55. + {- A  R% n6 R0 |- p5 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! D! D5 M' k1 M+ j6 F6 g
  57. ---例如--- # N3 t0 Y& v7 }- _% Z
  58. [ dbexpress ] - k  U; h# }- B% L# K0 [' K% S
  59. sqldir = mysql_sql
    - s  `1 B' F$ T8 N! ]
  60. drivername = MySQL中
    - e' ]  Z# J% H7 m
  61. 数据库=测试& w3 r* G) H. Y4 ]. e( V9 ]. j
  62. 主机= 127.0.0.1 9 u, ^; R& O. T! j
  63. user_name = testuser 5 q+ ]% z1 l8 B) R  L2 k" [3 u
  64. 密码= my_password
    & X6 x, n' A# }/ A+ x/ D
  65. getdriverfunc = getsqldrivermysql
    ) b6 o! I8 S' T% h/ D' B) ~
  66. vendorlib = libmysql.dll在
    5 \' x) f( n1 R" r2 u4 H' D
  67. libraryname = dbexpmysql.dll ! D2 k4 T! d7 E+ ^" ~* j+ s8 ]9 `
  68. 积极= 1
    : v  ~( |6 x0 w( Y% Y# E5 P
  69. ---例如---- 4 v$ R7 B! f8 z  u1 Q) Y6 P9 r
  70. -写在0 2.03.04由p wk.linuxfan9 ?2 [% ], d, |2 w: ]1 i) m6 C
复制代码
发表于 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+ C" o% k! v7 A% u

' I% t# G$ v& C7 @. [5 Y% f3 P0 Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-26 02:59 , Processed in 0.108668 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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