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

2793 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( k1 X0 a; K4 ]* d
0 k- T$ F7 }$ A8 m5 _- c# I* ]" ?8 A

  1. & ]% \; C3 q  B' _2 F. X/ J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( P& a" p  k6 M* z

  3. , m$ @' I/ g1 p0 k- O! J. h
  4. ### What we need ###
    4 G7 ~  I7 _; g% P" E
  5. Naturally, we will need a MySQL server to store the data for us, this document * k4 [2 N6 }# U; l
  6. will not explain how this can be done - there are documents out there for the 4 M0 g1 ]6 B3 ?5 ?+ K
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 A' p6 J: B5 x, N1 Q: o+ w# b
  8. and a user account (username + password) that has the permissions to do stuff6 M9 g3 f1 \/ i! x; Z3 R0 M
  9. with the database. Additionally, you will need a vendor library installed on the& [; N" k( C" @) Q
  10. local machine, this came with my MySQL install.
    ' c: A0 I" C/ ^7 z! R6 G/ X# V, ]
  11. These instructions will not tell you how you might transfer your data from the
    / T: j, d# T2 b1 Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) d: b  r' a# q' z7 f
  13. database.
    + z1 O5 Q( _% w+ q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( w! R8 y- C' S( G0 V6 x
  15. the time of writing, there are still too many issues - check the current status$ j8 [8 B7 @8 C9 j
  16. in the TeamSpeak forums if you are interested.5 a. Q3 t% V1 f1 O+ R8 d/ R% H. ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' |' Q. ^! m: r& U
  18. Borland was used. This driver can only interface with the client library that / w# K- ^* [5 N  u8 n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. w5 W9 M1 @+ W
  20. client library - basically all you have to do is to use a 3.x client library as
    5 D# N7 W3 s2 g
  21. "VendorLib" and a 4.x database to connect to./ {  f. T  L7 e2 g
  22. If you need more info about dbExpress, you can contact Borland." u* v7 x# R: |8 w) g/ w
  23. # u/ J" a/ y* X" j3 d9 ^
  24. ### Doing the work ###
    $ K0 @& L3 f3 X1 D5 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: J& Q1 t; r8 x5 b" l* w/ I
  26. the perquisites right, just open your server.ini file, and add this section at
    2 F* O1 H/ z4 o$ {. A- @. K( E
  27. the end:
    + i3 _. v- c( o
  28. ---cut here---
    . B) v8 A* N& [* q
  29. [DBEXPRESS]
    + |4 q1 T% H- M  O! m
  30. sqldir=mysql_sql: c. S& w0 d% C" t  w# b
  31. Drivername=mysql6 q7 U9 A! W6 S
  32. Database=Your_Database_Name_Here
    1 M7 a3 p2 \: y; U# _; U9 w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 P1 ]0 S+ T3 U
  34. User_name=User_name_on_the_MySQL-Server
    / G3 h! @- x/ s& L& d) J
  35. Password=Password_to_go_with_above_user_name. X3 V8 b& O! `  T& D
  36. GetDriverFunc=getSQLDriverMYSQL
    : j" l* V8 f5 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) L0 D# C, O% B: Q
  38. LibraryName=path_to_libsqlmy_libary
    5 ?! Z" u& G" P+ F% O
  39. Active=1+ F- g0 e  d% m4 w1 b
  40. ---cut here---) g" B6 O8 r# }
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( ?7 h6 m* d6 S% Z, W0 K2 u1 W- W
  42. ---example---
    8 M2 g# u4 L$ N% u; f6 w& U! V
  43. [DBEXPRESS], E) z4 R6 |( u  ~
  44. sqldir=mysql_sql
    ( a+ q) a! H. T6 P9 D6 G: D' D
  45. Drivername=mysql2 u; j9 t) ?- G7 c
  46. Database=test
    0 i# ]. A, ~! x. n* e/ G9 ]
  47. Hostname=localhost6 H5 \" Y8 G; R
  48. User_name=testuser* ~8 F( y* y9 P- q2 z" |! C, I
  49. Password=my_password4 N$ I* x* G4 U- O: ^& t& S
  50. GetDriverFunc=getSQLDriverMYSQL
    ) P1 r0 `8 M7 [3 ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! H1 U7 C* S: d1 L' e
  52. LibraryName=./libsqlmy.so9 d8 K3 \) W8 U0 C
  53. Active=1+ I% d* c3 N' ^7 p( G# L: S
  54. ---example---- `, I. U5 w  v# j' x$ {! M
  55. 6 `; h$ ^2 ^6 x
  56. On a windows box, also running the MySQL server locally, it would be:
      U- Q8 }6 E4 d' I; j
  57. ---example---7 ^/ f7 E5 r. g( P4 ]4 W
  58. [DBEXPRESS]
    ( {9 z! T  L: M, s: d2 Y- Q
  59. sqldir=mysql_sql
    1 K  |5 @+ C. [6 J4 S
  60. Drivername=mysql1 Y0 d6 F. Y; s, q, O8 R
  61. Database=test
    2 U! f5 `& R( d. U3 {" f
  62. Hostname=127.0.0.1
    : ^$ S" N. g# o( r! a
  63. User_name=testuser
    8 a* F( M) g& J' `+ d
  64. Password=my_password
    - {( Y0 m1 I4 _" Z. b0 g5 E
  65. GetDriverFunc=getSQLDriverMYSQL
    6 a- F. l3 \; {* Z
  66. VendorLib=libmysql.dll6 }' }, s' ], f3 x" }% z# v. b
  67. LibraryName=dbexpmysql.dll
    : k$ _( G' C9 J. k3 u2 A3 _
  68. Active=1
    5 A- x/ ]; D2 w" G
  69. ---example----$ D* h7 O' s& }. E
  70. - written 02.03.04 by pwk.linuxfan
    $ @* S6 j2 Z" \

  71. ) H. E) g+ l8 y+ C8 K! J2 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! \" R3 m* ^& P, v: r; |

  1. ( F& V* M5 J3 D4 v6 g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + ~2 r7 `7 W7 _7 M
  3. * |* R3 Q- @" F7 u4 V5 s' h) L2 ]3 B
  4. # # #我们所需要# # #
    ' k+ U! @: F% f9 D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 U4 u2 O/ V( y& @7 ]
  6. 不会解释如何做到这一点-也有文件存在,为
    5 x5 b2 ?' v) l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : f5 ~& O) h. y: U' n; o% T0 N5 Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 H- i4 ^! l! L" l& x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ V) p; u6 I; e! U5 h
  10. 本地机器,这是我的MySQL安装。 0 j! ]5 @9 |; b1 E" z- t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 g2 ~( }, O) r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / y( S- c4 v" V+ _# ^! K) C. P
  13. 数据库。
    5 m% M# S( x. S: ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , I8 c* ~8 k4 x. ?4 z7 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 N2 G( x1 p, a/ X: G0 R  }  F
  16. 在teamspeak论坛,如果你有兴趣。
    2 o+ ]/ [# k3 D6 D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " m/ p% v6 H3 |8 }  L# a
  18. Borland公司使用。这个司机只能界面与客户端库5 [. [7 ?6 x- z3 ^+ N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! T5 {$ k) U+ S1 G% b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 j' e# ?' I- ^7 m. v4 e/ |
  21. " vendorlib " ,并解数据库连接。 $ Y7 d7 d0 ~! O+ A. r! o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; |. x, U' e0 y2 k* ^# V% b0 D7 F) A
  23. - B. _- e7 W, m" r2 {
  24. # # #做好工作# # #
    ' P; j7 Y2 D8 g' a8 L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- ~8 I4 a* B8 C5 u+ ]* c+ H0 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 g1 S/ R- x% x0 N
  27. 结束: 3 s/ F1 }8 E# u& d" A5 t
  28. ---削减这里---
    # p$ X) r) d9 g! S
  29. [ dbexpress ] . t2 M* z/ z& ^9 j
  30. sqldir = mysql_sql / d( C. j  [! |4 |
  31. drivername = MySQL中
    % J9 I! p/ m: A1 Z/ I4 d6 h5 `
  32. 数据库= your_database_name_here
    4 d$ o& f* B4 R' ^) X
  33. 主机= the_pc_the_mysql - server_is_on
    5 G+ R7 r% V. U" x6 W
  34. user_name = user_name_on_the_mysql服务器
    - P8 K( i* R. b! l8 ^, n/ r
  35. 密码= password_to_go_with_above_user_name / O. u, p  M4 V) f! ^" N
  36. getdriverfunc = getsqldrivermysql 1 ^8 Q5 ]! s4 V" Q& l/ b" g4 z) A/ O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 z' {3 c+ u* z* h8 m4 U) |
  38. libraryname = path_to_libsqlmy_libary * ^0 N- O) t- T6 o
  39. 积极= 1 - f$ V( I' |/ v: [0 `; y
  40. ---削减这里---
    7 X, F/ s, ?( v8 U6 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; a& m6 r0 u. f2 F) M
  42. ---例如---
    # F7 C9 K5 }: j+ g
  43. [ dbexpress ] + |! E. R# c* N' q
  44. sqldir = mysql_sql 7 Z; T* j5 o. a' i& j- I2 S1 j
  45. drivername = MySQL中0 @, K5 I4 {# W  G5 e
  46. 数据库=测试
    0 [* p5 S% k% i& f) D% l
  47. 主机=本地主机
    $ q' n3 |# V# e5 k. |" O
  48. user_name = testuser ; Q0 U1 e& J! p9 k* b6 ?* n
  49. 密码= my_password
    6 |. e, t; F% T% W8 {  \
  50. getdriverfunc = getsqldrivermysql 1 M( U# @* C  d1 b; b* V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ x3 X1 U2 Z( T( A
  52. libraryname =. / libsqlmy.so
    . h: T! G/ [+ b
  53. 积极= 1 0 D9 K! Z, O& o$ g
  54. ---例如---
    4 O" s( L1 h$ o5 Y$ c" j$ [
  55. 4 ?' O7 S% y/ N  G# G
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 u! }1 n* P" l7 h
  57. ---例如---
    9 I7 G2 A# O5 M
  58. [ dbexpress ]   C* A# Y4 v0 _' H
  59. sqldir = mysql_sql 6 m" d2 k: r3 W  }
  60. drivername = MySQL中
    + S7 K! H: B( a% ]
  61. 数据库=测试
    . }& b4 u0 U0 }
  62. 主机= 127.0.0.1 ' z0 o' F' j" U& S
  63. user_name = testuser * c) N9 y( v* k, `
  64. 密码= my_password
    # _+ R+ t+ }* z  x$ [! g$ E
  65. getdriverfunc = getsqldrivermysql ' i$ y' l7 e6 S& U4 \* |$ j
  66. vendorlib = libmysql.dll在/ p6 V6 M" M9 k  B
  67. libraryname = dbexpmysql.dll + [! O( |: ~& w  [5 u' n
  68. 积极= 1
    6 \5 ^9 A5 b7 l
  69. ---例如---- + G0 M1 q3 _0 F* Z" J* z
  70. -写在0 2.03.04由p wk.linuxfan# {; a' w; W* B  v( G4 [  h
复制代码
发表于 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
& c7 O: U# K0 z. V4 v2 c' H: I
) f+ r  P$ e: e' _8 q* Hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-22 18:54 , Processed in 0.119390 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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