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

3130 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * Z8 G, M& s% B7 R3 I

) c$ i- d. i6 U" c/ U4 w2 a. S, C

  1. 9 H! W. F$ m" D  q: i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      g1 T$ F% B4 G" Y5 t
  3. : f  A3 ^8 ~" _, q  D0 M/ y6 d
  4. ### What we need ###
    $ y( |$ H* f2 g% ~; I+ q
  5. Naturally, we will need a MySQL server to store the data for us, this document ( \" c% r( o. [0 f& v# r' z
  6. will not explain how this can be done - there are documents out there for the / ?$ F1 H: s! j* [% N  g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & v  _) o2 U9 H7 N% C
  8. and a user account (username + password) that has the permissions to do stuff
    ( o4 q) w5 {2 Y/ q
  9. with the database. Additionally, you will need a vendor library installed on the4 n9 k; u' I# Z7 Z
  10. local machine, this came with my MySQL install.
    , S6 s0 J2 b8 c
  11. These instructions will not tell you how you might transfer your data from the
    2 p7 H6 @! l% a  h7 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # t( k" |9 Q% }! O
  13. database.
    , k, p+ |" d4 D5 B4 F
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 a' M3 g, U4 H
  15. the time of writing, there are still too many issues - check the current status
    9 @5 L9 P0 l" p/ P. n
  16. in the TeamSpeak forums if you are interested.
    1 A: t2 D% q4 _; j# ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      `" T  }) V; ]4 V* c" _, ]
  18. Borland was used. This driver can only interface with the client library that
    , M) [3 ^- A" |5 Y" [4 s( a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) L% E; `/ \+ c6 n
  20. client library - basically all you have to do is to use a 3.x client library as ! }' E& o3 k# h0 g0 Q: B
  21. "VendorLib" and a 4.x database to connect to.) E/ k8 H# m! G+ @- q+ S9 O
  22. If you need more info about dbExpress, you can contact Borland.7 V7 ~1 Y; N  z6 \# V

  23.   P- z( K: J$ P3 [% `$ m9 I: S( ^
  24. ### Doing the work ###
    ! _: p  U4 Y" u5 Y/ |* L4 e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 a3 s( [% p  @3 ~; z
  26. the perquisites right, just open your server.ini file, and add this section at
    . o$ t" q( @+ H/ ]
  27. the end:6 F; B3 b( j  ?5 G! j/ [5 L' x! ^6 l
  28. ---cut here---+ _8 n) l. T2 ~. W+ z
  29. [DBEXPRESS]
    ! J( D% B+ T. H: w8 T& H! F( C
  30. sqldir=mysql_sql/ f3 Y: \- \7 A' B( O2 l' v
  31. Drivername=mysql
    , |" e, z- R" K1 R2 M
  32. Database=Your_Database_Name_Here
    1 O; L, i4 h! d. u/ C) I* `) C
  33. Hostname=The_PC_the_MySQL-Server_is_on! Y' e* h& g1 t
  34. User_name=User_name_on_the_MySQL-Server+ W' `' \( ]4 ?7 l
  35. Password=Password_to_go_with_above_user_name
    / _+ t# Z6 _- w% A' q, ~  m
  36. GetDriverFunc=getSQLDriverMYSQL
    9 ?$ U2 L2 F' G7 ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : G* d8 T+ H: r+ H! I/ W
  38. LibraryName=path_to_libsqlmy_libary. D. x" N; n* f0 ?" n
  39. Active=1
    " l' A4 Q. G1 v4 \/ @: n, g
  40. ---cut here---
    ) @6 V. h" v, T9 d8 j6 a
  41. In my environment (a linux box with a MySQL server running locally) I have:3 r: V5 S, X7 ]6 u* t
  42. ---example---: v2 l' E6 {7 E7 Z' A
  43. [DBEXPRESS]+ k, l' X) P; Z
  44. sqldir=mysql_sql9 V* t, T5 ]" @0 N2 R
  45. Drivername=mysql( X: L- u. K. M7 r. @  a  z# D
  46. Database=test
    6 ?5 l" a+ K- S
  47. Hostname=localhost
    & I0 e4 ~5 \1 ^* W* N
  48. User_name=testuser
    / W) [' `& `- [4 k% x, Z
  49. Password=my_password5 w: @- D4 R# q. A: C" k
  50. GetDriverFunc=getSQLDriverMYSQL
    , s0 i: @; R$ f1 c  l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. y; E# y+ T+ Q0 f9 Y1 w
  52. LibraryName=./libsqlmy.so  g' R) n6 o, C: q: L- K6 H
  53. Active=1
    7 C) s& r9 {; w: T. G& X
  54. ---example---, j; g9 p+ P, P5 B# ^) Q
  55. 7 K' N2 @/ Q/ d- w* D
  56. On a windows box, also running the MySQL server locally, it would be:
    + n3 Q  W$ d6 W3 t2 r& ]1 |
  57. ---example---7 x2 X5 N7 `8 R  ~" H+ h/ N9 ]
  58. [DBEXPRESS]
    8 m: u, }/ _" T
  59. sqldir=mysql_sql
    . o0 I1 s% `( w
  60. Drivername=mysql
    8 o1 t( S8 }% S* a( H0 ~2 }
  61. Database=test
    5 z1 ], ?: t5 ]6 ~9 S2 m
  62. Hostname=127.0.0.1
    - A, J  C% G6 l* i" ~' k
  63. User_name=testuser
    3 _6 {  D& B  P9 ]; c
  64. Password=my_password
    1 J' B: k: q! f" j! Q. B$ ^/ _
  65. GetDriverFunc=getSQLDriverMYSQL$ Q- D0 [7 l/ R! l& t) z$ |0 @
  66. VendorLib=libmysql.dll
    % V# n& Q& W" g/ a3 Y" Q5 S
  67. LibraryName=dbexpmysql.dll
    8 Z* h0 u/ D$ d3 Y
  68. Active=1/ g! I/ e$ U' l# c5 q
  69. ---example----
    $ _1 C/ D2 F8 \2 H' n/ T
  70. - written 02.03.04 by pwk.linuxfan: h& B+ l) f6 R. o( V

  71. 4 Z) S, L0 d1 A2 @% `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 ^9 }* p& D) t8 Q( I, Q
  1. 3 [. }! Y2 Q$ j: b& c: T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + t# T* f: L5 t
  3. 3 H- m/ w4 q+ ^& w) [
  4. # # #我们所需要# # # ) a" ~4 q4 Q* l* h' U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + z) ?: ^* H. H' y5 V1 _( }5 ]
  6. 不会解释如何做到这一点-也有文件存在,为  l7 H; |. ]& Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 c" N/ E+ W& w7 E* l- D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - H2 H: k2 y1 u% c% P) I% F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 ^- t4 M- o! K
  10. 本地机器,这是我的MySQL安装。 % y5 ^/ F7 x7 w2 d2 T" U# I) H( b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 d5 E  G+ C/ a( I: i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " P0 d, P' S) t. J
  13. 数据库。
    3 j2 ^$ \. ^2 n1 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % E2 O0 B( e9 ^9 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状" x, Z6 m: Z7 b
  16. 在teamspeak论坛,如果你有兴趣。 3 D$ W* I4 {9 T, W& _6 L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 Y3 Y$ ^5 H4 {$ U$ l; O
  18. Borland公司使用。这个司机只能界面与客户端库0 z% I* ~9 O8 e+ t1 A  g! ^( ~' T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( e  k: u& }2 Z; y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ S: L2 h5 P+ r& F/ l' y: i! _9 H
  21. " vendorlib " ,并解数据库连接。   p8 S9 j3 P7 X5 ~/ J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; {3 C: }$ i% V+ x3 s4 c
  23. 1 h  Z6 {3 ]0 U. b& X
  24. # # #做好工作# # #
    ) D- ~5 K" d5 A& f  i0 a& I1 b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 C1 _8 k8 Q- ?  R& r# R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 `" A) T  J3 n( c6 i% ^
  27. 结束:
    1 k" N' D5 g; _$ k
  28. ---削减这里---
    ' V3 }( x4 T, I; R1 l( D! N3 H5 ^* g
  29. [ dbexpress ] ! c: q/ r- u- n7 T3 y
  30. sqldir = mysql_sql
    - C4 I' ~) K; W
  31. drivername = MySQL中' v. a9 y0 [) Y* F4 @% u: K6 e
  32. 数据库= your_database_name_here 1 v% A- j/ p9 P5 p: z, }) e
  33. 主机= the_pc_the_mysql - server_is_on ' ]3 F) [6 s/ ^" l0 c  B
  34. user_name = user_name_on_the_mysql服务器
    7 }4 e3 e* k5 O3 |
  35. 密码= password_to_go_with_above_user_name
      p7 ^" G4 H% }0 e
  36. getdriverfunc = getsqldrivermysql
    ) Z/ S; W. X, j6 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # ]; k. G& {" U- o: G; \" d
  38. libraryname = path_to_libsqlmy_libary
    % Q( z% X! j! r8 L7 u9 u
  39. 积极= 1
    # U8 H4 d/ _! s1 Z9 w' ?, O
  40. ---削减这里--- 0 \, p; u: N4 ~: O# v  ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " Z& ^+ ^* e! Q( h" j0 Z' F# t
  42. ---例如--- , S$ Z/ S. j" z& p; ~
  43. [ dbexpress ]
    . ?% q( g/ P7 f7 U& ?
  44. sqldir = mysql_sql
    ' k* M* g3 g; u( T! a* |
  45. drivername = MySQL中3 d, v- m* \( p/ g; f* H4 J
  46. 数据库=测试0 y! s7 |- P* |0 T: |9 Y# O% K
  47. 主机=本地主机; _0 o% p- _1 ~0 s5 S' T
  48. user_name = testuser . u  q/ |- {& T# u
  49. 密码= my_password
    . l2 J* y5 b6 z, ^0 W' s
  50. getdriverfunc = getsqldrivermysql * H8 s2 u% m$ g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & a6 {# ?" q0 l0 s1 X# L+ u
  52. libraryname =. / libsqlmy.so " C# [! _+ \) I" s  X
  53. 积极= 1
    6 s% I/ b. n- y8 N6 k$ [
  54. ---例如---
    : n$ K7 Z, }/ t; j! B: E$ ~
  55. / U/ K1 |' J  ~3 N$ |8 ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; n. S1 k' s- u6 a/ K
  57. ---例如---
    $ B$ R0 ?, q% j2 c' m: f9 N
  58. [ dbexpress ]
    5 r! n) T+ H6 E  i, ^9 Q
  59. sqldir = mysql_sql
    9 L0 R4 d2 s5 q1 c
  60. drivername = MySQL中
    . o& `) P3 M% n# p8 R* o! U
  61. 数据库=测试1 _& I' x3 h3 L
  62. 主机= 127.0.0.1 5 T! {) L" B; i, q5 `" d% v
  63. user_name = testuser + D; A( I! l1 T+ ]' T) p( s  f3 Q
  64. 密码= my_password
    9 X- Z( w6 [. \5 `# r' h
  65. getdriverfunc = getsqldrivermysql " k. a4 V/ W6 x2 _- P
  66. vendorlib = libmysql.dll在
    : C8 J+ ~% t' ~% [1 w8 N  V
  67. libraryname = dbexpmysql.dll
    # A& U/ p2 @$ v& n8 N; W2 z6 P' X0 _3 U
  68. 积极= 1
    + }5 N% |) w) k8 E6 l( }
  69. ---例如----
    # O1 _* Z( A1 _* P+ q
  70. -写在0 2.03.04由p wk.linuxfan
    ) ]. q8 F$ b' {5 @9 ?+ d( 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
; q" Y5 ]: X# ?3 [, W: B% Z3 I7 E9 Z- i/ `( r$ y) I
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-7 03:21 , Processed in 0.099762 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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