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

3502 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ @4 p  `9 I; y0 q, U  ]- |; l" K$ T1 L+ ~8 Q+ B; K
  1. 7 H# F+ b/ {% \1 I9 w& ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ b" U; [4 @( u) @, H5 H
  3.   z7 D' v$ Z6 l) J
  4. ### What we need ###
    ; ?* X& T( K, C% Y* S* C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' [2 d1 A3 a5 r% d. l) @% q% N
  6. will not explain how this can be done - there are documents out there for the
    ! _' `7 w7 L" f) r* v3 q
  7. interested. The requirements include a (empty) database for TeamSpeak to use* R9 r  c4 N* O3 ^
  8. and a user account (username + password) that has the permissions to do stuff
      \* a2 j' _: d. \. i( T! t, ]
  9. with the database. Additionally, you will need a vendor library installed on the
    5 R8 q/ J8 c7 ^. C1 M9 v
  10. local machine, this came with my MySQL install.' M; s6 Y! u/ s0 B" t; l
  11. These instructions will not tell you how you might transfer your data from the  t" e: P+ t, v- S( ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " {) Q7 X3 H, Y4 x
  13. database.
    * f5 T' M0 x, p- R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' `6 e2 p9 W1 |4 B4 [
  15. the time of writing, there are still too many issues - check the current status
    - u0 p; l. \% O: s9 T! e  p& L
  16. in the TeamSpeak forums if you are interested." E! C& x( e" R! C8 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * n+ `/ W/ P2 q) o) n9 t- E) r
  18. Borland was used. This driver can only interface with the client library that 3 L4 x2 g, [. z+ E2 B$ ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 x7 Q0 M4 v' ~! D
  20. client library - basically all you have to do is to use a 3.x client library as
    4 D" F/ M, ^: b
  21. "VendorLib" and a 4.x database to connect to./ p8 ?2 ?/ ~+ Z
  22. If you need more info about dbExpress, you can contact Borland.8 _) e& j5 D' c( V
  23. " {7 V/ o+ i7 ?( S8 f1 r0 s
  24. ### Doing the work ###
    $ w+ A' L) F! R. |, j8 h' `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 ^5 i; J" O6 O& @
  26. the perquisites right, just open your server.ini file, and add this section at4 t6 f2 ^8 d) r% z) m+ i
  27. the end:2 u  I/ K6 c; O' l) B0 ]- h
  28. ---cut here---  [" c3 B2 |+ d* S- a, Y' I; F
  29. [DBEXPRESS]- ^, u) N" f8 |' C
  30. sqldir=mysql_sql
    6 \* v6 x  w4 j! x; z1 T% g
  31. Drivername=mysql
    + l6 a4 w% |" `( t3 [
  32. Database=Your_Database_Name_Here
    ) L: U% L& ^  x% N4 Q
  33. Hostname=The_PC_the_MySQL-Server_is_on% j6 t. S/ j" t! u2 _: [( i
  34. User_name=User_name_on_the_MySQL-Server
    ) _' P% N, C( S+ R9 T, p4 L
  35. Password=Password_to_go_with_above_user_name, L9 [* I6 A) S9 j
  36. GetDriverFunc=getSQLDriverMYSQL6 W  R" M2 Y7 Z) Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 F! n. W* K/ U5 ]4 L! L. p$ Q( p
  38. LibraryName=path_to_libsqlmy_libary
    . [% h3 s4 r& K  }3 z- w
  39. Active=1
    0 n7 x: Z2 x$ L8 T
  40. ---cut here---5 V! {  I8 V* Q2 a, b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % O9 j* N$ a( ~3 w
  42. ---example---
    ! u0 x$ o7 V0 z2 W: ^0 Z, Z; B4 D
  43. [DBEXPRESS]+ \& t5 y  n1 @7 |6 c/ Z
  44. sqldir=mysql_sql# y/ d1 e1 R; }& m+ J. z0 Z
  45. Drivername=mysql  o7 O9 `8 @3 n4 }6 h: b; N+ z
  46. Database=test
    & H$ b/ m" l( c$ Q) E9 O
  47. Hostname=localhost
    ' b/ L$ k* k6 C  K; T+ F; S3 F
  48. User_name=testuser
    % ^6 i9 U! _$ B' j3 T3 X6 p9 C+ }
  49. Password=my_password
    $ l6 d% k0 k6 Q$ C
  50. GetDriverFunc=getSQLDriverMYSQL, h9 n, ~4 P6 K- @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + f8 c1 M" k  H2 Z5 T
  52. LibraryName=./libsqlmy.so( k6 i8 G( [; q8 R, U. C1 o
  53. Active=1
    3 C, ^, `' l3 M+ s5 N0 O- h
  54. ---example---% A+ L, s0 t, j' N* V$ c; Z
  55. - Y7 f! G$ z4 E' _' j+ S
  56. On a windows box, also running the MySQL server locally, it would be:9 _) W( G; ~& ?# e0 z) K/ C
  57. ---example---
    : n- W; o$ D; N  }+ G4 v
  58. [DBEXPRESS]
    ( G& e; }6 B% n* I; Y$ w+ M- w+ J
  59. sqldir=mysql_sql9 M% e/ @. k  T% v( v& ]/ R
  60. Drivername=mysql
    1 h6 t6 N: Y7 _5 M( z0 z! w
  61. Database=test; K2 Y5 @- c! r) `, R
  62. Hostname=127.0.0.1
    ; I3 T. |5 e  F' W) t
  63. User_name=testuser
    1 p7 K8 s$ m2 t) M
  64. Password=my_password& C) x8 d& C: ]1 |, O& a) Q
  65. GetDriverFunc=getSQLDriverMYSQL
    1 f& o* f; B9 T7 i% b" t
  66. VendorLib=libmysql.dll0 F, n- ~1 x; p# w' L) ]. ~/ p/ g/ W
  67. LibraryName=dbexpmysql.dll( W1 v/ q  t; R3 g! W% S4 x
  68. Active=1
    8 p+ X. o6 R$ b
  69. ---example----. b" s' q6 M5 D* g6 F6 X- g9 ]
  70. - written 02.03.04 by pwk.linuxfan
    9 i; L; X1 T  Q& Y0 t

  71. ; n6 D! }6 ?# s- |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; a8 U' S% H' _0 E
  1. & G1 L2 u4 U" D& D9 B" l6 P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! H4 ?6 x2 U# E; m

  3. ; p" r3 ?/ U) G6 a
  4. # # #我们所需要# # #
    & ?  A6 G& ?; _# b" H+ W+ a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    6 J2 a" P; y5 Y: g1 u6 g
  6. 不会解释如何做到这一点-也有文件存在,为8 Q2 B! @8 `$ X) G( M8 a, `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , [, s0 L2 @2 }: n8 H, v/ p% C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ I% U. ^) M. d( v9 x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 ]! s* T1 w0 W0 B7 x( n
  10. 本地机器,这是我的MySQL安装。
    # j- s* P) H3 s* Q8 j# b- d2 [- p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 ~8 G& a. u$ g5 ]9 x, ]$ i( }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , F2 c4 p$ a) i1 N
  13. 数据库。
    $ o/ m" y# o, [% p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 D2 V1 X0 S. Q0 |2 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * g0 b' H5 Z1 t3 n9 t, f6 Y
  16. 在teamspeak论坛,如果你有兴趣。 - S1 y) A1 M4 T& r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. C* w  I0 o- q# N9 o- @! r
  18. Borland公司使用。这个司机只能界面与客户端库
    ; I- \- Y. m$ {, z: ^* K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " N) y2 c( t4 c6 J- {! w+ p, B  {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ ?$ h( {% `" m, g  _4 v1 J7 X
  21. " vendorlib " ,并解数据库连接。 - r6 i% ]/ z9 D4 l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ G1 D& _8 M  l" W3 {, u( z0 y! D

  23. 2 Q- H. z# P# M, H" f) `/ k2 h, v
  24. # # #做好工作# # #
    % K4 H: B* s4 w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 n' `5 L$ J$ g  b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! Y' V  [" T3 d' G: q* v( q
  27. 结束: 5 h; m1 V! M/ ^
  28. ---削减这里---
    . R9 a$ b2 T% H, ]
  29. [ dbexpress ]
    ' @# u: y% l$ c5 B
  30. sqldir = mysql_sql $ ?: W- ^& Q# g& J- ]5 q! u1 ^
  31. drivername = MySQL中
    6 E  j& f( j* Y  A
  32. 数据库= your_database_name_here
    4 c1 ~/ p! ^# L+ y; R
  33. 主机= the_pc_the_mysql - server_is_on
    ! L/ A% O, }9 f* b7 L4 K
  34. user_name = user_name_on_the_mysql服务器( y* u5 }. Y% @. r( a( |  d- H
  35. 密码= password_to_go_with_above_user_name 9 G: L9 o1 l$ o$ r0 K. x
  36. getdriverfunc = getsqldrivermysql
    6 ^2 ~9 f& U0 [1 T2 ^: b/ E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; G) B+ t9 o4 X% n
  38. libraryname = path_to_libsqlmy_libary " E+ v+ g( y" J: @, m2 C% w0 L$ W  A
  39. 积极= 1 7 W9 ~3 {) V: H# c" ^, I) o# h1 o
  40. ---削减这里--- ' l# ]3 G1 _: N0 D) [' T  I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' q* I# _7 H" W, L8 M4 ~
  42. ---例如---
    6 K( L2 b- A; C9 W4 k% w( e
  43. [ dbexpress ]
    7 \7 A0 R4 w: V4 V2 f! \4 O) ^
  44. sqldir = mysql_sql
    ' K4 s  m* J. n4 E' e
  45. drivername = MySQL中7 V6 G% f; {+ |1 H. k
  46. 数据库=测试
    1 j0 L* _4 x! K  z9 _  V# G
  47. 主机=本地主机
    % q# E! X3 g6 M8 E- Q9 O' ?5 m
  48. user_name = testuser 4 k+ _5 b, N' \9 S" q, g, X
  49. 密码= my_password
    ! i! D' X6 `2 k" r
  50. getdriverfunc = getsqldrivermysql : a& W! m0 h- D2 K% O# U1 v0 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ n5 v2 v9 f* a9 @; Z2 j: A
  52. libraryname =. / libsqlmy.so : K$ }. @" |5 R6 Y' d
  53. 积极= 1
    8 e- ]* H) k$ J8 q+ v" J2 S4 M& T% H
  54. ---例如--- * n4 d" o. e' ^
  55. ' x2 L! `/ V0 i0 Y6 s* A! X' [# g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ G- ]3 B+ _6 K  C
  57. ---例如---
    & c! d" l1 G* V, S' b5 W
  58. [ dbexpress ]
    & u* a7 l0 e! U9 ?( [
  59. sqldir = mysql_sql
    0 J% F. m, U' q* O( L) P+ ^' G
  60. drivername = MySQL中$ a2 E' x# J) V* n: r" P
  61. 数据库=测试# p/ z2 s# |; S$ z* D) ~0 R
  62. 主机= 127.0.0.1 0 H# z. C% V& h
  63. user_name = testuser ' ~4 D% ^, p9 ?) R& S, H; c  |
  64. 密码= my_password - b/ ^5 o7 I1 N6 p
  65. getdriverfunc = getsqldrivermysql
    6 @% D3 ?. K( X. {2 V
  66. vendorlib = libmysql.dll在4 @1 N5 y1 j; J/ `  q- H  S
  67. libraryname = dbexpmysql.dll
    , K# M4 @: [; w0 N8 Z
  68. 积极= 1
    # K' x2 S( a' x" A3 V4 O
  69. ---例如---- 7 u( H6 M7 s5 m! Y8 D
  70. -写在0 2.03.04由p wk.linuxfan& k8 _) r7 L( x: C
复制代码
发表于 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
5 [9 b# `9 R* C; \# x. i$ j# u  [- e+ U' @8 i5 }% U; b6 x
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-11 22:47 , Processed in 0.069960 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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