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

3213 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' ?9 J& X/ l! `+ ]- l
# [3 ?% m  a* j8 b
  1. % u4 @) G) |4 Y7 e4 i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 U* Y2 `. {5 j' u# ?" ^% l
  3. % o9 N" D* J* b7 h& [
  4. ### What we need ###
    + X2 G3 Z7 ?  H6 s
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 Q  P& T$ {/ \' G, Y3 ?
  6. will not explain how this can be done - there are documents out there for the ; n5 ~& {7 d- ?4 K5 j4 A2 F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * e( `* Y/ S. A2 _- t% J
  8. and a user account (username + password) that has the permissions to do stuff
    0 F7 l0 l0 e8 e
  9. with the database. Additionally, you will need a vendor library installed on the$ ^5 d/ v- v7 g7 A5 a) ^' {' k6 Y0 o
  10. local machine, this came with my MySQL install.+ \  q! `7 l8 u+ h; I- L" m
  11. These instructions will not tell you how you might transfer your data from the4 o1 G  O9 Q) G: X. G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& q$ g9 o3 e* x1 x6 T$ ?, T2 a
  13. database.) f; p. j0 @) @0 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / m/ `2 k3 a+ S# l1 V( \
  15. the time of writing, there are still too many issues - check the current status
    , |# }4 E# C& D2 m2 G2 I. {6 y  L3 s
  16. in the TeamSpeak forums if you are interested." c6 K$ Q; o; P" `- }- }. s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * b! t: P1 \$ e' i' k
  18. Borland was used. This driver can only interface with the client library that ) j9 I* X. I8 r+ W7 C) v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 S: }1 Y1 f. g. _
  20. client library - basically all you have to do is to use a 3.x client library as ' v& v) k0 C4 L1 Z
  21. "VendorLib" and a 4.x database to connect to.
    & g( G. G) m7 L+ M3 @  [
  22. If you need more info about dbExpress, you can contact Borland.
    ! z& W! Z, z% z& ~
  23. ; j' P- G- j  h2 L4 K
  24. ### Doing the work ###. o" y  z! f: {
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( ]* ^, m3 @/ L3 E8 j5 Y3 G
  26. the perquisites right, just open your server.ini file, and add this section at, q5 ]: e8 T0 P% D! M
  27. the end:
    0 A" [+ g2 t) W! S! S
  28. ---cut here---4 k5 g, O1 h6 Z8 V4 P# [9 E8 c
  29. [DBEXPRESS]
    1 G8 l0 P# \7 V' X/ s
  30. sqldir=mysql_sql: N+ F" p# I0 Q  L, i9 p
  31. Drivername=mysql) m1 @# D; j: l6 [/ s
  32. Database=Your_Database_Name_Here5 G  o+ e  w% L) ?
  33. Hostname=The_PC_the_MySQL-Server_is_on! w- l2 E5 h4 w) j1 m" B
  34. User_name=User_name_on_the_MySQL-Server
    , k' v6 J" [% d
  35. Password=Password_to_go_with_above_user_name' f2 z6 e; M7 Q2 [7 Z9 j" f
  36. GetDriverFunc=getSQLDriverMYSQL
    % @. u& M2 I1 w1 A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  y2 G4 G. q/ C& j  B
  38. LibraryName=path_to_libsqlmy_libary
    0 b4 O! c% G* {6 B- V9 X* A
  39. Active=1
    * s  y# k6 T$ e  [2 v: a' ^* Q
  40. ---cut here---  V$ W- C( H& W
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # n0 c- W5 f; L' w1 p6 D
  42. ---example---' n& @. r7 I/ u1 l$ J3 X2 `) [  k
  43. [DBEXPRESS]
    " z0 y1 H. w0 g: H  F8 ?
  44. sqldir=mysql_sql: _! K6 v% H% s2 r
  45. Drivername=mysql. a4 j2 v/ b. y4 F) g4 a
  46. Database=test
    & E) h3 p( C5 v; L: `. j
  47. Hostname=localhost* i: N4 Y' N. j. Z# p% i
  48. User_name=testuser
    ( o$ r8 `* R2 V5 C9 A5 q
  49. Password=my_password1 z3 E  c1 v0 q1 D' u4 }
  50. GetDriverFunc=getSQLDriverMYSQL
    ( s6 o! d! i0 r9 r# A5 v
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 ?' W; V, p' {0 A4 u1 r
  52. LibraryName=./libsqlmy.so; Q! G, I6 K( A4 D
  53. Active=1
    0 n1 `0 {' Z" G) A% W7 J6 G
  54. ---example---
    5 q( S. J& `1 r" k" K& M$ \: e6 _! V
  55. 8 R% m; e/ m1 i5 D3 W& b1 H& ^
  56. On a windows box, also running the MySQL server locally, it would be:# q5 G3 e5 ~* R8 K
  57. ---example---$ f( X' f- n3 j9 [# U
  58. [DBEXPRESS]
    $ m. l5 {/ ^5 G
  59. sqldir=mysql_sql
    + a; C5 W9 E7 e4 f! T# b9 K1 ~# m
  60. Drivername=mysql
    % _% r; w! V1 c% g9 k0 I$ Z% O
  61. Database=test8 Y7 ?4 u# t) n; T
  62. Hostname=127.0.0.1
    0 G" g( O+ p+ ?4 c* J
  63. User_name=testuser2 W. R! N' ?7 p& L+ I
  64. Password=my_password
    + s% M  S% L: F3 ^0 n* v0 k. R
  65. GetDriverFunc=getSQLDriverMYSQL
    , f6 \( X5 J; i: i' o/ n" ^8 e
  66. VendorLib=libmysql.dll: I# n8 M8 v! j6 d4 n
  67. LibraryName=dbexpmysql.dll; @2 k$ c# A4 \4 G0 C3 Y# ^6 Q
  68. Active=1. V5 M3 L) I" L+ G8 O4 T  T! _
  69. ---example----6 k/ @9 {! W1 X) `9 v3 c5 e
  70. - written 02.03.04 by pwk.linuxfan
      G( }0 n: B7 a3 K4 \5 k: s9 t

  71. 5 M9 @( W5 \& C# Q3 R/ i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. v4 H& d9 G6 J) x6 K+ S

  1. / V# `/ M9 c3 f. ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 |+ l4 z4 {7 w. j9 D/ I3 [  \' X

  3. : j1 r' t  J& l
  4. # # #我们所需要# # #
    9 P" ~+ M- d/ R/ E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 p, G+ m3 @% M% v7 b& m7 t5 a3 E7 ~
  6. 不会解释如何做到这一点-也有文件存在,为% T" Y3 N( W1 l: H0 z, V4 x0 Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" v4 ]- \& s# t8 d% U! Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; X4 `% ]7 `4 D- u' u8 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / o7 n) I7 q, K" e' @
  10. 本地机器,这是我的MySQL安装。
    , B* ?, _- r" y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) x3 ]8 e* U) b2 Y3 c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) M" X7 b7 j: p
  13. 数据库。
    1 g" B% B$ I4 K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % J  N* `9 h& K9 [) f! _
  15. 编写本报告的时候,仍然有太多的问题-检查现状; `; ^" Z, @5 L3 _/ V
  16. 在teamspeak论坛,如果你有兴趣。 $ S; W0 A9 c+ [0 t2 O; \7 z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ m4 W% J3 F. b' l
  18. Borland公司使用。这个司机只能界面与客户端库
    : a- a# K# P. L" t+ o3 V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 u. J+ ]7 {7 ]8 c0 c4 A+ A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - N" w8 _$ x8 a. f/ j) V7 J: @
  21. " vendorlib " ,并解数据库连接。 ; `6 x% J- V7 W1 s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & w6 X! ^- C. |

  23. 2 k- K, E4 G" `; Z" A2 A
  24. # # #做好工作# # #
    7 J- E; L+ y" q1 g$ f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 _& V$ Y4 l- ]  b* _, O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, D" y, \4 t; |$ g  I3 w" k% Y
  27. 结束:
    / k$ J* g7 V0 g7 o8 e- k+ A
  28. ---削减这里--- 5 H$ T% ~9 {6 Y% u, W. ], y4 }- D
  29. [ dbexpress ] ; l9 E; }( G) m, r7 s: ^
  30. sqldir = mysql_sql % Q0 E9 v7 g+ C6 w3 q' k6 o
  31. drivername = MySQL中
    . B2 f  f" J3 Q- J+ |) ?2 T+ B
  32. 数据库= your_database_name_here
    - G! K9 l7 R! O! I
  33. 主机= the_pc_the_mysql - server_is_on ! G. k/ P$ J; y" r; t
  34. user_name = user_name_on_the_mysql服务器
    % G8 R  c( F6 x- Q. E* A, Z, z
  35. 密码= password_to_go_with_above_user_name 8 }* N4 |; q1 r  C' @
  36. getdriverfunc = getsqldrivermysql : K3 n3 `" r) u% u0 t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % y9 ^' J! [' D. h
  38. libraryname = path_to_libsqlmy_libary
    ' X$ b( y( M4 }! d7 v4 k7 u
  39. 积极= 1 6 @: r, M; E6 ~; U2 X
  40. ---削减这里---
    # ?. g; y4 U/ x# b, Z5 [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 F$ E) w( C, T) ^% y* S
  42. ---例如---
    + {" r0 h- ]- M& S7 I
  43. [ dbexpress ] - H1 P% ~: V% |3 f/ k) i
  44. sqldir = mysql_sql
    / p6 s# w0 Q! _8 A9 ^3 \. g! O
  45. drivername = MySQL中0 E: I4 p0 k( @
  46. 数据库=测试
    , v! v0 @( E6 P+ H. G" v
  47. 主机=本地主机" q/ z! N5 V  z8 P$ s; R2 @9 S
  48. user_name = testuser 1 T8 Q* O. ?: P( T- V, O
  49. 密码= my_password
    1 O- {) z% T0 P2 I9 Z9 S" m) x
  50. getdriverfunc = getsqldrivermysql $ D9 @. e" U( |) I0 x" ]" ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 a7 c# F; |, a7 B
  52. libraryname =. / libsqlmy.so
    - {6 ]7 t( e% ^5 H% I: K6 \
  53. 积极= 1 ; C/ p8 d! o' H. p
  54. ---例如---
      D5 ~0 D# {3 J6 I1 I* ~

  55. 4 c5 v  v/ q5 \2 k% B& I% z* a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 H0 y+ k8 n6 b5 g" ~
  57. ---例如---
      I% p9 a3 m8 t; e" t6 \' e3 N
  58. [ dbexpress ]
    1 N, a" v4 }1 T
  59. sqldir = mysql_sql % n7 O# l8 t! l, b/ [4 {  _
  60. drivername = MySQL中: f2 u/ E4 _. f2 I3 |
  61. 数据库=测试
    # s6 k  q/ t6 c4 T9 i+ I4 h8 n
  62. 主机= 127.0.0.1 3 [  d5 \$ A6 Y" k# G
  63. user_name = testuser
    6 e- ]% I- Y8 a" a1 @- T
  64. 密码= my_password
    8 B3 Q, ]( N# D. r; z- i
  65. getdriverfunc = getsqldrivermysql
      U& t  y& j8 f1 \" E
  66. vendorlib = libmysql.dll在
    6 I# R$ k  C1 g5 o
  67. libraryname = dbexpmysql.dll
    $ I1 N9 _/ f" D! U2 k* O
  68. 积极= 1
    ) i9 w4 Z) _; U6 {: M, A( ^
  69. ---例如----
    6 p' P0 F9 S5 o
  70. -写在0 2.03.04由p wk.linuxfan/ ^8 T, s4 i5 w; Z5 M$ A4 K
复制代码
发表于 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; g9 F$ d9 K& ~8 p5 |+ s4 d
; f9 Y9 A( x& z& \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-24 05:45 , Processed in 0.102147 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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