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

3371 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) c& `' ~, [& X! W' z5 N7 J8 ^5 Y
( g( ^3 ]  t( f  D6 A8 L

  1. / F, {: Q! |: X) ?" a/ G) G4 q. ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 {$ H/ G: T, J3 k
  3. 6 y4 K* ^, b' j- ~: |
  4. ### What we need ###- P0 R3 f4 ^; x, ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + X! K+ U2 m8 t8 l& W$ V: o
  6. will not explain how this can be done - there are documents out there for the
    - _: V+ o5 {2 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use: `3 b" S0 n8 E' K' p
  8. and a user account (username + password) that has the permissions to do stuff
    ' e6 d0 f4 x5 `2 f, o) d
  9. with the database. Additionally, you will need a vendor library installed on the  Q% r& s( K! d  S  o7 s
  10. local machine, this came with my MySQL install.7 }% A6 D; b8 j/ C
  11. These instructions will not tell you how you might transfer your data from the) Y; i% I: C) `! H1 \. @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& _) C' B& U1 c1 ?& O% _2 a0 O" i4 E  ?
  13. database.
    9 i$ j; k" I9 J7 w1 u# E( t
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 N: z+ m" i- X" f' l& A' A
  15. the time of writing, there are still too many issues - check the current status0 O8 \$ J3 Y+ ~/ m7 Y
  16. in the TeamSpeak forums if you are interested.
    7 P8 U8 T. a1 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * v+ ]- ^8 |( W% q$ S9 A: `# K
  18. Borland was used. This driver can only interface with the client library that
    + _% Q) E0 l  T' R3 d6 P
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 Y4 _" }" L0 G% u/ ~& v
  20. client library - basically all you have to do is to use a 3.x client library as
    4 B& M: l. K9 O% S1 k
  21. "VendorLib" and a 4.x database to connect to.
    : |" y6 ]$ a7 u7 k4 N* d, t' u
  22. If you need more info about dbExpress, you can contact Borland.# M, f/ _8 @' l/ p: k
  23. ! @& E3 w% \% O8 f
  24. ### Doing the work ###
    ! w9 U+ S& c2 b- l, C1 L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    + u1 v9 K. o5 @) b( V
  26. the perquisites right, just open your server.ini file, and add this section at
    * R4 V. R/ n" {. |- j
  27. the end:
    8 @1 K- Z; f% k! E6 N$ s) x
  28. ---cut here---
    - R( ]# C% ?& ~
  29. [DBEXPRESS]
    $ D: p9 e9 z  u6 @! J- x! i( Q7 }
  30. sqldir=mysql_sql( Q/ a* A  o& d4 n( g
  31. Drivername=mysql
    , w- J9 M  y* t+ L
  32. Database=Your_Database_Name_Here0 L% M7 z5 j" W7 I4 Y( s1 h
  33. Hostname=The_PC_the_MySQL-Server_is_on- j) Q9 q  `. v  m" P
  34. User_name=User_name_on_the_MySQL-Server, i& @  n8 J5 Z0 @1 U6 L( B7 s
  35. Password=Password_to_go_with_above_user_name" [5 P1 D* x) @! |) x4 Z' B, t( ^2 L
  36. GetDriverFunc=getSQLDriverMYSQL
    5 d9 }4 P! q: p  y% t* o. p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 L, P3 R; Y1 r. _+ J
  38. LibraryName=path_to_libsqlmy_libary
    $ d& b! c: p" U4 \; D8 ^3 H& t  _: X
  39. Active=14 p" ^$ P# b- t& U0 k, X! _
  40. ---cut here---3 a+ J) `% s5 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 g" h& r. X/ x, b
  42. ---example---
    * x- t1 ^& |: z% g  [0 }
  43. [DBEXPRESS]. q! ?) M- k$ z" [" t; i
  44. sqldir=mysql_sql
    5 ^  z9 m6 x' J
  45. Drivername=mysql8 ^! J* p4 {6 y* P2 ^, V- k$ L
  46. Database=test- D/ T! _  p# ^. t* V5 ]# U
  47. Hostname=localhost
    & @! ~/ d& _# w. C0 c
  48. User_name=testuser& ~* ?" B" l% b4 s) a
  49. Password=my_password
    * z& g7 _1 J* d
  50. GetDriverFunc=getSQLDriverMYSQL: ?6 _8 U3 A0 e! b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ w3 x7 J! u6 H- L; V
  52. LibraryName=./libsqlmy.so
    % @+ I( u4 E4 O6 ~& c
  53. Active=1
    ( n* ^! s, z2 l' N9 b
  54. ---example---* O7 V0 w1 w( \
  55. 4 g4 j3 x3 Z( _9 E' {* w
  56. On a windows box, also running the MySQL server locally, it would be:
    ' s. m, J& I% v" s" C
  57. ---example---
    - Q4 x7 z3 A6 A6 n' Q
  58. [DBEXPRESS]4 I( \! X( h0 e
  59. sqldir=mysql_sql
    4 E" s9 B0 F; s  L$ e0 A! h6 E8 {
  60. Drivername=mysql5 N+ o# Z2 Q3 y! T
  61. Database=test4 ?/ w# r- o7 {0 j4 N6 R0 `
  62. Hostname=127.0.0.1. N, E9 ~, u* l/ q  N4 y# v5 n
  63. User_name=testuser' J. F/ b; U5 w& \
  64. Password=my_password
    ; E! ^/ q& u' [4 L( j, ~
  65. GetDriverFunc=getSQLDriverMYSQL
    , f+ {2 W. J# {0 M  A' a
  66. VendorLib=libmysql.dll9 d2 F/ ^: N  Y- d2 [, W+ S2 q
  67. LibraryName=dbexpmysql.dll
    0 w' `+ T0 R. f: X' s! [: L1 B
  68. Active=1/ ]$ j* }& M& B' |! k8 S6 C
  69. ---example----
    ! D( Q' h+ y$ ]5 h! O
  70. - written 02.03.04 by pwk.linuxfan
    . e7 L, i4 e: G4 G7 Z

  71. ' j+ ]8 W6 |+ i/ C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 ]* v& D4 K6 Y" Y4 N& [& X7 ]3 l
  1. & n5 L& b- a7 G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / s$ q* s/ B7 M

  3. 4 F9 Q* W2 ]" q: @- N8 R3 u( a9 [
  4. # # #我们所需要# # #
      Z5 v' H- }5 w- T7 w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + H, Q+ m# T' s% s! g0 s9 ~9 f, G
  6. 不会解释如何做到这一点-也有文件存在,为) A; i3 _* Y" K1 o! L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 k) E4 J( K0 o5 Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* D. U5 j, E8 ]* q, ~- j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 k6 G, y- l# l$ c# d) V
  10. 本地机器,这是我的MySQL安装。
    . U! d4 q8 L3 a# y* a. Q0 \- [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' D6 a! X7 ]5 U8 D/ Q1 j& T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + s8 |; W  w1 y+ d  S
  13. 数据库。 " Y% s) U% [; A# \' G: p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( n& I% Q3 ?1 H: V, ?0 Z7 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 ?; O: w. ^0 G4 G. ?7 Y# h8 P
  16. 在teamspeak论坛,如果你有兴趣。 # ?- K2 W# Q# W% g8 x5 L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 x: F  \+ w, O: T% H) P
  18. Borland公司使用。这个司机只能界面与客户端库/ L+ G/ C  D  w& `. r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 D& n1 A. j  U0 g& F1 G4 m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) j3 h2 \  N/ }6 Y- x
  21. " vendorlib " ,并解数据库连接。 0 F3 V  c3 Z7 Z! q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 v  J- j  }; P

  23. 9 `& V5 n) {3 b' S8 y  j
  24. # # #做好工作# # #
    & Z5 b9 b6 z; x  K) [! I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , h# u6 G: e3 X) y4 }( L$ |9 X+ f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      H' C) a8 v7 [- ]: n
  27. 结束: 4 K4 @# a5 N% e$ G- v2 m: y
  28. ---削减这里---
    $ R+ j2 [2 K: A, H: o/ a
  29. [ dbexpress ] ' w# f. m2 {3 \2 x6 ?' G' D
  30. sqldir = mysql_sql : ~: F5 @: H9 b* B$ j7 a% U( ~; x
  31. drivername = MySQL中8 v; ~/ m+ o2 j) R' c5 C9 Z3 P% ]
  32. 数据库= your_database_name_here
    ; v& N* u: a# |7 J0 V4 L/ _/ m
  33. 主机= the_pc_the_mysql - server_is_on $ k9 Y* @' d9 u1 c3 @" q
  34. user_name = user_name_on_the_mysql服务器- y' K0 y0 Y4 V8 Z4 a8 I
  35. 密码= password_to_go_with_above_user_name
    3 p7 `6 y* \/ F, U% \
  36. getdriverfunc = getsqldrivermysql , F* @4 S/ q7 N$ m: b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " G- u' k# Y- J
  38. libraryname = path_to_libsqlmy_libary 5 }# J' L* ^0 b6 [6 J
  39. 积极= 1
      b" Z5 n; Z4 S* c
  40. ---削减这里--- 9 P; u0 ^% V) R' D1 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 B/ I+ ]; k! \& Y
  42. ---例如---
    ) b* |5 C2 O6 M7 C
  43. [ dbexpress ]
    # \, ~* I8 \6 Q: a+ ]# U- m$ O
  44. sqldir = mysql_sql
    + {9 r( k" A: g1 f! X
  45. drivername = MySQL中
    8 b) G* M1 L" X: s
  46. 数据库=测试
    * r0 R( u& ~7 A! ~
  47. 主机=本地主机! K! h9 H2 `5 ~/ l) P, A! t' w
  48. user_name = testuser . }+ I0 u7 t+ p6 Z# O
  49. 密码= my_password
    4 h8 x; X- l  B2 ~
  50. getdriverfunc = getsqldrivermysql
    : ?. }) q3 T. K8 y5 C* L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * g& h# g9 o2 ?/ j# q0 i
  52. libraryname =. / libsqlmy.so
    ; \5 I4 E+ `, |7 b% v
  53. 积极= 1
    & B2 n0 J8 S: g  A+ g
  54. ---例如---
    . y  {! a" G* D0 K% `& n/ X7 l8 r

  55. - s. J& \/ `% H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 y, x6 e" {. n5 Z
  57. ---例如---
    4 O# I- \* \7 S5 I+ T* a8 F
  58. [ dbexpress ] & s8 ~. S9 Z5 F( O+ T
  59. sqldir = mysql_sql
    ( Z# |' h+ O+ B0 R
  60. drivername = MySQL中) ~# f6 l8 P! q6 Z
  61. 数据库=测试* ?9 g9 P  X- R- I! L! s2 \' ~: K
  62. 主机= 127.0.0.1
    ! U6 R" F0 j9 u# m3 m5 v
  63. user_name = testuser
    $ \* C  V6 E/ N; t
  64. 密码= my_password 3 r/ J8 w& B& f% H# |2 u* L9 ^' p; b
  65. getdriverfunc = getsqldrivermysql
    ; J# u0 D2 s) f! B# {1 j/ @+ r0 {
  66. vendorlib = libmysql.dll在
    8 u2 l1 t6 F# ]' |2 t+ X# l+ K
  67. libraryname = dbexpmysql.dll
      K) B  Z4 P# `9 M
  68. 积极= 1 9 j' G' B. j, o4 ~$ N/ P& m! f
  69. ---例如---- 6 e) a; I( L2 m$ j2 ]
  70. -写在0 2.03.04由p wk.linuxfan* Y$ u6 Y. E6 l4 A1 R; N$ K9 P
复制代码
发表于 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$ v, \9 Z- ^* c$ x. l5 X; F

: T! w& A$ v6 G$ p7 Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-21 21:08 , Processed in 0.104234 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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