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

2352 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 q/ H/ r+ J; r/ l# _
  l, A) {: m6 V
  1.   y, U5 G, p3 O( }+ r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" E- P2 y- Y$ ]4 e; I! W

  3. + k% H: V  A' }$ @8 E
  4. ### What we need ###0 a% w( E7 D1 f  Z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 @6 ]8 P7 M% M. ]  d3 ]' F
  6. will not explain how this can be done - there are documents out there for the % v& k7 I9 W) ]6 X8 B  ^/ E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , i9 m2 g$ B7 S+ T- m- l1 s$ |
  8. and a user account (username + password) that has the permissions to do stuff
    # ~0 S; U# C  ?9 o8 u# M+ [
  9. with the database. Additionally, you will need a vendor library installed on the
    & x8 w; o$ e/ ~& y) B
  10. local machine, this came with my MySQL install.7 T  G+ K9 C' X  f$ q: ~
  11. These instructions will not tell you how you might transfer your data from the8 p7 O) r" _5 m8 f6 w0 D. H& {# J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 L! |5 L' d3 z1 Q6 C0 `+ B" w: |
  13. database., k) d7 \. ^: ~  T+ s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ l6 H& N' ]: O; x8 `+ D* E( t
  15. the time of writing, there are still too many issues - check the current status8 I5 Y# [5 T' G: R0 t5 v
  16. in the TeamSpeak forums if you are interested.9 F) H; q; g0 f- _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 H$ A# z% |6 O/ k: N
  18. Borland was used. This driver can only interface with the client library that
    & C# w( X8 r* x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 D! `1 X2 _$ B+ S
  20. client library - basically all you have to do is to use a 3.x client library as # w1 j4 }4 b) _. f5 r4 _
  21. "VendorLib" and a 4.x database to connect to.! U3 Y% Q" A3 T( j6 z; r* }
  22. If you need more info about dbExpress, you can contact Borland.  L: ?( T+ @$ [# L  Z

  23. ' c% S( @8 @( D3 O+ r" P. W9 T
  24. ### Doing the work ###5 f% @0 X) P/ Q6 ?' B6 x  j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 N9 b! ]* n" p, {  m& a5 f0 `
  26. the perquisites right, just open your server.ini file, and add this section at- I' I& F/ A, _4 I. A: n
  27. the end:+ e! V6 V' E  [6 s" B( k
  28. ---cut here---/ l; x' p* ^' H1 M* [
  29. [DBEXPRESS]
    : D  D5 ^( T  f( H
  30. sqldir=mysql_sql
      m1 a% m/ l# U7 j
  31. Drivername=mysql
    # B# a3 r+ h4 G6 W& K1 I/ B
  32. Database=Your_Database_Name_Here- F5 f& z! J, |
  33. Hostname=The_PC_the_MySQL-Server_is_on; U" j  x4 V9 g" S* h
  34. User_name=User_name_on_the_MySQL-Server
    3 H; N$ ?, f/ {
  35. Password=Password_to_go_with_above_user_name3 D; C# P1 K& D) }
  36. GetDriverFunc=getSQLDriverMYSQL
    1 [7 n+ ^; f2 u3 m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # W! L: W" B8 C& u
  38. LibraryName=path_to_libsqlmy_libary& C# F, U; Z8 W/ c- F+ Y. V
  39. Active=1  o% J) F$ ?/ j" `
  40. ---cut here---
    : j9 S. h) n: B( s# T; Z/ A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * i+ f6 ^0 g9 V" y; t* z2 l
  42. ---example---8 L# n" }9 L+ o5 e" o/ \) \
  43. [DBEXPRESS], d' C- Z# Z  {
  44. sqldir=mysql_sql0 r6 Z% f. x# i) g' Z* p9 c- {
  45. Drivername=mysql# S$ ]) Q# b9 N8 D5 S5 `
  46. Database=test, I9 h5 m% ^1 m" G5 d
  47. Hostname=localhost
    9 ?- g) K, {. x5 S4 p
  48. User_name=testuser) U4 ]# n  e/ ^: W) |
  49. Password=my_password
    + Z5 N9 d3 W0 w  o) s' B* ~
  50. GetDriverFunc=getSQLDriverMYSQL
    . M$ ^/ Y' _' E- P# p: s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / S1 `* _2 l1 x6 D+ A
  52. LibraryName=./libsqlmy.so, [" J1 C7 f7 a9 ^5 o/ U
  53. Active=12 U6 a) N& C3 U
  54. ---example---) G, y  L6 }& R; Q; s6 L& m
  55. ; v0 J& T) [) C. i- L/ k
  56. On a windows box, also running the MySQL server locally, it would be:, F3 h! Q: H) o  U! `, {' F# W
  57. ---example---
    + N+ E6 n  P1 w
  58. [DBEXPRESS]
    / \! ]7 P* j+ a
  59. sqldir=mysql_sql
    * I, B+ O5 [9 J+ r2 F
  60. Drivername=mysql
    9 Y) c3 o4 p3 I' g) c) I
  61. Database=test' Z6 J. ^( S  F0 R. z4 T, ]
  62. Hostname=127.0.0.19 ?# A7 e! ]5 W+ k0 ?+ v
  63. User_name=testuser6 n$ t2 @5 Y5 Y8 T" M! G
  64. Password=my_password
    $ a* b1 U" B! b" @. Q) e' r7 b
  65. GetDriverFunc=getSQLDriverMYSQL) o1 E) U  J. j/ E9 q' _
  66. VendorLib=libmysql.dll5 |; `0 n+ s* [2 G" V
  67. LibraryName=dbexpmysql.dll
    ) E3 {5 m$ ^4 K4 z$ O
  68. Active=1$ V& Z- x* v" P4 }* y2 p4 m+ P
  69. ---example----2 c+ K6 @5 n- ]/ i* \
  70. - written 02.03.04 by pwk.linuxfan
    - N% Z1 c: n/ W1 e% m
  71. 9 ]" ?  m% K* }- K$ B0 [) e  B" C' }' E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* O! h. Q; m" |* l

  1. 2 v/ N3 `' |* D5 r+ v1 c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 Q, {! M2 g5 Q5 M( v# e

  3. ; }' m5 s) z7 A7 D
  4. # # #我们所需要# # #
    5 J8 s, Q+ @  u5 w- {- e6 U  Q0 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 [, t, x: u9 p) l( K. O9 A
  6. 不会解释如何做到这一点-也有文件存在,为
    + q- V! v% y: R" m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: o# `2 G; }1 |! o3 n. _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % A# v- @- V5 W0 [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. E6 N& N4 d3 b4 S
  10. 本地机器,这是我的MySQL安装。
    / B# h1 D# U& w" u7 K5 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! j5 u" [) s3 j% T  g' n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! s+ f, S, l: S9 c; ?; K$ ^# S
  13. 数据库。
    % O: v3 @0 f$ R' Z: Q' R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 G, A  M7 @2 j
  15. 编写本报告的时候,仍然有太多的问题-检查现状, |, N) z' Q9 i- x' |
  16. 在teamspeak论坛,如果你有兴趣。 # K4 _# L, e3 @( b$ ~$ ^  d8 F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 b4 Q3 @1 ?# A9 \, _* f
  18. Borland公司使用。这个司机只能界面与客户端库5 J& e. [# N- `2 T$ x3 @( P6 G
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 I3 v. E, e$ V# U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 b2 ]8 `8 g5 H( e3 F6 |+ w. F
  21. " vendorlib " ,并解数据库连接。
    ( X% M+ _0 N& q; Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) a# J) ]; L! ?8 F( ?
  23. 2 z1 X8 F! u1 [! ~& J  g
  24. # # #做好工作# # #
    5 D4 w0 z; k4 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 o" }1 z! x, a% Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 `, b$ I: J  T+ [
  27. 结束:
    6 R, T. H9 G- [: _. p4 D
  28. ---削减这里---
    / r) O( v1 d9 \9 S  W" b/ f
  29. [ dbexpress ] , O+ H9 t% m0 u, B& W+ y
  30. sqldir = mysql_sql
    ( }7 U. z# W! X! t
  31. drivername = MySQL中
    9 V3 ~, h) w& h& [4 a; u
  32. 数据库= your_database_name_here
    : I" W9 E+ w' G0 V/ _
  33. 主机= the_pc_the_mysql - server_is_on 8 ]0 Z9 o* o5 t$ U
  34. user_name = user_name_on_the_mysql服务器
    : R) ]% N& z+ ]( N, H/ @
  35. 密码= password_to_go_with_above_user_name # G, ~) x; v2 x3 q- _& N1 {4 E
  36. getdriverfunc = getsqldrivermysql # @! p  |1 g5 I. m5 j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! U' H( q6 Z! }: i! P0 B+ y
  38. libraryname = path_to_libsqlmy_libary 4 b( r6 g, e) D7 A+ N& O% U% t
  39. 积极= 1 ; U/ A# @0 t3 p6 p
  40. ---削减这里--- * ]7 z1 z1 p0 C4 }5 p  X1 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : m+ p1 s* d' d1 o0 U
  42. ---例如---
    ( g, N' H' Y- P- a
  43. [ dbexpress ] $ J% N3 b8 {8 W9 P
  44. sqldir = mysql_sql # H0 g4 J5 q* }6 L* \, i
  45. drivername = MySQL中$ A: o/ b$ `1 c
  46. 数据库=测试
    / W3 X9 }  g1 z/ m. k- {
  47. 主机=本地主机
    ( x; M: F& t9 o: L8 m$ A" F) A
  48. user_name = testuser
    ( h  j; V) }) Y5 D' K
  49. 密码= my_password 1 K) b8 j$ W: J1 K; M+ ^) E
  50. getdriverfunc = getsqldrivermysql
    8 Q2 m, @0 g) k" Q# {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 W7 o* q4 Q( h6 ]. N- |
  52. libraryname =. / libsqlmy.so 0 D" J) Z% W% i4 m: i, b$ o
  53. 积极= 1
    2 J5 i" P0 x( l( h+ ~
  54. ---例如--- 2 x! b) D7 d+ c% q2 _/ N) ]

  55. $ V+ B3 i( h0 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 [: f+ n1 x7 y$ J( f" e/ _
  57. ---例如---
      f. {) g' P7 y  C) d
  58. [ dbexpress ]
    0 W8 a' U5 a, Z0 ~0 d! s
  59. sqldir = mysql_sql
      l: r* Z; C4 h" ^: [
  60. drivername = MySQL中
    " _  G3 F. V( M' S: `9 I$ a
  61. 数据库=测试
    ' H# e; w& E8 [8 f: h
  62. 主机= 127.0.0.1
    " n$ ~* o$ ]1 R/ b
  63. user_name = testuser
    % F: e3 s7 ~, h) z/ S
  64. 密码= my_password 0 I9 M* K% m& W
  65. getdriverfunc = getsqldrivermysql
    5 x6 E9 X& v/ x. m
  66. vendorlib = libmysql.dll在
    2 O6 X8 h, B4 f8 N: Q
  67. libraryname = dbexpmysql.dll * ^9 D7 L5 E+ P; g, z4 ~
  68. 积极= 1
    ' X' p8 v6 R+ v5 S5 Z$ b
  69. ---例如---- , A3 z. R, K3 U6 [9 r. T0 P
  70. -写在0 2.03.04由p wk.linuxfan& u/ d3 i6 o  P3 J7 }$ m% w
复制代码
发表于 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; F7 F$ B( g% g: T5 r

" ]. y8 A3 Q$ A4 rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-1 23:23 , Processed in 0.092145 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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