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

3097 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + R. v' \4 e+ U
# Q; Y7 V1 @* K0 g0 b

  1. 0 w& X( m' |+ r9 N# r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ G: g$ v; r+ z; t. P1 ?) Q

  3. 6 M0 `5 C0 v9 x7 A
  4. ### What we need ###7 ^5 P/ \2 L: l: e5 ?! s
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 c$ ?1 m, K$ d1 P; q
  6. will not explain how this can be done - there are documents out there for the
    ; i  {* r5 L% K! ~* o# P
  7. interested. The requirements include a (empty) database for TeamSpeak to use! Q, g. _6 {& V: X" q
  8. and a user account (username + password) that has the permissions to do stuff
    ; j6 m; v+ _& b9 z
  9. with the database. Additionally, you will need a vendor library installed on the
    ( e3 J( A. o5 c0 e# |
  10. local machine, this came with my MySQL install.3 D7 W) u' w. l: x' x
  11. These instructions will not tell you how you might transfer your data from the
    1 Q8 t+ j1 R1 ?* }/ A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 A$ O# g9 @7 X5 D; y
  13. database., F! R9 o4 A3 t, ?, l
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 k% s% z8 j: _+ \& ?+ h6 R. Y; s$ r
  15. the time of writing, there are still too many issues - check the current status, W- t/ D6 m5 u/ M6 q( d2 g) ~
  16. in the TeamSpeak forums if you are interested.
    ! g0 P. R0 S3 |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " v: J$ G5 @# G
  18. Borland was used. This driver can only interface with the client library that $ H) D1 R2 p9 k4 Y3 e8 B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - A  F# r9 `/ |  S- d8 @
  20. client library - basically all you have to do is to use a 3.x client library as
    3 K3 D0 H8 R8 h
  21. "VendorLib" and a 4.x database to connect to./ {- P4 y3 [+ o  t* T* @
  22. If you need more info about dbExpress, you can contact Borland.! y/ O& T, ^5 R; g' i) f

  23. 9 Z1 _& [4 B9 q: g& J
  24. ### Doing the work ###
    4 ~. }! Z0 v5 K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 e$ T7 G9 v4 S5 e; R
  26. the perquisites right, just open your server.ini file, and add this section at  \, n; _7 d# f; B
  27. the end:
    6 u( S7 {/ L6 y; v
  28. ---cut here---
    ' N0 s! T: r3 J
  29. [DBEXPRESS]
    : h/ A. q% `2 l9 ?! P5 p( e% ?. s
  30. sqldir=mysql_sql  Q( y. A  b: ]: _6 y$ Y
  31. Drivername=mysql
    , Q' }% a$ W& M0 }  _8 h
  32. Database=Your_Database_Name_Here
    ) \: J- m: ]0 P0 H
  33. Hostname=The_PC_the_MySQL-Server_is_on$ F% h& t% g/ Z1 j7 S
  34. User_name=User_name_on_the_MySQL-Server0 m; V$ v; }& ?4 t
  35. Password=Password_to_go_with_above_user_name
    ' I$ P4 M8 N* e
  36. GetDriverFunc=getSQLDriverMYSQL9 R2 O/ h# e3 _* r& c* ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 p$ ?# Z" Y5 s- a9 U$ h! u
  38. LibraryName=path_to_libsqlmy_libary
    " E% `0 a+ n0 m4 ?1 I- r/ P
  39. Active=1' D6 j" P7 t% ^- J% ?' Z
  40. ---cut here---' Z4 Z% H9 `2 c$ g* w0 @5 N: h
  41. In my environment (a linux box with a MySQL server running locally) I have:! ?  r* z' b2 v6 {3 y5 x# [6 W
  42. ---example---5 w3 w" o. l) M: K
  43. [DBEXPRESS]
    ( t) R' c$ W# X) ~4 T  \9 W
  44. sqldir=mysql_sql" f6 L# [7 ^. @, Y0 z
  45. Drivername=mysql
    + ^! u8 [' Z$ S) Y
  46. Database=test
    , m, E7 D4 D! K: `( D( h6 |# v1 v
  47. Hostname=localhost
    * F1 u' @: q/ J# G) a+ g
  48. User_name=testuser
    $ M" H7 Z3 q6 \- T' }/ N
  49. Password=my_password+ s) y8 ^+ y/ V+ I) ^
  50. GetDriverFunc=getSQLDriverMYSQL; o) R% M$ G4 Z+ V2 A6 L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  s3 b) v  T% N
  52. LibraryName=./libsqlmy.so
      e" w" e& B9 [. L' h3 l+ S
  53. Active=1# l; Q, @/ Q6 |- ]& M1 i  ]" J
  54. ---example---
    * R5 y* P& l; _

  55. 7 ^" W. K" A. H& T- {+ S- ?: E! ]2 g
  56. On a windows box, also running the MySQL server locally, it would be:
      J9 W  v  j& G9 Y7 C0 Y
  57. ---example---
    1 w. I" \' U! v; f0 ~
  58. [DBEXPRESS]
    ) V/ m. b2 ^1 o8 a
  59. sqldir=mysql_sql
    + M2 n# P' I( a# M
  60. Drivername=mysql
    ! H9 @# O/ Q, v$ C2 A! V
  61. Database=test
    * Z6 p! s4 e  W- o4 Z
  62. Hostname=127.0.0.1! F6 N4 S& n3 f0 b+ a0 j
  63. User_name=testuser1 M5 r9 @! d  W/ ?! l
  64. Password=my_password
    ! Q' ^, v- l: ^6 ^' F' I, P
  65. GetDriverFunc=getSQLDriverMYSQL0 t# W; E; t, \/ Y9 M* m' r& J
  66. VendorLib=libmysql.dll
    ) |; f  _* }+ L% O; K% s( f
  67. LibraryName=dbexpmysql.dll
    # j/ w2 I( ^" [
  68. Active=1' @, y  v$ M7 j3 C
  69. ---example----3 ]! i" a! s1 j% m* T& _
  70. - written 02.03.04 by pwk.linuxfan4 k  T0 s- z  k( d$ Z0 d

  71. ! \  ~% B1 q( ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 P" r0 l  N+ A( r
  1. 8 [) G& c3 y' y4 B7 ]& l2 w2 n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 a3 t9 M$ _' ^& R/ c$ ]
  3. ) X9 ~2 O/ q3 G
  4. # # #我们所需要# # #
    3 Z8 ?& m5 `0 \+ b; m2 U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' ~8 Y# M0 ]* Y
  6. 不会解释如何做到这一点-也有文件存在,为
    : @! z  K# r& p8 V+ i) R3 D6 b/ z3 f" E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % ~. @% X( z7 N2 P9 M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 T/ a% y! N3 B0 N/ W( _8 a7 K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, h/ c, _- w! \
  10. 本地机器,这是我的MySQL安装。 ( P$ C! N; p! _/ s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- F2 f, T# }; L2 e6 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' e5 v$ V. v* @6 G5 C! R
  13. 数据库。
    6 h; v5 u; t, w% \1 S& J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' T# T4 I# K9 U( D. E: ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 o( ?  _4 w' W2 C) K2 U* k5 o
  16. 在teamspeak论坛,如果你有兴趣。 & o. K, h$ S1 x  V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) c5 x  h. \9 @5 J1 n! k
  18. Borland公司使用。这个司机只能界面与客户端库: `2 M* S8 A6 V! Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " x1 [* ~5 R! x9 f# \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为: d# `+ T2 a5 _  d3 z
  21. " vendorlib " ,并解数据库连接。 - v5 h5 E8 v$ K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ V; }+ C4 D9 F% p
  23. 2 G' \# K" `- R+ P( B: ?' ?* K
  24. # # #做好工作# # #
      v1 W; M: l# z" E* a4 f, \
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , I5 ?% a3 m: e' p; V. c; D. K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 l' c- Y* N; O5 B' S) L& c4 R) c
  27. 结束:
    6 m* f- i. b: K. C
  28. ---削减这里---   b2 D+ s2 d' Y, N' g# Q
  29. [ dbexpress ]
    ' B! E, l& M1 m# o7 G* _
  30. sqldir = mysql_sql * c2 I$ ?4 a5 g; O  h
  31. drivername = MySQL中
    * m. |6 d; r% k7 u! B$ [- v* ]
  32. 数据库= your_database_name_here
    + `) N9 f( G$ a4 \6 I6 O) {
  33. 主机= the_pc_the_mysql - server_is_on ) t+ d' Y& y4 g6 v; w6 s. x+ c
  34. user_name = user_name_on_the_mysql服务器
    2 u" i: P8 u  a0 D; E( E
  35. 密码= password_to_go_with_above_user_name % M4 E& v# d) ^& }9 f
  36. getdriverfunc = getsqldrivermysql 3 T7 J( @! h4 V" r' N( D3 U  }4 l: r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 F, s: s- f: j
  38. libraryname = path_to_libsqlmy_libary
    + p7 Y' A$ `0 t  _4 N6 a& ^: [1 J' n
  39. 积极= 1 0 j# r* K5 ~; c( J
  40. ---削减这里---   W' V. F, d0 H* x# n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / n. X' ]5 _" S6 o$ o0 J
  42. ---例如--- ' s0 l- k6 a% q/ d* v+ u
  43. [ dbexpress ] ! g1 Q% n1 E/ H! b% Z% o
  44. sqldir = mysql_sql 8 K6 V% _; f; @' Q8 }4 ]; E
  45. drivername = MySQL中
    # S3 d) h4 S, ?
  46. 数据库=测试6 y6 H) N- L/ d) z
  47. 主机=本地主机3 f" a( n- L  q# R
  48. user_name = testuser 3 P$ A  m& _: N9 R: L
  49. 密码= my_password 2 L, O# N* S6 _" Q. f+ `5 L: p; Q) O
  50. getdriverfunc = getsqldrivermysql
    " y2 ?5 x; I- N- d7 \. I/ \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 u0 u9 O5 E* h5 _
  52. libraryname =. / libsqlmy.so % v5 v  s5 K" e. \' N; b2 @
  53. 积极= 1
    ! n4 Q) B* c" T5 i9 M
  54. ---例如--- % \$ Z- k) M" g" x  S

  55. ( s; }3 x. Q  w4 ~0 j* t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 G4 Q4 D% e. N; {: ^
  57. ---例如---
    ! I/ m: |7 p) w* |/ [+ W3 N
  58. [ dbexpress ] # t! ~; |# q# a6 `( u
  59. sqldir = mysql_sql
    % `$ y( n  s; ^9 n5 f
  60. drivername = MySQL中
    5 t) w0 R( x  Z4 I$ Z+ m
  61. 数据库=测试" K$ }1 V& }$ B$ W( S
  62. 主机= 127.0.0.1
    0 H4 L/ K/ o' N5 x  ?
  63. user_name = testuser
    3 z$ Z5 ~& R! R- W, w- u+ W
  64. 密码= my_password
    , o# W, v6 {6 i! E
  65. getdriverfunc = getsqldrivermysql
    . W. M7 X' T" h
  66. vendorlib = libmysql.dll在2 ^" g8 k5 U1 Y
  67. libraryname = dbexpmysql.dll
    5 {, r" L- ?- B5 p+ ^9 p
  68. 积极= 1
    ; N) ~" h! I& ?! N: T
  69. ---例如----   a1 `# C( M! o
  70. -写在0 2.03.04由p wk.linuxfan, w7 B+ I  @9 f; g/ v' g
复制代码
发表于 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
! k' ^' b* ]% I2 G
' w5 s: y1 S0 I- b% ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-1 02:00 , Processed in 0.117550 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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