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

2256 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# Z( J/ q$ B0 I$ O( s% _8 A, k1 D
* y! c: z' p" D+ [! S. j

  1. 0 K$ B7 N4 P- l' G$ b1 Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* e# n6 Y8 H+ O% p. g

  3.   D$ O2 c/ s* E2 d5 f5 v6 S
  4. ### What we need ###, R5 ?- I7 b; j, w4 d6 |
  5. Naturally, we will need a MySQL server to store the data for us, this document ' }% a, x) Z3 p
  6. will not explain how this can be done - there are documents out there for the
    % |0 p$ u# q2 H2 k  Q! U/ K+ a. U
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; X! `$ G5 I" O: X: B
  8. and a user account (username + password) that has the permissions to do stuff
    ! K4 a, t; a8 |  E' a  A! }0 y
  9. with the database. Additionally, you will need a vendor library installed on the9 r. C9 ]. m+ \  B
  10. local machine, this came with my MySQL install.5 a% F1 m: W! t' f, G, \. h9 a
  11. These instructions will not tell you how you might transfer your data from the0 H" ^. X( z% M& R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 m% E' s$ N5 @+ n0 n: f2 ~' p
  13. database.
    * X9 U- p" p: M
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # P3 S1 N: ?' _6 c, h
  15. the time of writing, there are still too many issues - check the current status$ ?/ [4 V! k# D/ e
  16. in the TeamSpeak forums if you are interested.; w1 _6 N4 ^) d; r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 C7 D0 z7 c5 c$ Z9 \9 H
  18. Borland was used. This driver can only interface with the client library that
    ' t7 J# k6 k7 q/ M  W3 t& _1 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 a. b5 r$ ?% j( U" N4 ~
  20. client library - basically all you have to do is to use a 3.x client library as
    ! H& i0 M( M* m+ Q
  21. "VendorLib" and a 4.x database to connect to.
    8 _- g% z5 W$ e+ t8 l: f/ ]
  22. If you need more info about dbExpress, you can contact Borland.% U& [# N6 F( A( f

  23. 8 p# j* a* @  {3 }
  24. ### Doing the work ###
    6 w$ O2 u* g& f( e: Q: ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 X. I& {8 Y# J
  26. the perquisites right, just open your server.ini file, and add this section at* J  f, x' T2 _- W7 @
  27. the end:
    5 K/ ^5 R2 y, i& q1 J; Y3 u6 S
  28. ---cut here---3 O6 S2 ?+ d# y0 R
  29. [DBEXPRESS]$ @/ w( d$ m& b. \( T
  30. sqldir=mysql_sql1 W' A% ?, v$ x# p" U4 @# y2 j; f2 `
  31. Drivername=mysql
    : @8 e% j6 {) z; M
  32. Database=Your_Database_Name_Here' i; J2 l5 c7 U9 ]7 q
  33. Hostname=The_PC_the_MySQL-Server_is_on! s" F# {2 z8 `( U) b. f
  34. User_name=User_name_on_the_MySQL-Server! d/ o. `+ D" e3 }
  35. Password=Password_to_go_with_above_user_name8 C9 u$ y& K% \9 t# }! z, @
  36. GetDriverFunc=getSQLDriverMYSQL  t3 M" L) C) ]) A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * v3 ^/ A6 E0 f. r6 C& w1 e
  38. LibraryName=path_to_libsqlmy_libary
    $ }- {$ p  i+ Y/ H
  39. Active=18 ]6 ^8 R# w6 w- e& Y. K
  40. ---cut here---: {1 \4 ]: }! M# n) X. l! t. Y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 T/ w% t- H# C, P: x' `9 I
  42. ---example---
    , ]" E) B: c0 m  \1 M- j( i+ T* P
  43. [DBEXPRESS]
    8 v% h1 o. f  `& x5 ?  k1 ]
  44. sqldir=mysql_sql, L( H$ Z# R, k2 R! k
  45. Drivername=mysql
    4 h0 J8 Q' I! x+ u8 T3 Y/ y# _
  46. Database=test( P8 X/ Z. c" h
  47. Hostname=localhost, T5 G" a, e' t9 }" _+ t7 F; K
  48. User_name=testuser
    $ y  `! C" m' m% P1 k3 Z+ y
  49. Password=my_password
    2 D4 Y; l& P% d4 ~/ T  f$ o  l0 I' T
  50. GetDriverFunc=getSQLDriverMYSQL
    6 }7 n: w# M& e3 g3 W9 a+ P( V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , L0 j* W% L9 t& R( e' X( w0 }6 z
  52. LibraryName=./libsqlmy.so
    / }9 r1 I* h* }0 ~$ C6 Y1 s: n: u( \; m8 t
  53. Active=1) B9 D. l% g' i2 [' d
  54. ---example---$ H6 t8 w4 @: `; A0 T# |" p
  55. 3 v+ o8 {" j: s+ C4 W1 b. s, ?
  56. On a windows box, also running the MySQL server locally, it would be:, _: {0 |, u5 |# D% p/ B7 }+ R
  57. ---example---, S$ i# k+ x+ R  p0 H( |4 {
  58. [DBEXPRESS]
    $ |9 t2 A6 g1 B( [) [3 f
  59. sqldir=mysql_sql
    0 ^  @; U: h5 ~; S' l2 y# G; a
  60. Drivername=mysql+ h; w0 j$ b* C* W
  61. Database=test$ _7 @! S$ ?: X; c! B9 U
  62. Hostname=127.0.0.1
    1 @. g+ @# x3 e0 L" O! ^
  63. User_name=testuser
    / x. M8 D% }6 j
  64. Password=my_password  t* J: B, |) k! Q& H
  65. GetDriverFunc=getSQLDriverMYSQL
    ( D+ x# ?* M. w3 a% Q; u
  66. VendorLib=libmysql.dll
      x+ b: N* e& h. q; f% ]" O
  67. LibraryName=dbexpmysql.dll
    . V9 M! }; `3 w/ d; x* e2 U
  68. Active=16 R6 N; ?0 O0 O! }% v8 i
  69. ---example----% |! A% y: V) l  J. t; ~+ \
  70. - written 02.03.04 by pwk.linuxfan
    # R4 p  n; _/ P

  71. 3 m& i7 ^/ f" ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# \' [4 s6 m7 [0 M. }, ?
  1. & ]  p! s7 O4 V7 W6 a* p; R$ Q' s' @" c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ; n8 k6 c+ j7 Q3 i9 N
  3. * b$ D, N& G: j" f3 A
  4. # # #我们所需要# # # 8 I: Y& ?7 R9 L8 m2 h* g5 d# k9 E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( L% j! ^* q: E3 w8 A& Y8 n
  6. 不会解释如何做到这一点-也有文件存在,为6 ~& S( W# N. {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: p+ O; D3 ?# I) w' z2 C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 S9 J1 D0 s, y) e9 \$ e5 Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 o9 s( K9 J1 Z( n
  10. 本地机器,这是我的MySQL安装。 $ A* `/ {5 t* v$ s. S' R6 T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; w( G1 V* j* _. t4 d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ ~) t% R- M5 \- b" L/ v
  13. 数据库。 # w  @1 [- ?2 A3 S- u& F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 S' ^1 u% f: B2 D9 C- M" v6 Q7 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * K7 C3 s) I: {% y
  16. 在teamspeak论坛,如果你有兴趣。
    1 g: M- N" c4 o1 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 e* U$ n  m: ?$ _" Q+ e" Y
  18. Borland公司使用。这个司机只能界面与客户端库
    / H3 t: W& Z+ I5 }# Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " k- v2 O  u6 W3 z6 ~7 N1 t( m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 H$ P# G/ Z( t4 t5 p; h+ R9 U
  21. " vendorlib " ,并解数据库连接。
    & ~/ B% \  k. a8 i# t/ Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + J) D: c0 n3 R7 j, R
  23. 3 [9 l1 h* C* D' u$ }. H
  24. # # #做好工作# # #
      p. \7 |6 b1 q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) J* l- x  o1 z3 _# M& ~, W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) e6 j: |! r6 s# r! A2 Y
  27. 结束:   }" E- Y2 f8 M, Z% e: Q
  28. ---削减这里--- * D1 ^2 @% T2 M1 ?
  29. [ dbexpress ]
    3 T' B& W( Q" J
  30. sqldir = mysql_sql
    . w; q# Q$ s+ o' h7 m, O) D
  31. drivername = MySQL中. C' g* o  U& a/ j% D" ~
  32. 数据库= your_database_name_here
    - {* b7 ]0 L+ |% V
  33. 主机= the_pc_the_mysql - server_is_on ' R3 q# u# s; d8 ]5 \* B
  34. user_name = user_name_on_the_mysql服务器
    6 |0 `4 x& L$ u6 t! [1 Y. W
  35. 密码= password_to_go_with_above_user_name ; P" ~) L0 l2 d; F) _
  36. getdriverfunc = getsqldrivermysql $ [9 `3 r. k$ |! I& M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 o9 m% @& Z$ i; Z& Z. w" T
  38. libraryname = path_to_libsqlmy_libary
    4 j* O; d: x) q6 t) Y5 g
  39. 积极= 1
    / n4 \" U7 m- i0 e5 k
  40. ---削减这里--- ; ?, B7 x$ t/ e- @: f" [; C2 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 O' Q" l* z; r  z5 U: N
  42. ---例如---
    / p- `. f- \; ^- f2 f* G* N
  43. [ dbexpress ] 9 w4 I1 C2 x2 T$ U& S* t
  44. sqldir = mysql_sql ! _( G  }2 f& N0 u5 B1 f6 @6 x
  45. drivername = MySQL中1 e1 K* E( x' q+ d/ D$ g4 Q
  46. 数据库=测试
    0 ~4 d! }+ ~" d/ G2 \0 W
  47. 主机=本地主机
    # q$ G- A0 z3 m' l; o! R
  48. user_name = testuser
    ; j3 E1 _  \: M; C1 v
  49. 密码= my_password ; S9 T6 Y# S2 M( Q
  50. getdriverfunc = getsqldrivermysql
    " g& p& z( M" A. N  n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 G3 I3 R4 V5 i% }  c" j8 W5 m! L
  52. libraryname =. / libsqlmy.so
    3 A" S( ?4 c$ m9 C
  53. 积极= 1 " g7 I2 ^6 t% `7 M2 J
  54. ---例如--- $ u& d) a. r- x0 {/ y+ R) a" q

  55. % ]/ i1 f6 P5 Q$ u: ]1 b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 r# P& H1 o* ?* \
  57. ---例如--- 1 z' B& |% |  U+ V* p6 F
  58. [ dbexpress ] 4 o0 t$ n8 f1 l( j/ i( p% x
  59. sqldir = mysql_sql % P: L0 e( X7 B" x$ K
  60. drivername = MySQL中
    0 Z& L; {0 l+ ?, U0 A
  61. 数据库=测试
    , i% f4 u, R. ^- T
  62. 主机= 127.0.0.1 . C$ c' v& l  P& k7 C0 A
  63. user_name = testuser & @6 r7 D" [1 v. \
  64. 密码= my_password   E8 O, k. @2 e0 b4 ~/ O2 Y
  65. getdriverfunc = getsqldrivermysql 4 s8 l* R5 K6 o$ a9 x* F
  66. vendorlib = libmysql.dll在
    2 d0 v& ^7 C2 s% G% S
  67. libraryname = dbexpmysql.dll
    3 Y4 r+ D7 t1 |$ i4 E
  68. 积极= 1
    + O8 n8 `! Z! i9 ~1 R
  69. ---例如---- 6 y" p3 e7 e2 y) ]& _; A! b* T* c
  70. -写在0 2.03.04由p wk.linuxfan
    + G+ z$ ^* z5 p) o* @; Y
复制代码
发表于 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% a& }1 L4 U7 G( N
9 X+ h! P5 G  o' ~5 l; B/ ^$ ?( n4 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-2-2 12:14 , Processed in 0.092140 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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