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

3517 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" v9 q( A3 }/ E2 V4 r  C5 T' }6 C- B9 I. T% ^9 J1 @

  1. . d' n8 l1 H2 T+ ]( ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 K: v% H% V! ~5 A/ `3 J

  3. - u( M# m! _0 b  `
  4. ### What we need ###3 y" S6 ?! i  h( y% S# O" f7 _
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 U7 ?% D: U& D6 Q
  6. will not explain how this can be done - there are documents out there for the
    : M8 N9 _% x' j4 P* b; A/ K: \
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 f6 V( d8 H5 a- d& c0 O* L+ f
  8. and a user account (username + password) that has the permissions to do stuff
    0 K8 R' p) e1 \
  9. with the database. Additionally, you will need a vendor library installed on the
    + Z9 a8 V6 l" O: p7 j" k$ e9 @
  10. local machine, this came with my MySQL install.
      r4 V) b6 h+ e
  11. These instructions will not tell you how you might transfer your data from the3 _3 K( P# s$ N6 k  U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / k. u: h+ ]$ N6 _2 H8 |
  13. database.+ r, l5 h6 w5 e3 j+ h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : A( i! P- ^1 {- b' n1 o
  15. the time of writing, there are still too many issues - check the current status
    ' Q+ B2 |& |$ Q  Q- t; w
  16. in the TeamSpeak forums if you are interested.
    . Z! E& ~) G. _2 `1 s) J" ?2 A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * n- ?3 S8 a6 Y4 d" }5 r4 {
  18. Borland was used. This driver can only interface with the client library that $ Y8 G( z; p- R' F9 T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ S3 Q: U3 c+ r3 Z
  20. client library - basically all you have to do is to use a 3.x client library as
    : z% }9 Y+ A- U$ h1 q/ O3 S
  21. "VendorLib" and a 4.x database to connect to.
    9 V3 J2 Z+ C& z4 }7 j8 S2 t3 e
  22. If you need more info about dbExpress, you can contact Borland.
      ^' i! m& k$ b8 c: s
  23. - ]: t7 m8 p5 E5 o7 q+ q
  24. ### Doing the work ###
    & x( \6 D  f# F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' P- l6 G; I3 G- U
  26. the perquisites right, just open your server.ini file, and add this section at; j1 B& r' a+ k' ?' G- k7 i0 x
  27. the end:
    4 k+ ?/ A- f0 ~9 u8 K9 l
  28. ---cut here---
    7 N5 {/ T, _$ m4 r: ^
  29. [DBEXPRESS]2 w( G8 d1 J# I- \' X
  30. sqldir=mysql_sql
      W" z6 {7 H' w4 [6 G
  31. Drivername=mysql) {- q* r$ W8 N* c  x+ H3 P, G
  32. Database=Your_Database_Name_Here
    + ?- W/ @3 D" Y+ O8 K
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 J  ^$ T3 e2 J
  34. User_name=User_name_on_the_MySQL-Server
    , z* w# r, p" @( g' @4 T
  35. Password=Password_to_go_with_above_user_name& M7 p# F# ?1 d1 F4 n  R. D+ `% I+ q
  36. GetDriverFunc=getSQLDriverMYSQL6 k# W8 u: a2 J( P5 P% M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % G) t% Z- X! X- [/ Q" g5 t
  38. LibraryName=path_to_libsqlmy_libary# p* ~! @& Z: A! M2 ^1 t6 w
  39. Active=12 g& C8 V; K1 l7 F
  40. ---cut here---5 p0 Q2 P, y! d( z5 B6 U
  41. In my environment (a linux box with a MySQL server running locally) I have:9 l& `" x6 a' I, A
  42. ---example---5 e( F, p5 s3 d2 j
  43. [DBEXPRESS]
    5 o. r& y3 L1 n( m5 h
  44. sqldir=mysql_sql3 T$ ]) j1 S0 I& J. A: N& b
  45. Drivername=mysql
    ! Y8 \* P+ Q: N" C) Z- X
  46. Database=test
    % _/ C; j, S0 S
  47. Hostname=localhost
      X% |, w6 I3 C2 Z# M
  48. User_name=testuser
    * o! [" A% l# L5 `; j4 d
  49. Password=my_password0 \5 C/ w! k2 c! |
  50. GetDriverFunc=getSQLDriverMYSQL; c9 O1 O  F" b+ J/ S+ d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& J0 I8 @! \* |* Y2 `) R
  52. LibraryName=./libsqlmy.so
    + K: {" O- z5 r6 `
  53. Active=1
    , D  o0 R9 Z6 g& K/ W7 {( h" i
  54. ---example---
    7 O% p0 h: b5 e, |. S/ n9 \! L+ c! G" L

  55. 5 U! o9 [7 C5 c& F" W0 J$ N  G
  56. On a windows box, also running the MySQL server locally, it would be:  g$ ^! o1 |( p8 C$ Y" b
  57. ---example---
    " \; [% S) x9 k& r6 |
  58. [DBEXPRESS]
    # b' @4 c6 F  q+ D& V" W
  59. sqldir=mysql_sql
    + B# g, a% P/ B$ M" S8 P2 g
  60. Drivername=mysql1 y3 }. |1 e( c% y* w, ?1 l( P
  61. Database=test
    . d7 j+ S2 s: _- w! `  e# {/ f
  62. Hostname=127.0.0.1
    2 n) P' Q1 V" ^& t% \' r
  63. User_name=testuser3 I* J6 ?, q$ j; _8 H& b
  64. Password=my_password
    / C" }/ @+ f! ~  ~* K# H" }$ Y
  65. GetDriverFunc=getSQLDriverMYSQL
    " ^. I; P$ U2 T, Z
  66. VendorLib=libmysql.dll2 t  n# ?6 {. `, ]9 j
  67. LibraryName=dbexpmysql.dll
    0 T5 a$ t6 _, n) k' D& L
  68. Active=1
      v8 O5 P$ c& ^$ I. U" T. I
  69. ---example----
    0 H. d1 ]# n8 F7 _* v; J) ^
  70. - written 02.03.04 by pwk.linuxfan5 P& B3 k. O8 i+ X

  71. % H! j' `1 F- [2 n; g8 {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 |' {( t6 f0 t2 R* K

  1. 0 h0 c! B3 \3 r9 P' [( F% e6 i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### - R( R  n  A, C0 f2 v$ K# R

  3. $ |: w7 f4 ?5 Z; z; O
  4. # # #我们所需要# # # ) Q/ j( X! r$ j+ y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 g3 m, j5 Q1 R
  6. 不会解释如何做到这一点-也有文件存在,为# B, D0 Q0 P& {5 d! K5 s1 \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 i! @- u* A: Q$ G0 ?0 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, T& Z" ?3 _9 r& d5 h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    " }+ I4 m# d9 u( J
  10. 本地机器,这是我的MySQL安装。
    5 ]  E3 Q+ c! a3 a- K! _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  \8 p- k5 o1 T# X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - h5 N; _& n+ V2 F
  13. 数据库。
    2 Q( }$ a- Z4 ?/ ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 m' y3 u5 r$ C7 [. ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 h) `8 \! [4 j- E
  16. 在teamspeak论坛,如果你有兴趣。 ! d' f4 ?! b9 h0 O% @" T  Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 S5 [3 b7 K$ b( O& g
  18. Borland公司使用。这个司机只能界面与客户端库
    & A8 I2 ~/ f$ Z; S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: A+ c( ~" S) o$ R6 r( Q9 L8 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' ?2 i! P" ?. L7 Y# k5 N4 z- C- l: y
  21. " vendorlib " ,并解数据库连接。 3 ]5 y3 ?  M6 X! R2 d/ O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + d1 [# N7 _- {. v7 ]6 U
  23. ! U2 y6 K- |* e% B
  24. # # #做好工作# # # / ]7 s/ N) g# {1 \# Z) v. i, v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# l- |* V9 K5 j( w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    + {" d: g/ \/ c1 i  e
  27. 结束:
    ; O, [6 n& j2 R+ I6 ?( i
  28. ---削减这里--- # a/ C' T2 }1 N3 B$ O) N2 \
  29. [ dbexpress ] $ |/ {+ {% Z: w. ^% {9 M
  30. sqldir = mysql_sql
    & v2 g/ g* W/ ], D5 Q5 ?
  31. drivername = MySQL中4 j/ k' `( T1 _# I$ }
  32. 数据库= your_database_name_here 2 |1 E. ~# ~( R  j0 W, ^( N1 i
  33. 主机= the_pc_the_mysql - server_is_on
    % Q; M. ^' Q8 S
  34. user_name = user_name_on_the_mysql服务器# [, d" N" t/ A' W) Q" K* A
  35. 密码= password_to_go_with_above_user_name
    # ~) V1 c' X8 ~) ~  i% m6 q9 {' D
  36. getdriverfunc = getsqldrivermysql
    ( |, i, X, l0 x$ Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - J* q( g0 L, Q" ~0 Y8 M! l
  38. libraryname = path_to_libsqlmy_libary ' L# Y7 [# B! S4 @
  39. 积极= 1
    1 V9 A% H  @% f  C2 M
  40. ---削减这里---
    % ~/ y; e; m# o/ x0 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' i+ `* L9 w9 y( g  x" p
  42. ---例如--- " S7 c/ _8 N! V1 |1 T
  43. [ dbexpress ] 3 @' Z4 w+ U" x
  44. sqldir = mysql_sql ! d2 ]7 o- F6 h2 L
  45. drivername = MySQL中
    * M" r. ^; _' j( b  G) J, y4 c
  46. 数据库=测试/ e# V$ S6 G# @! u  R0 z9 M' t2 ]
  47. 主机=本地主机5 ?$ ?+ M0 C/ \2 Y  J9 P( H" }( a! m
  48. user_name = testuser
    * ?0 ]' Z' j9 V2 g
  49. 密码= my_password
    4 E0 f- L1 k* ^8 T( o
  50. getdriverfunc = getsqldrivermysql
    6 N4 }( X9 d$ \9 G6 U& X( H: q: O& Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - R, l/ J2 Q/ w
  52. libraryname =. / libsqlmy.so 2 L% M  d9 m& [6 [; G) Q% F) q
  53. 积极= 1 - Q# O. p$ I- s: S
  54. ---例如---
    ! {8 P! H  }1 N3 L/ ^* X

  55. 3 G9 y# J( e" t6 y+ |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; R* t5 k. j+ q$ E1 \" J6 j  \! \' \
  57. ---例如---
    : f1 \* W9 F, r/ d0 V$ b
  58. [ dbexpress ]
    + y; k, x0 j- S
  59. sqldir = mysql_sql
    0 k; `- R2 G8 E! q# O
  60. drivername = MySQL中
    $ y! e1 t( @. i9 D
  61. 数据库=测试# {0 H: G: @  j. V0 l+ f/ b" i2 G$ z
  62. 主机= 127.0.0.1 + `$ u! G3 G# B0 Z4 M
  63. user_name = testuser
    , E2 i2 _+ h# F5 G1 Y9 Q$ H1 [& B
  64. 密码= my_password 0 O6 i5 M, w7 a+ E
  65. getdriverfunc = getsqldrivermysql
    - e( S9 _/ Z2 t
  66. vendorlib = libmysql.dll在
    7 k7 z+ v% |% G' D1 y( I8 `9 W
  67. libraryname = dbexpmysql.dll 4 L6 ~) W- A7 O) E* l
  68. 积极= 1 ; i0 Y; W* F5 B/ b3 G
  69. ---例如----
    8 W' ?5 C& j0 [! A+ W  d: M
  70. -写在0 2.03.04由p wk.linuxfan0 h4 g  \, k: L& \  i+ }  _3 J
复制代码
发表于 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 words7 ~6 Y1 ?. s; y  `$ N, w3 s8 T

' H0 c+ f% P% n; ~% V3 Abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-14 17:48 , Processed in 0.064496 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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