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

3028 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : `3 K, ^6 H9 P

6 }; d+ _9 D; {3 d* o. H

  1. + O! G/ [6 ~+ w" o4 u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### j- K3 s; @. o2 d

  3. " T5 P. D9 j  c. h; q' f; ~
  4. ### What we need ###
    9 ~: S1 Q/ L; p- \8 b6 [# y+ V: Q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 O: o/ \' z7 I: [, J. o9 [6 q% l1 m
  6. will not explain how this can be done - there are documents out there for the 5 w8 [% W* u0 x; ?# S% x- f) u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( ~* d, L/ a* S1 r
  8. and a user account (username + password) that has the permissions to do stuff7 q! {4 g' U8 r; n2 I4 S
  9. with the database. Additionally, you will need a vendor library installed on the
    . ]# B6 F$ w: @% f! n
  10. local machine, this came with my MySQL install.7 [8 ^8 Q) J# r$ }
  11. These instructions will not tell you how you might transfer your data from the: t2 [, E1 ?/ E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 D0 O! d. O- |
  13. database.
    " w" o$ i  X* e2 `' k% U) i& n* C
  14. Some users have reported ways to import a SQLite database into MySQL, but at* z+ t. Q- P7 b' s& P7 C( `
  15. the time of writing, there are still too many issues - check the current status
    & F5 t" W1 S4 Y" U4 |, t  \
  16. in the TeamSpeak forums if you are interested.
    ( k, W/ ~& q' c) u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( H$ f2 N8 l* T1 Y" g) h0 l$ n
  18. Borland was used. This driver can only interface with the client library that 4 ~( A7 o  G, ?. v8 `5 ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 A+ z4 \. |7 ^* x  a
  20. client library - basically all you have to do is to use a 3.x client library as 0 G+ H4 V+ }$ q' ~) s" J
  21. "VendorLib" and a 4.x database to connect to.
    3 A# Y; j$ f1 k* F
  22. If you need more info about dbExpress, you can contact Borland.
    ' a& @+ Q) ]5 H1 k5 m( K4 H! ]

  23. 8 |! t0 Q0 Q3 A
  24. ### Doing the work ###/ L* m  ~" L% {/ c2 f2 c& ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 q( o2 K  C7 T1 q
  26. the perquisites right, just open your server.ini file, and add this section at  g9 i" W4 l1 j7 P' b$ Q* C
  27. the end:; w# T/ d. A  o# ?6 o
  28. ---cut here---
    " Y; l9 z' g: i5 u$ K) `6 v: ~
  29. [DBEXPRESS]
    & V& f% b. d0 m+ a1 F/ V! Y" e
  30. sqldir=mysql_sql8 w3 s& X6 a$ J3 |3 F  o
  31. Drivername=mysql2 \. y5 j+ L5 X) _3 E3 R7 y
  32. Database=Your_Database_Name_Here1 _; W; g" L4 F6 W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + C2 F6 [: V. \' X7 d; ~
  34. User_name=User_name_on_the_MySQL-Server
    2 T( o0 e. g) K/ }5 w
  35. Password=Password_to_go_with_above_user_name* l, H* s0 y6 ]& }) i" v
  36. GetDriverFunc=getSQLDriverMYSQL
    * ], I) G# u& B6 u+ Q$ D; S2 }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% c& k8 p, @: d2 h6 S8 b! z. v! U
  38. LibraryName=path_to_libsqlmy_libary; @! X0 Q) B: G
  39. Active=1
    / {- X; `3 q) q* H! o9 a; n
  40. ---cut here---
    % h2 y1 S  G% f' x
  41. In my environment (a linux box with a MySQL server running locally) I have:% y  V# k1 K+ @- M7 L* ^, N
  42. ---example---1 T4 F6 z+ Y% ]) T# B
  43. [DBEXPRESS]/ I% d3 O7 q3 ?5 \# [: r; Q* g
  44. sqldir=mysql_sql3 `9 c9 c$ ?! u
  45. Drivername=mysql' e3 w7 [8 y' |$ V7 U8 v4 q6 |
  46. Database=test
    & E  ~2 \% K- ^
  47. Hostname=localhost2 J3 L$ z) s' ~( B' _7 e3 i1 N+ Y
  48. User_name=testuser$ ^0 }4 }2 h" C
  49. Password=my_password
    , C0 \8 ~( K2 B' _8 P( }1 t8 M' w, q
  50. GetDriverFunc=getSQLDriverMYSQL
    , I- U$ s/ n0 k# m2 w+ @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 ]  b: L! f# W. B( _& W5 H
  52. LibraryName=./libsqlmy.so
    2 c# e4 P& ]/ G) s
  53. Active=11 I5 E  x$ h' r' m
  54. ---example---
    5 _  s3 V( M% j6 g) v
  55. ! R1 S3 d+ p' i) g
  56. On a windows box, also running the MySQL server locally, it would be:
      _/ S9 v0 T, O/ c! p$ |
  57. ---example---
    5 b( b( v+ U) f% v' t: g3 O3 I* R& B( G
  58. [DBEXPRESS]2 m8 ]4 g/ X# H! P# K
  59. sqldir=mysql_sql
    6 d' f# W8 M( X; d
  60. Drivername=mysql' o4 B$ q, V3 b0 k6 w# a4 E1 a
  61. Database=test
    " |. B7 n+ ~' y+ \  C
  62. Hostname=127.0.0.1
    ) c' ?/ M. m. F
  63. User_name=testuser  n) N5 r3 U2 _/ ~' B
  64. Password=my_password
    - ?* Y# R; X+ y; `; T
  65. GetDriverFunc=getSQLDriverMYSQL: j& t9 n9 `( A
  66. VendorLib=libmysql.dll
    5 H* z' F1 M6 M, A
  67. LibraryName=dbexpmysql.dll
      z/ ^- C& A! j7 x! h5 F' n
  68. Active=10 ?9 F/ V( O& T, Q! R; e, o9 K
  69. ---example----
    " a! t7 q; p8 M4 }0 t4 S3 n+ ~
  70. - written 02.03.04 by pwk.linuxfan
    3 X% H1 I( [0 c; ^

  71. ( _4 w# T1 B6 X- L$ H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ H( J/ U+ a) d% t' ~$ {$ b
  1. 0 E, p4 P# x8 @; i6 p  _/ c, w5 j5 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 Q; g' k0 i: [* u
  3. " G- O% o1 z' A* j  o
  4. # # #我们所需要# # #
    1 Q2 {  p8 Y( T8 T- T! U  b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 T& n  d& q" |
  6. 不会解释如何做到这一点-也有文件存在,为
    6 q2 b! |9 J% O) R3 S( n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 f4 l8 g- E2 x' z% M2 G+ K3 ^8 b7 X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- `& j0 s: o8 y4 B3 S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , x# w9 F2 q4 t
  10. 本地机器,这是我的MySQL安装。 # S- J" z* m( x) S. h8 R- U2 j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ @) m6 d9 Q& o& ]% F! I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 E8 Z; Q0 R6 p& m) v
  13. 数据库。
    5 B3 D6 `& ^# {) s7 W3 u8 t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * Z' l" W( S- t3 S* L
  15. 编写本报告的时候,仍然有太多的问题-检查现状) L, c5 o1 ^; D" u# _5 C
  16. 在teamspeak论坛,如果你有兴趣。 # d4 A7 i$ A$ P8 i( B9 O9 h/ L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 r" ^2 q1 Z7 C" b/ ]
  18. Borland公司使用。这个司机只能界面与客户端库; @5 K+ Z8 ?8 r9 o$ u- Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ @7 i0 p* ]$ ?- k# `! e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: |1 F/ O8 }. j' F: I4 R9 q
  21. " vendorlib " ,并解数据库连接。 : j+ H7 s1 g7 u$ b" c3 S& O! F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! K/ u  H; `$ D# g
  23. ' C8 v( o# V5 y2 j# C: g* q, d
  24. # # #做好工作# # #
    - p) A0 t& k) H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( l( L# b  e; s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 O: W2 Y- h' j* P+ V1 \
  27. 结束: " n# A1 i, }- g! b5 n5 d: m
  28. ---削减这里---
    " g7 S) U; K; f- w
  29. [ dbexpress ] / o  T( r$ W% m0 e4 o) m
  30. sqldir = mysql_sql 0 Y3 g% B- x. i, w4 z  O
  31. drivername = MySQL中
    0 ]' X$ e9 r+ V% n7 M+ |
  32. 数据库= your_database_name_here
    * o/ ?0 Q8 d' x7 a! x5 b4 I% y  ~) s+ b" U
  33. 主机= the_pc_the_mysql - server_is_on + W" c4 y" A  l2 a+ R
  34. user_name = user_name_on_the_mysql服务器5 d+ b  t$ b# B0 G, M0 Q* A
  35. 密码= password_to_go_with_above_user_name
    ! Y, z2 E# g- W$ @: _; C
  36. getdriverfunc = getsqldrivermysql : D; ]5 `+ Z' F4 h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * T2 \* j9 o3 s( w, R5 R
  38. libraryname = path_to_libsqlmy_libary 3 n6 v) ~. }/ m) j
  39. 积极= 1 2 o# W0 ~$ o( H+ I+ }: O' R
  40. ---削减这里--- / y: t( ^1 X9 p* {4 t% Z, v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; y. F# s0 @# p' H& {
  42. ---例如---
    3 _, r; q4 j9 _. |0 o# S
  43. [ dbexpress ]   K9 Z7 X& k7 Y. |
  44. sqldir = mysql_sql
    2 K9 z% h& d/ f- e9 |
  45. drivername = MySQL中
    # O& a5 V$ `. h3 {5 [0 b6 M
  46. 数据库=测试- k# z% \4 b$ L* @5 L/ S) \
  47. 主机=本地主机
    * q! w0 f" O& d; q7 O, j
  48. user_name = testuser
    7 l% _$ }1 H. Z" F9 G2 t
  49. 密码= my_password
    8 z7 C# ]/ l& J' ?
  50. getdriverfunc = getsqldrivermysql
    ; X' F) h& S: _3 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * `5 |; r6 B6 \2 f( `
  52. libraryname =. / libsqlmy.so
    " v. K; }4 g( J/ c
  53. 积极= 1
    9 N% N7 l6 c6 C
  54. ---例如---
    4 R3 D1 g' ?# ^+ X7 A0 v
  55. 6 D+ ?, ^" `, k2 i' ?' z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 x0 G8 S0 l; K3 t9 j' w
  57. ---例如--- + d8 T; Z$ V5 a0 |' n3 K7 [
  58. [ dbexpress ]
    5 ]7 W  q. m# G3 l
  59. sqldir = mysql_sql - n% y' x6 s- d) z8 b9 E
  60. drivername = MySQL中; T# l! U& v( T! B3 f( B
  61. 数据库=测试
    3 Y7 m2 I3 v% P" S* \8 P- `
  62. 主机= 127.0.0.1
    " i, b& @6 h/ L! w
  63. user_name = testuser
    8 [" ^6 J" K6 k" b. s9 Q% f
  64. 密码= my_password 9 G% T- }# A+ j) v6 \! U, N6 @
  65. getdriverfunc = getsqldrivermysql
    $ S' G5 H# v) `
  66. vendorlib = libmysql.dll在
    3 r+ @: q  X" V! u* Q6 Z1 g
  67. libraryname = dbexpmysql.dll
    4 X( p/ O6 r+ X' v  Q0 i$ z0 N
  68. 积极= 1 ! B& M5 C2 q* D' ~5 `4 a
  69. ---例如---- # _2 Z, [5 y3 P) c
  70. -写在0 2.03.04由p wk.linuxfan
    : E; f! X6 D) s" _* V" N
复制代码
发表于 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+ L# g7 T6 \; j/ B- \3 ?
" v( W3 J. p7 N) K( R& N; q
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-15 23:06 , Processed in 0.090208 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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