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

3160 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; m0 z( ^# B! [
" d/ t/ a7 s7 |3 ^/ Y% t
  1. 8 e  p; z' F. _( O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. Z6 S# G- o( A* L  w

  3. 7 O( s; s0 I+ G$ ~% i, f- V
  4. ### What we need ###
    7 y6 x% s5 Q( d- w$ ], V8 {
  5. Naturally, we will need a MySQL server to store the data for us, this document ; Z2 w. |6 w' B( H
  6. will not explain how this can be done - there are documents out there for the & F( W3 K0 D5 m% U: k2 a: y& _
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ S, Q  T- `: z' Q) N
  8. and a user account (username + password) that has the permissions to do stuff
    $ f8 f! L; [" d$ Z, T- `
  9. with the database. Additionally, you will need a vendor library installed on the
    ) E  Q: c0 v/ k9 J! a
  10. local machine, this came with my MySQL install.; P. h0 I# Y0 }# |: Z
  11. These instructions will not tell you how you might transfer your data from the- B% N" \+ B9 k# E* w# a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: t  g: {5 M$ E2 F2 [
  13. database.# ?& H$ q% c( Y& ]# H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & V7 G6 }+ v, q) a
  15. the time of writing, there are still too many issues - check the current status
    3 N3 ^, f# X% T: h3 C
  16. in the TeamSpeak forums if you are interested.
    5 f- g9 M; q0 P% W2 y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* d. u/ G% k$ V$ r5 X5 |
  18. Borland was used. This driver can only interface with the client library that 7 ^& B( ~6 F! U4 ^, G/ K( {' I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 w2 _% z; |/ C3 w' R
  20. client library - basically all you have to do is to use a 3.x client library as 5 k4 S' U4 [4 T2 p
  21. "VendorLib" and a 4.x database to connect to.! I7 F0 w) t  U2 W
  22. If you need more info about dbExpress, you can contact Borland.
    3 p3 _: v' X' V! M7 `: i* H+ h
  23.   K3 D% B% y' h  U2 m9 C/ q
  24. ### Doing the work ###9 |; G9 D) o4 l8 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 M9 Y( b9 O% w) k3 L9 ?
  26. the perquisites right, just open your server.ini file, and add this section at
    5 |& _( X8 g" K# M+ M
  27. the end:
    % L; O5 r2 C6 x) T3 V) ]1 E/ h# Z
  28. ---cut here---$ `2 V0 Y" ~* j. b0 t: w
  29. [DBEXPRESS]3 n1 b$ w5 e- G" G) o9 l7 p
  30. sqldir=mysql_sql. X3 Y/ @1 M1 c3 v! W  k
  31. Drivername=mysql
    3 t; d& A$ y. U% i5 q: |+ O2 u; A& f
  32. Database=Your_Database_Name_Here4 N5 O5 E6 K! @2 V
  33. Hostname=The_PC_the_MySQL-Server_is_on. D7 B: {8 H1 j
  34. User_name=User_name_on_the_MySQL-Server
    % f* W8 w8 k; R4 u$ c
  35. Password=Password_to_go_with_above_user_name+ d3 ]: r9 Z( O7 e- h9 B
  36. GetDriverFunc=getSQLDriverMYSQL: M% ]! p: z% P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% m+ K2 x4 g; ?! j' Q: O8 ~
  38. LibraryName=path_to_libsqlmy_libary9 Z/ k2 o$ w! g2 {4 Y
  39. Active=1' Z1 i- o6 W$ D) F( x+ D
  40. ---cut here---
    ' a7 g0 ]; H0 F5 u4 S
  41. In my environment (a linux box with a MySQL server running locally) I have:; S9 x4 u- g% o3 i
  42. ---example---
    ; X" D- p* Z% i. h. e6 y
  43. [DBEXPRESS]
    * h' ~0 B2 s/ ?1 a7 C, t; [5 L' |" \# ~
  44. sqldir=mysql_sql
    4 f8 D  g6 y3 |3 g3 h0 ^
  45. Drivername=mysql
    2 t  S: Y) f$ |, g- K0 c
  46. Database=test
    " h- p2 ?! V! p2 t* d; R
  47. Hostname=localhost
    & J1 P- B/ s  [1 p
  48. User_name=testuser3 ?" F& H6 k, x
  49. Password=my_password, U* q  j# N/ a: g8 H4 j) F
  50. GetDriverFunc=getSQLDriverMYSQL
    3 W  O: W3 D8 b; F3 R0 C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 e: T$ j) J, I! W  B
  52. LibraryName=./libsqlmy.so
    : k  r" L( N) X, O9 c
  53. Active=1
    & ]: W/ c" e) E& P8 x
  54. ---example---
    5 C( F; @$ ^/ ^) R

  55. 9 r# }0 q; b- m) ~4 S+ h9 Q
  56. On a windows box, also running the MySQL server locally, it would be:. k, r- B$ h6 m( Q3 h
  57. ---example---; n, D% n# ~+ x+ q% Y1 H
  58. [DBEXPRESS]! O! t6 e% O/ Q8 _9 i, ?7 T8 H
  59. sqldir=mysql_sql) M' S; t& J" p
  60. Drivername=mysql
    : ~" c: z8 r# ~! G/ [0 t( L
  61. Database=test
    , M+ K$ N5 w% a& Q
  62. Hostname=127.0.0.12 I* b& I$ D4 Q
  63. User_name=testuser
    . P& q  _  O& n) C
  64. Password=my_password
    ; m8 r, ]( I. Z7 y! R
  65. GetDriverFunc=getSQLDriverMYSQL. }/ J- S' B' i9 q3 J, G
  66. VendorLib=libmysql.dll- g6 F4 l+ K. f0 K& d3 C8 B% P: }
  67. LibraryName=dbexpmysql.dll
    ; m/ h  F" c; G& H, `+ S
  68. Active=1+ x# z( {& T7 ]3 c( S. I* o
  69. ---example----& R$ h$ f( m4 ^0 Z; }
  70. - written 02.03.04 by pwk.linuxfan( @7 t( [) c) g9 v7 V/ p

  71. 6 {0 W+ c3 A2 V2 X/ A0 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 Y% s* l8 J# a
  1. ! k0 ^6 B2 y0 [' A2 |0 ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * A' n' @2 ?6 @& a) u1 U. J. R
  3. : m6 n& E& e7 g
  4. # # #我们所需要# # #
    2 S! B% d! h- {$ A: U- L: ?! o8 E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 i) z9 o" W4 B& ]. B% Q( U5 p
  6. 不会解释如何做到这一点-也有文件存在,为6 ^: e, m+ b4 P* M+ H" X/ }5 u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 v+ h" R" J8 A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 I9 [# t% J+ j- w7 `5 v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 o4 A+ l5 A+ t$ e, r6 j, S6 h# ?( q
  10. 本地机器,这是我的MySQL安装。 ' J, ~6 {& N5 y0 P/ J$ V( O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: o+ m  k+ H2 W: g! W8 G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ ?. \6 M/ K# k+ I4 |  }3 O
  13. 数据库。
    " W3 u! ~# y/ B0 ]& D6 S" [- E5 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 J- C) V$ `3 y9 Q( s, K
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % r; d6 j7 i. g! q
  16. 在teamspeak论坛,如果你有兴趣。
      \/ k1 q/ r% Q' Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& \' ?- B0 D- B& W5 t" L* f
  18. Borland公司使用。这个司机只能界面与客户端库
    9 b: E5 t8 k" ]0 p3 a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- B6 ]9 x$ G" A; n& f) q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 U( j: D+ w3 h# l1 U
  21. " vendorlib " ,并解数据库连接。 0 H0 R( M0 ]2 m7 O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 z# ]3 Z( W; t% |

  23. 4 W7 y' J: C2 C, S  x3 s  g
  24. # # #做好工作# # # 6 {; X9 R0 F/ y) _4 ]- {, |9 G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! ]& H$ P' C& O9 D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 |+ _, h. [9 T9 C; E  Z9 O
  27. 结束:
    # |! |. T, {7 M6 }+ H* D
  28. ---削减这里---
    3 S7 \! [/ |$ d5 S
  29. [ dbexpress ] % s4 ?( d" X, i, v
  30. sqldir = mysql_sql 8 @& Z  S) b, c- o3 \
  31. drivername = MySQL中! b/ J# A# @7 r
  32. 数据库= your_database_name_here
    * V" u) H- U, h0 R! e: G
  33. 主机= the_pc_the_mysql - server_is_on # A. c* S0 L. v3 ^/ h' {& s  D
  34. user_name = user_name_on_the_mysql服务器
    6 V' e1 \4 i1 M3 A8 T/ T) ^. o1 w* @
  35. 密码= password_to_go_with_above_user_name # c1 b2 C1 ]# H$ w/ _2 k7 d
  36. getdriverfunc = getsqldrivermysql : f! T6 }% d+ J. E' y8 j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! B: D2 X0 y2 N
  38. libraryname = path_to_libsqlmy_libary
    6 C$ j1 Z, q! K. Q! |; C1 K
  39. 积极= 1
    # f, @: C! C* s: V0 h* p
  40. ---削减这里---
    + n+ ?4 `6 _, Q8 A6 @8 q. R/ N% M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & e* {/ B; a; Q- `* \0 c( q3 U! q4 I0 `
  42. ---例如---
    3 D1 ~- L# z- L- A' o
  43. [ dbexpress ] ( H/ h+ `3 [  A/ \: m# l& H& M8 |
  44. sqldir = mysql_sql
    4 i- _' Y8 s2 d+ e% A4 D' I# K
  45. drivername = MySQL中
    & ?/ S. u% @) p/ V. C/ j
  46. 数据库=测试4 \& \& Q9 o: A7 u# D& L1 k, X2 a9 [
  47. 主机=本地主机
    2 t$ y- x& G: T) f# u. n
  48. user_name = testuser 6 o4 E+ q# a0 `6 R9 J
  49. 密码= my_password
    2 K' i- [0 i+ \; B& I
  50. getdriverfunc = getsqldrivermysql # Q2 [. R( n, {) [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / H3 E; k9 \# J( D( `
  52. libraryname =. / libsqlmy.so
    1 z9 a2 T! [' D
  53. 积极= 1
      ?3 `4 `3 D# F" @+ ]  f3 ]3 ]' [
  54. ---例如---
    / ^- n7 F/ s7 `; j6 Y" i2 `" I" N
  55. : c) [" c' N" k4 S. C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 d' ?4 F( q7 g( N6 }, P" Z# l
  57. ---例如---
    / ^9 H3 @8 r' c6 F4 U' k
  58. [ dbexpress ] * K6 K( n  ^2 R: p6 v+ E
  59. sqldir = mysql_sql
    : O& {; l# @) y
  60. drivername = MySQL中" ~" }7 o% n& K  ]3 N7 d
  61. 数据库=测试
    9 j- D# B( z. ]/ j9 K) M5 B. R
  62. 主机= 127.0.0.1 ; t% r' G# a* }
  63. user_name = testuser
    1 M  q$ L0 g! R# j  B
  64. 密码= my_password ) F' a: j: ~1 _% U: B) e1 C  a
  65. getdriverfunc = getsqldrivermysql % v# B& F) C# Y2 q( y; [
  66. vendorlib = libmysql.dll在
    ; w3 ]! k6 J3 S2 @; o
  67. libraryname = dbexpmysql.dll
    9 h6 u! Q. {+ R+ c$ S* t+ p3 g
  68. 积极= 1
    + |2 o' ^1 e" Z( }3 T, n0 w, E
  69. ---例如---- ' k/ H- r' G- P- j, A  C
  70. -写在0 2.03.04由p wk.linuxfan
    . C' I; W! b0 p7 u1 @4 O
复制代码
发表于 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 A8 r5 l0 n* v5 Q0 b$ I- S9 w- h1 J  ~

+ u, F. T# _6 S0 U: a* E" Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-14 02:43 , Processed in 0.092697 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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