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

3391 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! [5 ?) J+ u" t9 t8 |2 n: u( @' E: G6 ~; S" f

  1. 9 i& i- l7 i, A1 F& c! |1 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - h$ |' o( @8 y- ?2 H5 o7 g

  3. & c, a9 i6 h6 `, ]. n, P
  4. ### What we need ###
    2 A. R2 i2 o5 z' K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : T7 _8 @3 \! O5 j
  6. will not explain how this can be done - there are documents out there for the
    ! X# P0 g' f+ B# m. p. X, T* U
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 |0 H6 x- r, ~' G
  8. and a user account (username + password) that has the permissions to do stuff
    % I! d" }" t/ R2 l* W; {
  9. with the database. Additionally, you will need a vendor library installed on the$ \- E" Z; T+ V. |! ~9 j
  10. local machine, this came with my MySQL install.% V' P+ x4 `' e, {3 d" c+ K
  11. These instructions will not tell you how you might transfer your data from the$ l6 o: O1 ^3 Z' @; _7 C% I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 e" }# C2 ]) U, W. S, \. _! ~
  13. database.
    : |& o' V0 p0 ~# [( d$ f+ @
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * O+ |/ m1 T0 n* W
  15. the time of writing, there are still too many issues - check the current status3 o' \$ w9 U6 i' G# m* Z. ?* r
  16. in the TeamSpeak forums if you are interested.
    $ l6 D5 q, Z* |6 g+ b, Q1 N; h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from$ d/ m' `6 i# Z
  18. Borland was used. This driver can only interface with the client library that
    ! ?: N0 F3 ^' w& @; M/ b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      }. G' u$ z. s' C2 S
  20. client library - basically all you have to do is to use a 3.x client library as 6 ?/ N4 }. e# ]. K5 M
  21. "VendorLib" and a 4.x database to connect to.
    ; \, d& ]/ `% c8 L; H$ g
  22. If you need more info about dbExpress, you can contact Borland.6 l5 H) k, K7 o. V( n3 _7 I* j9 D
  23. * \7 E/ S4 S8 B1 f
  24. ### Doing the work ###6 G6 g2 h# k/ i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  ~, X2 a4 z2 U7 R
  26. the perquisites right, just open your server.ini file, and add this section at& y+ N: \7 g, p! M1 ?
  27. the end:
    7 _# i- }; j5 ~  {
  28. ---cut here---" s' C8 |: M6 k9 @2 T2 j
  29. [DBEXPRESS]8 b4 K; L8 Y& Q$ T( w# D. ?
  30. sqldir=mysql_sql
    1 T9 ]3 m% j! n0 S3 h0 D; o' q
  31. Drivername=mysql
    3 G& i: c; A+ f. g
  32. Database=Your_Database_Name_Here3 O& k/ R8 w0 k; P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 m5 K5 f5 i( R) d6 h4 S
  34. User_name=User_name_on_the_MySQL-Server
    6 y) v6 r( o3 U  Y) K
  35. Password=Password_to_go_with_above_user_name. u) S/ o6 H# Z3 Y* @7 E4 P
  36. GetDriverFunc=getSQLDriverMYSQL
    . ^9 F  Z' ~% e$ I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . F& G% h0 I6 V) s1 s
  38. LibraryName=path_to_libsqlmy_libary
    - P" V: T3 W) k$ ^9 `/ n8 s& T  X
  39. Active=1
    7 P% C% ]) X# P# M  Z9 w# y' l
  40. ---cut here---
    ! Y& h  k4 s% h9 a' g% f6 B  ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 f) N- u% B( |! W) M2 A
  42. ---example---  o0 R7 l5 {  S# ?  u, z% f
  43. [DBEXPRESS]: P8 y; h0 {6 e
  44. sqldir=mysql_sql
    ) w. o  p, f  U
  45. Drivername=mysql& W  j* Z3 v" W# C; ^) w
  46. Database=test0 [+ a' t5 r  {. E7 Y
  47. Hostname=localhost
    " `: s9 F2 U4 L3 B, m
  48. User_name=testuser
    % s, L+ G' h+ E/ S- }" ?
  49. Password=my_password
    9 N$ F  b1 W2 A& _
  50. GetDriverFunc=getSQLDriverMYSQL
    # ]% Y0 h, m+ }5 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 J* a2 t0 _, B
  52. LibraryName=./libsqlmy.so
    2 D$ ~9 |( Y6 d2 w
  53. Active=1, K9 ]: H; I5 B9 C4 c4 E0 w
  54. ---example---
    2 P* I; d7 S4 ]+ \+ j6 b: u

  55. 1 [3 X# {- P0 o: O; m4 x& I7 s; Z! N
  56. On a windows box, also running the MySQL server locally, it would be:
    : ]* O: f1 C! e! [; I! S2 \. F
  57. ---example---. }$ s, Z% G/ [+ @
  58. [DBEXPRESS]
    % Z8 r2 P% c: a
  59. sqldir=mysql_sql
    " ?2 y) l& A% w
  60. Drivername=mysql$ w' W: P; y5 t! u8 P
  61. Database=test
    . U0 A9 h( N" R) D' p3 a" T
  62. Hostname=127.0.0.1
    & Z) M- \6 X5 Q, Y8 S  s( H
  63. User_name=testuser; e. @! V# X# o' F
  64. Password=my_password
    , ^7 k  i0 q8 A( N8 I1 x
  65. GetDriverFunc=getSQLDriverMYSQL
    / p4 S6 y. Z  b2 c% Y; }# p9 L
  66. VendorLib=libmysql.dll
    * w1 C. s' w% Z
  67. LibraryName=dbexpmysql.dll
    ' ^& S: c, }$ H9 t
  68. Active=1
    5 G: ^8 G; ?& o) M1 P
  69. ---example----& o. Z! v5 w! v9 ]2 Q. a
  70. - written 02.03.04 by pwk.linuxfan
    ) k& Z$ ~, S4 R

  71. : J0 o) ^0 P9 k9 D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* B: t5 i; E- j! B9 |

  1. - N4 j7 o- `' e2 E5 |, H, M4 G' g  E, I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : |" V$ @( p. D" \7 n: N
  3. 0 f% U1 B! c9 r3 o) m
  4. # # #我们所需要# # #
    - h+ w5 J, X: N/ N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 U4 Z9 a' H1 n$ d2 O9 Z, a
  6. 不会解释如何做到这一点-也有文件存在,为
    0 V! ^7 `: I. X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 w4 U. e: }# |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ ?' H# }  }1 N& n; E3 P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& H# \0 \% ], @# f3 X
  10. 本地机器,这是我的MySQL安装。 * W" c+ H' X' A- |; _8 i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " j+ S& f' v6 S4 f, e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; F  {+ D7 ~6 O- K1 X! m/ \
  13. 数据库。 9 Y4 f$ h9 V3 V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 E; a! \" L, P( W7 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + {7 a& [+ b% ~$ D
  16. 在teamspeak论坛,如果你有兴趣。 1 S6 s& e6 d+ ^& k; O9 ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, x. g* B  G9 K5 ^
  18. Borland公司使用。这个司机只能界面与客户端库
    : y! [$ j2 z! C- O+ `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( F% H, J$ V5 c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 ?+ V- r, R2 K7 e, W' @) h& ^3 {
  21. " vendorlib " ,并解数据库连接。
      E. V5 y1 C- }3 q* U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 l4 o3 u8 N4 u% A

  23. ' |; B- U, b3 D" u
  24. # # #做好工作# # #
    ! W+ k  m* }/ q0 q. R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 W/ l9 _) }$ B/ g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' Q& |6 q" {0 y5 X3 b- N2 X% X) E
  27. 结束: + g7 l- W1 G7 v# p/ o; Y/ R  u
  28. ---削减这里---   C8 j# N9 {7 s
  29. [ dbexpress ]
    & l* @/ U! ~% A, T
  30. sqldir = mysql_sql
    " L6 r# w5 ?2 o8 p
  31. drivername = MySQL中
    + T& N+ J, _+ y2 G7 c9 u+ P9 J9 z4 x
  32. 数据库= your_database_name_here
    7 n8 B) ~. D6 k- [! J, J( Q# n
  33. 主机= the_pc_the_mysql - server_is_on ) M5 v( ]# t2 `7 F" }  n+ ^
  34. user_name = user_name_on_the_mysql服务器6 l/ f- R; V  d
  35. 密码= password_to_go_with_above_user_name
    1 J2 h$ r  a  w" M
  36. getdriverfunc = getsqldrivermysql $ d* u3 j1 y9 ]# F/ w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , K' o8 c2 X2 a& L
  38. libraryname = path_to_libsqlmy_libary
    7 s! T/ P* i' w; [
  39. 积极= 1 ( u( C* C$ W; f! m# r# v- S" \2 l
  40. ---削减这里---
    6 t1 |6 |1 a7 |; l4 J+ S9 X% j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; V' k! t: k. c3 Y& o
  42. ---例如--- ( e4 ?+ k7 [- E- d2 ^
  43. [ dbexpress ] # ^0 y# }/ c2 v
  44. sqldir = mysql_sql
    $ _* L! H3 l( r- k6 ~! Z$ C" m
  45. drivername = MySQL中1 S% _) V+ ]2 e0 E0 ^+ _7 S& o9 a
  46. 数据库=测试6 ?1 |. @4 M9 Z" E! ^' y' X
  47. 主机=本地主机2 N1 k8 f& J- F9 p
  48. user_name = testuser
    # J' D8 \! Q0 r
  49. 密码= my_password ' I& n/ J* \  w: C3 ?% \/ {* @
  50. getdriverfunc = getsqldrivermysql
    9 Z6 i; @/ I8 X: s5 m& q" e4 R( W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " p6 p' D( M% i, ]; t
  52. libraryname =. / libsqlmy.so
    " p5 z- _2 c  G) Q1 O) M5 G
  53. 积极= 1 " `  ]4 u$ Y& e+ P0 @: H; e3 i: G
  54. ---例如---
    1 u& @# e* S1 D! D. i

  55. ) Q' V8 F9 K1 Z% y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ |+ h( T  Z: W
  57. ---例如---
    . I7 R0 s( I2 {# d4 y) U
  58. [ dbexpress ] & A: q5 k( r3 g
  59. sqldir = mysql_sql " B) U' L1 @) |% B; \
  60. drivername = MySQL中0 _4 o2 p. w. R7 o$ B; t
  61. 数据库=测试
    . Z( h4 I. {% b2 `8 \$ Q+ Y/ W
  62. 主机= 127.0.0.1 ; b0 t4 |4 H6 O+ p2 w/ s
  63. user_name = testuser
    - o, _! F& j5 g
  64. 密码= my_password # L$ G) x9 \. U3 e
  65. getdriverfunc = getsqldrivermysql
    0 W2 l; H8 J; w) N7 w+ K
  66. vendorlib = libmysql.dll在
    3 J2 N7 J. w) V$ ?2 B7 r
  67. libraryname = dbexpmysql.dll
    # j0 F' @5 b( h8 p1 N( V# {
  68. 积极= 1 * d( d# f, K5 w3 d- d& X# ?
  69. ---例如---- * }% \5 l$ \' n7 n/ {( A: G/ E4 X
  70. -写在0 2.03.04由p wk.linuxfan# d% D3 w2 u8 Z/ V% C
复制代码
发表于 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$ c+ s7 u: ]+ |3 D  X* w

; j- Q$ Z* H4 @! O! abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-25 15:21 , Processed in 0.148213 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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