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

3574 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 Z1 q( d0 U6 G3 D% x
) M8 f$ O" v6 ]  @. x, c

  1. 5 W: T& W6 V9 A, F( X# J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( N, F: q  w# @5 _6 U

  3. 6 }6 U9 p% v+ a1 t$ C" |/ S
  4. ### What we need ###
    + P2 m. e) X! K  @4 P& I) \4 ?, W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! m, L; {  x3 m  i* D
  6. will not explain how this can be done - there are documents out there for the 7 U( F' ?9 X3 s# g, D2 s- C
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 v( l! Q& A7 b; _
  8. and a user account (username + password) that has the permissions to do stuff% M1 ?1 g0 y5 c7 }, ?+ w! \5 ]
  9. with the database. Additionally, you will need a vendor library installed on the, \+ Z$ P* [( G0 p8 T7 q4 C7 s9 q
  10. local machine, this came with my MySQL install.
    9 Q$ x1 p* Z) |$ E
  11. These instructions will not tell you how you might transfer your data from the
    3 {. m2 }' y4 w0 i- L6 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% m& ?4 ~6 ~" Z( I# h$ e6 F% j
  13. database.
    : Z. H  h5 e: Z" u; u0 W6 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 A+ J; n2 J7 ]% J) U
  15. the time of writing, there are still too many issues - check the current status$ X+ a+ V$ v) @0 t
  16. in the TeamSpeak forums if you are interested.
    ! Z7 v) \. S, c7 [7 q" x6 y7 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% G" n% G  c2 J( V; S9 o) f
  18. Borland was used. This driver can only interface with the client library that
    1 m3 @3 Z/ I, v5 N. x* K6 f" X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 d5 I. E0 w" h. R! e' f$ T( q
  20. client library - basically all you have to do is to use a 3.x client library as 4 ]& `1 B& {: N9 h' `
  21. "VendorLib" and a 4.x database to connect to.
    , s/ i- e! u' D. E; w: `
  22. If you need more info about dbExpress, you can contact Borland.
    % H7 L- o2 U5 O6 _& }* C$ b& Z8 W

  23. # j, i' Q* q0 p# |; n2 E! \
  24. ### Doing the work ###
    ) E- B; X' S2 o1 p( z' P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& {7 p* u$ v% B, ^
  26. the perquisites right, just open your server.ini file, and add this section at
    , u  M4 e2 `/ f9 D
  27. the end:
    & l8 t3 s7 \# v  q) K! {
  28. ---cut here---
    " y7 @% c6 G- y
  29. [DBEXPRESS]
    & A7 D8 k4 c' x" a8 E
  30. sqldir=mysql_sql) |8 M2 N" s: o7 _: C; \& d
  31. Drivername=mysql
    . F/ O  S+ g! e. z" u; B( i
  32. Database=Your_Database_Name_Here
    : F, p! s/ r% B' \* D' G. Z! d; [
  33. Hostname=The_PC_the_MySQL-Server_is_on6 c# O& |; c, R* {0 Z
  34. User_name=User_name_on_the_MySQL-Server+ {  |) G6 C/ j! c3 V  P' ~
  35. Password=Password_to_go_with_above_user_name
    " D: {9 {9 t. `( ]
  36. GetDriverFunc=getSQLDriverMYSQL& s+ V2 v+ `4 C* p* l% W' x0 E# _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : z' K4 ]2 N+ s- I. Z8 K: l+ T" B* G
  38. LibraryName=path_to_libsqlmy_libary
    ; Z( g; ~: I0 k, A; t/ `3 V
  39. Active=1- K$ Z# n. x, n/ x9 i0 i
  40. ---cut here---
    - V; i. S1 L- T0 b/ n' t1 b  T4 t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 y1 n  s* J  E+ {- n3 L7 J5 K
  42. ---example---7 I" {6 u, r7 Q' @
  43. [DBEXPRESS]! b& v* I! H. N* m) f/ I- d
  44. sqldir=mysql_sql) x0 i/ [7 N0 l5 E7 \% P
  45. Drivername=mysql
    ( u9 d  E+ w5 g3 A
  46. Database=test
    2 P6 l# f: h& y
  47. Hostname=localhost0 [* N* C( J5 s) @( |" L
  48. User_name=testuser3 t5 [, a" p. ?3 H. O3 u4 I
  49. Password=my_password8 {- U( `, d) \, n2 i
  50. GetDriverFunc=getSQLDriverMYSQL
    % m5 l/ R! y, o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + F: t: m9 b6 V/ ?8 d" W$ P
  52. LibraryName=./libsqlmy.so
    ; G9 ~; x9 p9 Q! f& H3 }- n! x
  53. Active=17 ~/ J* Q5 m. ^. Y
  54. ---example---% d& M) E# r( m. N

  55. # [, j  N8 z4 _: V# o
  56. On a windows box, also running the MySQL server locally, it would be:
    # u, u6 w0 @5 w7 _. O& S. n! X1 R
  57. ---example---! ]- b) A, u- D' N9 `, B' \
  58. [DBEXPRESS]$ ?& c0 j* k/ T. ^- S, Q9 E, E; v
  59. sqldir=mysql_sql
    - ?1 R5 m( |: p
  60. Drivername=mysql& R& }: \7 }& U1 |4 m
  61. Database=test
    3 E8 T: m: u' F' Z4 Y1 e9 M' y
  62. Hostname=127.0.0.1
    & A: a. f0 [0 c# v( R
  63. User_name=testuser  {. e" V7 u( Z, X. ^; P! J
  64. Password=my_password
      z0 M2 |& S# a1 f2 t
  65. GetDriverFunc=getSQLDriverMYSQL
    $ w' x7 N- v5 h' }0 I+ D* }% I9 b
  66. VendorLib=libmysql.dll
    5 c1 {+ e4 n2 n1 m
  67. LibraryName=dbexpmysql.dll
    6 V7 Z. p6 |; R
  68. Active=18 O6 p) o+ a/ i, |% [4 W4 O: n1 P
  69. ---example----
    ' q% Q" Q# y1 A! K' u2 R* D6 d
  70. - written 02.03.04 by pwk.linuxfan3 P: `1 w; p0 `6 q

  71. ( K/ [  I6 ?  ^8 A$ N1 Z- f. k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ c+ t5 v( V2 i' V! E4 S2 B/ [: X
  1. # O+ l( i8 t9 w- S6 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 P+ q7 Z$ w- h  W

  3. ! ?- P7 D0 @  E
  4. # # #我们所需要# # # / W' Y9 m' X, p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 E+ Z; o& d6 [% B
  6. 不会解释如何做到这一点-也有文件存在,为
    . Y+ w- D# N' {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 F. P/ G  _; C! t' d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 z4 C" l9 t* Z* d8 P- V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. c4 M: w" t$ ?9 Q4 _4 u
  10. 本地机器,这是我的MySQL安装。 8 z5 C, w: p; j) E2 @. X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 O: T& X4 L: f% e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 {3 Q0 i" L! z" Y
  13. 数据库。 & x1 i/ V$ s9 A  j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; Y1 g; Y1 j5 L0 B
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( b, X3 C% O4 U
  16. 在teamspeak论坛,如果你有兴趣。
    0 k7 i1 ]" K1 M  ^6 B3 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ ]7 o6 F$ U! c# i' q2 e
  18. Borland公司使用。这个司机只能界面与客户端库
    3 g0 F6 y+ T0 h! t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : ~9 h5 S9 P8 B, ]+ K6 d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# Y7 z2 q3 _+ _4 V, a  F% ]
  21. " vendorlib " ,并解数据库连接。 - T3 k, m' c! _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 t" z1 f% @; o0 p, N: R: @2 t

  23. ' C9 c$ [7 G+ F" Q2 o6 u/ u# l
  24. # # #做好工作# # #
    1 e; V( N( |8 b" u0 W( y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + E. _) P- O% G8 a, {. A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 G: G  v, f  L/ q/ K  I( o
  27. 结束:
    ; N+ T: p) O. {) R4 U" j
  28. ---削减这里---
    ! o- X( _8 `% u. a3 x0 h
  29. [ dbexpress ] 5 D; d) L9 R3 J# O/ _7 B
  30. sqldir = mysql_sql
    0 z; r# e: E" v/ U, J6 v: t. W
  31. drivername = MySQL中
    " Z4 l" W* @6 ~* ]
  32. 数据库= your_database_name_here
    ; c/ L/ n/ G  @# [9 G
  33. 主机= the_pc_the_mysql - server_is_on " H3 g* i  y& }2 E3 A# ?; ]% g
  34. user_name = user_name_on_the_mysql服务器
    ( ~9 `5 I' x8 k- d' t7 D
  35. 密码= password_to_go_with_above_user_name
    $ f) k- J& Q, I2 u. t
  36. getdriverfunc = getsqldrivermysql
    1 s7 K5 z$ ?& Q) |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) p+ q3 y, @: \, b5 g2 o* G
  38. libraryname = path_to_libsqlmy_libary ' R6 O! e) L" z3 P, D9 t+ t: K
  39. 积极= 1 % u6 g7 W3 Q1 ]: Z' ?. [2 X: |* R
  40. ---削减这里---
    ' U. c( ]+ M, q+ u* q5 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / J6 `; w- c  `# d
  42. ---例如---
    , i3 V8 f7 J8 }+ d
  43. [ dbexpress ]
    ( p0 h" U" _/ L  v2 S+ w! [+ h
  44. sqldir = mysql_sql
    " \1 g6 p6 w! {+ `
  45. drivername = MySQL中
    * h8 P/ b; W% w! L. `; O  k
  46. 数据库=测试
    $ F, {+ D) V' z" A# g) D
  47. 主机=本地主机3 ]3 ?) G% r7 S) k
  48. user_name = testuser
    6 @" n$ Y# U, g8 V, l* K
  49. 密码= my_password ! D- s" y' f: e+ F, E% K' s
  50. getdriverfunc = getsqldrivermysql ; j9 X- {* j! ?3 Y1 H: T# P0 s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : Z, ]% Y& p8 m; n/ G5 c
  52. libraryname =. / libsqlmy.so
    ) @! h6 e# n0 Y7 E
  53. 积极= 1 - N8 G9 M8 Q- p6 ~) w$ I$ c1 j
  54. ---例如---
    / t1 t" B8 R4 p& c: P9 z

  55. % t: Z# C; Q! e& Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & A( @$ c7 C3 J* b
  57. ---例如---
    & q0 e" n' f+ [4 O, E- q9 E$ K
  58. [ dbexpress ]
    9 D) \" `7 x  \8 J, P
  59. sqldir = mysql_sql   a1 M0 Z1 m+ V' L
  60. drivername = MySQL中
    6 I! e; l7 I, }
  61. 数据库=测试
    # v5 w7 Q1 q1 H2 X
  62. 主机= 127.0.0.1
    8 M7 U! m9 n' g' `# L% f" B# @+ p
  63. user_name = testuser   F( S: m0 e( ~0 m3 Q
  64. 密码= my_password 1 {2 M* F0 V$ H0 _& v
  65. getdriverfunc = getsqldrivermysql $ @: s$ M: T: R7 ]
  66. vendorlib = libmysql.dll在
      a9 J+ [7 i$ a/ v2 i8 U
  67. libraryname = dbexpmysql.dll 7 P$ q9 B. a) y: p
  68. 积极= 1 " x! U( `" N8 w  r6 |
  69. ---例如---- - V; h% M( `- I
  70. -写在0 2.03.04由p wk.linuxfan6 C# J# d3 h; |5 d# w( \5 Y
复制代码
发表于 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
1 L- |$ ]& e" j! {4 y1 X+ p$ s  \3 `5 ?5 D0 i. _( z/ `
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-27 05:42 , Processed in 0.072601 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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