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

2206 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 ?, @! h. Q" t! V' h# z+ h8 A" [8 n8 e* O) G, u0 ]

  1. % P  A- r0 z% S+ a# H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ d  x% g/ w# D+ v1 a2 g- W( }
  3. * P" \9 ]& s+ I& x0 ?5 ~. n& \
  4. ### What we need ###
    0 j0 }$ _; l1 C+ F
  5. Naturally, we will need a MySQL server to store the data for us, this document
      k2 {- k2 |  t% t- a
  6. will not explain how this can be done - there are documents out there for the 1 ^2 @& i: g& c5 v' g' h- y' k( G) r
  7. interested. The requirements include a (empty) database for TeamSpeak to use* ?% x7 p; W) x+ Q# ]! m
  8. and a user account (username + password) that has the permissions to do stuff
    , E9 M  [4 e( S" I; t; m
  9. with the database. Additionally, you will need a vendor library installed on the5 D% V  a+ u2 c0 H# J. |0 V1 ]+ \( k
  10. local machine, this came with my MySQL install.' c4 N( w: v3 I3 S4 T# T
  11. These instructions will not tell you how you might transfer your data from the
    ; k" m) @0 \. E: w7 R8 F: K% h
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 S, A/ R6 H3 v& K8 Q& @* m# K; x
  13. database.' I6 s2 q7 D, c$ @3 X' w& c# d9 x
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    2 O3 B" {! l! b  f  B3 M' Y
  15. the time of writing, there are still too many issues - check the current status) ^4 N# l8 r' W5 t% f
  16. in the TeamSpeak forums if you are interested.
    ) ^' y) u' p0 L5 R9 E5 b& G  x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 u$ p: E; O# e7 g- ~! i* z! j
  18. Borland was used. This driver can only interface with the client library that   f0 s9 i& n* Q/ O, L% n# |& R' a! t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # [) n1 |# b( w* T. Z% O& s9 `1 `
  20. client library - basically all you have to do is to use a 3.x client library as
    ( m$ m( j5 y& J% u7 F4 ?0 B) Q
  21. "VendorLib" and a 4.x database to connect to.+ T8 R+ G; L& V" \# [) V. v4 P
  22. If you need more info about dbExpress, you can contact Borland.
    5 k% ^' N) z5 b, ^

  23.   {+ q, u$ n, t
  24. ### Doing the work ###
    2 O# g) I1 Q. Y. C4 n: M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 i8 I9 M/ e) N0 Q! I  I
  26. the perquisites right, just open your server.ini file, and add this section at
    % x5 p9 o+ O3 L& s! I  u* V
  27. the end:
    7 K2 k) G& \& G
  28. ---cut here---
    , ^* m; S3 Y. m, ]
  29. [DBEXPRESS]
    8 e- L8 v/ j! T) i) m1 H  H6 h1 H# q
  30. sqldir=mysql_sql9 a; H  w: C5 w$ T
  31. Drivername=mysql
    . h* L/ {1 n/ H# g2 j
  32. Database=Your_Database_Name_Here
    ( ~1 K' C' M) E4 h+ S- f
  33. Hostname=The_PC_the_MySQL-Server_is_on: j' ?- i. |. m; {) C7 n" L, n
  34. User_name=User_name_on_the_MySQL-Server7 Y4 q# h2 O$ J6 l
  35. Password=Password_to_go_with_above_user_name
    / H$ R3 E: z; v# M6 e
  36. GetDriverFunc=getSQLDriverMYSQL
    * v; d2 t$ w4 W  j# z: c  A" e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' P" F) M! _  ]" X+ w
  38. LibraryName=path_to_libsqlmy_libary, i( }# w* i+ |1 c" |; V9 j
  39. Active=1: d1 D8 B9 S) f  w8 R7 y3 M
  40. ---cut here---5 I" m  c- R% ?4 t( i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 M# R& H" \/ @0 F+ `$ D
  42. ---example---
    3 U9 G( E8 b' a
  43. [DBEXPRESS]1 v! z! s8 R. B* Z  {2 B  h1 I
  44. sqldir=mysql_sql+ U! V7 C' }8 m" m7 j
  45. Drivername=mysql2 n3 g  u0 |: S3 l* C* r
  46. Database=test1 t' F! j- S; [: W. r7 s; w
  47. Hostname=localhost, O$ p% b. r/ @9 ~5 J8 `. q$ I6 l
  48. User_name=testuser1 j$ R4 E/ O0 u5 d6 a& s
  49. Password=my_password
    % C' w" |) x) U/ N3 G; X' V
  50. GetDriverFunc=getSQLDriverMYSQL
    / f: L* s# ^$ s7 G; V6 o- y' d+ v8 S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " b+ q' V2 Q: }8 M" [' |
  52. LibraryName=./libsqlmy.so7 O. f6 e( I  p  }! G$ s  g
  53. Active=1
    : |% Y3 v$ Z8 [5 P' v/ }
  54. ---example---
    # `% L7 W4 O" O; U
  55. 7 F1 j) T! Z. m. [) u7 K* x. a
  56. On a windows box, also running the MySQL server locally, it would be:
    & _, ?. p6 n0 {1 @
  57. ---example---, t& S; \/ B3 D1 D; F3 t
  58. [DBEXPRESS]( I! t+ [- ]8 D" y! g1 ]4 P2 t& _
  59. sqldir=mysql_sql; W) l% J- M! C! D
  60. Drivername=mysql* p  z- v8 K$ M7 Z
  61. Database=test! u6 E  [# M" e* ~# D' \' @
  62. Hostname=127.0.0.1# N$ T1 v* A& J$ S( A0 F# a
  63. User_name=testuser- w4 h7 s- g' y' o  E9 f
  64. Password=my_password3 r  V+ Y+ B5 `' Y
  65. GetDriverFunc=getSQLDriverMYSQL
    : L/ P" z, d5 L' ~9 }* s
  66. VendorLib=libmysql.dll
    - O/ ^2 m0 T3 O& i# P
  67. LibraryName=dbexpmysql.dll
    9 X0 O! V" c3 s: E2 S- W
  68. Active=1
    ! w" y% {5 H5 `) ]+ h$ m, y
  69. ---example----5 G" T; b' J; n1 L3 t8 z5 r4 R
  70. - written 02.03.04 by pwk.linuxfan
    ; R5 g. y9 [: ~. ~1 U/ G3 Y* N

  71. 5 A# `$ F7 c1 e4 ~' G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, |+ }# ~2 r* G, |) B

  1. * C$ t) O0 U8 z8 P2 s- @6 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! V  e! u! l) Y" ?- j3 G

  3. ' G# `" K# O: ]4 M6 `* {# j
  4. # # #我们所需要# # #
    9 @* s8 L7 U: h8 m& y8 j" I; U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " ~. C; R7 ^9 R6 S% V1 C
  6. 不会解释如何做到这一点-也有文件存在,为  m6 |" j# e/ \- H8 T" C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; s. G1 g4 \( E( {# X7 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 x) S* f5 B" s. z# W1 ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 b3 v% H8 D6 S1 M9 p
  10. 本地机器,这是我的MySQL安装。 ) U* \$ n& U# h8 U( h& v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 _2 |  _1 t9 O& K. F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 z2 w/ x( E- S( e- x4 |
  13. 数据库。 ; O" T+ K, o# G! R
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- s0 j! ^# r. i
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 Y, Y' M- O% B. o
  16. 在teamspeak论坛,如果你有兴趣。 ' G6 Z7 _/ x3 ]/ E, O6 M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . g# d  Q$ a$ t
  18. Borland公司使用。这个司机只能界面与客户端库
    5 a+ b2 b4 n; \% U( V2 i6 t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! ^& R' b3 O$ j1 `4 E
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ T$ ^0 n0 g' S) P
  21. " vendorlib " ,并解数据库连接。 ( R# J: j  W& H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 N5 ~. K& R# U! i1 P/ c( Q* D6 A0 O

  23. : `0 u# ~6 l8 q" m5 ^7 N/ X
  24. # # #做好工作# # #
    & z2 s; R6 }" X2 q; ~3 Q; o( g) }( A) ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% i" ]' g4 p. j$ y! T+ P( Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' ^% G/ C% x/ ~6 J
  27. 结束:
    9 d' c# @8 i+ C' z, G% r
  28. ---削减这里---
    ; D" p! v) y9 Y
  29. [ dbexpress ]
    ) d, z1 T# F0 \
  30. sqldir = mysql_sql / j. z4 g$ i: j. K& }2 C
  31. drivername = MySQL中) |; {6 r- q! Y% T) D! i
  32. 数据库= your_database_name_here
    , ?4 r% l8 o' g+ b! J$ ~  F
  33. 主机= the_pc_the_mysql - server_is_on # b$ V0 y# x/ V* J
  34. user_name = user_name_on_the_mysql服务器, O8 p/ j: z$ s+ U
  35. 密码= password_to_go_with_above_user_name % H* i* T. D5 x* {$ s% P
  36. getdriverfunc = getsqldrivermysql
    4 q2 N5 ?9 h: B& S
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; f+ J( g0 z1 y& G$ W9 H5 V; m" z
  38. libraryname = path_to_libsqlmy_libary ( S3 T& Y9 p5 O3 |
  39. 积极= 1 / a: e! k- ?  @% ?, C/ ]& w
  40. ---削减这里--- 4 b& M; e- }+ I: v- G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 W5 D6 {( L# h
  42. ---例如---
    9 m- \; j+ W1 y1 ^
  43. [ dbexpress ] : ^, ~$ [! G! C' h2 D% b
  44. sqldir = mysql_sql ! w* x+ I5 W6 K( J3 z- y/ ?0 z
  45. drivername = MySQL中
    : F8 B' V. o7 y" s1 F: r2 [1 k( y
  46. 数据库=测试# R1 \! M9 u  T# g7 e
  47. 主机=本地主机
    ; v% j( r& v' b: [' h  j- @6 f
  48. user_name = testuser , F% @2 [5 z8 \6 M0 l) B. _( G3 G
  49. 密码= my_password
    * |  i/ M1 j6 n( ]+ C0 e, z) \
  50. getdriverfunc = getsqldrivermysql ; W5 J1 A- y- R, \3 p1 k" g- _* u8 h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 Y2 m2 F6 J+ }3 \( x; x
  52. libraryname =. / libsqlmy.so 0 Q6 q1 t2 G: }
  53. 积极= 1 % A2 R( L. k; O$ r
  54. ---例如---
    7 G% r& G- k1 y( v' o$ j9 D5 ?! c2 R3 P

  55. 2 y! k$ s1 s5 h1 }6 Q. p
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 A& b. T; s' i3 A1 A
  57. ---例如--- & @9 G& J. W2 ]% J1 B% X
  58. [ dbexpress ] ) C+ \, k% g' Z8 m; a( v
  59. sqldir = mysql_sql
    5 M$ n# k* \4 M6 r# K9 e
  60. drivername = MySQL中) `( l5 A$ N* a* F6 X
  61. 数据库=测试
    5 U" \# \0 ]' t% g" _, T
  62. 主机= 127.0.0.1
    ) ?2 Q8 t4 F% m6 ?% J( Y3 K: c
  63. user_name = testuser
    3 |/ F* w% f  U+ J( M2 V
  64. 密码= my_password
    6 l5 Z3 H% g! R3 m* }
  65. getdriverfunc = getsqldrivermysql
    : o/ e. G: z6 I
  66. vendorlib = libmysql.dll在! G" @, r. u* J0 E+ z
  67. libraryname = dbexpmysql.dll
    # ^4 e5 {. X" @/ z& |* C' v
  68. 积极= 1
    0 ?# C, S8 T3 g1 D: }& d
  69. ---例如---- : _/ r' X8 V( w$ t
  70. -写在0 2.03.04由p wk.linuxfan
    / a# @9 R, ?% H/ l" q8 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
# K1 L2 \, D* _, S( X, m, @& N1 a, N/ e( O5 ?/ F, }
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-19 05:04 , Processed in 0.104043 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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