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

3505 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ _& {, \7 k5 ~3 q- D+ T; N9 l

- u5 ^; g5 _) P8 Y0 x
  1. , y% c, x' i5 Q0 T4 t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * V  H! {* E8 B4 x+ o/ }6 o9 ?
  3. : X. R. Z) u+ c! f* D# f
  4. ### What we need ###' m* M+ s" q0 O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 F1 j1 q, C- }; ~
  6. will not explain how this can be done - there are documents out there for the . {" [6 Q4 f; P+ u! f  E, Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use" W0 n4 Z9 l) q% a2 k+ C9 w! c
  8. and a user account (username + password) that has the permissions to do stuff
    5 I1 F9 _) W. E5 N
  9. with the database. Additionally, you will need a vendor library installed on the
    ) b; N2 P' ]5 F' c) c' T3 g' ~
  10. local machine, this came with my MySQL install.' p! n7 K+ N. x- W
  11. These instructions will not tell you how you might transfer your data from the/ f; F( q$ M, i# D3 }* s' J9 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 Z2 Q. s9 v; O
  13. database.
    $ h1 `4 l4 G! Q- K$ j) i
  14. Some users have reported ways to import a SQLite database into MySQL, but at: i, T( N& y/ {% \' N4 |, c" `' c
  15. the time of writing, there are still too many issues - check the current status1 n- Y# B& Q7 ]* W1 B( A
  16. in the TeamSpeak forums if you are interested.8 s/ x! H3 n( {- N9 J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ L: d0 N( \( i, ^/ J, G1 m
  18. Borland was used. This driver can only interface with the client library that   Y4 E: i0 a1 y- w1 }0 T+ w2 e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 A3 O5 O% |) K, w
  20. client library - basically all you have to do is to use a 3.x client library as ! [* D' a5 L9 o( ~9 N
  21. "VendorLib" and a 4.x database to connect to.
    : V* b6 w% K( Y2 m' d, N4 [. m3 \
  22. If you need more info about dbExpress, you can contact Borland.
    , Q* \$ E7 G  R1 d+ J- z- S- }4 y

  23. & O- X1 y: k1 a6 J2 @' ]
  24. ### Doing the work ###. E3 t: t7 e' y, k5 D0 C4 l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % q+ B2 B- {$ W5 k$ c# D+ w
  26. the perquisites right, just open your server.ini file, and add this section at
    $ S1 z1 J+ n8 w6 s3 O! {* a7 M
  27. the end:
    ! ?5 X' |. U9 [+ c# k
  28. ---cut here---
    2 }1 w' s: L* S' s$ Y6 [- }1 e' p5 Y
  29. [DBEXPRESS]
    % }& f0 I& d8 r# t) O
  30. sqldir=mysql_sql
    6 f: F4 ~5 u/ Z8 U
  31. Drivername=mysql
    2 t8 D. W" x7 {. b* N' X
  32. Database=Your_Database_Name_Here
    " ?3 e/ X( P$ z9 H3 k3 z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; R( ?4 s+ }) {9 z& O
  34. User_name=User_name_on_the_MySQL-Server# g. f2 i) W" B! @
  35. Password=Password_to_go_with_above_user_name
    6 ]  k  O) y2 J0 J) [& U1 Y
  36. GetDriverFunc=getSQLDriverMYSQL- G5 R. f2 D$ w4 n$ D1 Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 S+ J' L$ }! n! ?2 n
  38. LibraryName=path_to_libsqlmy_libary
    0 r. A! X7 R/ S$ L+ x2 k
  39. Active=1
    ' n: g! w$ U, b4 t) H& h: h" c* J
  40. ---cut here---
    7 V3 }( B- g+ V6 e) R4 ]
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 e7 i  m( B5 g. `4 D! {& u* Z
  42. ---example---
    ' u: P  ]+ }" j3 N( B
  43. [DBEXPRESS]
    . B" w. e" r+ ~( \) `6 {+ F
  44. sqldir=mysql_sql
    # A. `# |/ {- r. P, a. x
  45. Drivername=mysql7 X$ j+ x+ g) I% a
  46. Database=test
    & n: |0 T# a7 H7 Y
  47. Hostname=localhost- L3 |; O5 i) y' d5 O: X0 _
  48. User_name=testuser" Y# O' @7 e' d1 e. W- M# G+ }
  49. Password=my_password
    ; k- ^. L# L( r& ~3 ^; }
  50. GetDriverFunc=getSQLDriverMYSQL
    7 z/ ~8 l  P- I4 F' O* X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      i1 f/ H+ \9 n) z. i$ a
  52. LibraryName=./libsqlmy.so7 Z( U- E5 ]* ^# x2 I
  53. Active=1
    4 T/ W$ A3 w: x. ^8 P, v
  54. ---example---
    / b+ h( n1 O1 w2 V. F. F9 q, a
  55. 3 o! z% O4 I) u2 j! ]4 j& A9 Y2 b
  56. On a windows box, also running the MySQL server locally, it would be:. r/ x& J, e' H& D# S
  57. ---example---
    5 O0 @) J3 z" d' p) @4 _0 n% v
  58. [DBEXPRESS]
    + F: h- ^4 V% Y  d# a
  59. sqldir=mysql_sql
    ' N- b4 l) O4 ?7 c2 v* u4 P
  60. Drivername=mysql
    $ Y4 Q4 y5 I4 b) K. i) g+ C* B6 p
  61. Database=test6 j! M3 R, `: G
  62. Hostname=127.0.0.12 ?9 R5 J# |" r% i. J
  63. User_name=testuser
    / d8 y3 w$ m4 j
  64. Password=my_password$ r" M8 v6 q: ?0 Z
  65. GetDriverFunc=getSQLDriverMYSQL8 q% }5 E6 D: g9 Q
  66. VendorLib=libmysql.dll
    & _/ d& X$ C9 f/ u
  67. LibraryName=dbexpmysql.dll
    5 |  ~, y! f6 ?0 [% H% I( l# T
  68. Active=1% |0 d0 f! l/ c" }
  69. ---example----
    " T' y/ `4 ^! a2 w7 h; K% p- w
  70. - written 02.03.04 by pwk.linuxfan; o. }4 q  u6 L" I! I, d( h  K

  71. ' P( A- }$ p$ I3 a+ G9 u! k" G: C8 K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. K% ~+ A4 W# Q4 Y2 [" S4 m
  1. $ W& l! Q6 c3 R2 {* [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + T/ j) l7 b9 n9 z" }, |4 G
  3. 6 L& b  O, y- n6 f6 Y: C- x
  4. # # #我们所需要# # # # H: q: ^; w: i! X; z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ a' N1 ~. ^" ~/ @
  6. 不会解释如何做到这一点-也有文件存在,为
    ( l  R- R/ T  D% b5 u3 p  r6 h. y. y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- ^2 n5 c, L- U, g! I  v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- W% s5 G6 s$ P: L) o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# w& [$ R/ d# r3 _
  10. 本地机器,这是我的MySQL安装。
    1 B0 F- c" [. T% K- W1 `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 ]* y" }" e# S" m9 m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / q2 @! q- r5 X6 S
  13. 数据库。 0 \" V( R; Z4 P8 E& _  J* k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) L; J. k4 v5 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 e. f' E$ T8 y8 k+ L/ H. ^( Q
  16. 在teamspeak论坛,如果你有兴趣。   N) q( F. F: X% F) R: ~. R" C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( c) c) T' m9 f. ^
  18. Borland公司使用。这个司机只能界面与客户端库
    - j0 V! \2 x" j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ [: c* Z4 b* k3 `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( F6 P$ o1 Q  d# Q; _; P8 P
  21. " vendorlib " ,并解数据库连接。 * S% u0 z# }0 \8 L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; S% d/ w) }: h+ A

  23. : X9 P3 n: }. g3 }8 n: a/ \4 [) G
  24. # # #做好工作# # #
    ( ~2 T9 Y1 D2 E2 v/ [; b( m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 a4 b, g( w/ A5 D3 n7 i
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 ]4 w) i* ?( z9 a, G# J+ a
  27. 结束: ! T4 F, A' F5 F  i# ?& `' X. L, K# |' l
  28. ---削减这里---
    $ B" {& ]  q# x  v1 Q; U
  29. [ dbexpress ]
    " c1 c/ Y2 h. a9 J4 o# C  v2 }& d
  30. sqldir = mysql_sql 5 M, D7 a6 I3 F4 _* `6 l3 g
  31. drivername = MySQL中  S( _( A- P, H# w. i3 v
  32. 数据库= your_database_name_here + h0 Y$ X$ _* I/ {: ?
  33. 主机= the_pc_the_mysql - server_is_on   M, P6 X' D. P) |6 T) O# T
  34. user_name = user_name_on_the_mysql服务器
    + o, z7 l0 j0 j: i  g( S* }
  35. 密码= password_to_go_with_above_user_name ! I! U4 e/ Q1 v9 Y
  36. getdriverfunc = getsqldrivermysql / M" M: v( R" t4 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! Q9 l8 ^. Q& O0 C* m7 B" t: R, m
  38. libraryname = path_to_libsqlmy_libary
    # A4 O2 b' y% n' e0 d# B
  39. 积极= 1 - k8 N8 R1 }" Q5 c5 _
  40. ---削减这里---
    : b2 X1 h- c! O  C* c% `2 \% q, p2 n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! n; S/ v  a# K. T& k" \3 |6 g
  42. ---例如--- " V2 Q- C9 D9 @8 V6 O8 |
  43. [ dbexpress ]
    ! u$ n. ^* o+ @0 W6 M; V
  44. sqldir = mysql_sql / U. A, ~4 T. {3 y0 D& A4 F
  45. drivername = MySQL中
    ; v; h* L4 K5 Q- ]1 o
  46. 数据库=测试1 G% k/ y. n; R1 {2 h
  47. 主机=本地主机4 y" A! ]2 Y) C( Y
  48. user_name = testuser 7 D' T8 A# a1 y# y6 V; b  k( ~
  49. 密码= my_password
    3 o8 H' Q, s, ^# M6 Q+ e' ^( B! b
  50. getdriverfunc = getsqldrivermysql
    6 U  v' q5 v5 d. H+ X, F: K+ `1 n& E$ J9 i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' o- H9 a* y8 c6 C& \! ^+ o
  52. libraryname =. / libsqlmy.so
    0 y8 {, i* a& t! z& e
  53. 积极= 1 9 a* E# l$ A) X% p9 p0 K
  54. ---例如--- * W8 F& T+ A( d; P) N

  55. & j& q1 `- w( B. `% j* Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : f5 s; Q5 A! M+ \& Q! \+ }2 H4 D7 z
  57. ---例如--- ; N/ A8 X3 g- D; J; J0 ^  l2 \6 n
  58. [ dbexpress ] 9 N( ]: k, u* a) _
  59. sqldir = mysql_sql   y5 j- g7 X5 J( U8 V( D; n. h; g
  60. drivername = MySQL中6 X% X4 S! f2 s# k$ _! C$ k3 U: n
  61. 数据库=测试5 y; ?; e  t& L5 w9 y
  62. 主机= 127.0.0.1
      @; A) p8 O( o# r/ a' g
  63. user_name = testuser
    9 \! Z. s6 z& h* D$ U8 U1 a  b
  64. 密码= my_password
    2 G6 P" J4 D; G
  65. getdriverfunc = getsqldrivermysql
    5 S2 C, K- D5 \6 l7 c' H* ~* M$ S5 ]
  66. vendorlib = libmysql.dll在
    * D& j  y% Y4 w  E7 n
  67. libraryname = dbexpmysql.dll 5 Z5 d# e8 J: e. J
  68. 积极= 1 0 p' o0 b9 e) p) k1 p: A- o% P
  69. ---例如----
    4 F5 x" J+ U( G( T
  70. -写在0 2.03.04由p wk.linuxfan
    5 K" |; a; ]4 Y4 ~6 B) m/ t
复制代码
发表于 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
/ S* [6 }% {( \2 u+ R! o4 t" ^# Q3 S  Z* F8 V% C$ G
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-12 11:54 , Processed in 0.055283 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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