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

2400 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# x$ J$ K4 w. l: i- l& F; {
/ [# O( T5 F# T
  1. 2 I/ n! F8 W7 _  P3 N- C0 E' f6 {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ p) B, V' V' R$ J8 D( U$ o( m
  3. 7 e" O( A" `! n' C( y) [
  4. ### What we need ###
    # v+ e+ [2 K9 ], I4 v5 D4 D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! p$ M! v  H2 b' |  W! |
  6. will not explain how this can be done - there are documents out there for the + Z7 d1 M8 S% p# ~; U
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 J) s: I$ A$ e! N  q
  8. and a user account (username + password) that has the permissions to do stuff. ^+ G# z4 ^6 X8 t( l
  9. with the database. Additionally, you will need a vendor library installed on the
    ( p$ b4 G0 U# S% G2 [9 Y
  10. local machine, this came with my MySQL install.
    1 \. c  D1 S/ B' A) k* f# K
  11. These instructions will not tell you how you might transfer your data from the
    0 N, s4 f' x9 d; w+ X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' {7 i9 Z# z1 M
  13. database.& s* m' R) D5 K/ I. ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + P9 \% `5 C7 Y3 A& K
  15. the time of writing, there are still too many issues - check the current status4 f- m+ y+ V4 f2 }6 P% i8 Q
  16. in the TeamSpeak forums if you are interested.
      ]# ^6 h; ~! m5 D' M! R% T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % w1 N1 G& _  D5 L6 L
  18. Borland was used. This driver can only interface with the client library that 9 \1 V" A; u5 U( c5 c: D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + o6 y+ A1 n& d  G" j# ], Y. ?
  20. client library - basically all you have to do is to use a 3.x client library as
    ) c5 R. J6 |  C* z) H4 r% |+ C
  21. "VendorLib" and a 4.x database to connect to., {9 c, [" l* M0 `4 t0 i
  22. If you need more info about dbExpress, you can contact Borland.
    : N5 M* \* b, Y4 }, `) O
  23. 2 n8 G7 v8 p+ F' G0 l) L
  24. ### Doing the work ###' V6 X) i3 ]4 N5 c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 j' w' [, Q* ?; S% M8 H
  26. the perquisites right, just open your server.ini file, and add this section at1 M/ O7 _( Y6 l" {% ^& e: g
  27. the end:! Z# H$ q5 ]# a( N8 \' m
  28. ---cut here---# p9 E( g/ O2 t, o+ x; Y& e1 i
  29. [DBEXPRESS]- z2 w! K2 J# Z3 F
  30. sqldir=mysql_sql
    3 r/ r  T+ A. A9 V% M' ^7 X
  31. Drivername=mysql, h" d6 ?& r$ ^0 u, o* `  q
  32. Database=Your_Database_Name_Here4 N9 V7 X- O6 _
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - W0 b% G3 \+ w
  34. User_name=User_name_on_the_MySQL-Server
    % H# \3 P0 J  _5 l+ v! [
  35. Password=Password_to_go_with_above_user_name! m& j  H6 |+ {/ U. ^) y" L5 ]% ^; e
  36. GetDriverFunc=getSQLDriverMYSQL
    , w5 A5 Z6 S' K, g0 T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , Y7 U4 e/ m3 ]
  38. LibraryName=path_to_libsqlmy_libary8 b3 h& K' J$ r( j+ |9 k. D/ B
  39. Active=1, d& G4 ?: ~( N2 q; C" T
  40. ---cut here---
    3 ~0 U3 Z# T4 D4 p- J3 L
  41. In my environment (a linux box with a MySQL server running locally) I have:* e& U9 D, H" Y0 e& j& |; n
  42. ---example---
    1 b5 d* G, ]. C/ z. k8 }$ J8 N! n
  43. [DBEXPRESS]- _" q$ R( u8 i% Z4 ]+ `+ q
  44. sqldir=mysql_sql
    + }+ k, D% |1 R8 z: r; l7 D
  45. Drivername=mysql
      L8 h5 i4 d  I* O& `8 V4 ~
  46. Database=test5 G0 x6 k1 `) @! Q- ~- A  `
  47. Hostname=localhost3 i" e1 z" R7 d# G; ?7 g  \  |
  48. User_name=testuser
    3 H9 \" a* b4 R7 Q) z% i& S7 A$ K" V6 D
  49. Password=my_password
    . _) x& M( {# L
  50. GetDriverFunc=getSQLDriverMYSQL
    $ C" u& h- l* X" q" ]% p' e) ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 F& M" e6 w4 P; M1 f
  52. LibraryName=./libsqlmy.so, R$ c6 W( ]; K9 _
  53. Active=1% ~6 l4 L. n/ ?# A& t6 [7 |
  54. ---example---: i$ Z+ A# r! W
  55. $ c( g# @4 r% e. B, g& p
  56. On a windows box, also running the MySQL server locally, it would be:
    , N1 p& p/ t" Y- C
  57. ---example---6 i& L. q( m3 m4 M! s6 P* t# e
  58. [DBEXPRESS]
    " h% z" M( i  f: A/ f5 B# F6 d1 N! Y
  59. sqldir=mysql_sql' l" d2 a1 ]& u% I/ L5 B
  60. Drivername=mysql, R) L; H' J! q6 b7 s5 H8 x
  61. Database=test9 t* a: d$ o) b! S/ ~, v* ]
  62. Hostname=127.0.0.1
    4 E# z, ~5 m* z+ ?
  63. User_name=testuser
      M) _1 {( |0 T% `/ g" [  m
  64. Password=my_password% u2 L& A. s  y, f
  65. GetDriverFunc=getSQLDriverMYSQL0 H8 A# g! K  e
  66. VendorLib=libmysql.dll6 T  `4 a9 D4 `2 n" O/ z5 t
  67. LibraryName=dbexpmysql.dll+ I) A9 W) S+ K: \  }' e
  68. Active=1
    ( e! x7 w0 h( G; U; `0 a) m6 A
  69. ---example----  c! ^! {% W. E# O1 ^; o; d  p4 k
  70. - written 02.03.04 by pwk.linuxfan" }5 D/ ^) D) f4 w& _8 {! `9 n" d  u
  71. # K+ @& y2 A8 M! t
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 W2 ~! M1 @& C8 P' y7 ~

  1. % _$ A+ [; h6 s& @. |$ `/ u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 y+ ]1 g. C( v: ^4 J' r. G9 L0 j, e

  3. 3 y0 |3 t, e! E! Q
  4. # # #我们所需要# # #
    ! a% K& _0 z4 T' _1 u2 x: o  M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 `9 x3 l% {1 `0 Y' l' |% }
  6. 不会解释如何做到这一点-也有文件存在,为
    # l8 r0 \* J, B1 C" l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( v+ |0 J$ r1 w+ ~) h& s3 g5 `5 z$ S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- ^$ I; n5 W# R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 I' V! w/ R' W! Y. @( H
  10. 本地机器,这是我的MySQL安装。 # l" A4 d' x! W3 F, t8 X4 h3 ]  \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 w( L7 w/ N) D, B  z, }$ {' P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! O% ^# p# [7 }$ H
  13. 数据库。 1 p% ?# h% _7 A9 `$ L' e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: R' o" k/ Z. V8 b% {. n7 L  _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 W. n7 Q4 H2 J
  16. 在teamspeak论坛,如果你有兴趣。 2 Z* l6 k8 j/ x& @5 ^  Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' I/ ~% t7 T. a5 W
  18. Borland公司使用。这个司机只能界面与客户端库, d" H. W) W8 p' F, Q; H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 q/ D0 A; z2 b: @/ e5 c5 n, A) o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : V" G. o/ f2 p8 c' {
  21. " vendorlib " ,并解数据库连接。 " n5 P) {6 }) L1 ~. r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' N* ?  a0 P3 N$ \4 I/ M" ~; S
  23. 5 s, T# ^3 w& |4 W
  24. # # #做好工作# # #
    4 R7 G1 n1 t7 ]& ]% N4 s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # J3 F0 Y2 L9 \4 p! m) n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 f7 F7 z/ W- d7 |$ s! }0 R
  27. 结束:
    0 z# s# Z. q- j* |# x1 E" n3 H9 }
  28. ---削减这里---
    9 p, W0 s3 H$ P: I  S. Y
  29. [ dbexpress ]
    - }8 a1 r  l/ O+ C: i* e0 H
  30. sqldir = mysql_sql ! I( n& U! \+ m! }- }4 B, a) R3 y
  31. drivername = MySQL中
    ! {9 Q, X  R) e1 [4 A- S
  32. 数据库= your_database_name_here 7 G* Z5 v4 {. D3 w, l$ Q
  33. 主机= the_pc_the_mysql - server_is_on
    " M6 I" U* q8 P: [& s3 @+ U
  34. user_name = user_name_on_the_mysql服务器
    - ^( ?+ D5 S. g; R9 ]) H- t
  35. 密码= password_to_go_with_above_user_name
    ; p6 K4 O+ J& O
  36. getdriverfunc = getsqldrivermysql
    % W/ h  A" x% i1 ~0 y* O- e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . Q0 q' [5 f  w6 g$ c
  38. libraryname = path_to_libsqlmy_libary ! B; _8 _  S+ [5 p1 z. ~1 \9 C5 {
  39. 积极= 1
    0 B6 y1 H4 `+ q& d, [; H
  40. ---削减这里---
    3 ?0 T3 m( ~2 W0 _. ^1 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 k6 o5 |2 p# X) E% P
  42. ---例如---
    $ `; H" m' x2 p
  43. [ dbexpress ] 3 g3 \4 Y5 N+ j2 ^
  44. sqldir = mysql_sql / T6 y4 M& P9 t, F* N- P( s3 q
  45. drivername = MySQL中
    9 ~- J; ~8 a( V' H5 O4 F8 ?
  46. 数据库=测试6 @. a2 D' J+ a3 z+ k1 V( ^
  47. 主机=本地主机
    5 t+ v, E; f  K
  48. user_name = testuser   d& j9 {$ |% Q* f6 a& ~, g
  49. 密码= my_password
    + u( {* _; [9 R
  50. getdriverfunc = getsqldrivermysql
    - N  C4 q% O- @9 d& u% w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   j. t0 ]4 k; h- X, \- C! L
  52. libraryname =. / libsqlmy.so
    : Y; I2 }$ u# P
  53. 积极= 1
    # f5 H4 F+ @2 e: ]3 Z. c% j$ Z
  54. ---例如--- $ u! J3 _& B! d* ^2 h( h
  55. # {+ K4 [" t" m: H! _. N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   W& c, G; L: g3 d. x2 l
  57. ---例如---
    : D8 m5 p9 O" r( d# f$ C- ^
  58. [ dbexpress ]
    / f* V" Z4 n% h0 w, R$ Y" S4 B
  59. sqldir = mysql_sql 4 H6 g- }/ E2 C; m2 f0 t3 K8 H
  60. drivername = MySQL中
    9 v3 F% U4 u6 {2 i7 G
  61. 数据库=测试$ c4 c, z# S1 [, [, f
  62. 主机= 127.0.0.1
    $ J% }& f8 |! e
  63. user_name = testuser
    . `6 ^2 Y* b5 }1 E( D
  64. 密码= my_password
    3 H* g( x# r1 ]# P! V
  65. getdriverfunc = getsqldrivermysql " J( ^, Q$ ~) S
  66. vendorlib = libmysql.dll在
    8 U/ r8 M& Z. U- ^+ A# A- F
  67. libraryname = dbexpmysql.dll 2 d4 z2 j( V$ t! X: J" B
  68. 积极= 1
    1 l0 F. a" {+ l2 Q' R
  69. ---例如----
    7 a/ T" I) [* z9 i( ^* g
  70. -写在0 2.03.04由p wk.linuxfan2 @" I' q" _. e# @6 S% D
复制代码
发表于 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$ X% H, g  j0 N6 |

9 E' n* a* P& t8 i% ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-22 14:11 , Processed in 0.111219 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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