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

2636 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* F4 w$ a1 f3 N; D
, r0 C" f) q2 A( X( [" ^

  1. 2 x& D7 `1 m9 }* d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 n, d& n3 N% I$ @. {

  3. 9 v" f+ k% u5 `1 A" U
  4. ### What we need ###8 Z8 K* o: E& |# h3 Q$ x; L4 y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * \" Z; r9 @6 C3 q4 q" W- X
  6. will not explain how this can be done - there are documents out there for the
    ) B( i0 I2 ~3 w0 b1 W7 W& _
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & ~7 H  w- d3 f& y
  8. and a user account (username + password) that has the permissions to do stuff; p, I, m' `: Z+ B: x5 U. O
  9. with the database. Additionally, you will need a vendor library installed on the
    1 m9 G7 h) c% v. N! L
  10. local machine, this came with my MySQL install.& X5 s4 v4 o' ^3 e. r7 D3 Y( [& P
  11. These instructions will not tell you how you might transfer your data from the
    2 n- j, A% s% S# @* m0 Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 n7 _1 u, ?5 X: k1 T0 C
  13. database.
    9 w* b& E+ ?8 B0 c4 a; c
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 B( g9 [+ [! @# k, |, P; [0 W" _$ T
  15. the time of writing, there are still too many issues - check the current status
    9 v" v8 N% u* e. w. }1 ?
  16. in the TeamSpeak forums if you are interested.
    ; |  z- m; ], ~4 q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * _% v0 G" W2 E
  18. Borland was used. This driver can only interface with the client library that
    ; N, ~8 L/ d1 d& W. |
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' |9 V8 |8 |4 }; p
  20. client library - basically all you have to do is to use a 3.x client library as
    ! y" b5 R2 ?' n- o- j! G$ M8 x
  21. "VendorLib" and a 4.x database to connect to.6 X, _0 {' D4 x0 H9 i
  22. If you need more info about dbExpress, you can contact Borland.' A1 J- V- ~7 P

  23. ) \& @- t* V. Q: k
  24. ### Doing the work ###8 |3 Y, v- R; J8 }/ K7 J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& F/ u6 Q% L. W& H3 P" {
  26. the perquisites right, just open your server.ini file, and add this section at
    * [5 i! n7 v) O
  27. the end:, I0 D5 V7 Y2 F* ?6 Q/ W
  28. ---cut here---
    : o7 s9 W1 \+ j* }/ |* D+ l7 b
  29. [DBEXPRESS]: h) X) n$ J* d) ~
  30. sqldir=mysql_sql* d( V! M  w* c0 `, v
  31. Drivername=mysql% E! S; m* s  {
  32. Database=Your_Database_Name_Here- ~$ s  n0 J8 y9 _; n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! M; r% j/ |& S$ V. n, o
  34. User_name=User_name_on_the_MySQL-Server; L7 G6 i/ d- T/ m6 y' e- ~7 C1 U* Z
  35. Password=Password_to_go_with_above_user_name
    : K! q1 i; U5 S! m
  36. GetDriverFunc=getSQLDriverMYSQL
    . O5 c. v- Z4 P: Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' d% Q1 A; z' H5 V; ]. ^
  38. LibraryName=path_to_libsqlmy_libary
    ( z$ N" o* h: B# W: x
  39. Active=1
    & s$ j0 n* c2 b1 d6 d  j9 _& {9 ^
  40. ---cut here---
    4 d0 C* M% ?' b! C6 ?4 q3 ]# C* j
  41. In my environment (a linux box with a MySQL server running locally) I have:
    - ^  a2 r0 P8 E" U! j
  42. ---example---4 W. K; E" W, ~
  43. [DBEXPRESS]
      f8 d+ q5 C* k3 C, Q' ~3 w3 W) B
  44. sqldir=mysql_sql% Z: g# [& Q% f7 f7 y8 l
  45. Drivername=mysql
    ( {1 S4 I7 f' O) I( ?
  46. Database=test; Z: ~5 C% U0 o  u
  47. Hostname=localhost2 W) G& e( d- B& L
  48. User_name=testuser
    - S# s" ^5 ~% E- L
  49. Password=my_password8 A% K) Y* }4 V0 r5 `
  50. GetDriverFunc=getSQLDriverMYSQL
    * \( ]. W$ _1 n; s3 c4 W6 U  s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 ]1 v1 j; q) r/ F8 m0 F( D0 a$ Y  m
  52. LibraryName=./libsqlmy.so/ \2 g2 c4 Q. M8 p
  53. Active=15 u  r* v% q' k$ k0 t
  54. ---example---! `  J" [4 o- h! I& t# O

  55. ; u) _. t( Y2 t% b9 O) E
  56. On a windows box, also running the MySQL server locally, it would be:7 g5 A6 ^4 M6 D/ T2 U  E# X) G* Z
  57. ---example---. \) x# }# {, k7 v; ?
  58. [DBEXPRESS]
    6 b* @7 ^& i8 ^; {: v
  59. sqldir=mysql_sql, G& b0 [4 v7 R# l, N# f
  60. Drivername=mysql5 Z+ o" X" S6 u% K# T2 g; e* t
  61. Database=test
    ' h3 A4 Y) E$ z* N- |% {
  62. Hostname=127.0.0.1# O# e3 B) n. B; K* _0 T
  63. User_name=testuser9 H+ K* {$ t1 b+ W+ }/ W1 q
  64. Password=my_password
    0 P- H' ]; J& }
  65. GetDriverFunc=getSQLDriverMYSQL
    " D% {2 t; M, j. r* ?
  66. VendorLib=libmysql.dll' y5 d" z" S) g) h: [
  67. LibraryName=dbexpmysql.dll2 ~" U3 D% M1 \) w& N" C
  68. Active=1, H2 |1 c6 g+ e1 w1 g
  69. ---example----6 q$ R8 D3 |& U0 p# D. {& b
  70. - written 02.03.04 by pwk.linuxfan+ f/ S) K* f1 O+ t  x9 u3 H; S1 G7 \3 V& V

  71. $ E6 S4 B4 E# [4 s; T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% ~" ~3 V# K% P. I

  1. / ]# d" \) G; R6 B0 p# x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & v. A( e3 X7 R+ v0 D
  3. ! @8 e2 {3 J( d/ k
  4. # # #我们所需要# # # / y8 j- p, U8 l& N3 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! c4 z% A2 a8 X2 T2 i2 _
  6. 不会解释如何做到这一点-也有文件存在,为6 L2 w2 M6 ]0 i6 Y% Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 j3 x! k& c% B% O+ S9 ^- X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & [  @- u0 a' ?: P$ D3 ?* B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
      l0 r# f; o; ^3 X7 N
  10. 本地机器,这是我的MySQL安装。
    ! K  l6 H$ w. n. A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 J% R4 f' ]; Z$ W8 ?2 ^! J+ s: S
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 @$ [( m7 {& o: N) h" T2 H& S
  13. 数据库。
    . Q6 {  @; E0 ^0 C5 S! u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / e* v; f4 e2 ]4 }7 _% `# W3 a5 u  X
  15. 编写本报告的时候,仍然有太多的问题-检查现状* P8 U/ T& K1 f, p$ h
  16. 在teamspeak论坛,如果你有兴趣。 ( H5 K8 n' S8 F1 x" l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ g; U& `# i6 m, }& R$ r9 {: }
  18. Borland公司使用。这个司机只能界面与客户端库
    6 h; y. i/ x7 t0 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! X$ o. T6 Y  D9 Q/ i. c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 T. b* }, F7 V) Y' h
  21. " vendorlib " ,并解数据库连接。 / q& W. J4 i" G! l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! ^0 a* P9 }; S* ?
  23. # O/ b8 F8 u5 I0 v
  24. # # #做好工作# # #
    0 K/ e7 l; b  C' p3 ~1 g8 Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% \9 e- f! q9 p% P9 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( H& |6 z5 N  M3 I$ [( y6 r4 U4 K
  27. 结束: / p- x0 Z4 o7 H" g% O' x7 a
  28. ---削减这里--- 3 N' C1 ?6 {+ ~& F. a7 L" a
  29. [ dbexpress ]
    2 s  b, M( i& T. K/ n9 |9 q/ J
  30. sqldir = mysql_sql
      r) ~7 ?! _* ~; l3 z( ?* Z; d
  31. drivername = MySQL中1 x6 _/ Q* K! i+ V/ ?% h+ H
  32. 数据库= your_database_name_here " V: `% K$ t' l7 r
  33. 主机= the_pc_the_mysql - server_is_on
    ' ?7 h! d8 W( U# s5 p" B
  34. user_name = user_name_on_the_mysql服务器
    0 k7 H! h. {: M, g% H' i! F
  35. 密码= password_to_go_with_above_user_name 6 V5 y5 U4 [5 T2 `9 d
  36. getdriverfunc = getsqldrivermysql 9 J$ H# X3 D0 W+ C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " N: \1 H8 W) f; t- N1 W
  38. libraryname = path_to_libsqlmy_libary 6 N/ d% b$ Q2 P3 r' Z) r( U/ g
  39. 积极= 1 8 J# E/ F8 d! @6 n
  40. ---削减这里--- " r: `! W: N, u0 n* P; W) I/ ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % F! @2 ^) d$ H; h2 \
  42. ---例如--- $ G8 a* R% M5 Q  q, ]( v, q% b
  43. [ dbexpress ]
    ; c2 q/ s/ M6 U- r+ p# x$ u2 I
  44. sqldir = mysql_sql , T5 t& L3 |* F8 a# D
  45. drivername = MySQL中
    % ^! U- U8 e6 S- M1 a2 ~" u$ b& Q  n1 v
  46. 数据库=测试
    ) G- v  j4 Z- |/ ]1 r- }8 e$ N
  47. 主机=本地主机+ C5 O+ r1 B6 U- M
  48. user_name = testuser
    9 i; t. D+ D  S& r3 v& j/ _, }3 z+ q2 `
  49. 密码= my_password
    6 v6 [6 ]- d/ v5 d7 T
  50. getdriverfunc = getsqldrivermysql - N, s9 D, O2 N1 H8 \5 J# q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & s3 C6 d. g. v5 S2 v; F8 v( k
  52. libraryname =. / libsqlmy.so
    1 }7 a4 }# E; l8 s9 `7 Y/ }6 L
  53. 积极= 1 - S% X2 j& `# g! C3 i
  54. ---例如--- % I( W; f( y" ^5 P2 f/ v
  55. ( ~% {, x2 }2 H* a8 R
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # d; g7 O+ w: H2 E" h4 K! J/ Z
  57. ---例如---
    3 N& m9 x3 o3 r. Y
  58. [ dbexpress ]
    5 P( U- G+ x! \8 `& q* b
  59. sqldir = mysql_sql
    8 i# g5 u" q; W/ p
  60. drivername = MySQL中
    $ b9 o- b# k; y& m  ?6 q
  61. 数据库=测试: i& T1 d3 Y* x2 O1 [0 }4 ]
  62. 主机= 127.0.0.1
    3 u7 C- U+ w" q' E! |% U
  63. user_name = testuser
    % u8 `& G( G; E' v5 N9 R
  64. 密码= my_password
    4 ]: d( M  K! V& ~8 h
  65. getdriverfunc = getsqldrivermysql : q  m0 ^! x# Z5 R, G
  66. vendorlib = libmysql.dll在" r( u- T3 S7 ?
  67. libraryname = dbexpmysql.dll
    8 w$ A9 X7 r: o2 l
  68. 积极= 1 0 p; s& |2 k2 f! h' {1 X. |
  69. ---例如---- ; u' v( m; J7 r5 ^$ e& d
  70. -写在0 2.03.04由p wk.linuxfan  z- {+ c& k8 u& a* K- `: j
复制代码
发表于 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  O# U' ^" E$ B& ]" o  J
, g6 r/ x8 Q: s" w" ]
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-19 01:48 , Processed in 0.110653 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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