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

3190 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 i$ b: i+ I! X2 t8 Q/ [, m
3 A  b4 i' `! p0 b! {4 n) k) w* `
  1. 7 S$ O6 C7 y# L/ g+ y& {( p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( m7 q9 }  V% Y* |5 H

  3. " N( J1 N" H2 e0 t
  4. ### What we need ###4 t* ]1 \; p, e) V7 _
  5. Naturally, we will need a MySQL server to store the data for us, this document . b; E1 V( Z0 p: ?' _! q9 @) F
  6. will not explain how this can be done - there are documents out there for the ' M2 k5 w$ S% A5 T1 O% R/ J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 \& h0 K% ~- c3 ?0 b# m# _$ N
  8. and a user account (username + password) that has the permissions to do stuff2 c2 f8 b' B+ d
  9. with the database. Additionally, you will need a vendor library installed on the
    : A# ?/ S' Q' l# z1 g
  10. local machine, this came with my MySQL install.0 o; ^/ b0 n# M2 f" {/ G% L9 C: _4 i
  11. These instructions will not tell you how you might transfer your data from the6 [) p, Y1 ~; m% H! z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 I: f' N0 q  H3 R% I
  13. database.7 z; h8 Q) m. t3 ~2 ^: y1 ~  d! l' |
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 C& `7 e9 e/ U! k4 |9 ?
  15. the time of writing, there are still too many issues - check the current status2 |/ l1 U  }3 L2 C
  16. in the TeamSpeak forums if you are interested.6 E% x2 _$ s: v) s% {( f3 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % e' U6 o/ a0 N/ y2 g! M: }. y4 |  [
  18. Borland was used. This driver can only interface with the client library that 7 @5 L# c6 J' j) Y5 s( w6 ^, Z( G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, _( D5 f, ^* \1 z$ p$ D* A9 L
  20. client library - basically all you have to do is to use a 3.x client library as
    3 h) c3 c1 z( B& Q0 r+ j
  21. "VendorLib" and a 4.x database to connect to.$ A) ^. {' w% |  s0 L% i1 M
  22. If you need more info about dbExpress, you can contact Borland.
    / g5 w7 X! O  Y0 ~6 p8 |
  23. , l' T' O: I% ~" g7 w' b
  24. ### Doing the work ###
    & Q# a. N5 h" o5 l2 C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ c: W+ d! W+ h" ^- M( q
  26. the perquisites right, just open your server.ini file, and add this section at+ j- [. U2 q7 M+ W: p# @: j
  27. the end:
    ; w& x! a- i/ {* X. g3 c1 E
  28. ---cut here---5 O, C6 g9 O: M) E$ t( Q
  29. [DBEXPRESS]& i) L8 n/ C& i; ?) O6 N
  30. sqldir=mysql_sql
    6 a1 y" p! i( W+ b& f
  31. Drivername=mysql( i1 B4 {* r) v# E! w3 ~  {
  32. Database=Your_Database_Name_Here
    3 f! a4 e2 [! g. g4 E& i4 Q. S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) u( K/ X' G" E4 }( w  I: f
  34. User_name=User_name_on_the_MySQL-Server
    1 `0 `- z  m2 a8 F4 |% u. y
  35. Password=Password_to_go_with_above_user_name
    5 ]7 _3 R8 R9 d  X7 e: n
  36. GetDriverFunc=getSQLDriverMYSQL$ V3 j+ b' D- W+ e9 ^& B0 ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 I# u7 y+ W  B2 o: g$ D
  38. LibraryName=path_to_libsqlmy_libary" N. m7 _/ D7 I" o5 \
  39. Active=1& e0 {6 ?  e. g; }) ^1 I4 F. Z
  40. ---cut here---& y5 Q% o4 z9 i. g5 J( V# r; N9 T
  41. In my environment (a linux box with a MySQL server running locally) I have:" a8 ]5 Y) R$ h2 T# D, j
  42. ---example---+ a. e  a+ a/ u4 h
  43. [DBEXPRESS]% b6 q3 v  X/ S8 G# r, [
  44. sqldir=mysql_sql' t6 [) @% {+ r: S" t
  45. Drivername=mysql: q) y3 k/ V% H1 W. E
  46. Database=test  ]$ A5 Q2 Y3 J. l" c# e1 w' G  l8 ^
  47. Hostname=localhost
    7 q) ?3 N7 j, R' }
  48. User_name=testuser" w0 @7 @4 `3 k/ t/ d( w" P5 z
  49. Password=my_password1 J# Q+ y4 p% m# _
  50. GetDriverFunc=getSQLDriverMYSQL" E, ]- ^5 ^( g  `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  @+ ^9 k, G7 K  r* k6 ]
  52. LibraryName=./libsqlmy.so
    % y; `) W7 d8 G
  53. Active=17 W: M8 F- L( D1 c/ t. x
  54. ---example---0 y% n+ r4 b- H& y* A

  55. 8 T# B! f& a! Y) _
  56. On a windows box, also running the MySQL server locally, it would be:* t/ [1 {9 i8 F: B" C2 o5 D
  57. ---example---
    . {3 G2 [4 ?  e6 g
  58. [DBEXPRESS]( c2 c6 ~/ s7 `0 w1 z2 e
  59. sqldir=mysql_sql
    1 j: m+ h7 t; d+ y0 y
  60. Drivername=mysql
    . ?1 m. I' q0 p" T
  61. Database=test
    . U6 Y6 u  `' ^! D( m7 J! H
  62. Hostname=127.0.0.12 t( E6 `+ l1 J8 m/ t. ?3 j
  63. User_name=testuser: \/ u/ J5 X( q+ w( B  a
  64. Password=my_password
    0 x$ a& d: Y: u. R
  65. GetDriverFunc=getSQLDriverMYSQL, V) g* \/ }) K0 x5 X3 j
  66. VendorLib=libmysql.dll
      \  K$ N1 d1 _( C& Q! J
  67. LibraryName=dbexpmysql.dll# p! e; N5 n* h/ j0 W9 v/ q
  68. Active=1
    1 ^  n. O& X2 A& k0 m
  69. ---example----3 Y& ~9 y9 w. Q+ ~# b
  70. - written 02.03.04 by pwk.linuxfan
    ' Q( D/ m2 ]& b. N

  71. ) g8 X( y' c$ b5 F% d& p+ Q( `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& _; F6 r8 Z$ o; q
  1. - G0 ?( j2 K; z( T1 j: H& v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 y3 n" H: r/ g' O/ G

  3.   P# r. D( ?' a: m3 N+ o' r
  4. # # #我们所需要# # # 8 Q4 Z& D4 |# ~5 w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , E+ O2 [, U1 C  M
  6. 不会解释如何做到这一点-也有文件存在,为
    : y: i2 \  {/ E( a2 n1 h* R+ j" ]! L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ p+ n, T2 q, _5 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ h$ Y. C, M3 U* e+ E& T) b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : f( Q% |2 b7 r3 f
  10. 本地机器,这是我的MySQL安装。
    $ p7 L( g* F! Y, F3 ^0 w1 E4 Q8 m2 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , q* Y# c- J" Z6 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( v: h3 k+ J9 t! s, Y. v" c
  13. 数据库。 $ l+ n+ }8 m/ [3 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 l. l- s# P0 L' K. Z' C! T# J
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 U' R% G/ c  E" o" k9 V! b" n
  16. 在teamspeak论坛,如果你有兴趣。
    3 @  Z0 d0 z, u+ D$ J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # i7 Y* b' `3 ~) g1 `1 C
  18. Borland公司使用。这个司机只能界面与客户端库4 ^) J- K4 T5 U/ [4 L+ A, j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 E! k' B5 @( ]) H" Q# f! I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 s3 q3 }- k1 E  A9 P% i4 d
  21. " vendorlib " ,并解数据库连接。 6 W, M* q* h: B% B4 N" {! o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   i7 O9 V) P2 \9 N4 l( q. ]

  23. # Y7 x; n+ F' ^5 V, z  U& p$ |, A
  24. # # #做好工作# # # 1 h* b0 c; V( x& F2 l9 u; e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; j6 h. n) c( u( X2 h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / v: i$ `9 d; W  a( }. E% c: I
  27. 结束: 9 V' }+ c7 l2 f
  28. ---削减这里--- # m( E# l8 v' W# Z: D' y7 k. }$ I
  29. [ dbexpress ]
    ; I) e. m- ]+ w: W! @
  30. sqldir = mysql_sql
    8 o% N/ R* r* |, u
  31. drivername = MySQL中
    9 N; Y/ |. E& M9 Q
  32. 数据库= your_database_name_here ( T* B. `0 h9 q- V' t8 G  E! s
  33. 主机= the_pc_the_mysql - server_is_on " u9 T. Z. D9 l( l
  34. user_name = user_name_on_the_mysql服务器
    5 P" {' U, O" K6 Z1 }: U2 b
  35. 密码= password_to_go_with_above_user_name : T; J1 I: y4 H' B& t
  36. getdriverfunc = getsqldrivermysql
    ( O: r2 G- T7 Y8 t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 N& T- ~- T/ {2 }
  38. libraryname = path_to_libsqlmy_libary 0 B  E7 |& S; Q
  39. 积极= 1
    * `2 L9 n5 j: S. K
  40. ---削减这里--- 7 P9 y8 X5 `, \9 A9 l" {. o' G7 \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / h7 P8 U$ }1 ^( q
  42. ---例如---
    7 ?; M* W8 V, B# Z! X4 ?
  43. [ dbexpress ]
    - @5 }; \  P5 P4 m8 L2 P
  44. sqldir = mysql_sql & t. A  r, `# ^
  45. drivername = MySQL中
    5 }7 A* ~; U" O+ u; I- ?
  46. 数据库=测试8 ?1 k3 C2 L3 p  a+ ]3 t
  47. 主机=本地主机
    7 U  n5 k, u& {9 E! [7 |7 N
  48. user_name = testuser
      g! y5 ~; _" u1 L; J
  49. 密码= my_password
    # T3 Y% F+ O# s5 m, B. v
  50. getdriverfunc = getsqldrivermysql - L) l$ O. T9 m. E# {& Y  ?% D! b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 _0 W$ Q4 R2 S  _5 ]0 U; |
  52. libraryname =. / libsqlmy.so / C' J( b) g  K+ K' G
  53. 积极= 1 2 \/ W' q& l) Y- [% @. Q4 g, Q; w
  54. ---例如--- / u" V4 n6 s$ E- [% U: g) r
  55. . o, M: |! z+ A1 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / T6 A' ^  C: S& X% \4 k
  57. ---例如---
    & h: ~4 c0 ]4 l, V2 K; Q% ]2 [. X
  58. [ dbexpress ]
    - z- L1 b1 C/ g  E( w4 b! r: l+ f; ^
  59. sqldir = mysql_sql 5 l3 l+ l) e" M) Q3 h
  60. drivername = MySQL中
    ' Z/ i& s4 P7 u6 B) s- G$ B# M
  61. 数据库=测试
    / _4 h2 v7 n! [8 H3 ]4 d1 ?
  62. 主机= 127.0.0.1 3 v% p% Q  m$ r  u1 Y
  63. user_name = testuser
      F% Q" P9 L% |* U% ?
  64. 密码= my_password $ N8 s) H. E( d
  65. getdriverfunc = getsqldrivermysql
    5 m' F5 v* }7 I6 W
  66. vendorlib = libmysql.dll在
    ) W" D& M) ^6 d9 c- U6 ]
  67. libraryname = dbexpmysql.dll ) S3 Y+ t3 ~- d: \  L. [
  68. 积极= 1 * S# t$ z' o' z5 f! X
  69. ---例如---- - R3 o/ }& U$ E3 p
  70. -写在0 2.03.04由p wk.linuxfan5 i% E5 n$ V$ X# {
复制代码
发表于 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
& p/ T" ~/ q; h* S% _
2 J$ q( w% ^2 z# O4 e; W$ b0 ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-19 02:04 , Processed in 0.092062 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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