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

2775 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) K( H( ]; v- S9 u: X
+ b7 _  J$ y1 o1 \/ V( c% {* y
  1. 0 }* s! F, G  I$ z3 w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 Y5 h: G0 f- f" T2 K4 m9 U, l4 p9 n
  3. 9 |3 F; T4 M# B
  4. ### What we need ###5 B$ Y  @+ o' A+ o' l
  5. Naturally, we will need a MySQL server to store the data for us, this document , ~/ M# _$ ~6 R! B1 I- F" h4 F
  6. will not explain how this can be done - there are documents out there for the + _' n4 o5 K4 L1 Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use& {( x0 y& d* U% a( f- f7 t- X0 V
  8. and a user account (username + password) that has the permissions to do stuff
    + b1 |4 a5 g% {$ `7 C* A
  9. with the database. Additionally, you will need a vendor library installed on the
    3 _5 b6 M' Q/ Y, i) d1 q
  10. local machine, this came with my MySQL install., M4 {) E; n) M
  11. These instructions will not tell you how you might transfer your data from the
    9 D' g) D: z" {3 c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# {& H# d. k# g/ l5 h
  13. database.* L: K! ^5 d: {( L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      @# l. c' D9 q- X2 I
  15. the time of writing, there are still too many issues - check the current status
    $ L6 }; ]6 X; m* @* E' n; V
  16. in the TeamSpeak forums if you are interested.  z7 ^5 g1 M. H( d1 J) \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + _( t% B! E/ F. a8 H; y* D, G: j5 \
  18. Borland was used. This driver can only interface with the client library that 3 r5 k/ b" M5 n9 {  O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 `5 M- H. m& ]" j. N: d( a5 ]5 Z
  20. client library - basically all you have to do is to use a 3.x client library as
    " f) X, C. z, c7 f" m5 ^
  21. "VendorLib" and a 4.x database to connect to.
    6 z1 x" F7 o0 H. X" P
  22. If you need more info about dbExpress, you can contact Borland.
    7 }% ]. R1 x- l& x2 `6 }5 ]

  23. ' j% Y' g8 N& r9 A3 S! U. x
  24. ### Doing the work ###
    ( E1 T, ^6 I5 e: t" j1 R" w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) `0 C2 d. {5 X9 K) u, D# B9 t$ U* Z4 H
  26. the perquisites right, just open your server.ini file, and add this section at  c7 j+ U8 o: c9 ~. F
  27. the end:
    3 ^$ Y( ^' n7 g' p' h4 D( g6 M6 W
  28. ---cut here---6 q3 ?( L) l9 X% g
  29. [DBEXPRESS]
    3 _2 j& U: q9 o9 d! a: F
  30. sqldir=mysql_sql
    + y; E0 f4 ~" @' j# f4 V
  31. Drivername=mysql
    " h2 V( o" Z0 T0 B, `' B) Q
  32. Database=Your_Database_Name_Here# `/ D, d4 X% E: M/ |- m: ?# g
  33. Hostname=The_PC_the_MySQL-Server_is_on; s5 X- m5 L' b5 i3 F! ?3 d5 B" B( J
  34. User_name=User_name_on_the_MySQL-Server
    4 e+ c* l$ ]5 ]% i( Z# c" W
  35. Password=Password_to_go_with_above_user_name
    1 H9 c& m/ o5 _& A
  36. GetDriverFunc=getSQLDriverMYSQL
    5 W( |( U% ^( E6 d9 @1 m# V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ W$ ?9 y: R' g( K  F( E
  38. LibraryName=path_to_libsqlmy_libary
    5 y) e; K0 z/ `7 o* t2 A7 ]/ T
  39. Active=1
    ) ~  \$ R/ C1 C$ `* _; |4 x) K7 W
  40. ---cut here---
    8 z7 I( r, r: ?8 f. j. ^8 n2 b/ e, y, l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; j& ~4 y0 s2 X; n% K; U' ?5 w
  42. ---example---5 \: w6 {; ]( W5 f5 l* {* B
  43. [DBEXPRESS]" }& r% ]$ D5 e6 u4 Y$ m
  44. sqldir=mysql_sql( h) Q6 }& j, t3 O$ l
  45. Drivername=mysql
    / {9 B6 _$ O$ S+ l# e, [+ ^' E% e
  46. Database=test
    + D: |  e6 n  F* V& `
  47. Hostname=localhost8 L5 K( r3 B% K* i  J0 B* C
  48. User_name=testuser6 _, i/ H& U& z9 I" P1 ?8 V
  49. Password=my_password+ B. i7 n7 g/ |, ^5 N. d6 T
  50. GetDriverFunc=getSQLDriverMYSQL
    + g3 j% p4 K# m' H6 \1 N+ D! y5 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) x. @- p8 P! `0 N/ T
  52. LibraryName=./libsqlmy.so, o$ e! O( E0 e
  53. Active=1# ]8 k* ?7 Z- z% a* r
  54. ---example---
    , g# Y/ T# q  ~3 J, E8 h" {

  55. - j% z% N6 I& ]
  56. On a windows box, also running the MySQL server locally, it would be:
    2 A  q, y( T* @
  57. ---example---8 Z3 G2 E" K6 r  C7 P
  58. [DBEXPRESS]
    ) |7 z* e" i& `4 ]9 l
  59. sqldir=mysql_sql
    ) F1 a7 x5 O# {8 J. t
  60. Drivername=mysql3 |% x: @+ L2 A$ T4 H3 [' j$ E! w
  61. Database=test
    7 s- l1 v- ^, r! }
  62. Hostname=127.0.0.1
    0 Z+ z) z/ ?# G/ y
  63. User_name=testuser% N6 N- }' f% _2 G3 V
  64. Password=my_password0 q8 B: A  S4 a  c
  65. GetDriverFunc=getSQLDriverMYSQL
    7 {0 C! x% F" F/ E! a7 q
  66. VendorLib=libmysql.dll
    . T+ x6 c# b8 |6 L/ n* C
  67. LibraryName=dbexpmysql.dll7 A+ a0 T: I6 y& U+ z6 B4 m
  68. Active=1
    * B/ E$ W0 K" b- s
  69. ---example----6 Y5 ]! v2 h5 k! J, q
  70. - written 02.03.04 by pwk.linuxfan' E& Y3 c* Q6 c) P1 [3 q4 Y0 b

  71. ; [: L4 Z1 k& m% g7 v5 }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; S9 N0 `' U! S; }8 }9 y7 N/ P8 I
  1. 8 W' s" a6 n2 C& k8 o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 W7 B. g. J( Y2 ^. X

  3. 1 x( e( P$ O8 Y
  4. # # #我们所需要# # # 0 L1 D% \- x+ f* ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! U$ ~3 {: V% \; b2 b$ p
  6. 不会解释如何做到这一点-也有文件存在,为1 Y3 W+ S* ?! Q0 q1 x% @" M. R$ G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' x- A$ P$ G, x- g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / C4 y2 O, W8 ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' g8 B, k( g! v+ Q
  10. 本地机器,这是我的MySQL安装。
    ! L% k) L( m( E6 N- v1 h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 ?+ b* G5 t! i- c3 x9 u% q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 C& f) H! f1 A
  13. 数据库。 : h  e1 e5 F& U0 `2 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! z+ ]/ O+ `2 m2 o$ e# g$ o
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 r% r% A7 h% y9 r) v4 k+ e* X& u, [
  16. 在teamspeak论坛,如果你有兴趣。
    ! v1 o) X: h! L3 }) _/ G' N1 N- o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 Q- n/ r# M' `; t+ l' |
  18. Borland公司使用。这个司机只能界面与客户端库; E1 I+ Y5 G. C" K" F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      b! n  ]! k/ N0 T. V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 L$ b* `4 D+ r) d* c' ^. m
  21. " vendorlib " ,并解数据库连接。
    # Q! l1 C% |* I& P0 R! Q8 ~9 n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / ]: R2 o6 O0 ~" W& `/ _

  23. + \/ I( Q; V3 k  ?2 P1 b
  24. # # #做好工作# # #
    ( ]/ [5 A: I3 U5 A% P9 O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 ]9 G5 {) M; H; a$ ?/ ~, f1 [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & p4 B: L0 v8 r/ m! [
  27. 结束:
    5 P# U8 B# Y2 u% A: e' E! ?; }: ]; M
  28. ---削减这里--- 3 U. n) H; M: s4 o
  29. [ dbexpress ]
    ! S: W0 q1 F6 T% R3 M
  30. sqldir = mysql_sql
    # z; q" k' o$ a
  31. drivername = MySQL中% O' W, F! ~" ?9 l: Y
  32. 数据库= your_database_name_here
    ; P  g* H  x" B7 e+ A
  33. 主机= the_pc_the_mysql - server_is_on 2 m3 _( O4 R4 }4 z
  34. user_name = user_name_on_the_mysql服务器
      C2 c& p5 q: B+ g% T
  35. 密码= password_to_go_with_above_user_name 2 L/ e! \/ f" {& {% o
  36. getdriverfunc = getsqldrivermysql
    9 q- H' y& x# j7 ?1 f4 {8 c# P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) p  w) P5 Q) B1 _- {# ~- x3 p
  38. libraryname = path_to_libsqlmy_libary
    ( p# K: F) W0 t  d
  39. 积极= 1 + [& Y3 K$ q) |3 M( p3 ?) H
  40. ---削减这里--- 0 p$ a  ~2 ]6 _" {+ J1 `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! l6 O+ b. D. _/ ]  S$ ~
  42. ---例如---
    % C2 A1 O5 e0 S9 Z/ e- I
  43. [ dbexpress ]
      L5 W3 Q* W2 J* G  t. a' A/ g
  44. sqldir = mysql_sql
    : k- p/ ^/ p7 W3 `
  45. drivername = MySQL中
    % C6 t, y. r# n2 a* \1 z( ^
  46. 数据库=测试# m# O, O- b9 d$ q/ Q+ d2 t
  47. 主机=本地主机
    4 m0 X; I- _/ B# E  O& H8 y
  48. user_name = testuser   O- u' p% ?  O. q
  49. 密码= my_password ' A" X0 D2 f! I3 t
  50. getdriverfunc = getsqldrivermysql
    5 }: Y: L3 R- @% A& |' z5 V+ U2 f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % q; F6 t& H7 }7 z7 L
  52. libraryname =. / libsqlmy.so
    ' k) o2 Y* \5 r3 J7 c9 W
  53. 积极= 1
    9 C- s) Y5 C  k; |; Y: t. q
  54. ---例如--- # ~" G. |* y1 T5 D" z9 y0 x9 U2 [

  55. 3 O, ?' @* O+ R/ U. g. B0 S( p2 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 A. g3 e+ }+ B
  57. ---例如---
    + w3 I& ]: b- r. X; O
  58. [ dbexpress ]
    ( h0 b# V  @' s1 b" E
  59. sqldir = mysql_sql 0 \1 W, A- y: S* I+ I' |
  60. drivername = MySQL中8 m% Q0 i9 J) w8 O' {; P
  61. 数据库=测试, d+ O  W5 j9 w
  62. 主机= 127.0.0.1
      A8 [5 I% m. L: q/ x4 M$ u% w
  63. user_name = testuser
    ( J7 b- }9 V* g+ X$ w; v
  64. 密码= my_password
      M) h) }9 W, x: O1 h: l& L
  65. getdriverfunc = getsqldrivermysql 8 T+ Q* Q: c. w- \/ P, a
  66. vendorlib = libmysql.dll在
    : k2 l% [* |7 c* S
  67. libraryname = dbexpmysql.dll , Z1 R; q& _. _4 F
  68. 积极= 1
    : f. o) q5 C+ Y) w, m# d$ {
  69. ---例如---- # ?0 ]% d$ f! @% N) d
  70. -写在0 2.03.04由p wk.linuxfan
    & P, a3 b( l" D2 j- Q3 w. T
复制代码
发表于 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 words8 w( _" s- W) G
7 e  V0 K' a0 i' q( X, A
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-18 01:14 , Processed in 0.085162 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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