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

2284 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ P! u/ [1 P& y# ~9 M" u$ {
9 C% j, K: e9 J

  1. . x$ y/ d! K; Q- z. W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 k  Q: n/ G( D1 f, p* t# o

  3. + R# `( \! C& `2 K% j4 w' x; }6 t" c
  4. ### What we need ###
    ( ~2 |7 b, U8 k4 d( Z
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 H3 L- k6 R+ J; g
  6. will not explain how this can be done - there are documents out there for the 4 c! k' H2 N  z4 C- c- m) d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 v7 V: W+ u; u0 ]! g; Q; T! B/ j  m7 _, i
  8. and a user account (username + password) that has the permissions to do stuff
    % Y$ P2 M$ c. y2 {8 ^
  9. with the database. Additionally, you will need a vendor library installed on the
    8 `; {9 D( C8 }+ M+ S2 L3 o" j
  10. local machine, this came with my MySQL install.& y6 Z2 z. q/ K1 {0 Y5 e8 }' |, d
  11. These instructions will not tell you how you might transfer your data from the/ |& K" z; \0 l0 b$ R3 K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 c7 p/ O2 N9 _6 V) I5 Q0 k) o
  13. database.: s: W- K  d4 f: W% |$ X8 i/ r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 N) i$ w3 Z1 I
  15. the time of writing, there are still too many issues - check the current status  U( M; i+ n; ]6 |/ `
  16. in the TeamSpeak forums if you are interested.* `& d2 \6 R- q$ _7 Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % n, E' j4 |6 Q
  18. Borland was used. This driver can only interface with the client library that 7 z. o$ Z* {! I# G! _0 G6 c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* s. c% H* H. c
  20. client library - basically all you have to do is to use a 3.x client library as
    # O% \/ X4 B7 s: A9 q2 Q/ s9 a
  21. "VendorLib" and a 4.x database to connect to.9 }3 ]8 a$ d3 T3 B, Z9 Y
  22. If you need more info about dbExpress, you can contact Borland.0 C6 Q: g; _2 i6 Q/ Y

  23. ! t2 _7 T" ^7 T
  24. ### Doing the work ###
    6 S1 O% s4 b/ o0 N1 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 m' i! I( v/ v4 t! K
  26. the perquisites right, just open your server.ini file, and add this section at( C& b+ |* V) S4 ^5 i0 ~1 C; {
  27. the end:" Y0 W! ~& K% c# e6 U4 ?2 N
  28. ---cut here---' ?6 O2 O1 A* Z- X, C$ i) ], N
  29. [DBEXPRESS]* {6 ~% _" E0 V% \$ c
  30. sqldir=mysql_sql
    * Q- M) @; k# X
  31. Drivername=mysql
    - u9 y8 x$ f: S$ _6 n- X
  32. Database=Your_Database_Name_Here; T7 T" Z. n$ c% {
  33. Hostname=The_PC_the_MySQL-Server_is_on1 ]4 Y) M  E5 Q4 M, o' A$ w
  34. User_name=User_name_on_the_MySQL-Server8 j. g) X3 j- t1 s& D8 t: I% u
  35. Password=Password_to_go_with_above_user_name
    * P! z, h( p, c9 v' a; x  p2 p
  36. GetDriverFunc=getSQLDriverMYSQL
    " o& g% \6 k+ `; A# a; F" L; ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' x! K9 l. M( k  N) |
  38. LibraryName=path_to_libsqlmy_libary
    0 M+ ]1 {. X; S: R' O, f
  39. Active=1
    , k% Z7 I+ f" [/ Z$ R% n. \
  40. ---cut here---6 n0 [) u% _( d  F5 r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % N5 S2 r# F" u3 J$ M) t
  42. ---example---
    $ E5 Y7 p- `/ O% @4 G, m+ Y
  43. [DBEXPRESS]
    ; Y9 q3 S" e# u2 b2 d) k3 b# S
  44. sqldir=mysql_sql7 Z( c* `; ]% Y) f2 K( H
  45. Drivername=mysql8 w$ v2 }! f7 V& @/ C
  46. Database=test: r3 t! \7 t5 e% \0 K! C
  47. Hostname=localhost2 u1 g9 z4 h/ X- z8 ]
  48. User_name=testuser' `* h, V- ^2 p) C% `
  49. Password=my_password
    6 _$ d( _. i  A" o& k
  50. GetDriverFunc=getSQLDriverMYSQL- s6 `& b  L6 w7 ^3 _: q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 h4 a4 ?; k: p! n3 }$ T4 j
  52. LibraryName=./libsqlmy.so1 N( x( {+ G; U) o
  53. Active=1- b3 B6 k7 W: v$ F
  54. ---example---
    % T" V* z* l5 `, f
  55. * [. q9 W8 k2 }! z2 _% Q
  56. On a windows box, also running the MySQL server locally, it would be:" F7 S$ ~/ i0 P6 r
  57. ---example---$ m, m6 E3 K/ Q+ Y8 x6 f3 K
  58. [DBEXPRESS]
    3 e: u1 ]! a! a1 P- l+ I' a* r
  59. sqldir=mysql_sql
    ( H8 ~6 J4 q; o$ W2 A/ l$ v, q
  60. Drivername=mysql
    ' U- L6 h' X8 w/ s* N: H
  61. Database=test
    $ X: u" V4 e3 o( n- ^6 G
  62. Hostname=127.0.0.13 P: \! _0 ]% _' S' `
  63. User_name=testuser
    0 Y, d1 Q1 K2 C" i0 j9 ]9 ]
  64. Password=my_password
    " U1 e& t) Q5 z: g! O
  65. GetDriverFunc=getSQLDriverMYSQL
    ) S& d* D0 O" l0 d
  66. VendorLib=libmysql.dll
    , r  _' L3 P( m- w, Q/ T) X
  67. LibraryName=dbexpmysql.dll3 x) T1 R7 v9 I
  68. Active=1) S4 R" z/ R+ e8 _  U+ l
  69. ---example----
    ; {4 I* h' b( K7 V% {
  70. - written 02.03.04 by pwk.linuxfan( j( D. m+ [- n. s/ j
  71. % T: b* r" w9 N% m3 i' Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 w) B6 m" K$ ^! O& [
  1. 5 D) G4 Y4 u" z. e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 n8 k& z& w9 _% i
  3. 3 r* t9 r  ^0 z7 q6 P2 I" y8 |
  4. # # #我们所需要# # # ! N2 d$ _3 \/ w- W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 L9 H3 ?' Q3 @& A4 ?+ ?+ q
  6. 不会解释如何做到这一点-也有文件存在,为: G8 Y) E/ a6 @8 W9 v0 n3 M: U' }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) a3 o6 Y- Y/ X) U+ {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % Z7 L3 t+ |9 {0 I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( F9 N- U  p3 X, y. x5 p
  10. 本地机器,这是我的MySQL安装。 ! T8 |$ [6 O8 G, s8 m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 |% o. P9 G# M: @4 Q; b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; n/ {- W+ W/ M8 ]3 e
  13. 数据库。 / [! q  ?5 }1 K8 f* R6 T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' a7 G8 ]0 L! X( O& U8 e, ?5 m: X
  15. 编写本报告的时候,仍然有太多的问题-检查现状# S: V  \* F- P6 C, _
  16. 在teamspeak论坛,如果你有兴趣。 3 o' F% E  f0 |' S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 v' z$ r% @- k$ F' y" _3 y" M
  18. Borland公司使用。这个司机只能界面与客户端库% {: N# t" y7 `; T9 ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 h: Y0 M$ \& S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; ~' m$ m, |7 R  d7 ^. L0 |
  21. " vendorlib " ,并解数据库连接。
    & b% s; G8 ]4 G1 ^( S! o0 {. M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 F/ O1 G8 s5 d! m8 F6 G  n% c
  23. / n  w. }' \% J: y* L0 O
  24. # # #做好工作# # #
    ' p) z3 m3 H9 Z& p+ D$ S! _5 j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ k; f! L9 g, l9 @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( }6 d4 Z! r, ^9 A$ I7 d; X
  27. 结束: ) E" _3 z0 ]' X/ I" D* u
  28. ---削减这里---
    % H, w  l1 v4 u
  29. [ dbexpress ] % F1 m5 H1 L: p5 |3 Y5 s; d% b
  30. sqldir = mysql_sql 4 \: Q. o2 J# G2 ^! N
  31. drivername = MySQL中) ~: I1 f5 x( k+ d" V
  32. 数据库= your_database_name_here
    $ A& O" {. }& [6 T6 d9 x
  33. 主机= the_pc_the_mysql - server_is_on 0 }! f6 R8 X; \. t
  34. user_name = user_name_on_the_mysql服务器) i, e" }/ D# j3 H: I
  35. 密码= password_to_go_with_above_user_name * ?) n& c& U- F) a2 E; P% m
  36. getdriverfunc = getsqldrivermysql
    3 {2 R5 Q6 L1 o+ N4 r0 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + Z9 J& n! Z6 }. t6 E- _% E
  38. libraryname = path_to_libsqlmy_libary $ s  q8 K3 c6 K5 Z* v, d3 ]) x
  39. 积极= 1
    0 M$ k% E" \. W. j
  40. ---削减这里--- 8 B% Y1 M9 ~2 K( c- c, Q2 a6 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % ^+ C7 i6 s' T" M
  42. ---例如---
    1 y  D3 s) `  P! z0 t" v7 N$ ~1 M7 Q7 k
  43. [ dbexpress ]
    " z1 }( c+ O+ p
  44. sqldir = mysql_sql 9 L& F, y7 R7 w; \6 T1 v
  45. drivername = MySQL中
    & J2 ?2 A9 r! m9 c+ U& e
  46. 数据库=测试6 M3 Q' c7 b6 X$ f) H5 C
  47. 主机=本地主机
    . A/ k- s" u# v0 Z" n( O
  48. user_name = testuser ( c0 k4 x- V# T# v2 B5 n, s
  49. 密码= my_password
    # C! ^8 y: C) a3 h( N& o9 D
  50. getdriverfunc = getsqldrivermysql ; ]/ }4 \+ U6 n6 Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * o" [1 _9 C0 d
  52. libraryname =. / libsqlmy.so
    . y, i2 a3 h( J' P' U
  53. 积极= 1
    : |  C) J' w0 a0 P$ P# S! G8 S
  54. ---例如---
    # U9 W  Q. y$ X0 `2 B( y5 f0 _

  55. % A$ e1 `9 ~( u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - V& w, I% h9 F+ P( @
  57. ---例如---
    3 m2 `8 L% w, Z! ?5 D2 z: [
  58. [ dbexpress ]
    + J  V) P  v  w# l# C
  59. sqldir = mysql_sql
    ! ]- m0 V+ {+ U2 h0 Q4 O# t
  60. drivername = MySQL中2 K  X) U" s, e  n! |9 A+ G
  61. 数据库=测试
    * u$ ^8 {0 r% s
  62. 主机= 127.0.0.1
    9 z/ U) e) U4 M: p6 \5 z
  63. user_name = testuser
    ; P5 X$ v& Y! ~2 A3 S. j9 I
  64. 密码= my_password . U4 j! ^0 y* D$ ^
  65. getdriverfunc = getsqldrivermysql ! N+ B+ ?0 I: F: H
  66. vendorlib = libmysql.dll在
    . f6 z9 L, C; y! \
  67. libraryname = dbexpmysql.dll 5 m$ d& v7 {* {* @; u
  68. 积极= 1
    : [! W/ o7 J# L5 L: W7 `  i
  69. ---例如---- 5 [& [4 H! q; C: K3 E' O/ E
  70. -写在0 2.03.04由p wk.linuxfan% D! L' J; ?( W
复制代码
发表于 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
" f6 y0 U& e* c8 W6 q  O
, P9 V+ ~; f" l! H0 m4 }. N2 B" Ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-11 09:27 , Processed in 0.091887 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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