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

2663 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) }% z1 n# t* w7 R2 }# `9 V. i$ u, c" t; x5 Q: b3 v# T* U

  1. $ ^8 N9 Z: i! [+ w! y6 k% l8 Z( A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 s+ T8 a1 C- {0 l/ A  F7 G  T+ O

  3. 0 v/ I  m* d, d. Y7 b7 ]
  4. ### What we need ###0 L5 {; e' X% x7 g5 q  e
  5. Naturally, we will need a MySQL server to store the data for us, this document ( u+ I) t# V3 w8 |( h
  6. will not explain how this can be done - there are documents out there for the
    " `8 O6 D* b4 B. t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) @9 @# u, J2 Y6 J5 J0 z
  8. and a user account (username + password) that has the permissions to do stuff
    ! V* S- Z) A8 G
  9. with the database. Additionally, you will need a vendor library installed on the7 d, j, i+ T; A1 }& X# X
  10. local machine, this came with my MySQL install.
    / s; y2 L% R( C" ?
  11. These instructions will not tell you how you might transfer your data from the/ z2 o% W, q' m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( k9 S4 b: h* u. s& I
  13. database.* d* {& p4 \( Z1 \/ o
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 J+ E( K  x$ z
  15. the time of writing, there are still too many issues - check the current status
      P( ~( {) H$ D) i( P
  16. in the TeamSpeak forums if you are interested.1 k' q# o  S- ?/ \7 R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 H: b  }* G. {8 n
  18. Borland was used. This driver can only interface with the client library that / y( N4 r7 s7 a! ~9 @2 h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( _  O: d& H' f% Q4 E+ _
  20. client library - basically all you have to do is to use a 3.x client library as
    $ O, ^3 @, k1 m' l" F; S' f3 ^
  21. "VendorLib" and a 4.x database to connect to.
    & J, Y, t5 _3 P- V! ]
  22. If you need more info about dbExpress, you can contact Borland.
    ( e7 ~1 d( R4 r0 p& r5 a

  23. * ]" m8 p6 [' \  c1 W# B: x, g
  24. ### Doing the work ###+ T2 J8 ]. o! ?; `! I; h/ V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ d. o& f6 x: r6 m3 O$ H
  26. the perquisites right, just open your server.ini file, and add this section at
    . S3 t9 }& n4 e# i
  27. the end:
    7 Y0 X; K/ I. s0 {9 _: O9 y9 Z
  28. ---cut here---7 _6 U4 f) S) G. k+ D" M
  29. [DBEXPRESS]
    ; e, d7 P5 A" E' E+ g, j6 L- B
  30. sqldir=mysql_sql6 ?, k& i5 r+ c: i2 i
  31. Drivername=mysql: P8 v. m' ]0 A5 ^* m
  32. Database=Your_Database_Name_Here
    . E! x! k0 Z9 y& j  Z" [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & v' l; y/ d8 g4 `; Z
  34. User_name=User_name_on_the_MySQL-Server
    7 C! i/ B7 _1 I- o
  35. Password=Password_to_go_with_above_user_name3 L, |0 w( \$ U/ V# Z/ }# ^; c/ G
  36. GetDriverFunc=getSQLDriverMYSQL
    0 X* T2 ]+ H# A# T& Z# ^* ?& W. Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 h2 n* ]; z/ J$ C
  38. LibraryName=path_to_libsqlmy_libary
    0 K7 {) D% V  f0 q* Y6 l4 F2 o4 K& E5 ?2 U
  39. Active=1
    6 F! g/ g% A  `: K! f: O4 W! Q
  40. ---cut here---" e- [$ {2 |% P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 Y7 t! F8 j( m7 i$ C& z4 e" c- h
  42. ---example---& {/ j7 `' e! b& e( |6 e7 K$ ^% a
  43. [DBEXPRESS]: w! z# i* ^1 j8 t& `
  44. sqldir=mysql_sql
    8 b1 J# S. l0 o4 f4 Q1 p
  45. Drivername=mysql
    5 v7 L0 Q6 Y- A
  46. Database=test
    6 A* n1 d, ?. H
  47. Hostname=localhost
    $ z. a, K; F" X7 u* H: ^
  48. User_name=testuser! H9 G9 A8 M' [
  49. Password=my_password6 P3 ^1 E, k: z0 y  n
  50. GetDriverFunc=getSQLDriverMYSQL
    % H$ m' F3 h+ c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 j1 D3 {8 P1 J3 s
  52. LibraryName=./libsqlmy.so
    ' R0 F2 m0 |" U3 v, H6 Y' w
  53. Active=1
    ( a  A, N- Z( ?) x8 T
  54. ---example---! e1 O2 ]4 `) T

  55. 3 d" S$ }: B8 S6 S
  56. On a windows box, also running the MySQL server locally, it would be:
    , z; J2 W% j8 x9 H
  57. ---example---
    9 M& G# c  m3 L
  58. [DBEXPRESS]
    6 a0 G6 @" t( w$ r8 E# H4 P7 Z
  59. sqldir=mysql_sql- i  o) x/ p" w* o0 S2 R% N
  60. Drivername=mysql  b5 T# p. V  K/ E3 D5 a/ y0 M
  61. Database=test
    9 q6 w- c7 n+ t) _% h. f& R4 Q
  62. Hostname=127.0.0.1
    3 t1 E' E# ~$ n$ k( m* }
  63. User_name=testuser
    % A9 L1 k( @5 n8 B  a
  64. Password=my_password
    9 e/ q7 G. x7 ~! L- e$ _" Q
  65. GetDriverFunc=getSQLDriverMYSQL
    $ ?% Q; k' v) u* A' }
  66. VendorLib=libmysql.dll$ l3 P* U* H7 X7 q& f- p# a: a  n
  67. LibraryName=dbexpmysql.dll
    * x$ a+ `9 {2 D) B. K( z0 U
  68. Active=1
    . I- A& @$ o/ u# X+ B
  69. ---example----8 E8 j5 j" T/ w: L/ A% ]; v5 |
  70. - written 02.03.04 by pwk.linuxfan+ O$ J+ V5 H+ |/ ?) T
  71. 7 _6 y- q" N- g4 w: n" X8 L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ O2 L0 @0 ]/ e1 d1 ~4 h
  1. 6 F4 r  v3 Y6 _; h1 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : n( B8 |) c* k4 b& J
  3. % b9 n2 q  z/ W6 y0 V) I* [- p
  4. # # #我们所需要# # #
    " H4 I- W( q9 o6 H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 v, `4 ~/ F7 Q6 O6 z/ l0 J
  6. 不会解释如何做到这一点-也有文件存在,为
    : d! k5 o4 W, [; C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 l! Q& k( ?6 g6 T: }% l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " F1 }9 S1 k- W# m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ Q# j( d) n9 u" G8 {( o- c9 M
  10. 本地机器,这是我的MySQL安装。 . j. `9 j* S2 R, L! l6 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 @1 H% ]/ h) ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / g3 E7 u5 Q. `  z# `0 p2 C5 ?
  13. 数据库。 ; G) z' g3 B" {% H$ B3 K  f8 K5 u" Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 G1 S0 T4 C& {5 N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 z+ \$ k# w% u' F. T; j
  16. 在teamspeak论坛,如果你有兴趣。
    % _+ H  N+ c6 Z! ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! v$ P: _, `3 x  ~' U3 X& w
  18. Borland公司使用。这个司机只能界面与客户端库9 {1 w( V' A* `* V8 s, ?" P1 }  F$ y* I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( l4 ^, J, P+ K4 R0 {. |( {& G  s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 K6 L5 y- U; T  w, V/ Q
  21. " vendorlib " ,并解数据库连接。 ! h0 S9 ^+ |" N+ I4 S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 ~5 z( q/ D5 ], W

  23. : I+ V( [* `( X9 J1 T0 B# B: Z
  24. # # #做好工作# # # 8 c. F# N* ^( }' `$ p/ }8 R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( W* o% @' t4 m  a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * w% A# d: d5 K' M) h, }
  27. 结束:
    2 s7 {) J2 j% f( v& E0 H3 [: h9 _0 R
  28. ---削减这里--- , n! Q" |6 |& q
  29. [ dbexpress ] * I- m2 Q9 Q( c2 O. n
  30. sqldir = mysql_sql 1 {7 P  d* Y9 N( ?7 ~+ z* N" P
  31. drivername = MySQL中4 J9 t* ~' a3 Y2 W9 {1 g% a$ O$ k4 p2 C
  32. 数据库= your_database_name_here
    2 v, `. S0 C5 z- x; \- b+ U) d
  33. 主机= the_pc_the_mysql - server_is_on
      L9 {( m; k+ y) K& Y1 m% y) }
  34. user_name = user_name_on_the_mysql服务器
    & ]; J/ w, E! [* ?4 `+ [/ ?
  35. 密码= password_to_go_with_above_user_name
    ' a1 v" R9 ?6 F4 j( ~$ T( P! f' @
  36. getdriverfunc = getsqldrivermysql
    2 W5 v& P+ D" n; T( }" |% q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 u$ y9 m' b- g4 s& _2 }. h
  38. libraryname = path_to_libsqlmy_libary
    ; Z8 ^0 I  v+ o$ r( s1 Y: e! a
  39. 积极= 1
    ! }, W+ t, E% S# \( D3 E5 s% b
  40. ---削减这里---
    1 x9 |  i3 H# d1 L" k. ~% F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + [9 G& O+ G% ^  t, y! H8 a" B
  42. ---例如---
    % r  \) I, x: y# a/ T
  43. [ dbexpress ] # ~" R# _5 H5 b) q
  44. sqldir = mysql_sql
    - h. A& x  J& f+ h8 r
  45. drivername = MySQL中
    . t' v6 H5 l" t+ b& M
  46. 数据库=测试0 `. ?9 G, ~0 G9 }6 h9 |' n" l
  47. 主机=本地主机
    9 l; s7 L: `, H/ ^9 y
  48. user_name = testuser
    / ]! y: k3 H. G2 A! _9 h
  49. 密码= my_password
    " J+ z, x" B" S0 M/ Y
  50. getdriverfunc = getsqldrivermysql
    6 T. [: z7 @* O. R5 b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 s% T  h) Q% L* A! G  |0 a4 U
  52. libraryname =. / libsqlmy.so
    9 v  b- f' F2 r
  53. 积极= 1 / Z" X+ y: l) U" N  P
  54. ---例如--- 6 I4 m+ P- Z+ o8 w; }
  55. 9 T( u: B2 {5 x5 z; d: l
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 x- [& T# \% }- K0 g' |3 p
  57. ---例如---
    $ I5 l( `3 M/ F0 D  O7 |
  58. [ dbexpress ]
    * S2 [( m" ~  |6 t& ?
  59. sqldir = mysql_sql 4 u0 y8 d$ N6 w4 V, A$ p( z
  60. drivername = MySQL中5 C! N% \, N; z* f& k% S# p' a8 \
  61. 数据库=测试, q( i- g* Y- d. J7 Z
  62. 主机= 127.0.0.1
    % Q3 d3 a1 D% Z. U9 b  e' e
  63. user_name = testuser
    7 E0 k9 W2 K  n' G+ t( I5 f
  64. 密码= my_password
    ! Y2 ^& B/ b$ R) T! p2 f. L3 C
  65. getdriverfunc = getsqldrivermysql 3 f) z6 V5 a4 ~+ _
  66. vendorlib = libmysql.dll在( t. W: n- v6 h. H( [" n* P
  67. libraryname = dbexpmysql.dll
    & q$ V6 b4 A& e+ \& F
  68. 积极= 1 : I* _  b4 ~# O9 X/ Q' O
  69. ---例如---- # W- L  |; s: j: `7 b
  70. -写在0 2.03.04由p wk.linuxfan# v3 ?, e/ B% {* y0 h8 g# i
复制代码
发表于 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
# G; D1 x3 O" m' H% u, j& Q' W; m
) c5 E% Y7 W. dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-25 10:42 , Processed in 0.097866 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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