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

2036 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; Z  Z! S, A7 V( B% n+ E
8 r* T' m1 f4 s& i2 w/ a
  1. . A$ h' z/ x  m: U: i+ @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , \1 q, [+ O! C1 i( ~) X- N% z- @4 X
  3.   X$ C. M; K7 _% g; r; r
  4. ### What we need ###
    / Q+ n0 b" m- X
  5. Naturally, we will need a MySQL server to store the data for us, this document * f( K, X. R+ X# m& z
  6. will not explain how this can be done - there are documents out there for the
    6 }6 X2 G( k$ R) |* K$ b6 C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + `+ `$ }9 ~7 Z* ^5 ]) F! P# ^& f
  8. and a user account (username + password) that has the permissions to do stuff, L9 v: i- y! Y6 u
  9. with the database. Additionally, you will need a vendor library installed on the
    : I* B/ U1 y9 ^# S2 D1 i
  10. local machine, this came with my MySQL install.
    - q2 W0 c3 m% m9 I) |/ a. B
  11. These instructions will not tell you how you might transfer your data from the: z8 n0 P* K6 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 D; K9 n+ D  n$ ]4 m1 I
  13. database.
    . ?* J7 S) W0 E& O4 G3 @
  14. Some users have reported ways to import a SQLite database into MySQL, but at# z% `% X8 e" X+ a4 v' a( B0 Q
  15. the time of writing, there are still too many issues - check the current status& e6 p$ \& y$ x( s# s9 Q4 `/ b
  16. in the TeamSpeak forums if you are interested.
    7 k4 R" m8 ^6 a. k9 C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ d$ [) Q" C. J! S( a3 ^* R. n4 N
  18. Borland was used. This driver can only interface with the client library that 9 B# o$ ]% x# z" t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# N$ I. o% H9 H7 u# }
  20. client library - basically all you have to do is to use a 3.x client library as % e% q) X- V- i9 ~0 t, A
  21. "VendorLib" and a 4.x database to connect to.
    2 l; W$ O" h! _8 H, m& ^! l0 I& u
  22. If you need more info about dbExpress, you can contact Borland.
    # m  d, s1 C9 p8 b9 y3 x; Y

  23. 4 d: S, u/ M, C0 ^  c* X7 S
  24. ### Doing the work ###
    - u% ^( G  `( p6 O0 U8 O! p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : w$ \$ N( f; T+ l6 I" e
  26. the perquisites right, just open your server.ini file, and add this section at$ j: |6 [; ?! r  k$ I- t
  27. the end:
    / k6 {# w3 [0 {- s! I% S& e
  28. ---cut here---
    * h. o/ J" |" Z6 k7 c1 k8 D1 V
  29. [DBEXPRESS]
    . J$ o. m; {1 ]9 \7 X) i% t
  30. sqldir=mysql_sql
    8 v' V; A! Y1 ^9 V) U
  31. Drivername=mysql0 Q; E" ^' {+ R& a  [
  32. Database=Your_Database_Name_Here' l5 B$ s, z7 ~2 r' [1 R+ h
  33. Hostname=The_PC_the_MySQL-Server_is_on- Y" f0 w, d% `1 n" a# {( ~/ U
  34. User_name=User_name_on_the_MySQL-Server
    ) S, }3 |% H' \& e9 a
  35. Password=Password_to_go_with_above_user_name
    - j1 R( b+ T* Y& L: s: }+ o  p+ S1 k
  36. GetDriverFunc=getSQLDriverMYSQL* ?4 p6 {! U, J. m: [7 k) s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 l6 x% t) X- S; O1 F  U" A
  38. LibraryName=path_to_libsqlmy_libary  S, [% h5 {7 G, [0 y- O# |, Y
  39. Active=18 a3 W' z1 C% d( G
  40. ---cut here---6 h- u. ^! R# O; s6 V! C6 Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ K# X+ r" f% @1 h6 D; x
  42. ---example---5 \1 M  `: k& ?9 V; T
  43. [DBEXPRESS]" T( F) ?4 ]: \8 \4 ~  q
  44. sqldir=mysql_sql9 _8 D/ F+ X3 K, g8 c
  45. Drivername=mysql% x- g8 s+ k% T/ D! \7 K4 e* C
  46. Database=test# f4 p% O- \) s4 {  D
  47. Hostname=localhost
    5 L, ~3 a4 d1 [7 k, ^8 o8 \3 n
  48. User_name=testuser
    9 Z/ ~) O/ H" ~; u. J. g; j
  49. Password=my_password
    / I& f8 `9 d$ M
  50. GetDriverFunc=getSQLDriverMYSQL
    6 ^$ d1 ~6 {) `% D8 P6 y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 u( W  ^" v  X# ]. }$ o
  52. LibraryName=./libsqlmy.so
      n/ M& g# G  Z# |1 V
  53. Active=1
    8 [; {1 F- d& s
  54. ---example---
      o) x6 B# ?* L% M7 l$ R; {5 i1 L
  55. ) Z# Q% |7 J0 n; g! ?+ o
  56. On a windows box, also running the MySQL server locally, it would be:
    3 q, @6 w. a/ p6 M% T" M: x( s
  57. ---example---
    3 o% r' u2 c/ |0 `- J
  58. [DBEXPRESS]
    ! a4 ]( \1 A* [! X( m; V
  59. sqldir=mysql_sql1 o7 B/ C) F' |- H- c# R6 v7 H+ |
  60. Drivername=mysql
    $ X, R6 {! t3 f, i
  61. Database=test! e8 {0 q$ b  K; w$ b- l
  62. Hostname=127.0.0.1* i3 t5 _3 g3 l& R- u/ w; `5 _* H
  63. User_name=testuser+ m$ g( B0 K5 z# Z
  64. Password=my_password) t3 o3 V( k( G" @
  65. GetDriverFunc=getSQLDriverMYSQL
    ) g: v7 I2 V, A. E3 a' ]5 `
  66. VendorLib=libmysql.dll
    % D% J# \* V( p+ L0 d; {4 ]
  67. LibraryName=dbexpmysql.dll) {- E0 l9 J5 c: s" |
  68. Active=12 k" l; v7 ?' C& ?+ J5 N, X
  69. ---example----
    , l- U/ d9 ~. S. i& I! o$ y
  70. - written 02.03.04 by pwk.linuxfan
    4 j- M/ Z! h5 w# y& \8 n4 c- V

  71. 1 R! g! V4 L& f" I" M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" e: }' y9 W0 i3 A1 q* t) m5 c

  1. 0 s% o7 J6 r; D$ }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 g+ h4 v0 {# f' B# I' {( E: i) l

  3. . W- Q' z( [' Y6 _
  4. # # #我们所需要# # #
    % q. Z% F  g7 R8 s" s1 H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 x, _! a# T4 a. S0 F6 f; w8 _
  6. 不会解释如何做到这一点-也有文件存在,为
    " T  j6 J# Q, L. Y  |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 F, {! Z; n& j- l. A! ]4 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 J# h- i3 d$ a; u. ?1 f2 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# y) ~; H5 |2 F- B$ P( J
  10. 本地机器,这是我的MySQL安装。 * Z% O: K, y6 Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 U6 o( c; ?6 @* x* O/ y# Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . P6 A0 u2 Z8 ^/ Y' |! C! c* }
  13. 数据库。
    ' X! i- f# Y* S! \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 T- S. `, w, j: ~3 j
  15. 编写本报告的时候,仍然有太多的问题-检查现状% O. C6 y7 r8 S
  16. 在teamspeak论坛,如果你有兴趣。 $ S* r7 w6 s! d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : Q2 w1 c7 o& T/ \7 P% u: N5 E, E
  18. Borland公司使用。这个司机只能界面与客户端库
    & s# `3 r7 D4 l2 y6 K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 b: {, C6 Y% G1 Y' n* d1 |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 i% Z0 b! n6 ?; v  O. F
  21. " vendorlib " ,并解数据库连接。 8 l9 a% E# A  q9 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : C* j, w9 X$ V. t1 B0 O2 g9 z' U
  23. + {8 k. [% b; E4 y* @
  24. # # #做好工作# # # 1 D8 T+ B' ~  K
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ z  S8 f( l' F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 l; [" t9 N! d: ^" F
  27. 结束: . a% ^1 H( o" Q% c
  28. ---削减这里--- 0 r- n( K3 p/ h9 Y4 I9 A5 m
  29. [ dbexpress ] ' d( k9 a4 f" A' {" ?; f
  30. sqldir = mysql_sql
    7 @) L/ N. [' Y2 U
  31. drivername = MySQL中
    8 [) X. }6 k# ]( W
  32. 数据库= your_database_name_here
    / H% G4 e2 _/ k9 {5 }4 R
  33. 主机= the_pc_the_mysql - server_is_on
    $ x, ~! o$ w1 V1 B# a' V+ L+ z
  34. user_name = user_name_on_the_mysql服务器
    + |9 A" W% H, P7 d
  35. 密码= password_to_go_with_above_user_name
    ' p  z' L7 g1 O5 _& n' d$ [
  36. getdriverfunc = getsqldrivermysql
    . `$ q9 @- U6 Q* K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 o) G0 F" q0 Q5 v# K
  38. libraryname = path_to_libsqlmy_libary % s" K' x$ b! e
  39. 积极= 1
    ' [9 v0 r2 f) t$ t9 w$ w6 W
  40. ---削减这里---
    - a4 g. l) t* x) J# m4 N. e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 O9 k# o7 q& d9 c% D
  42. ---例如--- 9 [9 V3 r/ s/ `7 X
  43. [ dbexpress ] ) ^$ C  e0 Q/ t4 s
  44. sqldir = mysql_sql
    : ~0 J' T% O7 T7 ~- P' G* r
  45. drivername = MySQL中0 m( c+ {' J% y
  46. 数据库=测试
    ! R4 _% i% T' m* m( _( _
  47. 主机=本地主机* }, a, Q$ q8 ^! V- s/ u: `5 u
  48. user_name = testuser 0 F# g. `: w* N6 z$ L! [9 B  y
  49. 密码= my_password
    , V$ {, h7 E- ^2 h" J1 R
  50. getdriverfunc = getsqldrivermysql
    - m  U) c7 j0 L/ h6 B0 t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 R8 |3 Z6 l4 e# |. z
  52. libraryname =. / libsqlmy.so & g$ W3 f& ]- N3 l6 k" R
  53. 积极= 1 , O. d! y; x2 q" \
  54. ---例如---
    , a; r  a; o- \3 d' ?$ a' X

  55. $ ]+ D( P+ ~( U) j  {, \0 g6 L
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 P5 Y( B4 `/ C5 R3 c* D
  57. ---例如--- ' e6 F' G: w: o6 @, C
  58. [ dbexpress ] - d9 z+ u+ h) H! _( U) H
  59. sqldir = mysql_sql
    7 _- D4 [5 @$ I& W& @) A% |
  60. drivername = MySQL中  O: y7 K  y. Q1 A# ^5 H& h
  61. 数据库=测试
    3 M2 y* M0 ]5 X+ S" y
  62. 主机= 127.0.0.1 1 v; K! i1 c9 ^/ ]8 ]( g
  63. user_name = testuser
    6 U6 |6 Q* T7 o/ w( D8 v% j
  64. 密码= my_password
    ! [: J2 p' o- m* Q4 p7 f: e
  65. getdriverfunc = getsqldrivermysql ! ?4 p* Z  e( _3 l1 B/ x
  66. vendorlib = libmysql.dll在) b6 V) D/ X( A" M  z" e
  67. libraryname = dbexpmysql.dll
    ) c1 `( A2 k0 u7 j1 P
  68. 积极= 1 % }# J8 V' N) ?4 Q- u3 S
  69. ---例如----
    # ~3 |0 O9 e* u
  70. -写在0 2.03.04由p wk.linuxfan: G" H/ a6 r- e$ {6 k( [# 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 words0 `8 R" {* ]: k0 d6 E
, J0 ~" o( X* g! F5 N( o
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-5-15 06:33 , Processed in 0.085577 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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