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

3198 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , D+ n7 B' D* ]2 g4 I9 Z
% j( O$ Y' N4 |
  1. # T0 G# z& Y: @( r% A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 |9 I2 n& q( G# F

  3. + p1 k( m6 P! O) l. d! @
  4. ### What we need ###
    . t/ g. ~$ r& ?! [
  5. Naturally, we will need a MySQL server to store the data for us, this document - s+ S2 m2 x; d! Y& i. @
  6. will not explain how this can be done - there are documents out there for the " a# Q9 b  C- ?9 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 y9 N& Y; L# b0 d( [& F3 w
  8. and a user account (username + password) that has the permissions to do stuff. D, y* Y, p9 v
  9. with the database. Additionally, you will need a vendor library installed on the
    & o( _3 q6 B; U9 a( T, d. Q3 S
  10. local machine, this came with my MySQL install.
    2 S6 }" u. o0 K1 X: v4 a; s
  11. These instructions will not tell you how you might transfer your data from the
    , G0 \, H  ^+ j1 K" O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 N5 i' l1 K2 S
  13. database.
    4 \! U3 i/ v' b. U$ t  m! _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ K, @9 j+ \5 J0 C" `/ O* i+ v
  15. the time of writing, there are still too many issues - check the current status
    0 |5 Z* \3 M& U/ {: X( f
  16. in the TeamSpeak forums if you are interested./ i4 @* r- j7 P, ^' r4 t4 J4 a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" i4 ]' h( D# \* q! G
  18. Borland was used. This driver can only interface with the client library that 6 l  X# |: G& R' D: B. v9 ]4 x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & ~3 {7 C. h, o  E9 H4 M. O3 E
  20. client library - basically all you have to do is to use a 3.x client library as
    # e" T, m( f& O
  21. "VendorLib" and a 4.x database to connect to.
    7 e3 U* Z2 l& ^
  22. If you need more info about dbExpress, you can contact Borland.
    " v% m8 L3 S4 z

  23. : U( L! ?0 T" a5 y# G9 {0 V2 g
  24. ### Doing the work ###: U, s/ [! i+ ]$ x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : G' A* G( Y) M2 _& e
  26. the perquisites right, just open your server.ini file, and add this section at( o' Q& x3 U9 ^) c( \; t
  27. the end:
    , d2 y! ]' u+ ^
  28. ---cut here---
    3 P2 S5 h# W4 |; I
  29. [DBEXPRESS]" `9 t. y) k6 M" f# R4 {
  30. sqldir=mysql_sql
    6 |! M1 k( y& f2 k% G9 C9 c$ i
  31. Drivername=mysql! _9 r  N# k  ^% d: B! Y8 d/ z
  32. Database=Your_Database_Name_Here& L$ i+ o% W. {3 v7 D
  33. Hostname=The_PC_the_MySQL-Server_is_on5 }: s) \" }. o2 h1 m8 i7 e
  34. User_name=User_name_on_the_MySQL-Server
    + G% u6 M% G: O' i
  35. Password=Password_to_go_with_above_user_name; n% u( R* _! F7 _* e" q* V
  36. GetDriverFunc=getSQLDriverMYSQL- y+ Y. y; u, l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , m& K) E# m  Z. U% G; V2 X
  38. LibraryName=path_to_libsqlmy_libary( i+ B$ Y! ?% r/ |8 J1 j. ~+ T
  39. Active=1
    / P$ p% G# C! a6 x; e
  40. ---cut here---
    2 x% G8 n3 X3 h5 b5 _7 X& a: W
  41. In my environment (a linux box with a MySQL server running locally) I have:6 u4 g% u& R: ^
  42. ---example---
    - S8 s' E* l; l7 u( _
  43. [DBEXPRESS], R2 U" n$ s$ T4 g
  44. sqldir=mysql_sql
    & Y$ Q! z( Q$ ?
  45. Drivername=mysql
    : r8 w$ H. |5 U4 q+ i3 a4 _: z
  46. Database=test
    : @$ |! Y* L! U9 h
  47. Hostname=localhost
    4 _* d7 K" o& V$ ~* `" u& I" O. ~% R
  48. User_name=testuser( P6 ^5 a( J( c5 I
  49. Password=my_password" e' G/ X3 {0 _/ X9 R0 _
  50. GetDriverFunc=getSQLDriverMYSQL# G0 g8 E8 b- r% C* N9 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / G+ r, e$ m4 s$ O0 ~& v
  52. LibraryName=./libsqlmy.so
      A5 n8 s/ U* X3 _
  53. Active=1
    ! \$ F/ O$ G9 c- v; x" i( [, w
  54. ---example---& B! `, C, @: Z; {. Z7 C

  55.   A, h0 ^- u: p# X/ C6 l  q. Q
  56. On a windows box, also running the MySQL server locally, it would be:- Y( R' G  R' @2 l
  57. ---example---
    , X  ~2 }7 C" r7 z
  58. [DBEXPRESS]
    0 ?/ B3 M- j5 D1 A2 L& e
  59. sqldir=mysql_sql
    4 H: m" q4 w( T. l4 j
  60. Drivername=mysql
    ' ^1 ?' x' n3 W5 y$ I9 {
  61. Database=test; ^; }/ M! I" D2 L) R/ H# W
  62. Hostname=127.0.0.1
    0 u1 C8 R1 A) G9 T+ l
  63. User_name=testuser5 F1 x& g1 B' w3 i# o. Y7 Y0 c
  64. Password=my_password2 r0 Z6 {: |+ p
  65. GetDriverFunc=getSQLDriverMYSQL& X: Z" [5 T5 G0 N2 S4 ?. }: }
  66. VendorLib=libmysql.dll
    ) f/ v: ]: S- z. a1 `* k
  67. LibraryName=dbexpmysql.dll) H( f+ m# R/ N8 v# J5 s
  68. Active=1# S# V6 X4 K$ J0 F4 b) M/ s
  69. ---example----  E3 U& s4 y  `- a
  70. - written 02.03.04 by pwk.linuxfan* G( p, U. }% }% {7 H, B
  71. ' t# e+ L7 K. b2 x  m2 [( }% ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) M% X5 y1 Q) L, H9 `* g
  1. , g. ]! X6 r; a' E' L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 n5 o* X7 l2 E( q7 ]+ _

  3. 3 J# `+ T8 Q! Z: `+ ]
  4. # # #我们所需要# # #
    : l0 u$ K, _: W" E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : g! b: V6 h5 p# m5 }( C
  6. 不会解释如何做到这一点-也有文件存在,为
    . R; i$ Z6 v, I/ y' x7 g& ~- h8 C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* P/ |0 `$ {! X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 y3 e/ l. `) P  n5 |% e& T- N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 ?: l8 v& Y4 J5 s2 {
  10. 本地机器,这是我的MySQL安装。 ! x0 {9 g9 j5 X8 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从$ d0 G1 d1 b4 u# ^% a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 B! D- V& D0 a2 V( K& U& a
  13. 数据库。
    - p# U! A. i" I' i& ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ [. D  a1 y8 s; X  c: a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ p  a) s" N9 T3 m4 H9 s4 ~
  16. 在teamspeak论坛,如果你有兴趣。
    4 c' l0 o1 Z; T4 }. [
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% G4 D! A. y, b0 T
  18. Borland公司使用。这个司机只能界面与客户端库
    ! r: T  d# Y5 W* u! {
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这' g4 |! r& c3 Y3 o% s) z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 @0 j4 t' X, b; B" z
  21. " vendorlib " ,并解数据库连接。 ' R% M2 O8 t6 m: K8 @' _) h+ S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! M2 v3 k9 v; V* V& N) t( @; j
  23. , w+ L5 h; A2 {/ ^
  24. # # #做好工作# # #
    5 M3 F5 R- A8 {; {& q% R& t% W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 G) }) C3 X" I3 N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( p' j! Q+ E6 a3 \
  27. 结束:
    6 d6 F) g7 v4 W2 S
  28. ---削减这里---
    $ O3 w$ L) J" a- M# [
  29. [ dbexpress ] 8 G, z. x& E% W( x! h2 t
  30. sqldir = mysql_sql 4 U5 T) q3 p1 S
  31. drivername = MySQL中
    ! _& ]; a2 X# [
  32. 数据库= your_database_name_here ; [* }" ]% P( b
  33. 主机= the_pc_the_mysql - server_is_on
    # p' ?# {) U& p% @. f
  34. user_name = user_name_on_the_mysql服务器" g0 _0 `. I/ T# Q" q7 T& l- n& W9 y! @
  35. 密码= password_to_go_with_above_user_name " o, b+ I. `$ r( n5 a9 p2 k1 \
  36. getdriverfunc = getsqldrivermysql
    - A: ]' E. o; f/ k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - M" Z9 I: x9 w  v
  38. libraryname = path_to_libsqlmy_libary ) v2 c; D& Q/ R' ]' H, B
  39. 积极= 1
    3 B  e( @0 J& D/ Z0 t
  40. ---削减这里--- , a  g2 U) a. O: m, `, R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - w. `8 C2 g2 ^& {$ g4 W
  42. ---例如---
    $ O% \, L% Q* ~& Z% z
  43. [ dbexpress ]
    * ]; D5 K* o3 T, V
  44. sqldir = mysql_sql ' K% }! a3 g2 c4 m5 j2 }4 U
  45. drivername = MySQL中
    * u; X% x: {7 C! d. i; o
  46. 数据库=测试
    - A  R: V! A0 Y! m% F% |
  47. 主机=本地主机% U- v3 k+ u- C3 j8 h$ f4 e$ N
  48. user_name = testuser # W* p4 u+ a' [4 D8 r9 C+ q$ X" ^
  49. 密码= my_password
    7 t6 c" o+ k+ Z  R9 X( h& U  b8 z. e
  50. getdriverfunc = getsqldrivermysql
    4 Z% c- f! J6 o  B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 @# M$ ], K3 E2 l0 J2 M
  52. libraryname =. / libsqlmy.so " Z" A0 R+ K) _% L3 I* z" C
  53. 积极= 1 6 \2 p, {6 o* Y! o$ t7 F
  54. ---例如--- 7 O8 p2 @6 D3 W4 L1 T

  55. 3 |+ p: I# x' ~; Y2 w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , e+ ~  z8 B( v8 ?( T
  57. ---例如---
    9 z1 A, I2 q8 l
  58. [ dbexpress ]
    8 }. h: N# m0 D+ N
  59. sqldir = mysql_sql
    3 [5 v. ~# b/ {5 |
  60. drivername = MySQL中
    1 H- M2 k# K5 i; U$ u, C5 E
  61. 数据库=测试
    - l9 k. U1 c  I1 Z2 E
  62. 主机= 127.0.0.1
    ) |( @6 C/ X0 L1 a$ J
  63. user_name = testuser
    : Q: ^& i/ y' l2 u& v* L
  64. 密码= my_password
    , v) o2 R6 J, z
  65. getdriverfunc = getsqldrivermysql , g" S! D# W- j% _$ q" Q# X, ]
  66. vendorlib = libmysql.dll在
    ; E1 R4 ~5 v/ U' z0 u" K
  67. libraryname = dbexpmysql.dll % x" k5 q. P4 T8 z  H# L5 i
  68. 积极= 1
    ' B; N  \! U1 p0 o' s7 G# L7 Y; K
  69. ---例如----
    ! L7 c. V8 U+ X9 b! B: U8 l
  70. -写在0 2.03.04由p wk.linuxfan6 W1 {  z- k7 `' M- p4 F4 S
复制代码
发表于 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 words9 ^# C! {6 A% o
0 u8 q; u% G5 c6 k9 J4 }
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-20 09:14 , Processed in 0.095879 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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