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

3090 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ z$ W  w; Q* ]1 _) X

$ q* G" y3 w$ s, R3 z
  1. 6 r7 u2 h+ _1 D. D9 A; K2 `4 H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 r, ?; n* [& A' N
  3. 6 X) \: o- U+ U- w1 d2 W+ Z
  4. ### What we need ###* P: i+ e, m0 k: _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . R. J6 H8 D' y1 M$ r& x
  6. will not explain how this can be done - there are documents out there for the   Z3 `1 Y! J6 c- ^. J! ?
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! r/ }& d& j2 V( w( b
  8. and a user account (username + password) that has the permissions to do stuff, U* h# \9 G9 \# y) R$ f
  9. with the database. Additionally, you will need a vendor library installed on the
    * k: F  Y" @' A4 R7 ?0 R: S! X, d
  10. local machine, this came with my MySQL install.
    ; ]* l" ?# N- ^. z6 F- i
  11. These instructions will not tell you how you might transfer your data from the
    5 q( S: F2 U! Q/ i7 F: C8 X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 H+ o. E+ Z& ^& X: F0 i8 f. E
  13. database.0 w; g' ^& z3 @7 k. @
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # Y0 y2 B3 x3 s! U. F! Y/ I0 K0 \
  15. the time of writing, there are still too many issues - check the current status
    . u9 l3 a9 N$ M3 u
  16. in the TeamSpeak forums if you are interested.
    0 d: [# m8 ?! z. K+ b9 o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) d$ b- Y4 F* @" w, I
  18. Borland was used. This driver can only interface with the client library that
    * t/ }% M8 ^9 a; k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) U& h1 U$ C, e( E( y  c/ Q7 h
  20. client library - basically all you have to do is to use a 3.x client library as # d4 C. U: V3 {
  21. "VendorLib" and a 4.x database to connect to.
    ( L4 Y/ b) e& b: z4 y4 E; W+ p
  22. If you need more info about dbExpress, you can contact Borland.
    9 z2 T6 f2 F5 I
  23. ' s( X% T4 s' L; t% d! Z: o
  24. ### Doing the work ###
    4 P9 q" H  R7 P" f# W1 Y) E3 y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 g/ O! y: ^& g- E/ T: p5 D( t! f
  26. the perquisites right, just open your server.ini file, and add this section at
    / A2 H7 }8 j% q) Y. @8 d
  27. the end:) O: S$ ~! U4 x1 ^
  28. ---cut here---
    9 c* \- f$ q5 a$ B# z6 E
  29. [DBEXPRESS]
    1 P9 w1 d% X5 L' y' v
  30. sqldir=mysql_sql7 t% D% ]1 N, ~7 [, {) N! M
  31. Drivername=mysql
    5 [9 [$ t! s2 V1 n- Q( n# g9 f
  32. Database=Your_Database_Name_Here, {' ?# ?1 Z! \- x* x1 g' z, j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 W/ `6 b8 d% F: I9 F0 a
  34. User_name=User_name_on_the_MySQL-Server  ]7 r( C4 F4 N2 f: X$ s
  35. Password=Password_to_go_with_above_user_name
    . Q, q$ b3 J( X$ c7 M! E1 B; O* u% v
  36. GetDriverFunc=getSQLDriverMYSQL
    4 |3 h# T* }$ d0 v0 j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- T, x  _, I- Z( r+ `$ W
  38. LibraryName=path_to_libsqlmy_libary" M5 B' K! J* m  f: g8 ?
  39. Active=1# v/ C8 y1 ?$ I. j5 h6 ^! M
  40. ---cut here---7 m  P; d* l; ?9 n
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; ]& f/ {- n- s$ F) V
  42. ---example---- i" f6 W7 K3 n7 l( x2 z+ |. }5 L
  43. [DBEXPRESS]  D. o# k6 A) @
  44. sqldir=mysql_sql6 r" c8 f; w3 C/ d: r
  45. Drivername=mysql
    6 W( c. V: t1 ]9 E6 v  ]
  46. Database=test* B7 p0 M6 a% R2 h
  47. Hostname=localhost
    . W$ _. N; m% H/ Q
  48. User_name=testuser' m5 Y4 G6 H# F( Y
  49. Password=my_password6 v, t+ z* z6 G& \
  50. GetDriverFunc=getSQLDriverMYSQL* i& q& v4 F2 f& l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( P9 [8 D6 `' j$ j0 i1 o5 S
  52. LibraryName=./libsqlmy.so4 R( H2 n% h' k0 A
  53. Active=1. V# X+ i2 t9 O* j& g
  54. ---example---
    & i7 O: z/ e6 o) K8 y& c

  55. 1 T: F2 H, ]( Z/ z
  56. On a windows box, also running the MySQL server locally, it would be:
    9 q* e4 Y8 X2 q+ O8 s( d4 x
  57. ---example---2 C: u  K0 d  m7 q8 B# P- u7 L8 P. i
  58. [DBEXPRESS]
    . D2 w" a1 X; m  ~5 |) \
  59. sqldir=mysql_sql+ u" _9 {$ X& O) E9 I: N
  60. Drivername=mysql$ n9 S) F0 V; j# Y, Q
  61. Database=test
    ( J4 l/ X: N3 t
  62. Hostname=127.0.0.1! {5 A1 a1 E" I8 d
  63. User_name=testuser+ _5 ]2 }2 @9 p+ u% W
  64. Password=my_password  V/ B( D' k( i3 V
  65. GetDriverFunc=getSQLDriverMYSQL0 N$ f0 b7 l2 a/ o
  66. VendorLib=libmysql.dll2 F" b) p6 s* x3 Z+ g# E" H
  67. LibraryName=dbexpmysql.dll: S: B! K. [: p. W. J
  68. Active=1
    - s  o1 G8 G" C$ s3 ^  h
  69. ---example----
    ; f' ]6 Q8 z, c* Q/ }0 n5 S6 T
  70. - written 02.03.04 by pwk.linuxfan
    ) Q+ h( I( I4 f/ R7 c3 W) d/ ~( J
  71. 1 R9 C3 k- ]& t' r8 S' n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! j/ K4 L% s6 [1 ?% g& w* Y: \

  1. 1 {  D, C* E. e. R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , R' U2 N# Y6 X3 n/ Q' e

  3. 0 j( F) s1 e4 q' Z) ^+ R
  4. # # #我们所需要# # # 0 }8 |& |8 r: `  |( n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 Z7 \7 {; D; Y& C
  6. 不会解释如何做到这一点-也有文件存在,为
    & n& Q4 c/ z( H8 [( B) n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 E4 V2 i$ E5 y! p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! o4 E4 C8 k3 s9 a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 l+ u, b/ y1 D
  10. 本地机器,这是我的MySQL安装。
      p2 O3 i6 Q& I, U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 @& P' N* B& T) y4 s& x. C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : ]( H" j+ Q( R9 p2 |* z6 j5 M
  13. 数据库。
    . Q2 G# I1 Q1 m0 K9 P) P: q8 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & }. f% }4 h* a2 W' }0 h
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( G5 [8 z# k) t8 M: H) \8 g
  16. 在teamspeak论坛,如果你有兴趣。
    & o6 m; d0 H3 c* r1 u; E1 q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + M% h8 c4 o8 J5 S
  18. Borland公司使用。这个司机只能界面与客户端库
    4 O5 `7 f8 H6 u9 J' h% }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* @6 I+ r& |- [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 W- ]. R5 x2 P$ ?
  21. " vendorlib " ,并解数据库连接。
    ( A' `% T% Z7 D& y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / g# e3 }& I! h# T( x1 g

  23. , a7 U7 l" V3 I# \( L# ^
  24. # # #做好工作# # # 9 D* D* R2 Z, U2 a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 X: X9 R5 m3 c2 w# Q* x7 C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 |' A- C5 ~% G& C: Z& x  q
  27. 结束: 1 J9 n3 p! U: {( F
  28. ---削减这里--- 3 m: i' M% K1 t0 R0 B8 S3 T2 n- r
  29. [ dbexpress ]
    " t3 Q9 r- Y3 n; [% b
  30. sqldir = mysql_sql ! x) ]* W0 _6 H9 U+ W) |" F
  31. drivername = MySQL中
    9 ]2 D! x% X9 a6 N; `- S$ q
  32. 数据库= your_database_name_here
    / g* A/ b' e( ^3 F# Q( F
  33. 主机= the_pc_the_mysql - server_is_on
    4 L: w) H& k" `. ^/ a  n
  34. user_name = user_name_on_the_mysql服务器* v8 c; l1 E, c' R( |
  35. 密码= password_to_go_with_above_user_name ! C2 b& k8 A5 R8 w5 w: J3 N
  36. getdriverfunc = getsqldrivermysql
    : u! d% q) B% u: s* j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 W0 f! ]% L- ]- B: `
  38. libraryname = path_to_libsqlmy_libary
    ' Y! ~  V) E( F/ L* c$ @# G
  39. 积极= 1 1 h: x) j" r0 z5 z
  40. ---削减这里--- - A3 k0 y/ z5 ^/ ^1 t# x4 B2 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : |6 v& U" m  d3 `! o) b
  42. ---例如---
    , Z- R' ?2 Q# {, d
  43. [ dbexpress ]
    + e9 D& @9 T" W. b) L. [0 Q
  44. sqldir = mysql_sql ; \! P& l1 i6 ]4 H6 r  d9 T$ N
  45. drivername = MySQL中! A# \9 f1 {$ q. m
  46. 数据库=测试1 h& ~+ x; Z6 H; O3 _
  47. 主机=本地主机
    6 C- Q  k- m# |) f- J: x7 k
  48. user_name = testuser
    : t4 H) N3 Y1 M1 Y% k' a) w
  49. 密码= my_password " j- m7 p$ f4 r, J9 ]% [. }
  50. getdriverfunc = getsqldrivermysql
    6 U0 V) T  j8 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % d$ V4 i  l- s. n! I* E
  52. libraryname =. / libsqlmy.so $ P& a& [9 N1 g2 m! r& Q: T
  53. 积极= 1   ?+ V% h3 G4 r# _4 G: g* H
  54. ---例如--- 0 y( X0 M3 m1 ]! n
  55. 4 l) p1 e: C# W  V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 X% a" R! z0 O0 N2 H9 K
  57. ---例如---
    * U5 D0 D% n- }: Y! L% V
  58. [ dbexpress ]
    2 L* F' ?* r' i! {9 I1 W
  59. sqldir = mysql_sql . c3 [0 a; g2 a) }3 u
  60. drivername = MySQL中
      C& ?0 o- h9 p* o# H
  61. 数据库=测试
    % U' [, b- r0 e$ }; g
  62. 主机= 127.0.0.1 ( C0 r& \" Q8 O' R0 A; n
  63. user_name = testuser   V  y7 t8 {: [$ t  O4 ~
  64. 密码= my_password . _7 C5 Z# j9 e' Q* j( W
  65. getdriverfunc = getsqldrivermysql 7 V. |* c, L" S9 W' N
  66. vendorlib = libmysql.dll在
    5 E- h  d1 _  @+ l; ~+ _, r  I
  67. libraryname = dbexpmysql.dll
    : ?2 ]! o8 W# v% `; Y+ _3 d, a
  68. 积极= 1 - B9 ?& X& C0 F7 O0 t9 j
  69. ---例如---- # L& o& D& M. Z) w. B" Y
  70. -写在0 2.03.04由p wk.linuxfan
    - P# I* {% ~* d7 N, ~& G% W( s
复制代码
发表于 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
* Z  T* I9 {+ N" j0 G
( ?$ D% J1 E" @4 Z. N! x6 {& Rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-30 07:20 , Processed in 0.091463 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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