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

2751 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " m' G2 ]( B$ m( n. n* j+ c, z+ K

; A6 s) B+ S4 L& s' l* M- f7 N- h

  1. : d8 b4 R3 L; q5 ]5 {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 x/ z" D* m% K( b' l  t* N; @

  3. 4 b: e& r/ L' R5 `5 ^# N
  4. ### What we need ###
    2 T- H0 y7 D- h! h, `* r! g
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : H8 O! g. J( J: U7 }8 t
  6. will not explain how this can be done - there are documents out there for the
    6 x# c9 i9 X% k% B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - }+ H5 v* W+ P- Z: P5 Q0 c
  8. and a user account (username + password) that has the permissions to do stuff
    6 W; p. {2 I8 j4 r; V
  9. with the database. Additionally, you will need a vendor library installed on the
    . z6 X& C" F- c; \- Y8 x7 r  S
  10. local machine, this came with my MySQL install.5 X7 m9 n" o+ N3 |, A1 A3 L9 f
  11. These instructions will not tell you how you might transfer your data from the
    ' R5 v/ B' l! ~$ R' j# @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 N3 S" S" g  a2 E5 Y+ Q
  13. database.
    5 y" g7 F4 e- V( T  w, B
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 T7 i1 f# a8 B* p
  15. the time of writing, there are still too many issues - check the current status
    " H" u8 N' C. e. A  Z! y
  16. in the TeamSpeak forums if you are interested.( c. I. S( N6 c% r: T- y  l+ m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      a/ P; [8 }( g9 C) _8 o
  18. Borland was used. This driver can only interface with the client library that ( i5 H. v+ b  B# e% i) E1 A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# O1 x: o4 q# ?+ f+ z9 ~
  20. client library - basically all you have to do is to use a 3.x client library as
    . V  c; c8 [; k; e% E3 Q7 d
  21. "VendorLib" and a 4.x database to connect to.7 L. f% X" h) d( \$ G, h1 R
  22. If you need more info about dbExpress, you can contact Borland., i1 _/ @/ l. Y! ^+ Y: |4 `

  23. 9 u% t' j* A0 Y# k; I5 }
  24. ### Doing the work ###9 V6 X* q2 d" J8 p* r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ R; x" G+ D3 r) h% x
  26. the perquisites right, just open your server.ini file, and add this section at
    2 y% I! c  \9 `( o$ h/ k& G5 f6 F
  27. the end:
      j# Q0 O, _. n) u+ ?
  28. ---cut here---
    $ m2 H$ D' f9 |+ j$ L7 d
  29. [DBEXPRESS]) G' P4 A- H# i$ f
  30. sqldir=mysql_sql
    9 a# b6 Q6 a' Y3 [$ S  @
  31. Drivername=mysql
    2 q1 ^( p. k6 p. f
  32. Database=Your_Database_Name_Here
    * _) y# z8 v* @; @; r
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 g5 i! h9 d' U, o, O
  34. User_name=User_name_on_the_MySQL-Server7 P: d1 @4 V: y2 E; [( ]
  35. Password=Password_to_go_with_above_user_name
    4 d1 z+ @" a, \0 Z4 p/ c6 [& M
  36. GetDriverFunc=getSQLDriverMYSQL+ `; f% g* \1 A7 j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      B/ \  \( _# c. J9 v( i
  38. LibraryName=path_to_libsqlmy_libary. d$ [" V0 e. a, u' }
  39. Active=1. p4 B5 U, G' _$ B0 G6 @
  40. ---cut here---0 M1 a+ u0 A& h9 z# g, Y& R& n
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 m6 r& K, x- K# z; H8 j1 c
  42. ---example---
      T  B7 K: T% `
  43. [DBEXPRESS]. w9 i8 h& I2 o9 r5 W( \
  44. sqldir=mysql_sql
    ' X2 C1 ?5 B% Q+ H! H7 A' n" ^
  45. Drivername=mysql
    ! \; ~; a- C2 ^7 ]" Z
  46. Database=test0 j; z+ N1 o) K. e! q1 ~
  47. Hostname=localhost# L6 c: s# M, ?, ]
  48. User_name=testuser$ e  \* Q5 c9 ?. G( M
  49. Password=my_password
    ! C5 R; ]! |! ^" D$ L
  50. GetDriverFunc=getSQLDriverMYSQL
    ; Z* Z6 `: B. c1 g7 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 e2 K! ^/ A  `
  52. LibraryName=./libsqlmy.so
    2 }$ T( W3 B8 s+ g, P* R
  53. Active=1
    ; J  s; p- j. z  e& N) ]  K/ U1 s
  54. ---example---
    6 u' ?. F* l( I1 L3 R1 W1 S* q

  55. - \" _! D! J7 m5 a& E6 S
  56. On a windows box, also running the MySQL server locally, it would be:
    ' w4 ]& J4 [6 q1 e
  57. ---example---
    + y7 M# E% K$ g0 L  k
  58. [DBEXPRESS]
    8 i/ @' w1 h3 ~+ n& j: K  c
  59. sqldir=mysql_sql: K# c8 G( b* V8 W7 T
  60. Drivername=mysql
    ' M. q9 x8 S# A# {& n: m& O
  61. Database=test
    0 i7 Z5 C; H1 x7 ]" b7 K
  62. Hostname=127.0.0.1
    " [  k3 z- I7 [/ \, d
  63. User_name=testuser& z5 S- ~, O; L% B# F
  64. Password=my_password
    & j7 z# x) e- f
  65. GetDriverFunc=getSQLDriverMYSQL
    ) M- p) V2 w! f3 [4 I4 a$ U
  66. VendorLib=libmysql.dll
    ' R1 W5 r- h1 m. r
  67. LibraryName=dbexpmysql.dll
    : ^6 s. o$ p1 o7 {- b% i
  68. Active=1
    % z3 e8 ]4 m; e- _5 `) @6 q
  69. ---example----
    5 {- i3 K# F4 w6 t  w
  70. - written 02.03.04 by pwk.linuxfan
    . }8 ~# S2 x0 ?% O. C: |- l; Y# Z( V

  71. : l9 U7 ]0 w8 Z( x7 ^7 J8 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* B* `, t# [- r0 G3 |% `1 q7 ]  A

  1. 9 E4 {; N/ D3 r/ V' P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; ~( r8 J$ {7 y, J( m# j( h! c
  3. 4 J4 g4 Z  E5 m& ]( W7 P- M$ w
  4. # # #我们所需要# # # ( ?& }  q) A* z  C2 W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& v  h  O- H, B* \' x
  6. 不会解释如何做到这一点-也有文件存在,为
    6 N# R/ v9 A$ M
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) i2 b( X# O7 q% H  f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & z) j7 `3 j: U! p5 g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 T( h4 B" ~1 R! I8 y0 x
  10. 本地机器,这是我的MySQL安装。
    / Q# e# i! \( m7 X: L. p* }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从( B" r$ t" d) Q/ y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; p7 v7 b0 `7 c$ q& Q: i" Z
  13. 数据库。
    1 y7 A! h: K( h1 Y% ]# B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( R/ o. A# F2 Z- G( _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , Z5 S0 X/ f* J
  16. 在teamspeak论坛,如果你有兴趣。
    ; a. C# b2 f3 n3 V0 _/ ^' o( P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % K1 R0 e$ m  B# x5 @: W9 d/ J
  18. Borland公司使用。这个司机只能界面与客户端库2 z; Y! b( x* U+ c- ?. b+ N) o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) B" Q5 ~' c0 W5 v, _' T# K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : A  p- K( M% Y1 R
  21. " vendorlib " ,并解数据库连接。 . H4 |( h3 Z9 T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # a6 |4 a4 k; o+ X* R. u$ ^: ]( D

  23. 7 |% U, U8 G5 C& X8 F
  24. # # #做好工作# # # : M( W# A- ^1 ^6 e. l7 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / d8 d5 G& B7 c3 c; A9 u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . e& w2 U# T9 o4 h: d% Y' i/ Y' Y- g& T
  27. 结束:
    8 U' t$ V+ L' T/ B
  28. ---削减这里---
    ) L* J/ Q# Q" A. B, d
  29. [ dbexpress ] ! `3 H1 a$ t0 I; H* R0 K) G
  30. sqldir = mysql_sql
    9 i. z, Z+ V2 r4 p# V4 F
  31. drivername = MySQL中( |# j0 ^3 \$ o2 W1 T
  32. 数据库= your_database_name_here 9 P. z+ _' P4 f2 {: f6 R
  33. 主机= the_pc_the_mysql - server_is_on % i& E2 z, s% J/ h& e2 c7 p
  34. user_name = user_name_on_the_mysql服务器& @# Q; r4 U! B0 a: M6 Q, _
  35. 密码= password_to_go_with_above_user_name
      a% V! @2 b( D! i3 T; e% g
  36. getdriverfunc = getsqldrivermysql
    8 b  h) m% S) \4 @. H/ D# ~( r# n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * F! }# o3 q# Z; l. u, z
  38. libraryname = path_to_libsqlmy_libary
    ! m1 W6 \6 J6 A: L( J- Y
  39. 积极= 1
    4 w) V0 L( Y* K4 y* R$ m1 H
  40. ---削减这里--- + E+ J  M5 G3 q% v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   K! L& e5 O  t  p8 I5 i% N
  42. ---例如--- : c" o9 P( Q# a, |! S' h& d
  43. [ dbexpress ]
    0 c  B) L% p- f9 p+ t; W
  44. sqldir = mysql_sql $ E- ]7 u# {# J. j
  45. drivername = MySQL中( D7 {: P) K  X/ E
  46. 数据库=测试& _6 N9 T5 y8 ~1 {+ J
  47. 主机=本地主机
    % a0 z. @9 I' @' u$ w
  48. user_name = testuser 4 R& B% r" m' L
  49. 密码= my_password & ~& R' C, N" m; [' D4 Q/ ?! I! y) B
  50. getdriverfunc = getsqldrivermysql 7 {- _) t8 x2 q7 S0 ?' l8 |: {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # A6 M; E( \. f8 g
  52. libraryname =. / libsqlmy.so 2 j6 R! g+ F; `  I7 m8 n$ q) S- U
  53. 积极= 1
    $ m, Q% k' _8 W9 _+ @) L
  54. ---例如--- 0 C3 w2 d$ `- _

  55. # ]3 C8 ~! W2 G6 x/ P* [/ D
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' x5 i' W8 z) O3 ^3 S+ d' ^. U8 z1 d
  57. ---例如---
    # G1 |7 k* w, B- s# m/ I
  58. [ dbexpress ] 2 r  C# O6 B: o4 w$ v
  59. sqldir = mysql_sql
    / k% S  n/ S$ M2 _
  60. drivername = MySQL中1 R) W: e6 i- |/ ]& n
  61. 数据库=测试% J% o+ w" |: w
  62. 主机= 127.0.0.1   M7 T" C4 E5 U2 e
  63. user_name = testuser
    9 v$ z% j5 ^! x( ]) o
  64. 密码= my_password 4 ~6 ^& R  T2 p' d# I
  65. getdriverfunc = getsqldrivermysql
    / U' Y/ ?7 c4 n" `& N) G" V' G' s- j+ V
  66. vendorlib = libmysql.dll在% b7 q3 ~) P* V& G
  67. libraryname = dbexpmysql.dll
    ' p6 h0 I( ]7 e; F- L% s* Z
  68. 积极= 1 / x# b! f" ?8 l1 U
  69. ---例如----
    7 i& e6 U, c/ v  Z7 C7 B( ?
  70. -写在0 2.03.04由p wk.linuxfan% _7 v9 C9 R% s0 r: c1 s* d
复制代码
发表于 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- ?6 u" g, \1 u  X+ ]  g
) g* Y$ @, Q7 _5 p# x
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-12 11:23 , Processed in 0.113255 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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