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

2705 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / ~/ X& |! h1 t* R- h

( e1 S6 V$ E% q5 \: f' f8 Q& A. I
  1. 6 f& P5 |: N1 m. \1 `" F/ S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 U+ i; k: \8 f9 `0 w: _

  3. $ C4 {7 Q: W( u2 L, X& s( ^' `
  4. ### What we need ###8 M6 E, X! e* @4 C% U
  5. Naturally, we will need a MySQL server to store the data for us, this document ' B' M: U: G2 ^1 W1 ~/ q
  6. will not explain how this can be done - there are documents out there for the . F  w: O, q$ \# d
  7. interested. The requirements include a (empty) database for TeamSpeak to use! T, H1 a* Y' f8 V
  8. and a user account (username + password) that has the permissions to do stuff
    ( v1 @! B) ^  N8 Q9 e
  9. with the database. Additionally, you will need a vendor library installed on the
    0 s0 y* T4 d1 a- U
  10. local machine, this came with my MySQL install.
    " q- r, j5 k# i# i0 x) _# O
  11. These instructions will not tell you how you might transfer your data from the
    / ^+ e7 v/ ^1 S; Y' M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    9 m0 o9 P3 j# b2 h6 R
  13. database.
    1 c4 O2 Z1 }: j( L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 t- a8 g, K0 T  e: I4 Y4 f  f
  15. the time of writing, there are still too many issues - check the current status) a' @( k8 C8 d5 q+ J# X
  16. in the TeamSpeak forums if you are interested.
    ( x6 F' l: _6 r3 \* N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . t( g8 n+ B. F- H
  18. Borland was used. This driver can only interface with the client library that
    3 `7 z; i6 X$ R  c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ i" v6 H+ u3 D6 F* w" J, v% B! o
  20. client library - basically all you have to do is to use a 3.x client library as
    + [% A9 m$ `) A0 Q1 W% n
  21. "VendorLib" and a 4.x database to connect to.
    ! C5 d; `# w% ]( ]) `  J
  22. If you need more info about dbExpress, you can contact Borland.5 y8 Z0 [( C& W

  23. 1 x7 H7 n8 f3 C7 I& ]5 w1 g
  24. ### Doing the work ###+ N$ j9 }1 y* Q* d5 ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# T/ v# u6 _5 Q5 f
  26. the perquisites right, just open your server.ini file, and add this section at1 j% T  r3 `# m6 P2 d3 I9 }
  27. the end:5 j1 a8 L: A  l* h$ Z
  28. ---cut here---' ]" B: n% S/ J  f. c7 `
  29. [DBEXPRESS]
    * p0 K! `; M: E# V2 E9 a3 H
  30. sqldir=mysql_sql
    2 h7 L( V3 Q8 q$ U0 L+ G
  31. Drivername=mysql! a/ K- J  e& D/ ?
  32. Database=Your_Database_Name_Here
    - O2 Z7 \) a2 y& A- N: S
  33. Hostname=The_PC_the_MySQL-Server_is_on% y/ G# W; t, h
  34. User_name=User_name_on_the_MySQL-Server
    * p4 \, N9 P5 i, B1 F5 R
  35. Password=Password_to_go_with_above_user_name: A' F$ v5 q' s" i
  36. GetDriverFunc=getSQLDriverMYSQL$ @% |7 d' f0 T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - i# T% }/ u" o  E
  38. LibraryName=path_to_libsqlmy_libary, e1 y4 v$ v* y) ?0 I3 Q0 Q
  39. Active=1+ X  H2 G7 K/ x6 H3 X+ W
  40. ---cut here---
    . M- g6 }# T1 _+ q8 D# k0 O' t# p/ l
  41. In my environment (a linux box with a MySQL server running locally) I have:
      p- @, N8 Z6 m$ ?/ U
  42. ---example---4 m! H  E% r! b  y; g6 S' H8 Q
  43. [DBEXPRESS], `* @; |# W* `" P7 Y8 H
  44. sqldir=mysql_sql7 l( T% I' ~, R( p  L
  45. Drivername=mysql
    9 m6 |* k- O) a* q
  46. Database=test9 s5 c; z9 B( S: g  U7 h$ T
  47. Hostname=localhost2 X7 i/ N2 z! c0 |2 X' ?+ B+ W$ A
  48. User_name=testuser5 P, |9 n1 w" n0 a
  49. Password=my_password* g* V6 ~/ D8 Z+ A
  50. GetDriverFunc=getSQLDriverMYSQL1 M# j5 n; u% ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& s+ U& ?1 ?+ V) W) S3 b# N
  52. LibraryName=./libsqlmy.so
    % U! X$ Q: _# q9 L
  53. Active=1: v+ J! ]  j5 S! C, e
  54. ---example---
    9 }( |4 s0 h6 h) z; n! F

  55. & U) ]: ?5 f6 g+ v$ [, s
  56. On a windows box, also running the MySQL server locally, it would be:
    8 j# E0 \4 Z( j( }4 O
  57. ---example---' ^) `* m2 L2 A$ W& a
  58. [DBEXPRESS]+ l3 \- G. p7 @7 r9 e* U
  59. sqldir=mysql_sql
    9 ]) r% k. [  X  x# N6 N5 L/ B) \
  60. Drivername=mysql' b; T1 M0 M4 \- |* G# @. h' N- Q0 c
  61. Database=test9 Y2 M, T, v. q" Y
  62. Hostname=127.0.0.1  L# \, c; z2 X3 w( }" g
  63. User_name=testuser" L; x8 D% }* }3 I  C7 u, b
  64. Password=my_password
    7 f( q  X/ c: C3 F
  65. GetDriverFunc=getSQLDriverMYSQL
    3 \, J4 f& r6 P6 U- k" Y5 c: E) r
  66. VendorLib=libmysql.dll
    9 l7 Z" F* a) _- y
  67. LibraryName=dbexpmysql.dll
    * w) U7 P" K4 t) z. R
  68. Active=1
    % P) ?1 A: P- B+ |4 q6 ]) s: O4 i
  69. ---example----
    1 f. G& e2 Q/ X0 O5 ]# U, C
  70. - written 02.03.04 by pwk.linuxfan5 S; ~% H+ j0 y! |7 |- O" |2 o

  71. ( U0 Q' ^* s% I) z1 [
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, i1 I! W7 m! K6 C# J1 Y
  1. 5 C; v$ y7 A4 ]6 \+ l) F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 x1 h) @* Q% l9 v  T

  3. 3 I1 }/ q+ L2 S" y) t# f
  4. # # #我们所需要# # # 7 x+ v/ w3 S1 _2 m% w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 C- R5 {" Z, l5 ]
  6. 不会解释如何做到这一点-也有文件存在,为+ [% |7 L$ E) _8 j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& a9 |+ I/ \( v8 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' H+ H3 _+ a, ^. v% b0 Z( e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 e( F7 K1 y- p
  10. 本地机器,这是我的MySQL安装。 * V9 d9 ^/ ^+ ^! T4 o/ x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ E9 ^" [( O. @# X7 m& r1 ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + G& q" y5 t# G
  13. 数据库。 ) |( q' S+ N& j: Y0 `  P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      `; q9 L& `& c. c1 N! z
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 w) L2 c0 U5 d+ t! S4 h8 y
  16. 在teamspeak论坛,如果你有兴趣。
    ! ~8 a- s6 w% Z- [9 a# C2 _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 k' s1 F+ G7 B4 H- X& I# P
  18. Borland公司使用。这个司机只能界面与客户端库
    * \1 p  M" }9 n4 k8 {: f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, J; K* `* W6 S- K, y; c4 }; B8 Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 z9 e6 \* O5 C0 P4 J, X$ [
  21. " vendorlib " ,并解数据库连接。
    % W' z& f0 Y5 i7 a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 Z- B& G  `. p2 f* T: K9 l

  23. ' J. O) u7 ?9 \% [
  24. # # #做好工作# # # 3 S2 k5 D4 l9 P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ x6 [: o6 T) y1 ]6 m; l9 \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " W4 E# k; p- O6 A
  27. 结束:   ?! `" h+ g0 w- E
  28. ---削减这里---
    ; T4 V2 G, [7 j7 e& s
  29. [ dbexpress ] 7 B, i% U2 ^) Y9 Y% W; {
  30. sqldir = mysql_sql ; z; ]* g4 s* @* o1 ]% C6 J
  31. drivername = MySQL中
    % q$ r8 c; h- O5 J" b
  32. 数据库= your_database_name_here 1 q- @6 B# k8 H2 d( b: }* F) h9 c
  33. 主机= the_pc_the_mysql - server_is_on ! E' A* d$ ]" |/ u3 y- X. h
  34. user_name = user_name_on_the_mysql服务器
    . l6 d1 J2 v! ~/ R0 Y- @: Z$ t
  35. 密码= password_to_go_with_above_user_name 0 [! W% m% x( T( u$ X
  36. getdriverfunc = getsqldrivermysql % v+ b  |1 w% e# _# D) s& v" G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 }& f* q) E0 f
  38. libraryname = path_to_libsqlmy_libary 5 H  d# p) b. u: M% L7 ]
  39. 积极= 1 % x3 @8 l# P7 S" n
  40. ---削减这里---
    6 T. `0 b- e  x- J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! A" J. ~! h$ Q; Z
  42. ---例如---
    & P3 X, B$ X% \# M
  43. [ dbexpress ]
    6 n  @3 ?8 \* t! ]/ U; u3 d( T
  44. sqldir = mysql_sql 9 k1 b* S: I: K# R( F6 U
  45. drivername = MySQL中
    0 p5 t3 e2 U1 h' x+ m
  46. 数据库=测试+ X, L: F9 Y3 v  U/ u
  47. 主机=本地主机
    , V# a6 H, v6 G4 F0 `
  48. user_name = testuser 6 ^/ Z; j' V' i' |2 h
  49. 密码= my_password 2 i: a5 p% W; h5 s
  50. getdriverfunc = getsqldrivermysql 7 f6 {2 Y. q) r3 ~7 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . U* T- L$ Z; D- C
  52. libraryname =. / libsqlmy.so
    # Q* N  N8 W# I; E# z  M4 N
  53. 积极= 1 4 ?. P8 |7 Q# X& y& _
  54. ---例如---
    . }9 G: K, P& F8 o# i% E5 r: D

  55. ! {: O+ u* G0 `+ g. T0 R0 c8 {
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! [* {+ ]! U1 H. y; d7 d7 w! d' T
  57. ---例如--- 9 A( d. B. C  ^( h" w- `
  58. [ dbexpress ]
    ' [$ P5 s3 P0 T" t2 X
  59. sqldir = mysql_sql / {) a' `' N9 Q% |$ H- ~7 Z) h' R
  60. drivername = MySQL中  q/ j  M0 d/ F4 t
  61. 数据库=测试
    1 K: d$ X. i9 e9 f: L; a# F
  62. 主机= 127.0.0.1 $ m+ y5 i( x: F* P! y2 i  K% m
  63. user_name = testuser 8 ^# I. u9 P/ W! f* N# t& C
  64. 密码= my_password
    + W" D0 _0 |$ }1 X% h* P
  65. getdriverfunc = getsqldrivermysql
    $ s( g8 ~, `- E. n2 I
  66. vendorlib = libmysql.dll在* \1 K3 @: I% C1 G% W/ z5 k3 K
  67. libraryname = dbexpmysql.dll
    1 }$ Z/ m7 a& u5 d8 V: _
  68. 积极= 1
    ! Z; j3 @1 N3 c* D& I; v/ q0 y
  69. ---例如---- % s( w1 V3 t, z  e
  70. -写在0 2.03.04由p wk.linuxfan9 l0 n- y/ B0 l5 g4 R, i1 ?" m
复制代码
发表于 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 words6 J* f0 g! Y5 ~3 H

- F. ~! s# r: zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-4 19:27 , Processed in 0.092747 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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