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

3181 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! S/ K' t" L: J$ U  ~) U2 G
. t) T& g6 c2 T2 N

  1. 5 p- A5 \* Q& B( P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; ^0 V: w1 ~+ I( W4 }2 p& O
  3. 6 ?; J% ?& w* @* \
  4. ### What we need ###
    * b* e4 t, l+ t# C- f. r
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 s/ j" i8 N! s* Z8 Z
  6. will not explain how this can be done - there are documents out there for the : z9 Q* C- g. J+ ~+ h$ u# F( F5 S
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 Z0 c! j# |& ?  U- R
  8. and a user account (username + password) that has the permissions to do stuff2 w# l& T6 w: E; h) B! W  N, E
  9. with the database. Additionally, you will need a vendor library installed on the
    ' \: r/ K/ x7 L2 I: T# ~
  10. local machine, this came with my MySQL install.' j0 v2 j! J- z/ [- I. l, P
  11. These instructions will not tell you how you might transfer your data from the
    # c- \9 i- x" h0 g$ [4 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- {! K. O% M( v5 o- T
  13. database.# E- i/ p" a2 S* O$ Q% ]1 F
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % e& H9 Y2 t( G) t" P; ~- Y
  15. the time of writing, there are still too many issues - check the current status
    4 X& B' x( `  {+ l& m
  16. in the TeamSpeak forums if you are interested.
    & D7 t. i7 Q1 F* n' Y3 {* r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * `6 Q; w1 [6 {$ E; ]
  18. Borland was used. This driver can only interface with the client library that
    5 [- F; t1 d& G: U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. ]# M* U, N3 P) d: ~
  20. client library - basically all you have to do is to use a 3.x client library as
    ; v3 i7 M# F, p! W
  21. "VendorLib" and a 4.x database to connect to.7 A$ b& J0 E3 a$ p" @( U
  22. If you need more info about dbExpress, you can contact Borland.; }- W. S( b4 R3 a% C) k' v
  23. 9 |# n4 Y) V% ~$ s6 }) u
  24. ### Doing the work ###
    5 q0 I0 S, x& Q$ m' z, G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 t8 `5 @$ J- W8 H5 n2 ~! |6 @
  26. the perquisites right, just open your server.ini file, and add this section at
    1 f2 S2 Z, Y* M4 J) B$ y6 j
  27. the end:
    6 n! e+ A: i: h! h7 i
  28. ---cut here---
    + P6 Y+ [: x. T" r
  29. [DBEXPRESS]
    # G  g2 o, n7 V6 T
  30. sqldir=mysql_sql
    $ D9 F4 C( t, N1 c6 v3 @( F
  31. Drivername=mysql
    + j0 j. o: ]+ a" K
  32. Database=Your_Database_Name_Here2 T  r( ?1 s5 A6 O8 c1 C* M
  33. Hostname=The_PC_the_MySQL-Server_is_on6 M; w; w. M3 j3 _6 f3 n
  34. User_name=User_name_on_the_MySQL-Server
    : [, ~0 b' _; U$ E  {
  35. Password=Password_to_go_with_above_user_name
    ) u' O' L% i* x& C- C- Y4 Q
  36. GetDriverFunc=getSQLDriverMYSQL( q( ~' Q& N: }! z) O
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + E7 D( ]& M3 J6 g7 }3 U  h
  38. LibraryName=path_to_libsqlmy_libary
    4 Q" |# v+ b$ A$ x
  39. Active=1$ [/ }( Q7 ]: |
  40. ---cut here---6 d8 r, S; w' u+ j) h
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 ~* b% L% u  U( k
  42. ---example---5 _1 x; p+ {; S; o% G
  43. [DBEXPRESS]
    . ?( x3 f* `2 C& x
  44. sqldir=mysql_sql
    & y1 O2 Q: v5 Z2 G& D7 `4 F
  45. Drivername=mysql$ o& S; t9 A" a) Y
  46. Database=test* |* U$ Q: U0 G  G- L6 O
  47. Hostname=localhost
    ( A1 r8 S6 L6 Q, C0 a  A5 Y
  48. User_name=testuser& {5 i" A; e7 x
  49. Password=my_password4 M) M5 Z1 m1 I, R' s! R( d
  50. GetDriverFunc=getSQLDriverMYSQL
    8 ~) B; B4 Z+ I0 r- i7 Z* {  X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& w/ V6 s/ w7 c
  52. LibraryName=./libsqlmy.so
    ) Q; a& b) Q" c4 f
  53. Active=1
    : `5 Y2 h* F, \+ I
  54. ---example---( b- t$ s1 Q: @* w6 i7 w

  55. " V. u1 y+ @5 a( k' E
  56. On a windows box, also running the MySQL server locally, it would be:
    ! B/ `0 e% P  }! A8 r
  57. ---example---: Z, d# E" L( y$ d- B$ L3 u' l
  58. [DBEXPRESS]
      o3 y# ]7 |, u, X3 b+ N
  59. sqldir=mysql_sql" @1 J1 C, H: f& S/ q
  60. Drivername=mysql$ x$ D; y1 D) k# j' `) }
  61. Database=test
    - K# O6 o/ M* ^4 [
  62. Hostname=127.0.0.16 q+ F  _3 a: g+ v" I
  63. User_name=testuser
    4 B" k1 `+ X2 v. Z7 g
  64. Password=my_password! _5 [( Z9 W: J0 I1 R5 e; q3 w
  65. GetDriverFunc=getSQLDriverMYSQL
    ! A0 \/ I: d" c6 l8 W6 v0 }- Q$ t
  66. VendorLib=libmysql.dll
    # t# _. Z+ e' _1 `$ |% i, L5 T$ A; F
  67. LibraryName=dbexpmysql.dll3 O% Q! ]: ]( m* x9 J; C  g  ~$ `5 E+ u
  68. Active=1: k$ s( s: e! @( L8 z2 A! }/ S
  69. ---example----4 R& k' O  s- L" [0 X: v
  70. - written 02.03.04 by pwk.linuxfan: P; {6 i6 {# T5 G/ K
  71. % c8 o- i, u, a' R* q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( Y5 ^* J" k( t) I6 H
  1.   P; d! ]; c0 r6 {) T0 X# w. C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 s. W2 t5 N& V4 D, f
  3. ( s$ T2 h' D* e! w8 I
  4. # # #我们所需要# # # 8 k# g2 }" y+ p2 O5 F) P) L4 c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ ?- U% r9 M; M. r" m7 _9 ~
  6. 不会解释如何做到这一点-也有文件存在,为
    ; a4 X! P8 I9 x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 f" x- \! A5 ]. [  E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. E6 v, ]1 l8 h/ R7 R! W# k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - B% k* C% l/ v. d$ B. f
  10. 本地机器,这是我的MySQL安装。 - w5 Z; }& j- c& z5 A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( ~* Y- z; N1 ~' m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , S8 g# x, s( x) ]) d+ C9 |1 ^
  13. 数据库。
      @; W2 }" D2 K1 x# c3 Z- U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 I3 Z; e. w( y) d4 Y" _
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ O3 x  G( L4 m" S
  16. 在teamspeak论坛,如果你有兴趣。 ! @, I# j- ~0 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 K* W9 ]" u/ k0 k/ B8 }
  18. Borland公司使用。这个司机只能界面与客户端库
    ( v( f1 Q. U3 e7 W# ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ A# ^0 H) g9 z, n: P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. j! B# p5 C6 ]
  21. " vendorlib " ,并解数据库连接。
    , W4 U3 C7 d6 I6 W  K+ I  S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , `, U$ S9 S4 x4 L) t* ^, a9 {$ E) @
  23. + w$ c7 D4 f) A+ ~" M
  24. # # #做好工作# # #
    + z( d0 p" V; ]2 }# W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" P. m* {- D7 V5 J3 E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- W: d* n' P1 c* z7 y- _' Q. u
  27. 结束:
    + W5 ^3 {7 @. M; b* }. X
  28. ---削减这里---
    5 m, V6 t( g. ~
  29. [ dbexpress ] - U4 g; j* |( n
  30. sqldir = mysql_sql
    4 ~4 x* |; w5 P6 V4 z
  31. drivername = MySQL中
    " O- g2 V0 f1 }1 c7 b' M. |
  32. 数据库= your_database_name_here % i9 P3 I) T8 [3 ^4 Z6 N
  33. 主机= the_pc_the_mysql - server_is_on ! {7 _8 l0 |1 c
  34. user_name = user_name_on_the_mysql服务器! O$ v8 ~& Y2 a0 U! a; a
  35. 密码= password_to_go_with_above_user_name
    - E- D3 M; c9 m3 ~! h! U
  36. getdriverfunc = getsqldrivermysql   P! u( ]2 ^; f6 n" }* H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) P1 @# |2 o/ w0 J& X# H
  38. libraryname = path_to_libsqlmy_libary / \4 |4 d% e5 ~8 y6 {2 m
  39. 积极= 1 ) i# b' F$ |/ \& r2 j! w/ H# x
  40. ---削减这里--- 3 {0 {7 p- _+ T. K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * e1 i7 N* _8 U5 K# ^" I1 R
  42. ---例如---
    3 k/ f6 J9 }' Q3 w
  43. [ dbexpress ] 4 I4 o4 k) [3 R3 t( i
  44. sqldir = mysql_sql 5 h) x: B0 ]+ u" j' e. @2 w; V
  45. drivername = MySQL中
    6 S$ B& p7 d0 Y) q; {5 U
  46. 数据库=测试8 L7 j8 o$ y2 d+ _& y
  47. 主机=本地主机
    & d8 S7 ^3 ~" y0 t) P
  48. user_name = testuser : k. D$ r! o# e. C; t0 v
  49. 密码= my_password
    ) g/ b$ Q: H7 y  Q6 ~# f' _& Y
  50. getdriverfunc = getsqldrivermysql
    ' E0 Z4 h( s# h+ B+ l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 f2 B6 N; ~* r$ q
  52. libraryname =. / libsqlmy.so
    % ~$ j0 C( d$ R
  53. 积极= 1
    ) ~" Q. v. E( Z, \& g
  54. ---例如--- # E  z$ F0 |% G. I, k/ X

  55. ( X0 }3 M, K  v  f
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; w8 F& N, ~$ d
  57. ---例如--- / M! j6 j* z3 z# A
  58. [ dbexpress ]
    3 z& h7 m$ c2 o  t  M* [# k
  59. sqldir = mysql_sql
    + j. Z; r! N/ m( |2 p" A5 u
  60. drivername = MySQL中3 ^6 R. ~% I7 Y9 @2 d; u( j/ {
  61. 数据库=测试: B1 m4 {& I% P' p/ |8 P
  62. 主机= 127.0.0.1 " W" r* i1 I$ g; U) \- ?6 j
  63. user_name = testuser
    6 D  a9 D' W, G6 @: f1 {' ~
  64. 密码= my_password
    $ Q: Y! m" ]: G) Q
  65. getdriverfunc = getsqldrivermysql
    2 D6 a3 Y, u2 r0 f4 o) _3 _5 K8 Q( f
  66. vendorlib = libmysql.dll在! \4 l* u. U5 q" J  P  T
  67. libraryname = dbexpmysql.dll $ C3 k; i0 |2 _: R/ I
  68. 积极= 1
    : e, `: i: K0 ]$ Y9 M+ `2 x
  69. ---例如----
    + H1 R1 O& q" V: u! _" p
  70. -写在0 2.03.04由p wk.linuxfan
    ) }! `/ Y8 N0 R) Q
复制代码
发表于 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; t3 ^+ z. _7 E" Z4 D" u1 z4 Y* E

- Q5 w9 B0 O8 X, n6 N4 j& ]5 X  dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-18 04:47 , Processed in 0.106084 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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