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

3185 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) x# e7 R/ A- W6 D
9 F1 m2 ?+ ?! ?3 x

  1. / b9 R$ t5 K) x( R/ K+ S1 r( B4 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * _' V5 F2 G. M1 q2 J1 o7 h
  3. 1 Z# _: [: Z+ t( o7 R  ?
  4. ### What we need ###7 }! A. ]& q: \( q: U- n% X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) g# q! O% _6 e: H# i7 M' H. u! a
  6. will not explain how this can be done - there are documents out there for the
    3 D, u9 n, l1 `+ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) W* T3 F9 c; p; E: T
  8. and a user account (username + password) that has the permissions to do stuff
    , i5 C8 t8 d. Q! s+ ^" q
  9. with the database. Additionally, you will need a vendor library installed on the. m" i( x7 d$ V! V5 j6 [7 W8 c" u$ s
  10. local machine, this came with my MySQL install.3 X0 l# C3 h* \8 o9 f( I
  11. These instructions will not tell you how you might transfer your data from the9 g, o5 R7 s/ ~# u! `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 A+ A* [  Q- x( p
  13. database.2 {, w+ T* Y- Q$ g
  14. Some users have reported ways to import a SQLite database into MySQL, but at- E; S9 N& X1 x! k
  15. the time of writing, there are still too many issues - check the current status
    / a4 d! `4 O/ `( D% ^1 u& k6 B
  16. in the TeamSpeak forums if you are interested.) H9 B# {5 I: x" h" @! J' S. S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 B4 `9 b% ]" Q! g4 B; A- b9 i8 f
  18. Borland was used. This driver can only interface with the client library that
    % P: A+ T/ X4 u, o  O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 ]  u" ^: N6 I& _3 `
  20. client library - basically all you have to do is to use a 3.x client library as
    0 Z: {* _9 e' y1 b' H
  21. "VendorLib" and a 4.x database to connect to.
    * o4 u- x  _8 M6 U0 V
  22. If you need more info about dbExpress, you can contact Borland.
    " T6 z4 r' C' c- Z& o+ J" W' W# U
  23. / z  T3 B8 V7 C* K* {
  24. ### Doing the work ###
    2 b( }9 T5 a# k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) h- ?0 A1 F+ p: |' q
  26. the perquisites right, just open your server.ini file, and add this section at# U% Y7 V. S( O) _& T) J& c
  27. the end:
    " n0 A6 R0 F- c
  28. ---cut here---
    2 T7 v% @. a/ |
  29. [DBEXPRESS]
    ) }# X* a  ]- y; P, }5 Y
  30. sqldir=mysql_sql
    ' S9 U, E6 S/ b8 u! A  ?
  31. Drivername=mysql6 l' B( o7 F- I9 A: M# B
  32. Database=Your_Database_Name_Here
    % U6 I# H- @6 Y; P7 M  I2 T8 z9 _. ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * k3 V0 }& f- a- E* o' P
  34. User_name=User_name_on_the_MySQL-Server/ q# F' M' f' q0 x" _
  35. Password=Password_to_go_with_above_user_name
    1 G: h4 g# }* G' \' }2 f
  36. GetDriverFunc=getSQLDriverMYSQL
    & G( b$ ^9 V! ~# i+ }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # X$ Y3 o) Z6 v# N" e; k
  38. LibraryName=path_to_libsqlmy_libary
    6 c. P5 S$ k: t8 ?
  39. Active=1$ e7 a; y+ a9 ]0 ^/ f8 F, [% W0 l8 J2 {
  40. ---cut here---
    ' ^% {9 M; i9 |3 o0 o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * t$ z# M* |# F( Z4 O9 ^& C- m5 R
  42. ---example---& n9 J$ l% S1 L; r
  43. [DBEXPRESS]/ k" _: s% t# z7 T
  44. sqldir=mysql_sql0 A  L' t7 G+ i. ~$ b# j/ o
  45. Drivername=mysql
    % f( f7 E3 J% C2 h3 Q' v' c
  46. Database=test
    0 ~0 Z% V  V6 C3 Z# ?  Q* M
  47. Hostname=localhost
    4 C8 z  x. b* e, }2 q
  48. User_name=testuser
    , w+ }# t9 ~' J' S% `5 _
  49. Password=my_password
    - U6 b! I4 j# c4 |6 [2 H/ ]7 v) b8 ^
  50. GetDriverFunc=getSQLDriverMYSQL
    " R$ R5 W* T/ Z5 w8 u7 X8 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( B% M. @; Q" X3 Z) v6 _# a
  52. LibraryName=./libsqlmy.so
    % s6 v8 w# N$ n. A# R
  53. Active=1
    * f& K, O# @5 M/ @
  54. ---example---
    9 s! u2 B: l( v( e* r7 h

  55. 3 ^1 l1 i* K/ p+ u0 k/ w  z: \
  56. On a windows box, also running the MySQL server locally, it would be:
    6 m: N- Q; @2 N# p* K5 C0 F
  57. ---example---
    4 ?# G# K. n6 q& L
  58. [DBEXPRESS]
    2 i1 s' q; I9 d: Y0 u$ r
  59. sqldir=mysql_sql/ W/ N; L+ s# n% M5 Z! D( v
  60. Drivername=mysql# Z" @5 ?; Y9 k! r' D
  61. Database=test
    9 F& N$ @+ _( b# _6 @% J* C5 t6 ?
  62. Hostname=127.0.0.1& V; k$ S3 ~1 o) i
  63. User_name=testuser
    2 F) A- u4 ?: o
  64. Password=my_password
    / b' `2 q9 Y; Z' v6 C7 I
  65. GetDriverFunc=getSQLDriverMYSQL) ]* q; [/ M' Q
  66. VendorLib=libmysql.dll
    / \3 e8 H0 s( o
  67. LibraryName=dbexpmysql.dll
    7 Q! I/ l3 f% P/ D6 W: Y
  68. Active=1
    8 e1 S& D& M$ {; C& C, M" k( b
  69. ---example----
    : P1 G) G3 A' ^' ~
  70. - written 02.03.04 by pwk.linuxfan4 g5 a& L. ]" z2 I5 z: S% m

  71. : {0 q* ]: h; F. P0 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ Q. |! F. g% n$ O/ s- f% [; \6 a

  1. 3 q. I$ d" E$ K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 u% i# Z" ~. |: o' X. x+ b2 M
  3. 4 B4 F% N, g, d1 t% O) b% m
  4. # # #我们所需要# # #
    7 _4 K4 i' z! U+ L) d: `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % [1 q- V0 v9 W! L) J' F, Y
  6. 不会解释如何做到这一点-也有文件存在,为, j, G9 i8 H. D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 i3 `  j& x; w/ Y5 c: h0 s. p5 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; F/ p$ B1 c- m, {* K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; w. ^" G" w; b& E5 b* B
  10. 本地机器,这是我的MySQL安装。
    ; f* x# i4 s/ p2 J. D2 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! V) P' _7 `4 T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! @1 }7 W2 _; B' c. I
  13. 数据库。 6 ~& s7 @) H. i6 |- w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 n, B8 m7 w) e
  15. 编写本报告的时候,仍然有太多的问题-检查现状) n% a4 p& y4 j0 _" `" |
  16. 在teamspeak论坛,如果你有兴趣。 . a% J0 m8 U5 z% }$ V" G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! o# g% i% Q3 E) K3 X8 n0 v
  18. Borland公司使用。这个司机只能界面与客户端库
    + n6 M9 T6 s, r1 V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 u4 i% c8 }: ~: y: f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( y8 b4 Q/ K; E  u6 G6 W
  21. " vendorlib " ,并解数据库连接。 . ?. b, M* \7 p/ {' }( S& M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - @# t: K4 v4 I2 ], L/ D8 b

  23. & C8 r5 o$ O& S5 k, M* Z$ n
  24. # # #做好工作# # # $ K1 C) W, I5 o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . z8 W) t, E. g3 j1 s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: L( x4 r" p( y9 c, T
  27. 结束:
    7 M) M7 n+ K! W1 I5 \* I$ H
  28. ---削减这里--- / O3 C- t. a1 c, F. H- L0 k
  29. [ dbexpress ]
      j) y; m4 L5 x# a' t3 P  j' }" Q3 i
  30. sqldir = mysql_sql
      X9 o9 @( f6 j" s! f
  31. drivername = MySQL中% W1 E: }# X; x* l: m  m
  32. 数据库= your_database_name_here ! x% d# w( x$ M5 i2 u* u- x
  33. 主机= the_pc_the_mysql - server_is_on 1 T- |+ T' S# g' [; T
  34. user_name = user_name_on_the_mysql服务器
    ; p3 ?$ d6 P! O, \, S1 n) d" ]
  35. 密码= password_to_go_with_above_user_name 3 K" O* W9 J8 s" G. J3 u( N
  36. getdriverfunc = getsqldrivermysql + E* w8 I; y( v! q- ]2 y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( R# w2 E# J% f( t- _
  38. libraryname = path_to_libsqlmy_libary
    8 G" W! r+ u' i! ^1 N2 Z0 n) G
  39. 积极= 1 % L- W7 Y' g3 w) f. M' J4 o1 f
  40. ---削减这里---
    ( P* V4 k  G8 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - u% \! }- K1 s
  42. ---例如---
    $ e  Y( D+ T5 c  D- _! u
  43. [ dbexpress ] 9 F3 a8 L5 Y$ E
  44. sqldir = mysql_sql
    & @, E1 [9 \; T1 }. B3 Z& w9 R! ^. x
  45. drivername = MySQL中. s) I8 m( X% A+ R- l
  46. 数据库=测试
    5 J8 n2 B. W. A1 C! S
  47. 主机=本地主机
    ) k, v* l# k9 ~& b* t# h
  48. user_name = testuser ; [6 C7 m% V3 }+ R, Y$ m6 ]* ]
  49. 密码= my_password
    % ~' [6 h7 o9 j* S0 ^  P$ ~5 B
  50. getdriverfunc = getsqldrivermysql
    ; g9 i9 R- \( t! d9 h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & i: d2 {7 f8 A7 a( V% F3 K
  52. libraryname =. / libsqlmy.so . ?0 F) b- ~( v- w" h' @
  53. 积极= 1
      Q( k* n* U. ]! R: l% \$ S$ F/ f
  54. ---例如---
    / }. K: ^+ B* V* {$ Y) ?
  55. / `5 Y; U  v% J8 r- T9 ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : I" H! U! }) N& M5 `
  57. ---例如--- , l3 p, W" ~. o  {* q6 C
  58. [ dbexpress ]
    " \7 b6 v, d9 _4 E! N( [
  59. sqldir = mysql_sql
    # s9 M/ {/ O; a
  60. drivername = MySQL中
    * W5 ?  K0 p5 q  Y# O7 d6 |% \
  61. 数据库=测试8 f9 u9 k! T( ~) Q- X
  62. 主机= 127.0.0.1
    * u; D% j! C2 Y+ M
  63. user_name = testuser - \/ |. \2 ]3 a6 Z. _7 T# P
  64. 密码= my_password
    1 K. n) S3 c" z
  65. getdriverfunc = getsqldrivermysql # K" ]  k  T9 K' f8 ]
  66. vendorlib = libmysql.dll在
    + R9 l, _' a4 J: ]+ c) `  t
  67. libraryname = dbexpmysql.dll
    9 M( O6 N9 l* j  G0 C: e% Y1 f
  68. 积极= 1
    1 P/ J2 h5 b( C
  69. ---例如----
    - Z5 e4 u* n2 ?* d! P$ z5 U
  70. -写在0 2.03.04由p wk.linuxfan) D. n' K0 |1 d- H9 h6 c6 f/ f8 e
复制代码
发表于 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
. L% f+ _2 W; j/ W0 ?9 i: Z4 s5 d% x$ t/ R: D
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-18 19:15 , Processed in 0.105598 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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