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

2644 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " \8 H$ Z3 D' P" |# i% f6 k& E
/ N6 H& S" A' o. y6 N" B

  1. . t9 s( W& x: V, p' g( r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 I! C3 B0 z, k, @' b
  3. 0 m/ h( q+ A3 R  U; @. Z; L
  4. ### What we need ###. f8 y- A1 A5 p5 v8 M% |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # N. R+ P: N/ k) b& ^, X0 C& d2 L! {
  6. will not explain how this can be done - there are documents out there for the 9 L, F) s) b$ m7 E7 R: ?- G  ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 K0 _# |. h. c# D
  8. and a user account (username + password) that has the permissions to do stuff) Y2 b" F  y/ F& _" F
  9. with the database. Additionally, you will need a vendor library installed on the
    ' d' u* \8 }9 a! u2 D5 ]  {
  10. local machine, this came with my MySQL install.
    1 }# {* A9 d! h! E- W! V
  11. These instructions will not tell you how you might transfer your data from the
    9 {1 A  t$ r/ [; d+ D- m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 y0 N6 g3 T) ~
  13. database.
    * O# J2 K/ J3 X) R1 D% q3 }3 {7 X# t7 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 |0 Y8 e& y; S. z
  15. the time of writing, there are still too many issues - check the current status
    6 U- k: g+ Q9 p& @$ g* t7 a1 S
  16. in the TeamSpeak forums if you are interested.
    2 m. |8 d; U$ a  [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 O! g1 m) V5 Y/ p( v
  18. Borland was used. This driver can only interface with the client library that
    - @! \' z! Z/ o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , S$ g  G5 o8 e- u& _
  20. client library - basically all you have to do is to use a 3.x client library as ) R, H. C0 F2 P
  21. "VendorLib" and a 4.x database to connect to.+ U: ?! ^* V* j& e$ F" S% d
  22. If you need more info about dbExpress, you can contact Borland.
    : Z# f6 l$ }9 t8 R% S, `

  23. + s$ l" d6 e; |, g
  24. ### Doing the work ###1 i$ I" a9 q9 Y0 k7 Q% f7 p' q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! j$ p. i- x2 I. t) R5 `7 m
  26. the perquisites right, just open your server.ini file, and add this section at
    - b- x! V* O3 l; O7 s
  27. the end:+ m$ M9 S/ u7 M
  28. ---cut here---
    - T' Y& l1 N$ ]$ w
  29. [DBEXPRESS]
    2 K* }/ L5 h- \' i1 K$ R. t
  30. sqldir=mysql_sql$ [* E$ l! c  E! ]- s1 ?
  31. Drivername=mysql2 N0 a: i+ h" }; A) N% j
  32. Database=Your_Database_Name_Here
    $ E; y: S& l% W$ ]( p# Z; z
  33. Hostname=The_PC_the_MySQL-Server_is_on; b* \: |9 i; _) Y/ t4 n
  34. User_name=User_name_on_the_MySQL-Server
    ) d4 ~) }2 `) h- y+ `5 _4 k
  35. Password=Password_to_go_with_above_user_name
    % h% X* Q$ r/ A4 Z/ m
  36. GetDriverFunc=getSQLDriverMYSQL7 Y0 k# M. r& z% D) n0 a* v* W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# [; ~- I# ~& f4 [( m& [. m
  38. LibraryName=path_to_libsqlmy_libary5 k6 y. W" P' Z; h) h* d, D
  39. Active=1- Y  g/ [8 i) i
  40. ---cut here---0 B# F& b3 s+ s0 ]/ U3 a2 e
  41. In my environment (a linux box with a MySQL server running locally) I have:- L$ I' _+ Z( |0 I: V
  42. ---example---
    / \3 |0 e; o" _( }2 O* P) C4 m
  43. [DBEXPRESS]
    ) O; l% K# _+ P- A' c
  44. sqldir=mysql_sql6 X# N" G. F. W! Z
  45. Drivername=mysql
    ' u* [/ H; a  O3 x
  46. Database=test
    6 N9 w; u# c0 v+ }
  47. Hostname=localhost
    1 i" q$ e$ ^1 L% v. ?2 _
  48. User_name=testuser3 b0 Z* i3 k. J, M& O1 D& Z
  49. Password=my_password! f, U8 A9 @, o+ P
  50. GetDriverFunc=getSQLDriverMYSQL
    ) n. r4 @" w0 {& N8 I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 ]! k+ s1 t" c" V( Y
  52. LibraryName=./libsqlmy.so
    ! K; K2 k; @  `7 [
  53. Active=1) |9 p3 [( a8 l/ d( K% y
  54. ---example---
      }9 L7 h9 _: L1 y& E
  55. ! A9 w" O. v/ R9 L
  56. On a windows box, also running the MySQL server locally, it would be:
    ) t% s* ~- Y7 b" y0 I. m
  57. ---example---1 o6 Q7 Z# p) V  n2 B0 t& U6 f
  58. [DBEXPRESS]& t. c* E! z6 \0 x0 L) C% p
  59. sqldir=mysql_sql: S! \/ ]  g# T$ {
  60. Drivername=mysql) P; ?+ a" x- Y$ C  x- }" J
  61. Database=test
    * F2 j5 T$ N) {8 E, u
  62. Hostname=127.0.0.1
    . x. \& P+ [3 w
  63. User_name=testuser5 g( b$ |0 K2 z7 e4 r2 U4 V
  64. Password=my_password4 ?; ]' \* t, b( T* c
  65. GetDriverFunc=getSQLDriverMYSQL' I1 O3 T7 r- a$ O$ t# y+ Y( J3 i
  66. VendorLib=libmysql.dll
    / w" c0 j, A! c$ }- I8 c& [
  67. LibraryName=dbexpmysql.dll  Y/ ~7 d9 ]# m3 }, `
  68. Active=1( |: ~( s1 M- _& @0 @; W" M# P- o
  69. ---example----1 [. |; q2 ?4 J, j% w
  70. - written 02.03.04 by pwk.linuxfan
    ! Z( v6 p7 @1 {0 M
  71. ! C/ V4 R* r7 Q* |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, g: y% r" l! A6 p3 X/ V

  1. 3 u8 G9 R# \& y  \2 v! X0 d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   ?' g2 H% W' M9 ~/ h2 `/ g. J

  3. 8 _5 \! _$ I$ _) h
  4. # # #我们所需要# # #
    8 [% U! o, I3 r6 z9 T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 R7 ]9 F  G7 v
  6. 不会解释如何做到这一点-也有文件存在,为3 y% `7 p/ |# R* E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* U( R3 p' M7 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' F8 y9 h2 A! r! O7 G$ }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & t- N2 Z! T) I9 v; e1 @
  10. 本地机器,这是我的MySQL安装。
    2 W  o- B0 x  [( F3 U; M+ O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) x: i- ^* P( F: K3 ^# ]/ C# a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 d: A! x2 I/ o* ^
  13. 数据库。 ) Y; k' @& r- u5 d0 a: Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 ^) h- r+ \! Y) {. M# J" B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 B4 F  R) k5 y! s+ z# w- Y
  16. 在teamspeak论坛,如果你有兴趣。 / p9 R; u+ u9 c& @0 ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + o/ ?. P! n- f; e+ `  s; d6 z
  18. Borland公司使用。这个司机只能界面与客户端库) r) w+ k" [# O" t' A1 J" Y6 |; D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  o6 d% N$ T0 x% W" I* B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 Z5 o+ u5 b+ p' E) A/ C0 `
  21. " vendorlib " ,并解数据库连接。
    # n* @; i! s) M" \& X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 ^9 P( I4 J- N2 F# U4 w& \
  23. 0 B* L% b% f% H+ j: b
  24. # # #做好工作# # #
    ! W* e' V1 k. A$ L# d( {- G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 r, Y( w" I# u: Z; s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. y) e1 p$ y( h6 L$ T7 K
  27. 结束:
    9 f  u, h' k2 A2 }3 R  }
  28. ---削减这里--- # R, d5 |8 k' N. X% ^. N2 k7 O% [
  29. [ dbexpress ]
    . V3 W/ M; X, \8 v% M6 I9 l9 q
  30. sqldir = mysql_sql
    % M% z/ J6 @1 Q% Q% X) H6 D
  31. drivername = MySQL中
    - u: M4 m5 m* w' e4 ~  \! [8 _" t
  32. 数据库= your_database_name_here " L/ Y0 T( A# J' W! ^6 j
  33. 主机= the_pc_the_mysql - server_is_on 4 E5 m' }" M* B/ Q
  34. user_name = user_name_on_the_mysql服务器/ z1 q( S' Y) U5 {; j) X. o
  35. 密码= password_to_go_with_above_user_name 6 ^6 B9 @- l$ H% q
  36. getdriverfunc = getsqldrivermysql 6 x6 Z& f. x! s; \7 X( T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! \/ k9 r5 U) ]8 n' n0 ^) q
  38. libraryname = path_to_libsqlmy_libary 7 P, Z3 ?, r8 V8 C: u" C1 i  i: R
  39. 积极= 1 2 e2 f8 P6 Z6 L+ G
  40. ---削减这里--- # ]: w+ v! _9 V: n8 ^: {4 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ C7 s* Y% U; p- }; _0 z
  42. ---例如---
    / {8 P8 ^% a( {8 C* V
  43. [ dbexpress ] / u! Z- K) k4 e/ F2 K" y$ L3 U+ l
  44. sqldir = mysql_sql
    ) h3 c) a4 J( k2 A. t2 y
  45. drivername = MySQL中) Z, E0 G, T5 f0 |. P) i- A
  46. 数据库=测试( {8 P/ `8 V1 E/ {3 S5 e2 M. r
  47. 主机=本地主机9 Z+ R9 r: m! G' ]- l/ }
  48. user_name = testuser
    - J0 R, H4 {4 N$ E" f8 E( ~
  49. 密码= my_password
    ) s+ w$ `7 g7 p: g/ `4 Z% o
  50. getdriverfunc = getsqldrivermysql
    - [. b- k" Y* A  A( B4 p3 T# e' v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 S, g8 p- k$ r6 [$ w. r# |
  52. libraryname =. / libsqlmy.so
    1 i$ }: D  E  s+ W" ^* x
  53. 积极= 1
    6 M( e( ?( c! G. j  Z% C
  54. ---例如---
    ' g* N5 R- \6 O

  55. : ^2 x8 g  V. y# @: _6 K8 Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * `9 c# [+ q1 P/ n7 y( \& ]0 Y7 m" K+ c
  57. ---例如---
    ) }4 c8 ?8 F% [2 n9 F
  58. [ dbexpress ] ! |  Z. C5 S& |$ ]& `% J
  59. sqldir = mysql_sql 8 Y- Z' Y8 O7 t- l4 x
  60. drivername = MySQL中
    7 O$ s5 u. y5 U5 U
  61. 数据库=测试2 v* v0 D/ P- g
  62. 主机= 127.0.0.1
    & g" b: S" B8 x: X' T6 w" M
  63. user_name = testuser 3 ~+ ]7 W" W1 z  j
  64. 密码= my_password 1 f8 E3 J0 b" t5 Z  x
  65. getdriverfunc = getsqldrivermysql 8 k# Y$ l/ _' s8 F
  66. vendorlib = libmysql.dll在
    ! k( V6 S% E. K; @# Z
  67. libraryname = dbexpmysql.dll 8 E, @1 M* c" A; g8 X8 ]: ?& l5 m
  68. 积极= 1
    - d. E, a" W8 C/ w* H' X+ [
  69. ---例如----
      x: o5 b  N0 z
  70. -写在0 2.03.04由p wk.linuxfan
    - Y/ d1 G6 O) J5 g6 b
复制代码
发表于 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
0 f+ I& U; l6 U& h
% z5 w  F0 ]5 Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-20 23:29 , Processed in 0.119537 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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