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

3524 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . h. B+ W* y& V, E

; N6 ]: b1 l0 A( I

  1. " f# e" R  A7 b* P9 K0 f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 u5 b9 U' `; U9 t. ?

  3. 9 C% |& |$ S9 G3 x6 D' R
  4. ### What we need ###
    $ w  n' M' r3 x' o# V
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - x" `3 z" d8 v. J
  6. will not explain how this can be done - there are documents out there for the 6 d& G* |; K3 C* Q( w- H  q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 K0 s) v. U7 h
  8. and a user account (username + password) that has the permissions to do stuff
    " r! R2 q: a, l9 H+ k/ u
  9. with the database. Additionally, you will need a vendor library installed on the
    1 g9 q5 R! H/ t2 p1 o8 P2 J, G; N
  10. local machine, this came with my MySQL install.9 G) C6 _- F$ V' K, Y+ A
  11. These instructions will not tell you how you might transfer your data from the# j; I8 {) e# L9 I5 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! S- q0 ?; m- ]% v* {7 H+ x) S
  13. database.
    * h  e( s7 }/ [. d
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * j% B8 c9 Y: a3 `8 R- M
  15. the time of writing, there are still too many issues - check the current status
    , c* @4 Z7 Y# I* n2 S8 W
  16. in the TeamSpeak forums if you are interested." n3 @5 w5 S0 w- @! r# Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ' ?6 J8 L5 r9 u8 a7 B
  18. Borland was used. This driver can only interface with the client library that
    + d! z& U7 K: p) _" o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 @5 E& H: j1 c5 f  r
  20. client library - basically all you have to do is to use a 3.x client library as
    + J: k8 e2 |- R# K3 Y0 u& G
  21. "VendorLib" and a 4.x database to connect to.
    5 {( [) `3 F  V3 I
  22. If you need more info about dbExpress, you can contact Borland.
    : G2 D" }& q0 \5 m4 @" S1 o

  23. ) `* z+ |+ t/ d8 r7 C
  24. ### Doing the work ###+ U6 K; w; h4 U* {+ R: l. k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 q# r+ ^9 R+ {6 h; J$ z% [/ h4 F2 z7 G
  26. the perquisites right, just open your server.ini file, and add this section at
    " S. }% j6 h0 a/ V5 l7 X
  27. the end:
    3 W& d. G! o, v- e1 a
  28. ---cut here---
    : i, s3 }& q# g6 u- D9 M3 d
  29. [DBEXPRESS]- A. H: W0 m3 U# g  y7 S, A1 i( ~
  30. sqldir=mysql_sql
    9 J, K" c! c2 u
  31. Drivername=mysql
    : ~4 ]% D# \8 j. F# o1 L
  32. Database=Your_Database_Name_Here
    1 p5 B' e7 r2 m4 G. x! o7 z4 C! m! Y
  33. Hostname=The_PC_the_MySQL-Server_is_on1 d4 {0 e0 ^3 I' q+ X5 ~
  34. User_name=User_name_on_the_MySQL-Server5 O) ^/ |" ~( m7 V- S
  35. Password=Password_to_go_with_above_user_name0 ~$ g9 u6 `: R
  36. GetDriverFunc=getSQLDriverMYSQL
    6 F2 v4 ^" ~6 ~& A/ G0 ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : d% }( @$ w: f4 r% @
  38. LibraryName=path_to_libsqlmy_libary
    8 V! l8 J. W5 q1 Z( Y/ ^8 R
  39. Active=16 f. N' p2 f' V' m* d" t
  40. ---cut here---
    ) i8 K. b" z$ m! g- S/ q+ }' W- u  ~; V
  41. In my environment (a linux box with a MySQL server running locally) I have:. E4 s& N. \' ]- U0 M" m. ~+ R
  42. ---example---( w. @0 G9 j0 Q: H" m) _
  43. [DBEXPRESS]3 Z- h; I' d# Y& H
  44. sqldir=mysql_sql2 g6 `  p1 w' c, }3 ~
  45. Drivername=mysql! A/ R5 b7 M0 \: j
  46. Database=test
    $ f! g2 O* k  }7 J, i
  47. Hostname=localhost7 H: n1 {2 M; u( L7 O
  48. User_name=testuser
    . T% y9 R2 b! c; Q3 M" n
  49. Password=my_password
    + E+ j. X- v: }4 v
  50. GetDriverFunc=getSQLDriverMYSQL
    ' o$ @9 c  n& w, U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ r. K+ p; O, v
  52. LibraryName=./libsqlmy.so
    + E, D1 M6 n) A% @2 N) k
  53. Active=1
    6 X3 Z" [& ~0 ]8 H- N1 w2 |: q: x
  54. ---example---4 p, |$ I& F, H( [4 i& a

  55. + S/ m% f  Q; {4 D" Q$ T
  56. On a windows box, also running the MySQL server locally, it would be:
    , d( R1 L! K1 x
  57. ---example---) |' e+ k  O* I: F0 z
  58. [DBEXPRESS]( c. X+ v& H& ?( N2 U' D
  59. sqldir=mysql_sql6 F4 O7 O7 _% n9 b1 Z/ N* [
  60. Drivername=mysql- o, }) s/ Q! c
  61. Database=test: Z* c/ I. }! e  u0 r6 ~4 V
  62. Hostname=127.0.0.1
    ( t% ^" ^) c& `
  63. User_name=testuser+ h: v5 m. j8 r  v) G& V& d
  64. Password=my_password$ g7 T; C6 x$ e3 f
  65. GetDriverFunc=getSQLDriverMYSQL
    8 J6 V6 r" z- |: Q5 i3 ?
  66. VendorLib=libmysql.dll
    ( f, f9 w; H+ s" [0 M
  67. LibraryName=dbexpmysql.dll2 @! p! ^3 H8 \
  68. Active=1
    * i" U3 N2 }# @6 W" k% K0 {
  69. ---example----
    . l$ \. ]' g6 W- o! b2 l; U
  70. - written 02.03.04 by pwk.linuxfan$ k* |+ F& J! x& {6 c! ?

  71. : B) v3 Q- ]2 w3 C% S5 L  J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: ?- e" ^3 x+ K, x3 M7 Z

  1. ! N' O& i) @$ F+ {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) Z- m) i/ L  x+ X: ?! X
  3. ) B' A) r* |5 ~& p4 J& Q
  4. # # #我们所需要# # # 2 H( M% s+ {+ x$ d3 w0 G4 v/ X" E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  \# l  [& B. @( w
  6. 不会解释如何做到这一点-也有文件存在,为; F8 w: ?' Q0 N. v% M" p' v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 t. s. ?4 j9 E7 t4 @. z) g& Z, o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 y$ [9 S' |, F" ~- o' d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / l- N8 R' j- @9 R6 A
  10. 本地机器,这是我的MySQL安装。
      e. J1 Y0 }2 `6 p0 D! }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( G7 P& i+ x0 w, N3 q3 C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + @; ?8 [0 M$ Y0 |! |1 d9 o- s
  13. 数据库。 * C& ?, b$ e2 s7 _! u( r* ^) C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " J; _5 v& ~7 ~& b. |3 [) b
  15. 编写本报告的时候,仍然有太多的问题-检查现状- T7 r' P0 o4 q5 a- l. a% H6 |* M
  16. 在teamspeak论坛,如果你有兴趣。 % K/ V* n8 w, ]$ R  F& {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + d9 I; D# K$ S9 v6 r' j3 ]
  18. Borland公司使用。这个司机只能界面与客户端库
    $ Y  k( y6 J2 \4 D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' n1 b8 Y& z+ h' O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* B; C5 k9 j( O5 U/ C% `6 V
  21. " vendorlib " ,并解数据库连接。 9 `4 s0 e( h7 u  s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . [* @* U4 n6 l
  23. 8 A: v' L, D& X8 k$ l
  24. # # #做好工作# # #
    & i" \6 ]! A% z" m% x* z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " [9 A" y) J* _( A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 a) a4 p+ B# Q- W9 C. D2 A9 ?
  27. 结束:
    2 O( M, f5 C- l  D
  28. ---削减这里--- ) f# @+ w3 L0 q0 \3 u
  29. [ dbexpress ] 2 l  i6 w8 e1 p& w; p1 p" e: [
  30. sqldir = mysql_sql
    1 n# O7 p5 o- t& ^
  31. drivername = MySQL中
    - S6 L9 E: h3 P0 F
  32. 数据库= your_database_name_here
    % ^" @3 C- \, ^9 \+ X' j
  33. 主机= the_pc_the_mysql - server_is_on 3 z4 A+ `7 f; J
  34. user_name = user_name_on_the_mysql服务器) a) ?9 `2 _- N3 ~- U: M& Z
  35. 密码= password_to_go_with_above_user_name
    ) S# `* E* c" G6 J0 T! r% W; z: _7 @% t
  36. getdriverfunc = getsqldrivermysql   G1 r( ^& h5 H+ x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   B+ W; l& K7 K+ S2 l3 R- O4 L
  38. libraryname = path_to_libsqlmy_libary
    2 g$ G$ d+ }  E- T% T8 n' }! V! B, d
  39. 积极= 1
    ' m& U% R' I  ]( F
  40. ---削减这里--- ( o6 m5 L) a7 }: z3 Q5 H- H7 ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * f. ?( g1 C9 V
  42. ---例如--- : F. u" V" h; a5 y3 v1 S0 ?% ^
  43. [ dbexpress ]
    5 m& w8 t6 k  _  m
  44. sqldir = mysql_sql
    # G" ~' ^2 v9 Z3 Y
  45. drivername = MySQL中
    ( H) p: J% d; H! e7 D9 \( V
  46. 数据库=测试
    % P2 V- ^  k9 R" G3 n2 y2 T
  47. 主机=本地主机
    & p9 L9 m. }3 ]3 b% C
  48. user_name = testuser
    . H" f1 D, V3 g
  49. 密码= my_password 0 j  F  c! L+ t" g
  50. getdriverfunc = getsqldrivermysql
    1 l4 O9 B7 j: e# x. j0 W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( o  ]8 t: A1 z( i! F6 c
  52. libraryname =. / libsqlmy.so - A3 q, z/ W6 V! ]0 c# P
  53. 积极= 1 ; Y; Q* d5 q# G" E
  54. ---例如---
    4 i- `4 q1 r. i- Y; m
  55.   Y+ g! T8 y( ]) L6 A% Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 w3 d- H& z7 B- A& B$ n& H5 _0 i
  57. ---例如--- 4 Y( A$ ?! X: C% }2 Z3 k4 x+ I
  58. [ dbexpress ] 8 }) R" ^& y9 E" G0 C; t
  59. sqldir = mysql_sql + m3 n+ O: B; Y3 A8 a
  60. drivername = MySQL中0 P+ N2 u: o) k. a/ c
  61. 数据库=测试/ V+ H% c2 ~# V# m8 d% m# P2 c7 |
  62. 主机= 127.0.0.1
    8 G) I; Z2 g* E) z
  63. user_name = testuser
    6 r( r  ]1 ~( `
  64. 密码= my_password 4 _  l% q1 E7 X9 R9 k" H8 ^+ l; R- z
  65. getdriverfunc = getsqldrivermysql
    ( `5 {# k7 g% u3 O* a0 a
  66. vendorlib = libmysql.dll在
    2 k7 g4 U+ a, ~  V( _
  67. libraryname = dbexpmysql.dll
    7 g  b7 @% ^* K: h6 [! E6 q" \' s
  68. 积极= 1
    / b! B  d+ C% N8 a
  69. ---例如----
    9 Z4 b9 W/ `2 {$ C0 t+ }! m
  70. -写在0 2.03.04由p wk.linuxfan
    : R6 `& N( K3 V' l2 O. I  \
复制代码
发表于 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
5 L0 G" x; X. u4 R  ?3 l( r& m9 d) ^; o1 a1 B, O
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-16 07:46 , Processed in 0.059431 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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