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

2266 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; c9 J7 N, J  J2 x# g
) W2 f' u, `* N
  1. * `5 s* |) C! c5 {& X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( g! u9 @4 Z6 H9 I2 d
  3. % G  {) A* R5 l& W' G
  4. ### What we need ###& y) S' ~8 ~7 i. p
  5. Naturally, we will need a MySQL server to store the data for us, this document ! _  m) Z& Y5 d. u
  6. will not explain how this can be done - there are documents out there for the $ O+ g/ n! i4 b0 H0 W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , S+ R& V7 X& E0 p( Y1 @' C
  8. and a user account (username + password) that has the permissions to do stuff: ^# W! a" n, p8 J. Q/ T2 L) v
  9. with the database. Additionally, you will need a vendor library installed on the
    $ D+ k4 ]* }2 \9 w* u$ u9 g- a
  10. local machine, this came with my MySQL install.: B. A( w; P  s* d0 s+ _' O3 I8 l1 |
  11. These instructions will not tell you how you might transfer your data from the$ C$ w. ?) w, O2 p! ?' A5 d8 ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ m4 O# `5 q& g& c
  13. database.
    6 h5 j$ y4 m, ~4 N8 I. [
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 M$ F: e3 \# b) ~2 ?% c0 t
  15. the time of writing, there are still too many issues - check the current status  u& p: p- D* F, a$ f+ j
  16. in the TeamSpeak forums if you are interested.
    " Q9 L/ Z; u  ^6 A. X. `9 t) i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . J3 \$ ?9 [, E# [4 O& x
  18. Borland was used. This driver can only interface with the client library that
    / G  J, C1 ?! [6 e  o( ~7 e# g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) o5 T8 x* E2 \  C1 v
  20. client library - basically all you have to do is to use a 3.x client library as 3 x. V6 J! ^& l2 }# T$ \# a
  21. "VendorLib" and a 4.x database to connect to.
    $ T5 ?" e* n, N2 E
  22. If you need more info about dbExpress, you can contact Borland.4 J9 o! ~: Z. ?
  23.   v% O6 k0 A/ P6 S* ^  k! T
  24. ### Doing the work ###
    ; i. @6 Y% r( u( A. y% C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % ?0 o' R$ F- d7 S  d  t% ?$ [* Z
  26. the perquisites right, just open your server.ini file, and add this section at- d9 d+ h. k9 k, r4 G1 q7 ?
  27. the end:
    / ^9 V7 g4 ?  |, }
  28. ---cut here---
    : F9 t& ]  p' g1 h
  29. [DBEXPRESS]2 T; z. C  n; k. H9 Y8 g
  30. sqldir=mysql_sql9 A1 N& t0 ^8 \/ m+ Z  `
  31. Drivername=mysql
    4 X1 r, H' L4 Z/ Y7 D
  32. Database=Your_Database_Name_Here1 _7 A+ K9 k& ^
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * J; w8 l- H8 y9 R% l
  34. User_name=User_name_on_the_MySQL-Server7 `! C6 l+ M7 e; f' [5 H3 p. j
  35. Password=Password_to_go_with_above_user_name
    5 J& u( J) x* M  S% V
  36. GetDriverFunc=getSQLDriverMYSQL
    : o% R/ W1 o; {& {9 k5 L. e. V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) `2 B3 I3 R  s( @
  38. LibraryName=path_to_libsqlmy_libary  ~# R( M) q' ~4 _6 ^
  39. Active=1
    ) H7 Z" E  m3 G3 T
  40. ---cut here---
    # L9 G$ @" X* x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 B7 Y2 Y9 B% H. x2 |
  42. ---example---
    & L8 @8 V* x* A( g
  43. [DBEXPRESS]
    * s" ?' u0 _0 _+ L% g9 d
  44. sqldir=mysql_sql$ X. |. m" _6 @, Z3 o* t- @+ ^
  45. Drivername=mysql
    , l; R  x7 h  E( s6 B
  46. Database=test
    ( l$ \% p+ D, y! f0 n7 u
  47. Hostname=localhost- y+ f: p! e% P; C6 O' i
  48. User_name=testuser" w: R! t+ e( F* c% n
  49. Password=my_password
    3 c0 G7 O1 ]0 M
  50. GetDriverFunc=getSQLDriverMYSQL
    1 l/ H% F/ J2 f/ r1 D+ C  f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , f* V0 g! h; z. ?5 i9 B" Q( G
  52. LibraryName=./libsqlmy.so
    6 k0 e+ t  u. O$ g0 y
  53. Active=1
    $ F7 H9 R+ z" P
  54. ---example---0 G( `/ S2 u# s( h$ U2 U
  55. 1 y2 H- v! S9 S5 @2 y
  56. On a windows box, also running the MySQL server locally, it would be:
    * R; g0 i& }0 \5 ^2 T
  57. ---example---
    ; }, ^9 S5 D; i% w& O
  58. [DBEXPRESS]  X* m7 W+ g4 ^. ~1 M) v
  59. sqldir=mysql_sql
    6 `- w4 u+ G# l% A# z# t
  60. Drivername=mysql3 T5 y0 B6 F* I; V2 C
  61. Database=test" Q% j; y' N" L( A, m# Q7 Z* \
  62. Hostname=127.0.0.13 p3 K: c% `5 z
  63. User_name=testuser; s% B' }) h6 V- E* Y/ n+ ]
  64. Password=my_password8 s$ o; y( a/ N( v% m
  65. GetDriverFunc=getSQLDriverMYSQL
    9 y; C2 ~3 P6 g3 A8 X& l( s
  66. VendorLib=libmysql.dll' {/ D6 U. B# u6 s1 G
  67. LibraryName=dbexpmysql.dll
    3 u3 P8 T; ^* b3 _1 R
  68. Active=1
    # q! [8 {. v) I& a0 s+ W2 q
  69. ---example----
    ' P+ Q" g* v+ ^+ Q9 {8 T, [. h
  70. - written 02.03.04 by pwk.linuxfan* Q% B; I3 M$ g, @6 v6 E
  71.   E; X7 o) t2 W6 }0 |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 v& }9 M+ c; F/ W8 y6 ^8 T' ?
  1. 4 X3 \! m2 B. c* p. F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " R! x' W+ j6 q  W# u& f# i

  3.   ?/ I: ~7 P) K8 [2 q5 ~
  4. # # #我们所需要# # # 3 b, t0 }$ ]7 g" S1 y5 U: m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 h% @5 e, \5 g9 p
  6. 不会解释如何做到这一点-也有文件存在,为
    % s: K6 K+ {9 `: \  L. }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * [$ {9 d( D( L% X9 g
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# Z7 U' n- J! A: V: I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& v: }  s  D7 d# f. f" I# V% k
  10. 本地机器,这是我的MySQL安装。
    # A3 d6 ]1 S' k: v$ I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 ~( N2 q0 J* w  T) l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      d% u% l- E- F
  13. 数据库。 ( a2 R6 ]% q  Y$ y8 u5 M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ C9 m% j  F* m! Q* y
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ Q$ F4 P+ x/ S6 {! _- n
  16. 在teamspeak论坛,如果你有兴趣。
    % i+ @; q- r: g( p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % Y$ ^9 j; A$ B' }2 {* O
  18. Borland公司使用。这个司机只能界面与客户端库
    * v2 o$ h/ V8 v# }, C9 b7 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 s+ V2 d3 y% w2 B9 I( L5 C0 b$ V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 W! \9 d0 o# j: F1 i0 j
  21. " vendorlib " ,并解数据库连接。
    4 M* O# }/ S" q) z6 K( n0 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' j1 A" v% Y$ x: q9 o0 _; p( l
  23. + c& ]8 ^* r- b% o
  24. # # #做好工作# # #
    3 j2 F" R. p1 c: R+ D  B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + G& c6 g! I2 j& W7 |' i0 \/ z7 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( B- p" W, o# W; _, A0 q
  27. 结束: 3 q" X* ]/ r1 @! V7 X; i4 E
  28. ---削减这里---
    4 R7 g- v# e' _$ R9 y
  29. [ dbexpress ]
    . p* w( a2 y4 C3 g7 I. X
  30. sqldir = mysql_sql : J" f" z3 Y7 j; R0 c$ ?4 K) _
  31. drivername = MySQL中
    ! h2 T$ ^8 U9 j, X: Z' B6 m
  32. 数据库= your_database_name_here 5 V" G5 w- A6 z4 a! j
  33. 主机= the_pc_the_mysql - server_is_on ! G* w- l& F& G' Z* U! G
  34. user_name = user_name_on_the_mysql服务器! c3 Z1 A0 @; T2 e) Z
  35. 密码= password_to_go_with_above_user_name $ u- l: B% Z  B4 I! L6 d- W
  36. getdriverfunc = getsqldrivermysql
    : E3 y& x+ u% I2 F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , a6 [; @; q/ H) `7 d
  38. libraryname = path_to_libsqlmy_libary
    * z, k  m9 q8 n( F% ~: Q; Z
  39. 积极= 1 ' y  R2 F+ c$ r! D
  40. ---削减这里---   h! m( r! A% \5 N& m3 P5 P! Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 s& [0 {' M) p2 \7 s8 L
  42. ---例如--- 1 O3 E( c; b0 K( l
  43. [ dbexpress ]
    ; z# x/ J* L$ d
  44. sqldir = mysql_sql
    9 F' Y( m! c  H4 X- g( }5 f- M0 e
  45. drivername = MySQL中  n7 G4 g0 z9 A" U% y- C
  46. 数据库=测试1 z4 B1 J2 K; I8 ?
  47. 主机=本地主机( Z: d& `* B" ?' r% c, P
  48. user_name = testuser 1 _5 ]  g- G) Q: G. T" T* {
  49. 密码= my_password # G# ~3 ^/ T0 D$ X" t4 ]
  50. getdriverfunc = getsqldrivermysql
      w) r7 F* G" X" a" ?) N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / I1 k) A1 B/ p" N  q! D
  52. libraryname =. / libsqlmy.so
    ' x5 D, _3 [2 }6 G3 E6 F7 I
  53. 积极= 1
    3 ^# x4 N6 B. ^0 n7 a) y: b9 g
  54. ---例如--- 1 L( b; j! s4 o( Z7 v. U

  55. $ u0 {! T! z, z/ q* T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " i$ v* @$ G' V- l& y( B' |0 U
  57. ---例如--- : A  Y) I1 |7 X3 V' W1 R9 Y
  58. [ dbexpress ]
    3 A, |# x+ _8 ^
  59. sqldir = mysql_sql
    ( @5 _# Z% }9 a( {- G
  60. drivername = MySQL中
    & Z' D" q/ A1 Y7 F* @5 b( |  U
  61. 数据库=测试
    . }& [, g' V2 \' ^
  62. 主机= 127.0.0.1 8 T9 ]8 T# n9 F
  63. user_name = testuser
    : @: x1 @& d  i
  64. 密码= my_password
    ) X5 S" E. X, @. [4 U6 \
  65. getdriverfunc = getsqldrivermysql ' s0 n8 V7 s! R# ^
  66. vendorlib = libmysql.dll在3 B; P2 T! }4 s8 h# D
  67. libraryname = dbexpmysql.dll ' r3 U& u9 X7 D; J
  68. 积极= 1
    ; ]( Z$ Q7 Y; K0 d% e/ ]
  69. ---例如----
    2 }; ^4 K/ ?! W. @3 Q8 c
  70. -写在0 2.03.04由p wk.linuxfan
    ) |% G8 l! `4 @4 ?
复制代码
发表于 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
9 f8 b: M4 [. q0 ]( a  l# i! n, ~9 ?# `' Q# a4 J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-5 22:05 , Processed in 0.112167 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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