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

3485 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 M( A; A; J3 |4 K

5 q2 `" J* z! j
  1. 4 V; Y# @9 O* W1 @1 z  x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 b* v  j0 U! u' i' B+ N' R" V7 q
  3. . \9 j( B: h' h' E) F8 C; x
  4. ### What we need ###9 l/ D% a# {7 B5 E. ^) h  X
  5. Naturally, we will need a MySQL server to store the data for us, this document ; ?. L/ [. m8 Z/ f* R& F
  6. will not explain how this can be done - there are documents out there for the 4 u1 I* M; o, P: k! Y; h& e. U9 O5 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use, ?) G% b! y% e. P
  8. and a user account (username + password) that has the permissions to do stuff
    ( }& z3 q0 u  T' _( E" `
  9. with the database. Additionally, you will need a vendor library installed on the8 a0 F' V9 @: q6 c% r& I6 ]" P+ u
  10. local machine, this came with my MySQL install./ L% R* t% n" [
  11. These instructions will not tell you how you might transfer your data from the1 Z/ r1 ~) {; M3 E6 n& i" t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! V( w3 K, m  R  j1 f
  13. database.
    4 q% x" L, T+ q/ h7 ~3 R6 V( r" W, g' u' y
  14. Some users have reported ways to import a SQLite database into MySQL, but at' _7 A# k- q  v5 a
  15. the time of writing, there are still too many issues - check the current status& M; r1 S: W5 p
  16. in the TeamSpeak forums if you are interested.) Q7 w1 ?/ W3 |1 l: @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& y1 Y( |$ n3 I; D8 J
  18. Borland was used. This driver can only interface with the client library that
    ' L7 a4 a; i: _7 w% U1 |3 f
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; Q: f# S! N& k8 ?& X* u
  20. client library - basically all you have to do is to use a 3.x client library as
    & X2 |* v- L4 r0 A% w0 t
  21. "VendorLib" and a 4.x database to connect to.
    6 L  e) W2 H- Z: w0 G
  22. If you need more info about dbExpress, you can contact Borland.
    & `  c7 b8 T* T8 i5 w, ?' @

  23. , i+ P0 f9 q4 o5 O: P# A
  24. ### Doing the work ###9 N8 m- V0 [9 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* U7 N+ c4 h' \9 k# M
  26. the perquisites right, just open your server.ini file, and add this section at5 q( X. x1 W3 {7 a/ @* Q
  27. the end:; d/ H" l6 k) Y' j  N, K/ V
  28. ---cut here---
    . P+ \. B( l1 C; n/ q8 W
  29. [DBEXPRESS]
    2 O% ?1 {& t- F2 u6 E
  30. sqldir=mysql_sql3 x( a8 b4 w. a0 V; I3 \% z
  31. Drivername=mysql
    6 u: E9 c! F* W' }6 d) `* t# B
  32. Database=Your_Database_Name_Here
    - p9 G9 j7 f# k8 P
  33. Hostname=The_PC_the_MySQL-Server_is_on) @3 {, \2 _$ t$ x6 t  z$ n
  34. User_name=User_name_on_the_MySQL-Server
    $ T! w* y3 s6 A5 Q. z- z
  35. Password=Password_to_go_with_above_user_name
    , N8 h$ v, `6 j! b% I/ K; b
  36. GetDriverFunc=getSQLDriverMYSQL. O# v! x: N  b& f* A3 W! v% L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 ^& N* D$ n/ a. V8 @: x
  38. LibraryName=path_to_libsqlmy_libary# L) b: g8 N* y, H* _
  39. Active=1
    2 ]" r* F& ~8 _5 y( e! x
  40. ---cut here---
    3 J$ o, W. s( f8 \5 ]' e
  41. In my environment (a linux box with a MySQL server running locally) I have:; E9 Q1 z6 I& S
  42. ---example---' G) f" v8 l9 _1 [1 O, S$ U6 N+ n
  43. [DBEXPRESS]
    ! j: S, z) h  A
  44. sqldir=mysql_sql( m9 j7 p" H* k; i
  45. Drivername=mysql; c- L+ q+ u3 s9 N, z% o& u4 f# E& G
  46. Database=test& H8 H. b* Y! j) N! P0 \# ~) W" L
  47. Hostname=localhost. f* w" o3 ?4 ]. u! L
  48. User_name=testuser
    / i' I7 |0 `; L7 j& ~7 k6 ~
  49. Password=my_password
    + e% W6 W: `1 O2 c7 V2 p& F
  50. GetDriverFunc=getSQLDriverMYSQL
    " L1 Q) ^2 P& j2 Z* B& V/ {" a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * R: T9 k. S, Y$ D- g4 t5 s3 g
  52. LibraryName=./libsqlmy.so
      b9 o/ n& b9 w. b5 X) Y$ o
  53. Active=1
    % t+ T) g# G* G) i( J5 l) f4 |
  54. ---example---+ s$ ^. g9 [3 t8 z
  55. ( m5 g; r7 x9 R  ^- ^, Q- G
  56. On a windows box, also running the MySQL server locally, it would be:; R, n3 S" H1 r. d0 e; P7 U
  57. ---example---
    $ u- x* F3 T! g" a; w
  58. [DBEXPRESS]9 V% I+ d' r1 f* G
  59. sqldir=mysql_sql. w- ?+ U( u5 M9 ~! w
  60. Drivername=mysql
    ' m! Q+ |- B* w% Q- N
  61. Database=test! _; R; c! G6 V" F$ x: ^# P
  62. Hostname=127.0.0.17 b7 W0 F2 E( p. {  e, x
  63. User_name=testuser
    # U6 B; U$ f+ f+ ~& A# J
  64. Password=my_password
    9 d# U6 V$ d- i! E& @" U
  65. GetDriverFunc=getSQLDriverMYSQL: K6 |  n1 k1 g5 ~( }
  66. VendorLib=libmysql.dll8 g( p* |; n9 j4 d/ [
  67. LibraryName=dbexpmysql.dll
    * W! D- r- m/ G/ i- k1 z( s, ^# ]
  68. Active=1
    6 o4 x6 M# s( s) R( `6 f) R% V
  69. ---example----1 r$ F5 E& n) X  p+ |+ v
  70. - written 02.03.04 by pwk.linuxfan
    % R% Q: j4 h0 p
  71. 3 l# C6 K/ X- D; U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* c; y' V0 x& N: O8 i# q; R; f
  1. 1 O( v* ^& ?. w0 e1 ~& i0 D3 o6 r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # Y" i1 v6 u3 e; [

  3. 0 ?7 E4 |8 N/ H$ n
  4. # # #我们所需要# # #
    " C# M  U$ f. ]) d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : w2 O$ q3 v" T. Q5 B; n
  6. 不会解释如何做到这一点-也有文件存在,为
    / N/ [% P- i# l  y' ~* E) c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 k7 O5 W1 x9 Y, r7 p) W; n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 H8 q' Q0 m8 Z+ r, X+ K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 Z% W# K/ Y5 e; p7 z* C
  10. 本地机器,这是我的MySQL安装。
    # U' `! e& e: m" k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: W2 u6 o( M+ B. H' o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 {/ V8 q/ y5 C. U0 c1 f& [
  13. 数据库。
    # Y; P; m( S, p- O, ~. |5 t+ J$ P6 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! ^! w- b# Y3 [8 |( ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 ~0 k( o9 O6 o) y' l
  16. 在teamspeak论坛,如果你有兴趣。 ; u' y6 |: ^6 b& j2 u* V0 o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( X& E# U9 K  P, n& ^4 L
  18. Borland公司使用。这个司机只能界面与客户端库5 b1 n- `8 Q/ o# |" N1 ?1 y1 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- b9 Z  y, _) U+ |( c6 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; s! I. ?. L2 Q* g- ~4 t0 S( g3 K1 f
  21. " vendorlib " ,并解数据库连接。 7 F# r  J* M; t8 ]+ @# q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - o8 F5 R' x' N. E
  23. ' D( Y: y9 N: D; \. L  Z
  24. # # #做好工作# # #
    % Y7 G" X, t) h5 b* B6 p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * u  |! D+ e0 E/ L" j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 L  y3 [( e4 V1 [: Y
  27. 结束:
    3 `- }+ m- o  d! B
  28. ---削减这里---
    7 p! r( h1 T/ O8 ]3 |, D4 I
  29. [ dbexpress ]
    1 E8 T2 I- ]/ u% S! j) R; `
  30. sqldir = mysql_sql % S3 z( U& i: K* h6 @/ U
  31. drivername = MySQL中
    / I) D4 u- X. B) V7 _0 x
  32. 数据库= your_database_name_here
    * b1 t6 c' j9 P9 H5 Y* q, M1 c
  33. 主机= the_pc_the_mysql - server_is_on - l( a3 n( i, ]( L/ A' ^( q
  34. user_name = user_name_on_the_mysql服务器! E; i0 K# u# M; ^) Z" {
  35. 密码= password_to_go_with_above_user_name
    . ]& y' r. _( Y( s. P8 |
  36. getdriverfunc = getsqldrivermysql
    4 O( I! h" o9 A4 A8 |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / n5 G0 x/ Y3 u
  38. libraryname = path_to_libsqlmy_libary
    : p- h+ M, l& y
  39. 积极= 1
    8 h0 z2 }) G1 A8 |
  40. ---削减这里--- 6 R1 d5 l" n1 P9 L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 @8 U; o: {1 x1 H+ B: g" h( z
  42. ---例如--- . g/ q: e+ _% D9 @/ C
  43. [ dbexpress ] 7 h' x/ v! [/ L7 I( w' V! i
  44. sqldir = mysql_sql
    : H# c* E$ B( P/ G
  45. drivername = MySQL中
    ( @$ I7 L9 h% v9 S$ C! U( Y# E
  46. 数据库=测试! V; q. K$ b; w# G
  47. 主机=本地主机
    4 K% J- H6 `# g
  48. user_name = testuser 1 c: `3 E" ?  x* @- d' y
  49. 密码= my_password   {" O# ]' @! m% H
  50. getdriverfunc = getsqldrivermysql ( S8 q; b0 p9 u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & `+ c. W( Y* O2 u  n! ?
  52. libraryname =. / libsqlmy.so / `! c% W) D, X9 x
  53. 积极= 1 ) u' r/ Z- a7 O
  54. ---例如---
    2 ^; B( Z' r, A7 x+ `/ c% U1 l6 l
  55. 1 J$ I+ l. P+ z. k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & [/ j1 v6 l, Q9 g8 x: i" `" O" Y
  57. ---例如---
    5 ^; K( C0 x' a5 l; a
  58. [ dbexpress ]
    4 |+ Z- o8 C9 m; q, y+ A3 E
  59. sqldir = mysql_sql + f# L9 p* l* q
  60. drivername = MySQL中! x% O. z$ k5 i0 R! {2 {
  61. 数据库=测试
    6 y$ @2 O1 ?3 B$ s; @. `* M
  62. 主机= 127.0.0.1
    $ m* w: A$ @& J* y+ l
  63. user_name = testuser ' i* E" ~2 X  D- M/ c( c1 Q
  64. 密码= my_password ( y; K7 j( y8 j  k+ E. o! y+ w1 G. N
  65. getdriverfunc = getsqldrivermysql , ]: @' b2 i4 e8 q  ]) N. A
  66. vendorlib = libmysql.dll在' l8 H. I" H9 H5 o5 Q! r& W
  67. libraryname = dbexpmysql.dll
    ' D7 J2 N- W8 M# ~' o8 L
  68. 积极= 1
    ( N: V' h8 g  x" c/ k( g
  69. ---例如---- 9 k, t  o' P+ _$ r8 z5 O( @* h! L* m8 T% }: {
  70. -写在0 2.03.04由p wk.linuxfan
    ; M# N" k$ U$ |7 h$ Q3 ~  @
复制代码
发表于 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
) [& `- Q1 \) A( y: A; I7 y0 I1 [. k; |3 e* I5 S! b. Y) @" f( ?
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-7 11:13 , Processed in 0.063376 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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