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

2630 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' }- o0 V+ L  B) H! o- c

- a9 X' b2 W2 \% v7 ?$ W

  1. . o; u- r7 z- k- j) c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' R( i9 p/ ~! M4 C9 J. B
  3. & L( [# L6 n0 ~$ @$ p
  4. ### What we need ###1 L/ ^9 j$ @7 X. H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) {) k' F" `6 f0 I" m
  6. will not explain how this can be done - there are documents out there for the 6 d/ t2 K0 W$ w
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 P9 |' z3 |- @# `- [; Z
  8. and a user account (username + password) that has the permissions to do stuff
    8 |* `$ ?* F+ C* M, z# x7 X
  9. with the database. Additionally, you will need a vendor library installed on the
    1 j+ a7 I$ r$ W) A( t9 F( B- M
  10. local machine, this came with my MySQL install.+ g5 |$ D- n# i0 @/ w
  11. These instructions will not tell you how you might transfer your data from the& v+ d. u! |  [  ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 I, N5 x' n& S9 o0 k
  13. database.. W4 F- l  F' ?7 v0 |# j6 V, H
  14. Some users have reported ways to import a SQLite database into MySQL, but at! }$ p9 Q7 K0 t% B* K% `* w# o- ?
  15. the time of writing, there are still too many issues - check the current status0 e9 C$ [- {* [3 z: n
  16. in the TeamSpeak forums if you are interested.3 v0 T. S* Y+ L& q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  t" K8 C- v  y( q
  18. Borland was used. This driver can only interface with the client library that
    0 F  S$ o1 h& W( o9 ?% H/ r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, g: Z; U: I4 I7 x$ G
  20. client library - basically all you have to do is to use a 3.x client library as 0 T, Y3 ~+ ]! ~5 Z# ]% I
  21. "VendorLib" and a 4.x database to connect to.7 D1 n3 h% q0 n& a2 C
  22. If you need more info about dbExpress, you can contact Borland.  X' y$ ], M0 ]* X7 R
  23. ; m+ @& v: e# J+ y# E
  24. ### Doing the work ###
    4 h$ d* q- C1 C5 H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ F% C: A) w7 C+ s) a) p2 W
  26. the perquisites right, just open your server.ini file, and add this section at
    1 ~3 v  |. v5 r6 H
  27. the end:
    2 C6 X/ a$ t% X
  28. ---cut here---( F1 u1 _2 |# q' f8 g6 X+ @. c
  29. [DBEXPRESS]
    8 Q# O1 y  ~: e5 T2 I/ _4 O! }! z
  30. sqldir=mysql_sql/ Q9 A! e/ {2 o+ n1 G" _' B0 ]
  31. Drivername=mysql- I# Y: W& {. J7 r5 ], f
  32. Database=Your_Database_Name_Here, T( H: @1 |! G0 N' E5 c6 ]! s$ \1 Q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , c9 O3 c0 J) w8 s" l6 X+ `
  34. User_name=User_name_on_the_MySQL-Server2 L( T5 p* w5 X, ^1 r: A9 f
  35. Password=Password_to_go_with_above_user_name
    ' R0 t+ i( f! {& ?  I- f  P0 m
  36. GetDriverFunc=getSQLDriverMYSQL
    ( T8 S$ e& P6 x0 R4 d8 C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - q) G8 P. S$ g: F) d
  38. LibraryName=path_to_libsqlmy_libary
    , s, h6 |4 e. P" Z$ |7 K3 q2 k/ D% _
  39. Active=18 K, [$ i' g  X# g; L
  40. ---cut here---
    $ e6 c; v8 e) s5 j
  41. In my environment (a linux box with a MySQL server running locally) I have:  E+ x( D' h3 @. v5 d
  42. ---example---
    " C$ e( K( Z  R6 I
  43. [DBEXPRESS]
    8 J$ g9 Q8 I! U  O$ y' O. R' U
  44. sqldir=mysql_sql, x5 R6 L2 F- v9 o% T: r
  45. Drivername=mysql$ {! b8 ]! O2 E: N
  46. Database=test( Y% I; D7 L1 a2 t$ v
  47. Hostname=localhost3 v; V. O6 F3 _0 o% ~- K7 f
  48. User_name=testuser2 S& @! V6 I/ _0 l) D7 \# P' M8 q  b
  49. Password=my_password
    % x% |0 ^% j5 y2 G% r" f
  50. GetDriverFunc=getSQLDriverMYSQL
    $ ~" B  r6 `9 `& p1 I9 M3 d- M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 ?/ k; {  `& e; z. ?4 v
  52. LibraryName=./libsqlmy.so
    2 J* \3 M2 J; c" ]0 u) |
  53. Active=1
    ( b! D# c+ u7 X. ]# @
  54. ---example---
    ( @; l5 J" c/ W7 X, m& v. B
  55.   O* R6 u! I- E! y# `
  56. On a windows box, also running the MySQL server locally, it would be:' d5 T. r5 x/ T3 h
  57. ---example---
    6 q$ s2 D$ ~3 ^* `% Q
  58. [DBEXPRESS]
    # c0 W5 ]( [+ S
  59. sqldir=mysql_sql3 }- \0 b# O( S2 a, B( u
  60. Drivername=mysql
    " j. [6 D# B" w1 O0 v
  61. Database=test
    ) {  E: Y+ i+ f( T; B1 C9 C
  62. Hostname=127.0.0.1( L4 O" d- y3 Z& [7 S& T
  63. User_name=testuser$ \+ \& }! v& `% j6 b  R
  64. Password=my_password
    + {3 h2 j/ o3 }( G  G
  65. GetDriverFunc=getSQLDriverMYSQL$ q; X2 k6 e5 o! {' c+ f6 J
  66. VendorLib=libmysql.dll5 Y, ]; E: S0 K  e9 }, m) ^
  67. LibraryName=dbexpmysql.dll
    ; Q( i2 s8 E/ V$ }0 [* Y
  68. Active=1
    # C8 P1 T4 ?, b. Q( G/ `# m/ g
  69. ---example----- X& R& `2 `9 \8 W5 g
  70. - written 02.03.04 by pwk.linuxfan1 X5 X1 p( s  \1 T+ E* `1 q5 H' M
  71. 4 h, C, _. ^! s' c0 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# L$ z* m0 l8 A: f

  1. 1 y! a& [5 G% \' I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 Q& ^( T7 j. y; B
  3. 8 u; G; S9 Z& m! l
  4. # # #我们所需要# # #
    ; r, v+ ]8 K7 z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  K* J0 Z7 A) R! c! Z8 r2 a) V
  6. 不会解释如何做到这一点-也有文件存在,为) m* I: J9 v( b, S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ T% [( }* h) [2 V/ _: o  C" ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, p3 c- ^7 b. |8 l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 ^0 Q9 ?2 {, E
  10. 本地机器,这是我的MySQL安装。
    % x% V. z2 s6 S% |* q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # o5 |) N, n7 _( y/ }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 L0 P& }8 n6 P- F, |8 Z1 p$ y
  13. 数据库。
    ; Y0 I. Q# A# `2 @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% n4 ^0 ]; p3 y1 G) S
  15. 编写本报告的时候,仍然有太多的问题-检查现状; [2 t. K6 p3 {/ @1 V7 L
  16. 在teamspeak论坛,如果你有兴趣。
    , Y- H6 P. e7 ^1 s# |% b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / f" f3 n" D5 \! S" d) u
  18. Borland公司使用。这个司机只能界面与客户端库
    * ~; d! A! ^" c7 l5 _) n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ @3 w3 \  _$ L: R5 i8 [9 g! f! ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ R9 M6 @( D8 I8 T& l! Q
  21. " vendorlib " ,并解数据库连接。 7 {) b. v% H( c6 s- V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # m6 E: H1 L  _- i* g! n

  23. " {$ S0 _" ?; |3 t8 ]7 E
  24. # # #做好工作# # # 8 v5 H; Z! `9 c+ }" `- A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- P) y, o$ S2 B: {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# R3 K+ B; @' c) e# n2 G; U
  27. 结束: # X% v0 o" e6 ?( t
  28. ---削减这里---
    ! f. y9 F$ a9 t( c3 Z
  29. [ dbexpress ] * [: b4 Z, N: E. f
  30. sqldir = mysql_sql / ?- q3 ~( Q0 c! z/ d
  31. drivername = MySQL中" p  |- Z2 U2 z
  32. 数据库= your_database_name_here
    ; Q8 f4 r: e2 ]
  33. 主机= the_pc_the_mysql - server_is_on
    8 F: K! I. n8 ~! N2 ~
  34. user_name = user_name_on_the_mysql服务器2 @  o+ ^( ?# j7 i) \% i
  35. 密码= password_to_go_with_above_user_name + q* K' Q$ Y# s* b
  36. getdriverfunc = getsqldrivermysql 6 @' ?7 t" e- M( R. F0 p- W1 ^! y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : H1 L: ?* }4 U8 O' D0 J
  38. libraryname = path_to_libsqlmy_libary
    ( b: G# G5 H! G* K8 L
  39. 积极= 1
    4 d# m7 P. G* v
  40. ---削减这里--- - m* f0 Y, q3 {4 o0 x6 a! t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : U, t( y  p; {9 w
  42. ---例如---
    . J: d( I/ N  m0 E( p4 e
  43. [ dbexpress ]
    7 x$ @4 d$ \. E' l
  44. sqldir = mysql_sql
    - Q4 S# ~; l0 G. `
  45. drivername = MySQL中+ Q, a2 X4 h3 d3 ~6 F4 K% d
  46. 数据库=测试4 |( A- Y6 p6 b* J& W
  47. 主机=本地主机
    ' \2 w$ ~6 l2 O/ V
  48. user_name = testuser
    * S: Y. ]% A+ f. Q3 j, ~1 }
  49. 密码= my_password
    % [/ m  w% H8 i8 z' ~0 ]! Q/ w
  50. getdriverfunc = getsqldrivermysql
    & W; a* k2 A, N3 e. S- ]' L. Z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 T$ T: I) V$ ~# _9 p
  52. libraryname =. / libsqlmy.so
    0 b- y! k* ]# a! p+ L( G- @
  53. 积极= 1 - Q7 c7 S4 F4 V. y0 G" N4 W
  54. ---例如--- : ?# s: i7 t0 E' m
  55. + l" f- k8 D" U3 h% q+ }6 k  a) @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * [/ F7 h4 b# U1 V8 I" y
  57. ---例如---
    # _6 \, p( ]2 F+ O6 [
  58. [ dbexpress ] 6 u, |7 i- a* ^' S9 s
  59. sqldir = mysql_sql
    , ~& B5 N  U' a- g7 c6 r: {
  60. drivername = MySQL中
    ( b; R$ T* P9 t5 H  F
  61. 数据库=测试7 n/ f" n4 |- \8 V
  62. 主机= 127.0.0.1
    ; N# ^6 S* O( b( k* c0 @
  63. user_name = testuser
    % U( ?# |/ h) U! }$ |
  64. 密码= my_password
    ( z4 N4 B' ~7 F* f- m: h
  65. getdriverfunc = getsqldrivermysql
      A' Q4 i6 I' f9 }$ Z) l. w
  66. vendorlib = libmysql.dll在6 S7 `; ]% a4 [) ]3 ]0 j3 ~
  67. libraryname = dbexpmysql.dll
    ' R5 z" m' r* \/ ?; F
  68. 积极= 1 + |( I8 h' G' j, f6 f) f9 P
  69. ---例如---- 3 j$ W% b  {: B/ R1 P$ T
  70. -写在0 2.03.04由p wk.linuxfan
    5 |# c3 h4 i- n% S6 |2 L: C' G: [
复制代码
发表于 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( N- N) @( y6 Q4 O
& [; n# B: g$ G8 {! t' \5 q
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-17 09:01 , Processed in 0.103148 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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