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

2788 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' _/ c) R8 i; k& l, l( B, s# C/ @4 U- P; A$ _( N7 b5 Z& B

  1. # Z& w/ w! c% l; ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - n) F* ?" V' i9 ^! s, h) L7 s/ J
  3. ( u% H# e4 Z$ B, s: _* D6 T2 a
  4. ### What we need ###
    3 i; {. S5 C* I& x. }7 p9 b/ H; u
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : {2 S$ h$ R$ l; ]
  6. will not explain how this can be done - there are documents out there for the
    " \5 E8 l$ o" @5 T  ~  [
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 F, k  T5 t4 q% ]' p& r
  8. and a user account (username + password) that has the permissions to do stuff
    / x6 P0 T+ W. ?9 M
  9. with the database. Additionally, you will need a vendor library installed on the
    # d! d4 z$ k6 f
  10. local machine, this came with my MySQL install.+ H! X" @  m( t8 Y# f
  11. These instructions will not tell you how you might transfer your data from the
    + N1 `# `) ]7 F$ s3 V% I+ R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; V" J7 G8 q2 O% f# B3 i( }, q7 E
  13. database.' u( \" X, k1 F6 p  x) n* [" k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ e( L! c+ P9 v& n
  15. the time of writing, there are still too many issues - check the current status3 T  I, m) h6 @" S: D: t
  16. in the TeamSpeak forums if you are interested.
    ) m) H8 Y. K1 q5 I0 P; P2 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , L3 S6 x' ~, x6 h
  18. Borland was used. This driver can only interface with the client library that
    4 r2 s* s+ y+ L' J4 c6 y( \1 D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  n2 K& i* {  @$ A
  20. client library - basically all you have to do is to use a 3.x client library as
    % F0 m4 L9 E1 C7 z+ W2 B1 o
  21. "VendorLib" and a 4.x database to connect to.2 k8 b$ [: g$ D! N( ]9 c, {
  22. If you need more info about dbExpress, you can contact Borland.
    ; n5 K2 L, {+ X) k9 `" q

  23. 7 q0 Y% Y! `+ Z7 k
  24. ### Doing the work ###
    % X' J# |9 E) J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( }% B- c/ k  u6 F- v$ l, b5 Y
  26. the perquisites right, just open your server.ini file, and add this section at
    5 B& w* d, K* |
  27. the end:
    4 e5 p9 \5 D, u5 B
  28. ---cut here---: y( u8 [8 ?9 y. c' G, D1 y$ c
  29. [DBEXPRESS]3 b6 Y$ u- J6 q! Z9 H4 I  @" }7 E
  30. sqldir=mysql_sql0 W3 g0 ^: \/ c' m1 P9 {
  31. Drivername=mysql# X! a  |# E( {
  32. Database=Your_Database_Name_Here
    6 v) \3 y7 N7 r" E5 y4 J7 n
  33. Hostname=The_PC_the_MySQL-Server_is_on3 z" O$ a  ]( D1 o. {' }9 V
  34. User_name=User_name_on_the_MySQL-Server$ `7 N7 \# J1 |0 ?0 f, {" i
  35. Password=Password_to_go_with_above_user_name/ Z# x% T$ o. ^" w' _
  36. GetDriverFunc=getSQLDriverMYSQL
    0 w; j7 j1 L$ W# v4 K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 a' q% d3 F$ M" B
  38. LibraryName=path_to_libsqlmy_libary! ?5 z; ^5 e% X' \8 |
  39. Active=1
    ! ]' w- Q4 U/ l/ I9 S; k* b
  40. ---cut here---" ^% t6 X$ `) b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 h' ~- l8 R) u- s6 J- I# Q
  42. ---example---
    6 |- ]2 e2 W$ }5 @, A2 a7 f% _
  43. [DBEXPRESS]
    , K; u5 p. C  i3 ?
  44. sqldir=mysql_sql8 D) r+ w) D9 N( H# [6 Y5 v
  45. Drivername=mysql# L9 ~, f' v6 ?, Z' b& u1 ^% K
  46. Database=test; z8 E/ T$ C1 p) n
  47. Hostname=localhost
    $ _% Y4 @7 u% s" B; f$ C
  48. User_name=testuser0 ^7 j$ l/ ~( E  D% L
  49. Password=my_password% c( s$ l$ d" n# W6 [
  50. GetDriverFunc=getSQLDriverMYSQL
    8 A2 P8 X( J7 I9 |, {3 q1 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ m3 o# z# C  L4 E; ], h2 ]3 n
  52. LibraryName=./libsqlmy.so: e; c6 O  R! B* ~2 Z# z
  53. Active=1
    2 l# e2 }* G  S$ E- h/ J
  54. ---example---
    5 B- ]9 n+ s* K% y5 [: O# b
  55. ! l$ |  t+ m; W$ }  A6 k$ l
  56. On a windows box, also running the MySQL server locally, it would be:2 [2 J- r6 I. f( ?1 n- z
  57. ---example---& x7 A* d" |( G% r3 ~0 M5 ^
  58. [DBEXPRESS]' y; K2 P+ V; w! D+ Q1 a4 W1 S- u
  59. sqldir=mysql_sql
    / ~4 |  `9 w8 x  ~
  60. Drivername=mysql
    . ?7 L# T8 C7 U; \& V
  61. Database=test" k5 q8 A, b- m
  62. Hostname=127.0.0.1
    % j* L' i% s; `
  63. User_name=testuser5 t0 e' o& E. ~8 U( {! A
  64. Password=my_password+ A# B( w6 S9 H* }& f
  65. GetDriverFunc=getSQLDriverMYSQL! t" ?, t6 J, \
  66. VendorLib=libmysql.dll+ Z& q' H& n- m) A+ L# S. }
  67. LibraryName=dbexpmysql.dll
    ' t2 O3 V5 l; t0 s
  68. Active=1$ w" V1 i7 t" z$ r; ]2 J
  69. ---example----5 ?, `- [2 C$ G" W8 _) V; @
  70. - written 02.03.04 by pwk.linuxfan
    + f; C% M" p' x/ A" ?- f
  71. . @; Y* C4 T5 \8 P4 D4 x$ ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& F6 h9 i% }& o* s7 {

  1. : ?7 j# B/ L$ c3 Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 q- t. ^) I: t8 `3 {  _
  3. 3 a! Z  ?" `: }7 C# T' P
  4. # # #我们所需要# # #
    % ?- k- v0 g+ r2 l3 Z! s/ l: W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 M! `: A( P4 ]  s
  6. 不会解释如何做到这一点-也有文件存在,为. a0 o" d0 l3 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; z! Q+ ^8 c; j& I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* Y9 y1 x8 V) ]& U$ i) O- J% x# d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ T) o) g( S( O9 q+ I4 `
  10. 本地机器,这是我的MySQL安装。
    ; ~4 J/ a3 P! u8 Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 S% `7 C, Z7 c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' G9 c0 t& l/ E+ n
  13. 数据库。
    % w+ J- Q" @. X. G% }: z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) e. @8 a( r/ m; K
  15. 编写本报告的时候,仍然有太多的问题-检查现状! C: N% \/ @' p/ g% Y0 i6 @/ l5 h
  16. 在teamspeak论坛,如果你有兴趣。
    9 }) ]  p5 F8 M2 |2 N$ G* V; m( K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # q# b) `6 }7 K. |
  18. Borland公司使用。这个司机只能界面与客户端库
    ' h8 t$ B# r& R0 s3 h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & n0 ^* d, P: t+ X) t7 m, o. E
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* w0 U% V; C* W! _; @7 V+ D3 H
  21. " vendorlib " ,并解数据库连接。
    ' @: e- a. l- ?1 p/ c
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & k' [2 j( T( v; g2 x$ O

  23. 6 w/ a: J4 S2 Q
  24. # # #做好工作# # # 1 b4 L( D+ |8 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 n$ I5 u% D' v7 _& i4 `' W+ D3 l5 j5 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' o. o* ?% e  N" u( j) T
  27. 结束:
    : e1 y2 B3 M1 b, t! v
  28. ---削减这里--- 7 C( _5 V; c5 ~: N0 B9 E
  29. [ dbexpress ]
    : D1 ]' q2 R& r/ c. `2 G( O! l- C- ?
  30. sqldir = mysql_sql
    ( q* I5 I$ ^6 P: y* ]& n) e
  31. drivername = MySQL中
    & c  _9 y, M8 E1 s* j' y3 _7 U
  32. 数据库= your_database_name_here
    ' g& Q3 @6 @3 [2 C0 O% I1 s
  33. 主机= the_pc_the_mysql - server_is_on 6 C8 O' S, e) z# R2 h' c( I
  34. user_name = user_name_on_the_mysql服务器
    $ Y) Q( N- W5 X, i) |% w
  35. 密码= password_to_go_with_above_user_name
    . a0 N+ q# m+ _) p9 A
  36. getdriverfunc = getsqldrivermysql 9 J  C" e# A0 q4 l3 G( `3 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 N; Q6 i' h* J0 t4 V1 i, Z
  38. libraryname = path_to_libsqlmy_libary
    ; U, W7 w7 K" ]; u1 o
  39. 积极= 1
    9 u1 ^2 [4 Q/ b  d! d
  40. ---削减这里--- - e; m4 K. ~# U5 y3 i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , _( B3 n* @& G0 E# G/ H" h9 w% E
  42. ---例如--- ; `$ U+ Z! d! X# n* \' e
  43. [ dbexpress ]
    8 Y! [4 k4 m* {
  44. sqldir = mysql_sql
    7 I  n3 S- Z9 l* L& j- ~
  45. drivername = MySQL中% c8 v' N5 m$ S$ S7 K8 x3 M
  46. 数据库=测试4 Z+ T+ i' D5 J+ k  ^7 n( f
  47. 主机=本地主机8 ^5 N/ s; S3 X( _1 K
  48. user_name = testuser
    6 ?: F( O' ?1 S# Z* j2 t( X
  49. 密码= my_password 9 k$ G: k" _5 K1 W# ^
  50. getdriverfunc = getsqldrivermysql
    ; R" t1 G- ]* i/ y! w' ?- |) Q) v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 J. j/ d+ l" [$ [3 U8 X
  52. libraryname =. / libsqlmy.so
    ! u% g* C( A! h$ D5 W: ?& G
  53. 积极= 1
    - I) P' q! R# A. a, \% A5 Q
  54. ---例如---
    * F6 g) f: E" [% O. K1 o
  55. 9 A/ ~) B! C  D+ Z" ~, s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + b+ e# ?- F  S2 V
  57. ---例如---
    1 d+ w- }! ], Q: o# ]0 K  {- J8 V4 D
  58. [ dbexpress ] : O' S  p9 o6 _3 \: Z# A- b: Z
  59. sqldir = mysql_sql
    6 I; q% T% H; X$ i2 ?# E
  60. drivername = MySQL中
    0 M7 ~7 R( N* C/ Y
  61. 数据库=测试; ]& q. e6 h, ~* g/ C$ F" L) m
  62. 主机= 127.0.0.1 + v" b, y  b! c: y* k( C/ r% a. \
  63. user_name = testuser 1 _  K+ U4 K) {, ~, E
  64. 密码= my_password
    ; W" z+ ]" ]+ d; P6 \  _; {
  65. getdriverfunc = getsqldrivermysql
    8 J! q. b3 E6 l% P+ M
  66. vendorlib = libmysql.dll在' z9 S: g4 P. ^! ^+ I% s
  67. libraryname = dbexpmysql.dll
    % a) R  \1 g0 b: H; j4 W( \9 d4 V
  68. 积极= 1 7 H6 ~' c' \  k0 Y
  69. ---例如----
    9 x# g' ^( j& @" I
  70. -写在0 2.03.04由p wk.linuxfan7 r4 |) [# U& x6 [" D4 @% X$ c5 a
复制代码
发表于 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 words8 r  j* V* s/ @& x

2 P! R: W/ c8 Z/ {/ |$ w% xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-21 17:24 , Processed in 0.110261 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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