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

2398 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 K# B4 |7 l, D9 f; k0 R4 A
8 a7 W+ X5 e  K, A* l
  1. % C1 U/ i6 w5 g; o* I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 N: A2 T+ Q4 `1 ~+ J6 v

  3. % y. Q  d3 a: d2 T/ i7 m5 c6 z
  4. ### What we need ###
    : S6 I3 {) w/ T; j! B! C* O
  5. Naturally, we will need a MySQL server to store the data for us, this document * e, R/ [9 T7 P+ ^
  6. will not explain how this can be done - there are documents out there for the
    , t9 t3 ?8 w: m+ z
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 ~. w* L  m' D4 E( S! P3 Z4 O
  8. and a user account (username + password) that has the permissions to do stuff
    + A# C7 M2 A# q- m; \- A1 V
  9. with the database. Additionally, you will need a vendor library installed on the
    5 [0 I" T# L# Y1 h' T) @: L6 V& J
  10. local machine, this came with my MySQL install.: b% j, `! Z2 j. Z: D
  11. These instructions will not tell you how you might transfer your data from the
    ' t1 C) A# M, @, k1 \% N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 u% O# l7 [: L3 ~+ U
  13. database.' z5 F+ ^8 D* d* N" w0 Y' _8 g5 |
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ A' L5 w6 J$ }: @
  15. the time of writing, there are still too many issues - check the current status
    & q) r* ^4 _: S8 R2 n
  16. in the TeamSpeak forums if you are interested.2 U$ N* d' ^9 M+ u, p: k  g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 V) Q5 |/ H& Z3 K; e5 z% s
  18. Borland was used. This driver can only interface with the client library that
    7 t8 S% `7 D3 {7 T6 S9 g% C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - b: O+ Y: o8 L! D/ F5 o0 m$ t% j
  20. client library - basically all you have to do is to use a 3.x client library as 8 \$ p  F) K6 A6 w; o; G/ F
  21. "VendorLib" and a 4.x database to connect to.0 c2 [' h$ F$ ~! o& M( F( V
  22. If you need more info about dbExpress, you can contact Borland.
    * W: o) r3 r% R% |9 ]

  23. / G, I" m0 {# p& \
  24. ### Doing the work ###* T) k& C4 V8 Z. t# \5 Y, e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! A: h* [$ B# [, _) M6 `1 ^% B
  26. the perquisites right, just open your server.ini file, and add this section at
    " |6 {2 e& Z2 ~; h
  27. the end:
    , ~% f' r+ Z8 G8 m+ O
  28. ---cut here---' i. d0 g4 g& z0 r
  29. [DBEXPRESS]
    $ E5 w3 M9 u& f/ m, P: i
  30. sqldir=mysql_sql
      e$ V8 `3 A, j
  31. Drivername=mysql
    % s" E) @7 I7 C  ^7 q
  32. Database=Your_Database_Name_Here' ?  v6 r2 Q4 ]9 x, o6 X# C
  33. Hostname=The_PC_the_MySQL-Server_is_on* P* n: I2 q" c
  34. User_name=User_name_on_the_MySQL-Server
    0 f% s4 w4 ?8 Z, ]; O, u& }
  35. Password=Password_to_go_with_above_user_name
    . \' r! Z) i; [
  36. GetDriverFunc=getSQLDriverMYSQL
    4 s: C& t; o  P2 w: ~4 c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 d; l' G# L* ]2 b# {4 D7 Y0 t# S; f
  38. LibraryName=path_to_libsqlmy_libary" r9 Y# a2 q/ R( D( s- m1 [3 D
  39. Active=1" u- u. D, Z7 @  f) j5 V( b' `
  40. ---cut here---
    $ w$ x1 w, R1 y, D9 U6 g  e4 e4 d
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % d+ t" m$ V# E2 x1 a5 C# W
  42. ---example---
    ) m8 l7 @. p9 o6 ^) H6 h
  43. [DBEXPRESS]3 L, T0 [/ J  H! u0 A# k1 l6 w, M
  44. sqldir=mysql_sql$ z6 h! U& |  t! T
  45. Drivername=mysql
    , J* a" r: z' P  a! K
  46. Database=test- u' b2 n; y7 U6 o0 A4 R& B  K5 q0 t/ `
  47. Hostname=localhost
    & p" e) ?! r# t2 t9 O) E
  48. User_name=testuser
    + X4 M6 O/ u4 C( H6 N" K8 v3 s4 V
  49. Password=my_password
    6 T4 c$ H$ N+ }$ |( k9 H
  50. GetDriverFunc=getSQLDriverMYSQL7 B$ n" |& }0 J+ L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # ~, M$ K7 v) [3 ?- Q2 X/ O) ^3 G5 V
  52. LibraryName=./libsqlmy.so( @2 [3 z$ f1 N; A- b) U; _
  53. Active=1; a$ f# k" |8 O
  54. ---example---4 z  d0 H( w* o: ^. }4 S6 q' |

  55. 6 U. V$ x3 e$ s: ^9 [. h
  56. On a windows box, also running the MySQL server locally, it would be:2 _5 c0 G) ?  h( ^# Q' ?
  57. ---example---4 A0 n0 x  b# F/ T1 e- C3 e3 t
  58. [DBEXPRESS]
    ' S  W( w4 C9 e5 x$ u. H5 P
  59. sqldir=mysql_sql$ d( e1 Q' L3 a) ]: L
  60. Drivername=mysql/ o% ]& ~0 M# j0 ~/ ~9 `. I. o; T
  61. Database=test1 q2 I( H" R+ h; K
  62. Hostname=127.0.0.1
    . Y) E5 @( V. z! s- R$ P0 M
  63. User_name=testuser" n5 o/ e$ ?- Q2 ^: m9 ]
  64. Password=my_password
    $ Z& R, Q  C9 j- o) ~& T
  65. GetDriverFunc=getSQLDriverMYSQL" O& k0 |& K9 r' J5 h. Q6 K
  66. VendorLib=libmysql.dll  l. V  N! G. i
  67. LibraryName=dbexpmysql.dll
    " C: W4 K& W/ ]& j) ?9 k3 e
  68. Active=1
    0 Q& c: |4 r5 i' W) M% s+ w" y
  69. ---example----' ]; j* `3 i. f1 T; ~
  70. - written 02.03.04 by pwk.linuxfan: a& l  E) i- Y4 |9 a5 ?
  71. 7 ]" z% W9 W+ k# p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& w" V6 n( O* [# y

  1. 3 L8 R: ]' J9 J$ f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 K3 h7 w+ L1 Z% H

  3. , I0 K8 X8 P) C
  4. # # #我们所需要# # # ' ~2 H4 N+ s- {, w; l4 d5 z& t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 u  _2 Q. `# Y2 I$ W. Y# I/ t
  6. 不会解释如何做到这一点-也有文件存在,为! N$ ?) c7 s- C1 d# G2 }/ f( E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 l; p. O0 {" C& ?: F, `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & K$ {4 J2 @# E8 z* o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 K: l6 ]5 `1 }
  10. 本地机器,这是我的MySQL安装。
    0 e$ k. a3 Y# S" G& m' D/ L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& i5 e+ r5 ?5 s/ l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 s! i3 @8 \: d( ?9 U! T' R
  13. 数据库。 ' s: u# O5 g" T5 r# @! r# Q4 t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( _' d+ R3 _5 Q/ @! N2 R; A: Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # `4 v; ^% p3 c4 i% Q! c( r- ?
  16. 在teamspeak论坛,如果你有兴趣。
    " t, {; d0 W+ l; `$ X5 C  [0 S; p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# c4 {. Y6 @- Y3 }7 q0 f  }; Q
  18. Borland公司使用。这个司机只能界面与客户端库8 K* R1 @' A* I  l9 N) `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) q6 W" I3 S- b, q* Y7 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ v" ^( g' ?4 Z) p$ }7 L
  21. " vendorlib " ,并解数据库连接。
    ( r0 R! F* w2 Q2 O; V0 f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . Z% ?/ `# ]1 D/ M  F

  23. , s  b8 {$ a$ U
  24. # # #做好工作# # #
    9 Q0 i7 L8 e# Q. P( J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      o; Z' M1 C3 |! b$ U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( J# r6 N+ W; g6 D2 ]& y" L5 n
  27. 结束:
    / m' W- A7 V3 j( M
  28. ---削减这里---
    6 c) U- T% j1 i1 _+ j4 V9 Q
  29. [ dbexpress ] ) R3 g; A7 e8 J. [9 ^9 L- Z
  30. sqldir = mysql_sql $ E* a" B1 \. a7 l! p& h
  31. drivername = MySQL中
    # N9 D. w# O# t- f; G) M0 J
  32. 数据库= your_database_name_here
    , a0 y5 q: |) h- s
  33. 主机= the_pc_the_mysql - server_is_on
    9 j5 `+ c/ Y- f  O$ B2 f
  34. user_name = user_name_on_the_mysql服务器* R) C! d( K$ b1 ~3 w4 v
  35. 密码= password_to_go_with_above_user_name ; D( {, Y6 l; k' }; x# ]' t6 D# ?
  36. getdriverfunc = getsqldrivermysql
    8 T. Z8 t! z$ b$ R. J/ X1 b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & k  Y/ K9 f' i
  38. libraryname = path_to_libsqlmy_libary
    ( F: W* X  g' v$ d- E3 i* ~
  39. 积极= 1 # |- Q3 b( Q# \5 B$ Z$ x" L
  40. ---削减这里--- # V% n( P" d- V# H& i7 K7 I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( E, |# s6 \. }
  42. ---例如--- : M: o6 @& ^3 T
  43. [ dbexpress ]
    9 I3 Z- N7 r" E0 Z9 f1 H
  44. sqldir = mysql_sql 9 a6 b0 Z1 c! M0 [
  45. drivername = MySQL中3 h& H) T" [5 B2 h
  46. 数据库=测试, n9 a: o0 U; i
  47. 主机=本地主机2 |# K& g: v9 k8 H$ I
  48. user_name = testuser
    , Q: |8 U. o% J4 U
  49. 密码= my_password ) i! R. l* y% Z6 K/ p& O
  50. getdriverfunc = getsqldrivermysql : x# ~- e. u8 h0 T1 ?# c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 * D4 N" C% X" X( o9 ]+ e
  52. libraryname =. / libsqlmy.so ( E* {& y5 l1 I0 }( ]4 B
  53. 积极= 1
    / T5 i, Z! N* A! f4 X- C
  54. ---例如--- 6 m+ l3 m4 S/ x, L4 p& @

  55. . Q. \- ?8 P# |- q# u/ D5 F
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + C# g% l8 m1 T& _
  57. ---例如--- $ c  |  q1 m) x, l1 c
  58. [ dbexpress ] ! M3 H; h5 C% l9 b4 P. o# d
  59. sqldir = mysql_sql
    & J% b! i8 o) x) P2 z& B3 t
  60. drivername = MySQL中2 v. t% J# @+ f9 j, ]  g
  61. 数据库=测试
    $ ~1 M% g: ^" I8 S6 ]  B/ o
  62. 主机= 127.0.0.1 * P# q0 X' X1 k5 o6 R* a! |9 ~
  63. user_name = testuser
    2 l8 W4 {. N5 X! S
  64. 密码= my_password   g$ M( G9 }& A8 r! \; i
  65. getdriverfunc = getsqldrivermysql
    % W, S, x/ G7 m1 t
  66. vendorlib = libmysql.dll在
    ! ^2 f! [, W. |- K
  67. libraryname = dbexpmysql.dll 1 |) W( i' d" ]: J' j, @
  68. 积极= 1 4 S1 \+ U  J( T
  69. ---例如---- ) q$ B9 Q+ P1 A! v
  70. -写在0 2.03.04由p wk.linuxfan# \$ ^3 g* C- j. l( J7 I
复制代码
发表于 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
* f, b% d4 ?2 `& I3 a9 `# j& z; a7 ~' b: j$ Q6 k, c: I) o+ F- Y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-21 20:31 , Processed in 0.111943 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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