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

3180 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) M6 |1 I8 l: S( S2 }$ f
' r) H7 y. }/ m! e6 u
  1. % L. Y* {1 n/ Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' ^* A, A, A' a1 s1 O: T- g! `4 v$ {
  3. - V+ x0 g3 t/ p; G& q- _
  4. ### What we need ###
    " x0 I3 _( F( Z5 ^1 ~' A
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " b% r/ i: i& K4 \7 h
  6. will not explain how this can be done - there are documents out there for the
    9 `8 w  c. w/ D& Q& d  d# l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ l0 x( Y: t2 }* z. X5 i7 p7 b
  8. and a user account (username + password) that has the permissions to do stuff% @/ I4 f0 L6 T8 X% _1 W: ~$ K
  9. with the database. Additionally, you will need a vendor library installed on the
    , E( n! c: q* c0 o$ `
  10. local machine, this came with my MySQL install.- H0 Z4 V3 Q7 Q) {6 x
  11. These instructions will not tell you how you might transfer your data from the
    ) ?6 ~: x% B0 v; r
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      @/ j% t  ~' Y! L  \
  13. database.
    + X% }. B) B2 g* x( |4 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 I5 q- ^: h5 l+ ~. Z! C& M; i
  15. the time of writing, there are still too many issues - check the current status
    3 \& B6 Z0 U2 X
  16. in the TeamSpeak forums if you are interested.
    # B- w0 F. \) k- J" w) D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 t+ y7 M+ Y7 H, {
  18. Borland was used. This driver can only interface with the client library that
    3 I  c  I& `4 [4 z' `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- f; H% t4 x$ \" a6 ]9 J5 l) o
  20. client library - basically all you have to do is to use a 3.x client library as
    9 z0 A. y4 F& ^) n( q- l
  21. "VendorLib" and a 4.x database to connect to.
    / r; u/ y9 y0 G+ L' L% {6 O
  22. If you need more info about dbExpress, you can contact Borland.2 i0 F/ I$ Q* b0 R1 `8 a
  23. " c. C( a$ A& G: N* B8 I
  24. ### Doing the work ###) y+ l. t4 C7 e6 @& _  ]' O  @# \1 B% O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 z. n$ ^$ L3 h5 o- e$ M
  26. the perquisites right, just open your server.ini file, and add this section at
    # k# i* `% F6 s3 p$ `
  27. the end:
    ! c4 q/ h% R: B% `6 {/ v% @  b1 t
  28. ---cut here---9 H- H$ y8 _# g) Q, `, s
  29. [DBEXPRESS]" W: j; b. {7 o+ w
  30. sqldir=mysql_sql) _) [- P3 ]% A) o& o
  31. Drivername=mysql$ T" }% @+ e8 y3 _
  32. Database=Your_Database_Name_Here. P) s2 v5 x. h" u, X0 {
  33. Hostname=The_PC_the_MySQL-Server_is_on3 w3 D1 L; v0 t( h# U' Z. ]$ \
  34. User_name=User_name_on_the_MySQL-Server4 T$ }1 U+ k! p) u2 m- e( A" _
  35. Password=Password_to_go_with_above_user_name7 T0 }* m7 e( A! C
  36. GetDriverFunc=getSQLDriverMYSQL
    + T$ C+ T" d0 L* P: O8 Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 w+ T  P9 U9 X3 }7 t9 U5 J  w# N# x, v
  38. LibraryName=path_to_libsqlmy_libary7 T( f9 `# z! e6 W  M( f) c& F
  39. Active=1
    $ h3 n; E8 @, d- E+ y- F5 q
  40. ---cut here---% ~% E; y7 Y, x* H9 A5 `9 W
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 R8 O1 X/ ?8 X: B+ W/ ], d/ H. a
  42. ---example---
    + S+ U/ @* S+ O" H
  43. [DBEXPRESS]
    9 w/ n+ U& z5 {7 X. `9 b: }
  44. sqldir=mysql_sql% E4 [$ ^. p  E5 z8 a  f
  45. Drivername=mysql
    ( }$ c: }9 K2 a4 X" ]
  46. Database=test$ g) ~. |8 `' _* H: ?/ |4 @/ ]
  47. Hostname=localhost: K: `) W) E4 w5 d
  48. User_name=testuser
    " l: W0 [6 `* O( x% v" J; R: g
  49. Password=my_password1 ]" p; H  V" n
  50. GetDriverFunc=getSQLDriverMYSQL, O/ n' L5 h9 E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 A9 b  j. _7 y
  52. LibraryName=./libsqlmy.so: T' o, y) a$ M6 c2 ]
  53. Active=1" B1 s0 E* N' t& M. r
  54. ---example---3 M" I5 _4 B) l+ r, P3 X1 \

  55. 9 h0 D* i! u: K5 p# b
  56. On a windows box, also running the MySQL server locally, it would be:
    7 i! A+ t( Y% V* Z! W$ z
  57. ---example---
    + q; a$ h; U$ k! m' W* K' T3 L
  58. [DBEXPRESS]
    . y) |( s2 I6 {! s- F
  59. sqldir=mysql_sql% ^0 i* K- d+ j9 m; |! V1 B/ h
  60. Drivername=mysql2 L9 ~: h/ j" }4 o7 s
  61. Database=test4 T, I! D' ]) ]+ t
  62. Hostname=127.0.0.1$ C! m9 f( c0 R" |* X: N  j
  63. User_name=testuser
    ) E  ^* [9 n* F' k  n* d
  64. Password=my_password
    1 X/ m! F& p  m$ V* h
  65. GetDriverFunc=getSQLDriverMYSQL  e! ^% V0 r6 p  F( a4 u* A6 w; k
  66. VendorLib=libmysql.dll
    $ ]6 r8 P: K. V* [+ g
  67. LibraryName=dbexpmysql.dll$ }( w9 S" m& v% {
  68. Active=1
    / w) J4 Y: y3 F, m  c" H0 @. k
  69. ---example----6 z' @# m2 P' D6 ?
  70. - written 02.03.04 by pwk.linuxfan8 R, v& R# n" I( K9 \8 K
  71. 8 `! b" ~% _6 U) t  e; u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: r# c& N! r0 N  [

  1. ! i, \/ Q3 R4 n4 L$ A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) X8 K/ O. V5 n. V
  3.   c- ~( D. ], g6 D4 d( k# o5 u9 S
  4. # # #我们所需要# # # : [1 F! U- ]# H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # S0 w: E+ U$ c: z
  6. 不会解释如何做到这一点-也有文件存在,为
    ) H$ q6 L! |5 a7 q% C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 E8 y1 H* T! D, y- @7 T) p7 ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 n1 r) ~- }5 ]4 Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 G( d2 d3 u/ f* x; T0 P! F
  10. 本地机器,这是我的MySQL安装。 , I2 q6 p( P- x3 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) l* g8 P* j2 e  i; j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 e5 k" t+ q. {" b1 ?- I8 n
  13. 数据库。
    + u2 c3 G; e$ x# }7 r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; l2 H9 X6 K0 R0 @
  15. 编写本报告的时候,仍然有太多的问题-检查现状. c# g1 _5 Q. x! |3 F% y5 ^& r8 b. Y
  16. 在teamspeak论坛,如果你有兴趣。 1 {2 P& R1 k' t+ m" \
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & K( Z3 ~4 C( X6 ^; `
  18. Borland公司使用。这个司机只能界面与客户端库
    * [3 w9 o2 m( B% e# [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + W) O8 Q; |  \0 |7 ]3 c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 U7 W: o" z0 T" v- g7 ?- t
  21. " vendorlib " ,并解数据库连接。 ! m4 [3 ~& c! F" w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / ^1 W" P' Z  l' K+ g/ Y1 n

  23. 4 O1 c2 o$ L! |7 h  g, I
  24. # # #做好工作# # #
    ; W7 D3 \+ a. \2 x0 l/ W4 E: `) i5 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: y# Y" k. d0 j) M, J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 h) {. Z; R" `
  27. 结束:
    8 O$ ~# @, v  U0 P
  28. ---削减这里---
    : H# {2 w; O/ g0 e
  29. [ dbexpress ] 2 R- y$ T$ V/ h# l. i! G2 d6 l
  30. sqldir = mysql_sql
    7 n- E% L3 L& R1 f8 ]; t
  31. drivername = MySQL中. R4 P5 Q4 j6 _' Z. _
  32. 数据库= your_database_name_here ; Z# {8 d1 j* D$ S' V( n8 T
  33. 主机= the_pc_the_mysql - server_is_on : U6 ?/ v+ X7 f0 `" ~
  34. user_name = user_name_on_the_mysql服务器
    % q4 Y7 v  |/ I# g+ H
  35. 密码= password_to_go_with_above_user_name ' A0 d9 f" v% e: T7 }4 L
  36. getdriverfunc = getsqldrivermysql 5 o& D) Q9 h+ ]) R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 h& M) Z  p7 h
  38. libraryname = path_to_libsqlmy_libary
    9 m* i0 E. H1 S
  39. 积极= 1 % |( q, j! `8 T, K/ A1 b
  40. ---削减这里---
    : s- }, R9 D. Y: b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * y- U& ^5 W5 C$ v
  42. ---例如---
    5 C/ B0 c- L& l; d
  43. [ dbexpress ]
    3 u! h2 O9 w6 C* a2 b$ ~
  44. sqldir = mysql_sql 9 j' T8 \2 i: F6 p6 r
  45. drivername = MySQL中
    $ f% x# |: c8 m$ @7 y. J8 Y
  46. 数据库=测试  Y% z/ X( Q  D! Z* w7 n) r
  47. 主机=本地主机
    . k( E) k+ ]3 T, F
  48. user_name = testuser
    ' x- u7 u. I% O+ V! `" u
  49. 密码= my_password
    4 q% |1 q7 a6 _$ G! d; X) g
  50. getdriverfunc = getsqldrivermysql
    . q" `- f! O' i; R2 r; l+ q2 P6 A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 P! Y' u- D" K; [  J. [7 ^0 Q. ?
  52. libraryname =. / libsqlmy.so
    # t" v8 M# D1 Q0 T- @1 h
  53. 积极= 1 * a- O4 l( }" J; j
  54. ---例如---
    / K$ o9 Q. g+ P$ ], J1 e0 _# G+ b
  55. 1 D" I7 T( t4 M
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 G5 |7 q; X+ z1 k' P3 E
  57. ---例如--- ) }8 t3 U$ p$ z6 f: }0 f/ O
  58. [ dbexpress ]
    " l3 j. M3 W: @" D
  59. sqldir = mysql_sql 1 Q$ x0 ~, o, v& F4 ~
  60. drivername = MySQL中2 b: s& @# N9 Z# @8 S  ~
  61. 数据库=测试
    1 d3 n- J7 c% G* U4 a
  62. 主机= 127.0.0.1 - V4 `: x8 K* [8 N! x- F) S
  63. user_name = testuser
    " X7 q9 I, g9 M5 K7 R& R
  64. 密码= my_password
    6 K# R6 P6 ~# w$ x! s& t
  65. getdriverfunc = getsqldrivermysql ( q9 d/ l" f  w8 \
  66. vendorlib = libmysql.dll在+ Y0 x$ V9 N: G1 u$ U3 n6 M1 }& H$ M, I
  67. libraryname = dbexpmysql.dll
    ! u! M+ m1 _3 Y/ ^, A3 f1 H- A
  68. 积极= 1
    $ z3 D5 ]( }  u% D0 O" P' A
  69. ---例如---- ; D8 @- O3 O& x$ h
  70. -写在0 2.03.04由p wk.linuxfan/ Y% V0 K+ O2 ~9 w( Q% u1 H
复制代码
发表于 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
# N1 m( n. b' R! q+ F. E2 B& `0 Y% O+ P2 `
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-17 20:33 , Processed in 0.101250 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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