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

3377 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! @# g1 b$ i1 c+ [5 e/ |& s4 k
# m# ^7 ]- A+ L' W' ?, I7 ^2 a

  1. ! c5 z, ]8 e3 S6 L$ @0 Q& J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- P5 R! G$ i  E  O  A  ?4 V5 G' T
  3. 8 ]+ S# L) r( z  Y
  4. ### What we need ###& ?! k: l7 C$ g% ^! h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( C1 t7 q  b9 k. L0 E& ?
  6. will not explain how this can be done - there are documents out there for the ' \; L4 L$ i( r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 L1 `& g/ v/ @
  8. and a user account (username + password) that has the permissions to do stuff
    0 _2 X( O( L8 p) v' w+ ]
  9. with the database. Additionally, you will need a vendor library installed on the
    2 x  H* I/ z9 x3 |/ N& `
  10. local machine, this came with my MySQL install.& D# W2 g1 O& G; p
  11. These instructions will not tell you how you might transfer your data from the
    $ G- o) E9 e( V6 ~$ u9 |+ R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * F3 `6 j8 C. k+ z8 n
  13. database.
    , j, \: `" Y. H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 [+ G3 e' R0 M2 Y# @- R
  15. the time of writing, there are still too many issues - check the current status. J$ e; s! o( a# K' b* _
  16. in the TeamSpeak forums if you are interested.
    4 R+ V4 G) y" _) ~( U( x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 w$ R) r' I( C! v9 D. `
  18. Borland was used. This driver can only interface with the client library that + g# c8 t( t1 }: t- e/ Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. ~. m9 l( i+ K$ U: P$ U0 U+ i
  20. client library - basically all you have to do is to use a 3.x client library as " J, ?& q7 b: y% c& o! c% ?
  21. "VendorLib" and a 4.x database to connect to.4 r0 B  N2 x' `( z/ y, p/ J3 b
  22. If you need more info about dbExpress, you can contact Borland.2 ]. h4 v* V6 Q2 o# f0 N% _- v
  23. % k; B5 i5 i, s; \
  24. ### Doing the work ###4 W8 k8 l) m1 {; N2 c0 ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 n' l* n% h5 K, s  Z" `
  26. the perquisites right, just open your server.ini file, and add this section at
    . U& I1 X4 s/ n; X
  27. the end:
    9 ]+ z3 D4 f: r
  28. ---cut here---) \1 u, [  D- y+ |3 J0 R) d! t) Z
  29. [DBEXPRESS]% r  `% w, y. V8 k* J2 y
  30. sqldir=mysql_sql
    $ I! H& L+ y- s! K
  31. Drivername=mysql% Q0 Q7 {$ G! W. t
  32. Database=Your_Database_Name_Here
    + R) k7 W6 w9 }; H$ c1 ]
  33. Hostname=The_PC_the_MySQL-Server_is_on% o; S6 n- s0 h+ b6 M& V" W0 D
  34. User_name=User_name_on_the_MySQL-Server; n2 |4 [0 E3 w. R
  35. Password=Password_to_go_with_above_user_name
    2 D# E) I: V$ P: y) s5 `) h5 i7 `: A
  36. GetDriverFunc=getSQLDriverMYSQL
    % H6 ^/ D9 ^3 u( i4 }+ k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 f' O8 D/ ]: [! X0 h" B, |
  38. LibraryName=path_to_libsqlmy_libary" r0 M$ Z1 {( k* m
  39. Active=1
    9 X+ q! i1 L- I! n' }# s' O
  40. ---cut here---2 t/ }" [1 K* p- F0 h
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / u% t* ?) @5 `4 {1 N9 O7 H
  42. ---example---
    . h& I% _1 q. X
  43. [DBEXPRESS]! Q  B, k7 v/ w! b' e
  44. sqldir=mysql_sql
    8 }7 c# e, U+ f) V
  45. Drivername=mysql
    4 T2 g3 j8 e  s# Y" r% w
  46. Database=test9 p  i" W% B# r: Q2 A( V
  47. Hostname=localhost/ o9 S" G/ Q# V9 Z  v
  48. User_name=testuser5 J- i' U$ K  v7 N5 |$ L+ R
  49. Password=my_password
    ! r8 `$ J$ E- b5 U; L1 c2 q3 ]6 S
  50. GetDriverFunc=getSQLDriverMYSQL5 ]$ s0 }) x# _4 J, l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 `+ {( `/ e( z/ @1 H$ f. t
  52. LibraryName=./libsqlmy.so
    # c( D/ i, d  U+ E% B! Z! ]
  53. Active=1
    , T/ Y+ Y+ b0 T3 M8 t4 j- I9 h9 p
  54. ---example---- ^, D: c& V% t2 o+ L

  55. 8 v  r! O* i" ~' R
  56. On a windows box, also running the MySQL server locally, it would be:8 q+ i" |9 G* n
  57. ---example---
    , }/ I$ P: p& f9 z. K* N' z& m
  58. [DBEXPRESS]
    5 f& U# n. q7 y) B
  59. sqldir=mysql_sql+ K! P, D: q* q. C5 l
  60. Drivername=mysql
    * L' x5 D3 `6 y. H/ D
  61. Database=test( Y* G" Z' x6 G8 C# z& w3 T
  62. Hostname=127.0.0.1
    $ ^) j- U- X5 d. L
  63. User_name=testuser
    $ L3 H4 l( @+ R8 d4 p3 P$ h
  64. Password=my_password/ W7 s2 Y2 b/ J8 D
  65. GetDriverFunc=getSQLDriverMYSQL
    0 V; j4 |5 P8 w1 k1 l; f  E* p. k
  66. VendorLib=libmysql.dll" J! o. J6 b) |4 R. i5 i+ L; d
  67. LibraryName=dbexpmysql.dll
    ( y* \: l" b) w3 P! t& D
  68. Active=11 V8 ?8 d  |+ c/ ?! S
  69. ---example----. e- t8 h: S4 v: a9 Q
  70. - written 02.03.04 by pwk.linuxfan- U- M: z2 E# C- y# {* t& y

  71. # T; @& T6 ^! q) m6 s7 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 p5 g9 _( s# F7 D

  1. : ~# h1 E8 H) Z1 O& w+ `1 w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . [/ r: d6 m; F( J8 S. {
  3. $ t: m* v6 G$ g7 N" e
  4. # # #我们所需要# # #   |1 Y- c# D) e3 y' O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 M% G8 F6 |8 ^" F1 \
  6. 不会解释如何做到这一点-也有文件存在,为* ^9 E& l0 G& a; g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! w5 A( G, g: e8 a& g! y: D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , m& A/ R- ?3 N$ b4 f0 n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 t+ D2 f* \' A5 `' ?& q# t: o( t8 o
  10. 本地机器,这是我的MySQL安装。 ( {; l( W: O* w' e% }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 m# ^, s; Z6 |/ r8 m3 e* f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * j) V! P2 \, a* h9 p
  13. 数据库。
    : |( R' @3 V- t, B+ D) K0 i' N$ |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 p9 X: n" H5 W* {5 D
  15. 编写本报告的时候,仍然有太多的问题-检查现状" {: p1 y( }: w5 N
  16. 在teamspeak论坛,如果你有兴趣。 ; R# y% b% {) h' k2 }  W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' D. E8 H: ^) e' @5 r' I  }9 ]  B
  18. Borland公司使用。这个司机只能界面与客户端库- c6 o. X; r0 S" }& T9 y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 ?- o4 T$ I# w# z  {, S# c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 f' M, ]9 M, J5 W6 T+ ?
  21. " vendorlib " ,并解数据库连接。 4 A, S7 s+ L) U) n- `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 O7 k- B5 V) `: W

  23. , X$ k5 S) q+ N; N; P6 L
  24. # # #做好工作# # #
    # o. P" P9 h9 E4 |! u+ Y' G% h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: o! V+ [7 t# s7 g$ S# m- h" i" x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, G- v  O* B9 J# ^, D
  27. 结束:
    8 T) |2 h# E7 a( z7 H' ^5 k2 N* Y
  28. ---削减这里---
    # n8 J2 @) C8 _* L6 B
  29. [ dbexpress ]
    - h; g. }6 ^7 n9 f3 M" `3 x
  30. sqldir = mysql_sql 4 B1 z' u. w) j" X+ d9 m8 G
  31. drivername = MySQL中; ?) l2 m/ _$ w5 q
  32. 数据库= your_database_name_here
    - d& `% U6 Q* u6 d  @0 G
  33. 主机= the_pc_the_mysql - server_is_on
    . k" Q# ]3 J# i8 n2 A# _  m& Z
  34. user_name = user_name_on_the_mysql服务器
    4 f8 J2 N/ W! O6 l
  35. 密码= password_to_go_with_above_user_name   I0 c9 z+ @! M
  36. getdriverfunc = getsqldrivermysql 1 E1 K0 E# y- t/ X+ h7 T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : V: c; \9 z8 B/ X2 l% e* j
  38. libraryname = path_to_libsqlmy_libary
    6 N1 `. c' z4 R
  39. 积极= 1
    . v' o& Z; l* b
  40. ---削减这里--- * l2 a- z$ z; c5 a) v. u' q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 Q: y) T' m$ W5 j
  42. ---例如---
    . l1 O6 W3 X$ r3 T" E5 S2 r
  43. [ dbexpress ]
      l9 @  D; e! g# u# |
  44. sqldir = mysql_sql * _7 ?) b6 b; Q0 x
  45. drivername = MySQL中  e" S/ T1 S0 |3 f, ?
  46. 数据库=测试7 }% ~9 ?" x; i) T$ U  l
  47. 主机=本地主机  ?) g/ z! w) H/ h" T1 c3 X3 C  e
  48. user_name = testuser ; B9 s' {8 z8 L: E
  49. 密码= my_password
    1 h3 B) G$ E  T! o" ]: d/ o# d" q; A
  50. getdriverfunc = getsqldrivermysql 2 ~) s2 |+ W1 ~& _; n: r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / R) Z# g( x* v& D, n, I
  52. libraryname =. / libsqlmy.so $ {' B5 @& o8 R/ K: k+ @% u
  53. 积极= 1 4 A  a! F# \- y# }% V/ {
  54. ---例如---
    6 U, ?& C3 R( V3 j- c1 n& {

  55. & l6 c3 D1 s( F$ u" X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ z$ m- q& i! N$ Z% Z& }: b
  57. ---例如---   [- K1 D9 O( I. @/ ]
  58. [ dbexpress ]
    , g: @/ C" S& @: l) O* ~- G1 T
  59. sqldir = mysql_sql
    0 r7 {) I, K2 w
  60. drivername = MySQL中/ L& k% E1 S5 p8 r# e2 E8 Q- b4 {
  61. 数据库=测试; X/ Y: j0 S1 d7 |( o
  62. 主机= 127.0.0.1 ) }# a% ?* i" o( `
  63. user_name = testuser # O- B' G/ d0 L( v6 C1 K
  64. 密码= my_password 8 s! B) H7 p4 B  v0 m6 c
  65. getdriverfunc = getsqldrivermysql 0 R( O$ J6 r" i0 r+ k
  66. vendorlib = libmysql.dll在# `% u! z* U' [' u( }1 B: n. ?
  67. libraryname = dbexpmysql.dll
    ; {: I  P  d& G* u* X- f: @7 [. X# d, X
  68. 积极= 1 1 M9 u+ d) o3 |, j: ~. ~
  69. ---例如---- $ g2 {  C+ ^# T. `/ k0 E" V
  70. -写在0 2.03.04由p wk.linuxfan, |+ X# e) l+ v% g; K1 n
复制代码
发表于 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
) I7 c8 f  t: i! h" B' T1 k0 P$ ?* ~7 N% D+ i0 x, C! Y0 f) v, v
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-23 02:48 , Processed in 0.093785 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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