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

2250 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 g( n0 L* i& x: b3 X
1 e9 [5 q) T/ ], P

  1. / {( Y, q2 a. l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % l5 Y1 [2 q1 \3 H) y1 M' x
  3. . y' w' M! A, Q7 ~
  4. ### What we need ###% C. n5 t3 v; S" X
  5. Naturally, we will need a MySQL server to store the data for us, this document ; A% h3 o6 C# g0 [+ O* [# Y4 O' o
  6. will not explain how this can be done - there are documents out there for the
      p) h; a! n  B% B0 T; \
  7. interested. The requirements include a (empty) database for TeamSpeak to use' _7 c3 g* i( O. X3 B. O0 C7 m
  8. and a user account (username + password) that has the permissions to do stuff: w# f/ D+ p1 e% t! S* t; m5 ]# G
  9. with the database. Additionally, you will need a vendor library installed on the+ k: _3 L" A8 o! k8 d, x
  10. local machine, this came with my MySQL install.: W. Z7 d+ D0 b2 V& ?- _, J3 i
  11. These instructions will not tell you how you might transfer your data from the
    0 [$ R3 P' X0 t0 ?2 [3 s) X& @! z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 ^! {: o8 K: j8 {  e: ]6 m. i
  13. database.
    % _- W9 @$ ?+ N/ C. n: K& E6 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at. p1 s" ~( ]% E, f* B& y2 ?
  15. the time of writing, there are still too many issues - check the current status1 U0 W* {( F( |, B. t, }
  16. in the TeamSpeak forums if you are interested.2 g% }. J" J( p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ N0 Y- ~7 M6 I" }: ?3 y+ k3 R4 R( L1 N- Q
  18. Borland was used. This driver can only interface with the client library that . r: m3 K4 ~. o6 b/ o. V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 a) T5 z& n8 \0 J& i5 s* o+ H
  20. client library - basically all you have to do is to use a 3.x client library as 9 \5 ]5 Z+ X0 V$ [
  21. "VendorLib" and a 4.x database to connect to.! S/ ~& u. b+ [5 B
  22. If you need more info about dbExpress, you can contact Borland.5 i2 x3 U2 `( R
  23. : I8 U" S4 S$ ]0 p+ v
  24. ### Doing the work ###
    & n& q  r  F4 E/ j; D% ^! W0 x4 n% q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# f" r. P. a2 V0 E
  26. the perquisites right, just open your server.ini file, and add this section at4 y* Z; }4 b! e/ R0 m: e' T
  27. the end:
    ( T" e2 @+ O  B" I1 n
  28. ---cut here---$ N0 N# T. q: a8 _0 J2 [5 d
  29. [DBEXPRESS]
    * P# |! p2 n2 @6 u& T/ j5 |) C
  30. sqldir=mysql_sql  ?2 U8 @- m. u2 U) i
  31. Drivername=mysql
    / r9 i, k6 u2 j7 F
  32. Database=Your_Database_Name_Here
    1 R) R0 v1 F6 X
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ I; @* @* N( P" x1 |
  34. User_name=User_name_on_the_MySQL-Server
    7 X$ ?; ?: d" {3 c' L/ v: l! y
  35. Password=Password_to_go_with_above_user_name
    2 L# q% z# u" N* [% @
  36. GetDriverFunc=getSQLDriverMYSQL$ y' F8 V6 Z' ?' S( _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 w* e6 s) H: D7 Z3 V4 I, u$ _
  38. LibraryName=path_to_libsqlmy_libary
    ) [$ C" n1 b/ C0 g' ]2 v! r2 J+ R
  39. Active=1; M4 N) Q3 ^' |" k7 @$ ]
  40. ---cut here---
      k. u, _$ ?2 {( P' q, h6 e
  41. In my environment (a linux box with a MySQL server running locally) I have:8 q4 O8 t% Q5 D# D5 _# Y5 {
  42. ---example---3 u, M' g5 ]) ]
  43. [DBEXPRESS]
    ) g0 |9 c) M/ X+ D* b9 F0 Y
  44. sqldir=mysql_sql
    1 s' v; A5 k  R$ c, ?/ {) z4 P# O
  45. Drivername=mysql8 Z* `2 C  {( g8 H3 n- j
  46. Database=test" C. n! h* x' L2 k, R! x
  47. Hostname=localhost! J$ C7 m& v8 m1 q, b
  48. User_name=testuser
    , ~" h5 B5 J& ^! h
  49. Password=my_password
    ( s7 D3 T( W8 a; g" ^
  50. GetDriverFunc=getSQLDriverMYSQL* Q0 d. a# _) ^( g% j2 Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * E+ |/ S+ Z8 h* I. z# t
  52. LibraryName=./libsqlmy.so
      ~  b" z' h/ A/ Q& o! S2 P
  53. Active=1! A3 G% g! n$ s. L
  54. ---example---7 H9 y9 X" S' J% y
  55. 1 O, r7 _+ ]2 }" H; H
  56. On a windows box, also running the MySQL server locally, it would be:
    , [- X# S( F# B5 h& R, b, A- H
  57. ---example---
    6 `, ?# B) Z3 a# f. u2 U
  58. [DBEXPRESS]
    : N, H, E1 H8 T; a" M0 ~* j/ k* N
  59. sqldir=mysql_sql
    , U7 u3 P: W% s' T# }
  60. Drivername=mysql
    " n% Z9 r/ s$ b( ~6 }4 L
  61. Database=test8 D- {' x/ t+ \( A* H8 ^
  62. Hostname=127.0.0.1$ z2 k, C$ g' z$ Q3 |) D0 b0 d
  63. User_name=testuser
    4 }0 e, O1 ]' b9 e' f' f9 w
  64. Password=my_password
    ' s* X- w3 A! M- g
  65. GetDriverFunc=getSQLDriverMYSQL% m$ E7 M' e8 D4 l4 R5 q
  66. VendorLib=libmysql.dll
    ! @% s/ S! ~% \4 X9 Q
  67. LibraryName=dbexpmysql.dll" T+ |9 Q# W7 E8 S  R3 U/ O
  68. Active=1
    - n; W) }# u, U' ~' I
  69. ---example----( O( W) f& f$ n( J, c% Q
  70. - written 02.03.04 by pwk.linuxfan& `3 S7 y$ Y( l
  71. ) l5 m: a" U! k, m; ]0 t, ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 @9 x. y" P/ @7 I

  1. - K7 [% ]% M+ ?: y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , v" \6 ^8 k+ E6 T  T
  3. 8 _- `, }) z( M
  4. # # #我们所需要# # #
    % D7 L6 O+ e* {9 c3 c5 i# h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" t1 r4 e# Z9 U0 d9 H
  6. 不会解释如何做到这一点-也有文件存在,为
    3 H1 w& H1 k* E: U, ?* ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& Y+ F( E7 c4 R. ^- h# f& {# u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , T7 I# `% @; {: c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* m9 S9 V( o/ H! G+ T; u3 B5 @
  10. 本地机器,这是我的MySQL安装。
    9 h5 k7 z  v% V+ K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" b% {* I! _. p( \4 {9 G. C; u7 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' E: x  R* x( C4 _% a5 }
  13. 数据库。
    $ x3 T" `0 I- B# x: V# ^
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % m& ~" p1 P) U6 e1 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 ?5 t3 P0 B6 S. o$ i* i; D8 |
  16. 在teamspeak论坛,如果你有兴趣。
    : H0 K7 p$ G" B9 Z0 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) c6 O; F! Z4 _2 ]7 o# Z& N2 V
  18. Borland公司使用。这个司机只能界面与客户端库
    2 z2 K3 {6 W; A8 J% p( |7 O0 C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  ]* R$ C+ p8 O6 R' F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 y/ j  b& N. t* u: W9 n$ l4 `$ x
  21. " vendorlib " ,并解数据库连接。 + {$ N6 a; O5 B/ N; U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . Z8 ^# l# ~( @1 `) N; B" w* |: c* k" ~
  23. 9 c* M- ^4 }9 b1 `8 _
  24. # # #做好工作# # #
    ' s/ P+ L# W! L3 C9 R' _. H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 t1 \, C  ~$ o" G- P, [! y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 l# B% W- o+ ~7 q5 s) n
  27. 结束: , L) w7 n3 ?+ p
  28. ---削减这里---
    9 _+ j! a: W+ Q% \) I  h
  29. [ dbexpress ]
    1 d& E, o; _  Q0 W9 d) t
  30. sqldir = mysql_sql   b0 G( V/ T5 w, i
  31. drivername = MySQL中
    ( V3 K; O8 x) {5 l% O8 Y
  32. 数据库= your_database_name_here
    + m1 V$ K1 G' H; v
  33. 主机= the_pc_the_mysql - server_is_on " W- U/ _& z+ d. b3 w9 {8 x4 n
  34. user_name = user_name_on_the_mysql服务器
    2 b5 K9 s9 S" I; R: P0 x7 o
  35. 密码= password_to_go_with_above_user_name 7 L- c$ B0 z, K5 T3 x
  36. getdriverfunc = getsqldrivermysql , d5 H' C4 ~7 |) Z$ ~) a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + X. J$ l9 }7 `4 r" l) x
  38. libraryname = path_to_libsqlmy_libary
    & d4 I( \1 d; z# U3 F0 ~" }) f
  39. 积极= 1 / R1 w8 o4 L4 p' E4 W
  40. ---削减这里--- ' b, h& c0 I+ q7 t. w% g0 I, a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 G2 \8 ^, U9 S% n( ~% n
  42. ---例如---
    - ^& M; D8 N7 B
  43. [ dbexpress ]
    7 A) \. D0 f! ~  k! q
  44. sqldir = mysql_sql
    0 i6 c: |+ l! }6 o
  45. drivername = MySQL中' B' J9 n, U/ X
  46. 数据库=测试( L" b2 r- S, T& j& d! m- g
  47. 主机=本地主机
    - U- y8 ?% g& M& p) V8 [$ C( J* Q
  48. user_name = testuser
    ; b' y$ m, g4 E% N6 b
  49. 密码= my_password
    % }; o# {3 u; S* {3 a
  50. getdriverfunc = getsqldrivermysql
    1 m) m, Q% \6 J6 m0 t& O0 |. z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ! p% I( j3 _+ X( Y) J6 O
  52. libraryname =. / libsqlmy.so
    2 o. r3 y4 ^0 P' j3 e, u5 A; Q
  53. 积极= 1
    5 O+ R$ K! X* C
  54. ---例如---
    ; Z7 }, W1 X7 S, W6 v
  55. ' z  l  _* y# z$ N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 T2 |- R+ G* J* z! }2 v8 _6 u8 _
  57. ---例如--- & E; ~: [' W' q3 {( ?
  58. [ dbexpress ]
    / b% v4 p8 N0 h. ?: }
  59. sqldir = mysql_sql , t3 u& Q1 k) I6 H' K& M" M! V, ]
  60. drivername = MySQL中! J) m8 x+ v2 r, B
  61. 数据库=测试
    9 X) ], F9 A3 `% L+ X$ {+ }9 G
  62. 主机= 127.0.0.1
    , l" B$ j" k7 p2 y4 O+ j
  63. user_name = testuser 0 ]# `8 {& s  E" C6 E- [; z
  64. 密码= my_password
    & g. _- i. T  g2 C
  65. getdriverfunc = getsqldrivermysql
    0 {+ j! X) S/ f* y3 M) e% D
  66. vendorlib = libmysql.dll在8 T! [. m+ A4 k* v$ E/ G- ^" S
  67. libraryname = dbexpmysql.dll " U* g: p& S$ Q: k" F+ {  D
  68. 积极= 1
    * t+ U- M3 E2 P9 ]8 _0 i6 r
  69. ---例如---- . ]; F! m/ f; }  }1 P9 j0 Y
  70. -写在0 2.03.04由p wk.linuxfan, \1 N8 ]. V$ j( ^; H  |
复制代码
发表于 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
& M- \3 V. F. v9 V: D7 n
$ V2 h1 B: C% r" J+ V& F- Hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-31 15:16 , Processed in 0.110767 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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