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

2741 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 }! y& ^1 N$ a& l2 q; O- q6 }; P
) A+ H' L. [# V3 g2 J; q
  1. ) a$ _  j$ |+ B" h, f9 Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) [0 V; m- r# I1 T1 O
  3. 3 H5 D& L; ?6 S( @+ U5 g
  4. ### What we need ###) p3 n/ f. |/ _6 A( v
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / Z# T$ u+ R+ X/ L: ?; @+ b
  6. will not explain how this can be done - there are documents out there for the 8 P/ u1 b7 o+ P8 M
  7. interested. The requirements include a (empty) database for TeamSpeak to use, w8 S" T, [! u3 x! s2 {, t/ x8 E8 E& j
  8. and a user account (username + password) that has the permissions to do stuff  V6 ]5 Z  W" V  @/ |' ~$ I
  9. with the database. Additionally, you will need a vendor library installed on the
    ; ~4 k$ H, E6 e$ k# [) L+ R
  10. local machine, this came with my MySQL install.
    ) T3 `' l' z, P
  11. These instructions will not tell you how you might transfer your data from the
    ; n# G2 y. A, B8 `! _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; ]- a9 {* ^; c6 l
  13. database.
    2 R; g/ b% j8 Y% x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % _* O& d% E- y4 a* D3 r
  15. the time of writing, there are still too many issues - check the current status
    , p+ ~/ u$ x$ G' j( I
  16. in the TeamSpeak forums if you are interested.% _, R: |- w# ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " L0 @/ Z: I7 b3 {, x
  18. Borland was used. This driver can only interface with the client library that
    / ~, p. U+ P0 g. L; B/ D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      v' }4 A  A% \% a. z2 t. p
  20. client library - basically all you have to do is to use a 3.x client library as 8 x' g9 m5 L* a1 _& i+ B
  21. "VendorLib" and a 4.x database to connect to.: z0 S3 n8 i& {  W( ]& X4 I+ ]% C. i2 I
  22. If you need more info about dbExpress, you can contact Borland.
    ( P4 [  y# F8 L$ t! X- ^0 R' J1 ^
  23. 0 N1 F3 p$ @( Q6 N& F% t% z
  24. ### Doing the work ###
    7 m( {" d. l9 x' ?) I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - m9 M% e9 ]+ o
  26. the perquisites right, just open your server.ini file, and add this section at, X! D* l0 b9 n
  27. the end:( e; m+ V- L- x, ?
  28. ---cut here---  H8 d4 N5 V' S7 f' K1 _
  29. [DBEXPRESS]; U. x$ y2 @4 L9 j% p! l5 T
  30. sqldir=mysql_sql
    . m( u- l9 }3 |, K
  31. Drivername=mysql. T4 ^) H1 @. q$ P: a+ w6 o
  32. Database=Your_Database_Name_Here5 h' }, V8 T* H) B0 W' H
  33. Hostname=The_PC_the_MySQL-Server_is_on# U: m9 `0 H% W2 D
  34. User_name=User_name_on_the_MySQL-Server
    9 D1 X9 [9 _# ~. U9 a
  35. Password=Password_to_go_with_above_user_name. \( W0 }" t3 ^# A1 K0 k3 p
  36. GetDriverFunc=getSQLDriverMYSQL
    . |/ o* A: P7 m' w& j( ?: A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 N8 s! G& F$ Q6 z
  38. LibraryName=path_to_libsqlmy_libary
    - f# \7 @) _' S/ O2 a: x
  39. Active=1
    2 b% h6 N/ p. [2 @
  40. ---cut here---
    9 \1 d$ E7 u5 u; x6 P( K/ R
  41. In my environment (a linux box with a MySQL server running locally) I have:% Q. F/ I+ V# ^- T+ c) w# R
  42. ---example---
    % l8 s7 }3 _( }# \* B% |
  43. [DBEXPRESS]
    3 ]3 g/ c  C" E( @
  44. sqldir=mysql_sql
    0 W" w: Z/ U5 y1 _  [% w
  45. Drivername=mysql
    1 x$ i; q: N' X+ W+ }
  46. Database=test
    2 ?( l, S( b5 v( i
  47. Hostname=localhost
    4 N/ u5 y6 A- w0 ~1 \
  48. User_name=testuser
    ( m/ r% K3 c1 v2 D# i- c. a9 Z
  49. Password=my_password
    ) n! t) N) ]" O& h& {9 O( Q
  50. GetDriverFunc=getSQLDriverMYSQL
    # x9 P3 a: j+ f; e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" C8 P: `8 i: w0 H3 S$ w/ T
  52. LibraryName=./libsqlmy.so! ^. s  P& A5 p0 T6 ]
  53. Active=1
    * S5 J2 ^8 U, `, P& V( h3 V. }
  54. ---example---$ `8 [- G/ Q" d) D
  55. ( z6 E  F9 M' x) V) q
  56. On a windows box, also running the MySQL server locally, it would be:
    ) t# a6 o- A+ @% y# x6 j2 Z$ u1 k
  57. ---example---1 H+ h* i; c# [* ^" h# m3 u
  58. [DBEXPRESS]
    5 t; S; u$ j$ D
  59. sqldir=mysql_sql
    3 T& c! y# N1 O) j9 @" k, j% E
  60. Drivername=mysql
    1 `7 `+ l1 T7 u0 c+ d5 X7 O
  61. Database=test3 h" u2 N+ \1 y  h' `5 M% |* Q  h
  62. Hostname=127.0.0.18 L5 w& r  H! j3 D2 e! q
  63. User_name=testuser  I& u1 W, k1 Z% b
  64. Password=my_password9 f9 m/ H' ]" j2 Y2 R
  65. GetDriverFunc=getSQLDriverMYSQL
    , V/ t/ c1 Z; r& S* p, s8 ^
  66. VendorLib=libmysql.dll
    3 ]9 j3 c8 |4 K9 d* D
  67. LibraryName=dbexpmysql.dll$ k# y' d4 l2 g
  68. Active=1
    + ~5 h, M8 h3 e5 h9 ]
  69. ---example----
    4 u  j4 d5 ?, S8 N
  70. - written 02.03.04 by pwk.linuxfan
    , H* w! P+ x) S& U

  71. % x2 ]7 g2 |. z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 O2 Z" R2 ], c' G9 E
  1. ; r3 F4 R- Y. M3 h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! Q; X3 h" l0 C

  3. 4 Q+ r; T. X6 z2 }0 Q* J/ _
  4. # # #我们所需要# # # 7 J5 u! f8 ~* ?( F$ n  ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 J6 i7 U" {( {, D
  6. 不会解释如何做到这一点-也有文件存在,为! J3 Z9 Q1 C  o, J0 @3 h% t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* N6 v$ s! ?3 Y7 n1 H" b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; Y. Z  W. i, i$ k# {( L& u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% b* @8 V' H. l4 F/ X! i  T
  10. 本地机器,这是我的MySQL安装。 $ b; w: N/ k' e/ z: `* h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 K5 _( U5 f; k3 H0 e' s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % x+ d6 P$ p: m7 @
  13. 数据库。
    ' B- n7 Y  p' q* X+ |( \3 l( l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 U- X) Y1 }0 ^1 O1 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状" [$ S4 T9 K! M$ U; a8 {
  16. 在teamspeak论坛,如果你有兴趣。 6 _, H! ~. Q2 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) C9 S% v+ {8 R9 {
  18. Borland公司使用。这个司机只能界面与客户端库
    " F( W6 g5 k) H! z- b+ E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . `) v( h) L$ R' j2 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' T0 `) i' r* t/ a) _8 B* N
  21. " vendorlib " ,并解数据库连接。
    2 ]4 c# o$ x) G: E9 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ ?  C  l" J4 z; ~* o  H
  23. ; N4 h% t" P$ R
  24. # # #做好工作# # # 2 B3 F# Q. k# V; P; E* d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 C& f" y! y( B: h. H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% P/ B/ J" _! D1 c" _' q! N
  27. 结束: / S) |% `. U* [/ |  F
  28. ---削减这里--- ( K% `  R4 k) v1 g3 y; I$ D
  29. [ dbexpress ] 7 D3 G0 Y! Z. [3 t
  30. sqldir = mysql_sql
    , R, |7 e/ P1 c' S* W. r4 @8 }
  31. drivername = MySQL中/ d% n1 x. h2 L& I- Y! t
  32. 数据库= your_database_name_here
    ) j: [5 ^, z; l7 d, @
  33. 主机= the_pc_the_mysql - server_is_on 4 P& T8 I  T! {& _0 Y& K% I
  34. user_name = user_name_on_the_mysql服务器
    / ?4 p. {  O/ G$ M; E0 |# w0 t- d
  35. 密码= password_to_go_with_above_user_name
    3 G& ?' T) y8 e5 m1 c# E
  36. getdriverfunc = getsqldrivermysql
    9 h# u3 J; {5 K( T2 J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( _8 |5 `! E4 n( o9 M
  38. libraryname = path_to_libsqlmy_libary
    : L. h: b0 q* E4 I- f
  39. 积极= 1 $ |1 j! Q6 [, o- ^- \, J  T
  40. ---削减这里--- / o  X6 X7 P# ?2 q, G% J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' S/ z' l6 d; C: J& Q, S# Y" j
  42. ---例如--- : ~0 }7 f+ W: k1 j- j' K1 p' z2 s
  43. [ dbexpress ]
    6 M) c' S, @! i. Q
  44. sqldir = mysql_sql
    , S: Q' c. y" E. y6 q' U
  45. drivername = MySQL中  D) f. j. K& q. @0 g7 @& ^7 {
  46. 数据库=测试
    0 |3 i$ ~9 m8 c1 ~$ j
  47. 主机=本地主机
      |1 |% `. D' Y4 W" u1 J
  48. user_name = testuser : E" z+ U; ^7 Z: {
  49. 密码= my_password - k* l: H4 c! O0 l
  50. getdriverfunc = getsqldrivermysql
    7 @- f, v- r8 `' P4 _. G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + z' u( D3 m4 m3 d! H/ k0 Y! A3 R$ A
  52. libraryname =. / libsqlmy.so 1 K7 u8 w7 Q, u5 x0 f. o
  53. 积极= 1
    , v2 D1 T5 l' @) K. c* ^: H6 c. i
  54. ---例如--- . p) }! m& I1 ^0 B( M
  55. 0 e0 ]3 }4 B9 [6 p8 [/ f
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 a# ?" |  v2 w8 u5 s  U) V- c
  57. ---例如---
    6 h6 e7 o; I; c% N( x
  58. [ dbexpress ]
    : k9 ~- X. X" e
  59. sqldir = mysql_sql # `" M4 z. m- i' }
  60. drivername = MySQL中
    4 a( b9 ^4 n  G" Y: L/ D  s
  61. 数据库=测试
    $ i0 L$ s4 D4 N0 m( @
  62. 主机= 127.0.0.1
    2 r& ~8 ?( U7 {7 P
  63. user_name = testuser
    - B: l7 R0 x  ~& F' c" G$ |* ^
  64. 密码= my_password
    / x1 Q  n% N9 H0 ?2 q3 k5 S
  65. getdriverfunc = getsqldrivermysql 5 n0 a6 f- j3 h) N9 C$ L- E$ d8 X
  66. vendorlib = libmysql.dll在
    ) w; f% r) l  i: a5 [9 O% t4 P
  67. libraryname = dbexpmysql.dll 0 O' p/ M) z/ @8 d4 V. j
  68. 积极= 1 ! ~$ x4 H/ C6 `
  69. ---例如----
    8 X& T7 x( C* q- o
  70. -写在0 2.03.04由p wk.linuxfan
    1 s. \7 t0 N2 C8 O/ o
复制代码
发表于 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 words6 v2 ]( [! h; q, e$ u; a# v

+ g5 C* ~: a( ], `# D6 Z; N7 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-10 04:43 , Processed in 0.096535 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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