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

3044 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 F* m! p" h$ o, t

2 a, V" D$ u: T7 B) k* L; i

  1. ; W* C9 r- R1 A; A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ T8 n1 j, t$ Z5 H7 @
  3. ! u: x! p. p) T, w( @
  4. ### What we need ###
    ( z! G$ D& [; @. z% O4 Z
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 C3 O0 f; w: V" @
  6. will not explain how this can be done - there are documents out there for the 3 A, i8 r& p  h% Z+ K" ^+ F) M$ \
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - x9 ~" L9 [$ _/ G, W
  8. and a user account (username + password) that has the permissions to do stuff# r( u$ H1 h4 U5 U
  9. with the database. Additionally, you will need a vendor library installed on the- d/ W: |; t6 r! ]2 S
  10. local machine, this came with my MySQL install.
    - b9 V  ^; U2 [' ?/ ]
  11. These instructions will not tell you how you might transfer your data from the
    ' g3 ]" P# d# b& k7 n: h1 E+ [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % d; }7 L0 e4 B7 I* j% f
  13. database.2 h6 `3 X% f* m
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ ^9 \2 q" C+ G: l3 Y
  15. the time of writing, there are still too many issues - check the current status# ^. P( t# ?+ J1 P7 U
  16. in the TeamSpeak forums if you are interested.
    2 h4 K) L8 F4 |8 x, d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : _5 j+ J5 B, p3 P
  18. Borland was used. This driver can only interface with the client library that 5 e0 T& M; R: g- a. G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    * x( N, c- t) I5 M
  20. client library - basically all you have to do is to use a 3.x client library as 0 \/ ]. ]- @8 ?
  21. "VendorLib" and a 4.x database to connect to.
      P' @7 M; S& X. W% h- _
  22. If you need more info about dbExpress, you can contact Borland.
    2 d& _* \$ q4 ], [/ i2 M3 x

  23. 9 s0 b. B2 k* S
  24. ### Doing the work ###
    ' b' z0 @$ r, w/ W3 e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! i) H9 B! x! s$ @
  26. the perquisites right, just open your server.ini file, and add this section at# L& n& G! k/ K9 b7 e# a! B
  27. the end:
    " o  N7 L* C  u1 m4 y
  28. ---cut here---
    7 O4 [  V! F0 p. {3 ]
  29. [DBEXPRESS]- K9 v" v/ b/ \4 }0 T" W
  30. sqldir=mysql_sql; I" n0 a; |, A% W; q- ~1 D) I8 Z
  31. Drivername=mysql- z, v) \9 N" T* U' w. M
  32. Database=Your_Database_Name_Here' C+ _& K( [9 e- K
  33. Hostname=The_PC_the_MySQL-Server_is_on  E( o" z( W( N% {, V8 m/ Z+ {
  34. User_name=User_name_on_the_MySQL-Server1 ]; t$ ~* c$ |, o. Q1 t% Y" S
  35. Password=Password_to_go_with_above_user_name' H+ ^& P+ C9 c2 B" ?
  36. GetDriverFunc=getSQLDriverMYSQL6 Q9 n/ x, A9 N7 n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! g5 s& W/ h6 v1 M* L; b, T/ B( c' j5 ?
  38. LibraryName=path_to_libsqlmy_libary; C, Z( d0 _. j+ X: f% z* `
  39. Active=1
    4 L9 l% H8 u* p/ Z: W8 I
  40. ---cut here---: n0 k0 w% p  j. Y6 D7 v, {- b9 L) L+ j
  41. In my environment (a linux box with a MySQL server running locally) I have:7 y+ _$ Z( H" c# H: A# r+ Q' {& k
  42. ---example---
    " Z! }0 c1 Y% z
  43. [DBEXPRESS]
    . m5 Y+ t3 g& ]+ ~# B4 z+ T
  44. sqldir=mysql_sql. f) p; k# |" }1 {* |1 Q( {
  45. Drivername=mysql. U2 a; u( e+ S9 a0 R! U
  46. Database=test; z& @8 o) ]0 @- W4 {; g
  47. Hostname=localhost) D/ _4 z4 J. A' x
  48. User_name=testuser# y# [9 o. N# m- {. O
  49. Password=my_password
    & V. \- X/ ^( i
  50. GetDriverFunc=getSQLDriverMYSQL
    3 ?1 m0 u: [+ I4 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : ?- X  s( u6 N
  52. LibraryName=./libsqlmy.so
    " F9 Y6 }8 h5 c! s$ S
  53. Active=1
    " k* I! {1 n; B5 {# f3 \- `8 c
  54. ---example---
    % Q; {# D1 o# @# Y9 U, R

  55. 6 U* S1 k. `" j: P
  56. On a windows box, also running the MySQL server locally, it would be:# w: d+ i/ g  n5 `* X6 Q
  57. ---example---
    ) P1 `0 K0 L' D" V
  58. [DBEXPRESS]
    . N- v/ t9 M4 E+ n
  59. sqldir=mysql_sql
    6 ^' A* D) n+ l( B$ M( n+ c; x
  60. Drivername=mysql+ k- a$ K2 j2 O! R5 w
  61. Database=test
    6 V: k7 S5 n2 g
  62. Hostname=127.0.0.1
    2 j, F9 ?4 Y7 f% ^0 e
  63. User_name=testuser9 Q) X& k% ]( _$ a- c% K# w# N
  64. Password=my_password
    : o# V! Z( s! P0 t
  65. GetDriverFunc=getSQLDriverMYSQL
    3 ?1 {, D7 p. M1 ~1 M
  66. VendorLib=libmysql.dll
    2 u1 g, O6 M" S6 p. r
  67. LibraryName=dbexpmysql.dll) h5 X- E. H: U( v. C* v1 J" V; q
  68. Active=1
    1 K( O; E  Q' j$ X- h1 ~
  69. ---example----
      u9 N4 ^# \. G6 s
  70. - written 02.03.04 by pwk.linuxfan3 G; Z8 }+ \& b: x% {
  71. 6 N3 _) n2 {  p4 L# X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- n8 d8 \& N$ ?. }3 @

  1. ; |! J2 Z; Q7 k% j! J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : b' D. d$ l8 H' n
  3. 7 d4 t! a9 K+ g
  4. # # #我们所需要# # #
    ! x4 s" k) Q; N6 C: a0 ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / K0 D4 J3 N) B4 ]! v9 f
  6. 不会解释如何做到这一点-也有文件存在,为. ~6 C9 Z4 l, p! ?8 F, B' k& X2 E- j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; O" C, w' T: J2 X7 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 w% x: q+ f; _- d+ ~2 o4 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 t! l1 n& B$ `/ v; X: V: O
  10. 本地机器,这是我的MySQL安装。
    / S& _9 ?6 W, V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 [/ {* h. {. V8 u( N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( L9 g! V3 a: p  c
  13. 数据库。
    / Q* R7 j! H2 n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在2 a- n7 }, `7 E# T% s+ q2 p" s
  15. 编写本报告的时候,仍然有太多的问题-检查现状- n8 b6 f+ W% _' f) w, k! b6 z
  16. 在teamspeak论坛,如果你有兴趣。
      y2 t# v- W+ A9 x4 y7 u2 K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 L8 |) J. p7 T
  18. Borland公司使用。这个司机只能界面与客户端库; Z' w( m1 g$ n! x- K% v" e, B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % |, Q: q4 [/ `+ n+ m6 v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 ?" x& Q7 }. A0 N
  21. " vendorlib " ,并解数据库连接。
    : y7 T2 x$ T7 O' L: T! G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 [) [. H, i8 Q9 j+ ?0 l/ t
  23. : M$ ]2 M+ c1 E1 p& ?! E
  24. # # #做好工作# # #
    2 q4 C# M" Q/ g- `. r9 F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) @$ a/ v$ ~% [! h1 z! N: U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 o  K7 M$ H+ p, @' D  E
  27. 结束:
    ! {6 x! Q0 b+ f& C/ E, O/ M. B
  28. ---削减这里--- ( P! S- z! k" s) P+ t; y! s1 \
  29. [ dbexpress ] 1 L6 |  }; B4 F9 b/ u
  30. sqldir = mysql_sql ) w# O: {! w' n3 b# {& S' E/ u. ]1 D
  31. drivername = MySQL中8 p! n2 R, M. ^& d: D6 }2 Y
  32. 数据库= your_database_name_here 7 q, ^8 E. R5 j' \1 _; Y
  33. 主机= the_pc_the_mysql - server_is_on ) H; C4 Q/ M6 h# @6 M* t
  34. user_name = user_name_on_the_mysql服务器
    * L/ r9 B6 O, I5 j
  35. 密码= password_to_go_with_above_user_name 5 g+ T: a1 L! A/ Q" T# W
  36. getdriverfunc = getsqldrivermysql ( ~2 B3 a) B  s6 b8 G: [  t3 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 3 D3 R, `7 F1 N
  38. libraryname = path_to_libsqlmy_libary
    9 V" Y, |& T* F" e, s
  39. 积极= 1 0 M2 ]. J  H7 I4 G# a$ N
  40. ---削减这里---
      s. V( z2 G/ u; x1 \- W
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) z2 R9 t* R! k& X
  42. ---例如--- 8 s8 v5 x6 i8 D( D( q
  43. [ dbexpress ] * Y% y/ ?% O2 ]* B+ z* ^
  44. sqldir = mysql_sql 6 h; t( F6 V8 A; }$ y% R. z
  45. drivername = MySQL中. G' d% P2 G/ D. E* A5 k! F. P0 p/ O
  46. 数据库=测试
    1 I* W% p7 M4 C) R. W% J: @
  47. 主机=本地主机
    & U. ~: v$ E% F" F9 s+ U
  48. user_name = testuser
      k7 k9 F* L/ ^" k% a
  49. 密码= my_password
    2 l3 b/ X4 b% f, P& a& x
  50. getdriverfunc = getsqldrivermysql " }( E. ~' z8 O# A% K. s% V& P- s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! y  H/ i6 ~, O$ X" v. T' A
  52. libraryname =. / libsqlmy.so
    ) V8 q' L) O: ~- B1 }. t
  53. 积极= 1
    % D# t0 M2 n; c3 i7 m$ S; n
  54. ---例如---
    & w* H4 p6 Q$ c) T  |" a( \' H

  55. ! E/ {, C/ F, c) a1 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + p9 q. c# W/ E" \8 ~- w
  57. ---例如---
    , R; X/ V5 c! |/ [
  58. [ dbexpress ] 2 z, l  K* N# U+ ]
  59. sqldir = mysql_sql
    / Z- [# Y4 S  @+ |
  60. drivername = MySQL中
    : }: K, t# l8 q& v
  61. 数据库=测试+ j6 t, O1 B! G  D* f/ q$ ~
  62. 主机= 127.0.0.1 2 W# I  b) s! ]2 y4 |# ]; ?
  63. user_name = testuser / _; L9 k1 a! U/ R4 x# V: G
  64. 密码= my_password % }0 V4 i4 t* O
  65. getdriverfunc = getsqldrivermysql 1 G$ s) i  W  s" E8 ]) m6 J
  66. vendorlib = libmysql.dll在
      ~  i9 x6 o: [. L) Z  k, S
  67. libraryname = dbexpmysql.dll
    % ?7 \8 `' o" l
  68. 积极= 1
    - j; d, q; x! B) |
  69. ---例如----
    ! K5 V" L% z. q8 N( o. d4 p: D* u, C
  70. -写在0 2.03.04由p wk.linuxfan" B" g) j8 \; z6 a( C
复制代码
发表于 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
% ?/ ^  r: _- X5 Q7 C+ J
2 P& N7 R0 w7 wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-19 22:51 , Processed in 0.103679 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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