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

2240 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" u3 I3 x$ h) o7 p0 s7 ]9 O/ ?4 R  P% U0 a  h9 r6 S
  1. 4 T$ C; z4 o; X7 @, a# V. z- X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 t2 O9 A/ Z! @6 z  F
  3. + i9 p" b& F9 l+ y5 y- b
  4. ### What we need ###
    # i: M! o, ]8 g1 H/ ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & s7 b; J  Y' b, F
  6. will not explain how this can be done - there are documents out there for the ) r! l1 n5 K9 k2 O( ~5 ^' F. R
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 m8 A! P9 _4 [4 [
  8. and a user account (username + password) that has the permissions to do stuff8 e$ `/ s. M1 O" k
  9. with the database. Additionally, you will need a vendor library installed on the3 U! V6 v( |! @
  10. local machine, this came with my MySQL install.
    2 @& l3 s& i% u2 H  _# Q& m' c7 Y- f
  11. These instructions will not tell you how you might transfer your data from the) J4 e8 {) f& U( d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# e& p  e$ ~* [1 C
  13. database.
    : l  X) U' n! `
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 J+ Z; l; ]6 c( S6 n
  15. the time of writing, there are still too many issues - check the current status7 v% }; ~+ m  j" ~0 r( o3 s
  16. in the TeamSpeak forums if you are interested.
    3 `4 x$ Z4 |* c: E: f$ K: p1 e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # D8 M% w# v. g. M& _0 k8 l
  18. Borland was used. This driver can only interface with the client library that
    * d; Q: T9 S5 D2 m* X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& A7 v- e4 X3 J. Z. V, t3 w
  20. client library - basically all you have to do is to use a 3.x client library as 5 _1 t2 F, Y) K$ ]5 a
  21. "VendorLib" and a 4.x database to connect to.) W: m- a$ ~% ^& w& q
  22. If you need more info about dbExpress, you can contact Borland.8 j: o/ P! |8 C  ~

  23. ) u" j# {$ i5 O. @( U& a: q. q
  24. ### Doing the work ###+ q( K, `5 J& ]/ K9 H. u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - C- B: x/ @0 {. r2 j7 p2 Z1 ~
  26. the perquisites right, just open your server.ini file, and add this section at
    ' \' v2 k) V; ?; H( P3 Q7 U' l9 L% r
  27. the end:$ c# y- W/ X1 o' ?
  28. ---cut here---
    5 Q) z: ~7 A. g" S) E5 ?
  29. [DBEXPRESS]
    ' P. ?  R& e1 h# }; ?8 y
  30. sqldir=mysql_sql/ l4 m/ K* I/ p: \! x
  31. Drivername=mysql
    + Y3 n: J0 Y9 W! S2 x
  32. Database=Your_Database_Name_Here
    ' B) @% G7 @+ b. ]9 x: _: ]
  33. Hostname=The_PC_the_MySQL-Server_is_on; |6 ^$ r2 W( V
  34. User_name=User_name_on_the_MySQL-Server& e" y+ D* [. h' L
  35. Password=Password_to_go_with_above_user_name8 X+ h) a% a0 }& }# a% u* \
  36. GetDriverFunc=getSQLDriverMYSQL! |* U$ u- c- p3 Q- y; M& j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) k& Z1 @1 H, `. r: r
  38. LibraryName=path_to_libsqlmy_libary& @* j% ^7 W5 t, q
  39. Active=1- [6 _' o$ K  J& X/ V
  40. ---cut here---
    7 e+ ~$ I, Z+ z
  41. In my environment (a linux box with a MySQL server running locally) I have:" v3 u, @$ c$ E# [
  42. ---example---
    7 f- A9 e, H( ]! I
  43. [DBEXPRESS]
    : W7 s6 U# V; d! l4 }1 A
  44. sqldir=mysql_sql
    ) K2 Q$ r+ c; |0 J
  45. Drivername=mysql+ _6 }$ t, v; z' v
  46. Database=test
    ! f- d" m* n! W1 _- `
  47. Hostname=localhost
    . H, W  F* @0 o0 a2 o1 R# S
  48. User_name=testuser# r9 c; s5 G# p/ I$ `) e
  49. Password=my_password, Z; E; |: m. [) L% M/ b2 C
  50. GetDriverFunc=getSQLDriverMYSQL
    0 V: K6 ?/ M# @1 d+ C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- e5 E) V6 s, L* |9 c9 i+ L( v6 E& V
  52. LibraryName=./libsqlmy.so8 Q* o5 }  R/ X% r2 z& E
  53. Active=1
    ) w9 @" Z# I' y" ?, Q% ^1 ^
  54. ---example---
    & c% F, U- |9 q$ ^0 [! G2 E
  55. : K" `% a; k+ Z7 R% j- X5 ~
  56. On a windows box, also running the MySQL server locally, it would be:! u: s: q8 X7 f) m, c5 x8 X1 a$ c$ \
  57. ---example---
    4 W8 r7 @* u/ r3 [
  58. [DBEXPRESS]) N" q) c* [& C9 C) U
  59. sqldir=mysql_sql" B" O. f* D* y. r
  60. Drivername=mysql
    3 |( n  c( z( \! f: K4 B7 V
  61. Database=test! U8 w, u5 m2 U% Q8 B' S8 n& Y: ?
  62. Hostname=127.0.0.1
    ! S: r1 ^$ H% t1 \( b
  63. User_name=testuser
    ! ~' ], V6 y* f6 ?4 m% X- G) V( y
  64. Password=my_password
    * p4 R" @7 H. ]: S
  65. GetDriverFunc=getSQLDriverMYSQL
    3 S: w8 d8 W$ N  L
  66. VendorLib=libmysql.dll
    ) I& F2 e6 B% ?3 h6 K' g
  67. LibraryName=dbexpmysql.dll: h2 [: y7 [5 {5 ^2 D  y
  68. Active=1: {. k' ]" ?  |1 E2 ~( T, X
  69. ---example----; f, q% y/ d9 j/ X$ o- X0 P
  70. - written 02.03.04 by pwk.linuxfan5 V3 [# a3 z8 g6 T2 ]
  71. - ^* h. \- A9 ?9 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; t; U" Y  M$ o5 B7 L, |
  1. 5 K/ E3 r8 p! R" A9 b- Q& w8 a7 |& D9 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + G, U# Q9 F- r- U/ Z- y

  3. & `0 G9 G& R( h) V" e& D4 b3 h& E4 X2 \  K
  4. # # #我们所需要# # #
    # Q* W; q3 J9 N; X" P, }% q  y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . l% U9 X1 Z; z6 F9 g) P% m
  6. 不会解释如何做到这一点-也有文件存在,为
    4 q( Z6 H  W' N' c# j5 v5 e: E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; ?, a* t+ J+ p* ^/ A1 {* w/ V9 c3 F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # G0 O( v; ~5 I0 C# r& Q- n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 f4 N! d4 P9 d+ A1 D0 `' t
  10. 本地机器,这是我的MySQL安装。
    3 E/ y: D3 |! g4 U$ _& L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; j( w/ b8 c* w, ^0 o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - z% q4 f) e% Q7 T6 P3 w
  13. 数据库。 ! J/ i4 w: ?+ x6 j5 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 _8 e; `; W+ [, j' H1 x+ L9 A
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 z( ~3 f( X' m  h
  16. 在teamspeak论坛,如果你有兴趣。
    6 D; _" q' @" C! m4 s- n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 [4 L3 N0 O& R, U8 c5 _( v/ h1 w
  18. Borland公司使用。这个司机只能界面与客户端库3 T  k- w6 v* f& c: X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : Y3 b! i3 @( `6 }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 u) I3 z, P1 A
  21. " vendorlib " ,并解数据库连接。
    5 r- k. F  P6 l) g1 E& o2 G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) i- u) |: k6 e' W9 D: J2 n5 v. @/ D$ H
  23. ; C7 a8 j3 U3 F/ H. H0 P
  24. # # #做好工作# # # ; s$ ~; W  }( i& K: v% U# s, {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 {" v. e4 Q2 @& e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * v- n, f2 h7 v+ r- n4 S
  27. 结束: " w8 ]# p* J9 ]: i9 t* ]6 o5 k) h# r
  28. ---削减这里---
    % J* u: G8 {5 o
  29. [ dbexpress ] + D0 O8 ]; d/ D5 k
  30. sqldir = mysql_sql
    + w; J) I% k& d& m; U# `
  31. drivername = MySQL中
    7 |& s6 C* B  a
  32. 数据库= your_database_name_here 9 m- J: J# D8 u/ d1 a- V
  33. 主机= the_pc_the_mysql - server_is_on
    + h1 r3 v' h9 i
  34. user_name = user_name_on_the_mysql服务器# @( E& K& X; t8 F) f
  35. 密码= password_to_go_with_above_user_name ( B7 t1 a, n, e+ {4 A" m2 z2 s
  36. getdriverfunc = getsqldrivermysql + j1 n+ E: ^6 v5 n; K2 |2 Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / J4 `: P1 ?+ R
  38. libraryname = path_to_libsqlmy_libary
    # X4 b  N, Y9 t1 i
  39. 积极= 1 9 `5 s8 T  G* H* U
  40. ---削减这里--- $ |, F0 H6 S9 }6 k; N; M" o2 P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! u# b5 q& O5 K: z+ z4 Z
  42. ---例如--- % l6 G: @' M6 Q! W5 v+ y: @
  43. [ dbexpress ]
    3 s/ h2 p6 a, m4 Q9 U% ^: R6 x
  44. sqldir = mysql_sql
    1 U3 l+ r8 y% E$ A
  45. drivername = MySQL中
    0 d4 J+ E# y- W! ^( i& P- C7 T3 S3 J
  46. 数据库=测试
    3 ~- r) h  B4 h8 ~6 {
  47. 主机=本地主机# S# Q- \* |  W2 F  r
  48. user_name = testuser
    5 c9 R/ z; Z% v
  49. 密码= my_password
    + D# ^; V# x+ n
  50. getdriverfunc = getsqldrivermysql
    ' M+ b4 e2 H1 N& m1 J; r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 D0 R# N: K0 s1 S1 n( ^2 R
  52. libraryname =. / libsqlmy.so
    ( v+ Z! X$ ~# M+ e0 {+ h
  53. 积极= 1 * _  Q% o, H- s& O
  54. ---例如--- 4 r& v2 H8 {( r/ c7 y- A2 N
  55. & {8 _4 t2 T2 i3 p2 _) x# H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 ?; d$ l2 c9 @! P
  57. ---例如---
    0 H8 D# H$ I4 Z- g
  58. [ dbexpress ]
    9 T1 q: g+ ]" I8 o) F- l
  59. sqldir = mysql_sql ( w6 @$ a. f* U" q3 ~
  60. drivername = MySQL中) c4 r/ D" w- |4 h3 a2 s  e
  61. 数据库=测试
    2 j$ m, c, ?( r5 l" S
  62. 主机= 127.0.0.1 " t0 U1 ]- [! P0 a) ]; C" \
  63. user_name = testuser
    1 c! @: x$ @" I
  64. 密码= my_password
    6 H( H' v8 z. q- c
  65. getdriverfunc = getsqldrivermysql
    ( }8 Q* F( ~2 \/ M9 x
  66. vendorlib = libmysql.dll在
    6 Z% A% D/ s4 o$ M, I) _# y+ e
  67. libraryname = dbexpmysql.dll 2 T! N+ i4 i( A- N  ~6 l4 f" g5 _7 N
  68. 积极= 1
    9 }5 _$ \5 p( Z/ ?3 @
  69. ---例如---- 6 M1 G$ A7 @5 e) q! l
  70. -写在0 2.03.04由p wk.linuxfan/ v* H5 _, T3 @: m# Z! 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 words3 c# h6 x  a6 w0 v$ E
5 J! j: W# A5 V4 M8 y5 a# R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-28 06:12 , Processed in 0.112216 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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