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

3064 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) @4 j! l& b# g6 t8 M
2 s( G% Z6 k( S7 y

  1. 7 U' N1 b# T4 T8 w4 F6 R7 i( _. r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& N. @! ]7 N8 P9 Z$ F# W, U
  3. 1 ]3 `0 z4 _6 n2 O
  4. ### What we need ###
    " q7 o  l+ |0 J0 h0 Z( x+ T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 H2 F" t* l3 P* n+ z3 p1 F  K
  6. will not explain how this can be done - there are documents out there for the
    4 Z$ w+ a, m! ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use) x5 B! q7 O$ m1 r8 a
  8. and a user account (username + password) that has the permissions to do stuff
    - e5 ]3 B( y- V7 N
  9. with the database. Additionally, you will need a vendor library installed on the1 Q5 t( L( T: P( S
  10. local machine, this came with my MySQL install.5 g& N, W; U5 g# Y" A
  11. These instructions will not tell you how you might transfer your data from the5 f/ V8 M9 h+ g/ l# ~0 p, ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / E' F: p' F% g# {' b
  13. database.$ J  G! _) _$ d" G9 H  p- ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at) B( `5 {0 h2 F
  15. the time of writing, there are still too many issues - check the current status
    1 ]4 x" `2 ?* F9 z+ U8 a2 q# Z$ \
  16. in the TeamSpeak forums if you are interested.2 e$ B6 q4 F9 o! N. c1 [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 n; i3 [; X/ X7 ]9 v: @
  18. Borland was used. This driver can only interface with the client library that ' l" ^4 z4 E" x: U( E" w: t, p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 _1 e/ g1 w+ |" W9 |/ x
  20. client library - basically all you have to do is to use a 3.x client library as 4 i8 X4 M8 |0 H  c5 r% X- J
  21. "VendorLib" and a 4.x database to connect to.3 V2 A; R* u! \, ?5 |
  22. If you need more info about dbExpress, you can contact Borland.7 P+ I& P4 u" i6 J

  23. ! d5 \4 j7 J: o2 J! J$ F  j
  24. ### Doing the work ###4 W* g. |0 i2 }7 a- ]/ \5 ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 j: i2 L! C/ _2 \
  26. the perquisites right, just open your server.ini file, and add this section at& ]( \# z3 V) M7 ]9 N
  27. the end:# \0 O* @0 q1 q
  28. ---cut here---4 {8 l7 K5 D0 e. l8 V) r' W% L
  29. [DBEXPRESS]
    1 U$ ^9 q9 O; H7 c  }
  30. sqldir=mysql_sql
    ) p6 }" o1 o0 Y7 Z" j( ~. {
  31. Drivername=mysql
    8 g9 i, _+ p1 E- B+ e! J
  32. Database=Your_Database_Name_Here& R7 j* V/ k( n& S5 t2 ^6 F/ O  h6 y
  33. Hostname=The_PC_the_MySQL-Server_is_on% g1 W. Z( r2 l( h8 P
  34. User_name=User_name_on_the_MySQL-Server4 `/ X, ~, Y, _* @! _
  35. Password=Password_to_go_with_above_user_name
    & b) ?& k' \% U7 c- C# }+ f
  36. GetDriverFunc=getSQLDriverMYSQL
    . _  {" K9 G# k6 V1 c% v9 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 }  D9 P& r9 b/ j2 j! S5 Z
  38. LibraryName=path_to_libsqlmy_libary
    % {8 h7 ]" u: n+ t/ V+ _; M
  39. Active=1; N0 Z6 j. n# l0 h
  40. ---cut here---
    " Z$ x6 P# n7 S1 c9 y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; \: q/ n: ?3 f5 N9 K- A5 i) U
  42. ---example---6 @* A" p& ]1 B) y
  43. [DBEXPRESS]
    , e# y& x- I/ g+ I, f, G
  44. sqldir=mysql_sql
      f  {# p, ~. O1 F6 [* r3 U
  45. Drivername=mysql: p0 T  ?, v9 N# U# j: n
  46. Database=test, ]1 A9 O0 }1 b& x9 l' x. E
  47. Hostname=localhost& l! [1 Y+ g3 d/ o
  48. User_name=testuser
      \! W& f/ U" b# S: f9 _+ A+ e2 z
  49. Password=my_password
    ' q$ u1 U1 ^' K7 [
  50. GetDriverFunc=getSQLDriverMYSQL  m8 J5 |6 Q  m/ s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' e( n; @  ^2 I' D& X: T! ]' U
  52. LibraryName=./libsqlmy.so
    * k3 d- P1 |3 {; _
  53. Active=1' y% @( u5 `9 c( d) v! U$ R/ ~
  54. ---example---
    6 D" u. C4 j( A& `
  55.   {9 K/ i7 @  V8 Y
  56. On a windows box, also running the MySQL server locally, it would be:# `% M- d3 n% Y+ j$ H" }  j9 g
  57. ---example---
    . C( \4 s4 h! Y* P5 S8 C0 i
  58. [DBEXPRESS]9 V. y5 U# a: ?* L  h
  59. sqldir=mysql_sql3 n& r' p# E/ F$ F! q1 k/ ^/ ~! Z( I
  60. Drivername=mysql, z; M* R+ F! L* k+ S) [5 o. l
  61. Database=test
    ; n$ F+ H9 U: O8 m' T# t
  62. Hostname=127.0.0.1
    + @: h& |  F% j2 ]& ]; N
  63. User_name=testuser/ K3 [" |, U8 q
  64. Password=my_password2 |& Q/ f7 d6 @6 q3 p
  65. GetDriverFunc=getSQLDriverMYSQL
    6 [* ~9 |- O. V) c  }
  66. VendorLib=libmysql.dll
    ) S1 A+ M. H0 s& G6 @" U1 ~5 d
  67. LibraryName=dbexpmysql.dll2 S  n  K# M" N' g6 \' x( I
  68. Active=1
    2 ^" v  p' v" k/ y/ \; E9 m
  69. ---example----2 ~1 _0 y4 F+ K$ f% q5 r
  70. - written 02.03.04 by pwk.linuxfan9 ]% t. S. N0 E/ W/ Q7 ^
  71. 9 o" U6 C% m: l" b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 `/ K- f" R2 _# ~* p/ B8 d

  1. # c# B3 `' x* j: i  o6 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 D: }9 n; h2 b+ ]4 `6 d2 Z

  3. ; l9 N0 H+ m' v) C: n
  4. # # #我们所需要# # # . @6 w- G4 _1 W& Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% I  {( [5 X/ e  P; b/ ]% s
  6. 不会解释如何做到这一点-也有文件存在,为' |3 B4 V9 y' c. ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : a/ {% o& M9 ~) I- A( B% l1 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % F2 Z( p0 _5 {  `3 L* ~6 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 `& B  }6 a/ \& i, I9 m
  10. 本地机器,这是我的MySQL安装。 : n9 F( b& b+ b8 j* L9 E; A4 _5 t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; y, i4 U6 r1 W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / \6 r; Q/ \9 m5 h5 X4 t& R  q
  13. 数据库。
    " w0 Z/ @, \. }. C# Y: P2 a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% k# ]/ u5 Z/ W
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 G' _4 L8 y6 ^* Q1 U
  16. 在teamspeak论坛,如果你有兴趣。
      [3 ]' l8 s# f" s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 }% ~" U% h- x) r
  18. Borland公司使用。这个司机只能界面与客户端库
    4 s5 n" p6 O3 b6 |1 V2 g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 ?/ h( p. |+ w$ E4 z7 e& s; s. ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  @8 ?$ ~" w3 t- b, X" G; Y
  21. " vendorlib " ,并解数据库连接。
    1 @9 K5 d- x) ?' ]! k$ x0 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / p. L+ }  ]. M# Y/ r: @$ F
  23. . C6 a7 t3 O5 r
  24. # # #做好工作# # #
    & s% K9 z4 R* A" q, V. x4 k6 Q3 s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 T, L3 o) k) Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 l0 A' e. G- u
  27. 结束:
    0 ?4 w$ ~  a  }# ]9 `( g( m
  28. ---削减这里---
    . U+ [& @& D+ ]/ ^( t, ?3 O( ?5 i( `
  29. [ dbexpress ]
    $ R2 H: n/ E* [- R/ a  l
  30. sqldir = mysql_sql
    2 _8 z! @8 o# R: b2 O. `
  31. drivername = MySQL中- k' i, ]$ x$ ~; S, H  H# ~
  32. 数据库= your_database_name_here
    & \' h; P( B0 F% ?
  33. 主机= the_pc_the_mysql - server_is_on
    % `& @( m0 V% K
  34. user_name = user_name_on_the_mysql服务器
    # h1 l7 e# G& r* D4 J
  35. 密码= password_to_go_with_above_user_name , `5 n7 i  }8 b$ ?9 j2 R+ `/ T- q7 ]* ]
  36. getdriverfunc = getsqldrivermysql
    9 W2 y1 c( E# t' F. G# s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # f+ {- ^2 X% u1 g1 p& w* m0 c8 N
  38. libraryname = path_to_libsqlmy_libary ! a  d( Y$ V3 T, _3 B% q
  39. 积极= 1 . ?, U+ U# k, |; }& R$ h8 f
  40. ---削减这里--- + k3 y7 V* R# c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; ^8 |: e3 z$ U! K' J: {6 ]" |7 H
  42. ---例如--- 7 ?5 v4 r- a# B# w! Z! _8 Q
  43. [ dbexpress ] 2 N& v1 {9 ^3 |
  44. sqldir = mysql_sql ) m1 X! Y* K! y9 v0 v6 K
  45. drivername = MySQL中( H5 ^/ X4 T% }% b5 z" ]. V) \
  46. 数据库=测试. x& R* ^) k, N: h
  47. 主机=本地主机
    5 Q9 j' `, j9 g( e. w2 P/ O" `% U
  48. user_name = testuser 2 L. a5 R1 v2 I$ S5 I
  49. 密码= my_password
    ' H% K$ J) n' J$ i
  50. getdriverfunc = getsqldrivermysql ( S0 P) |4 h5 k& {1 ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; `& i; z" D  m( ?9 y
  52. libraryname =. / libsqlmy.so
    ( G4 P& i+ J+ d$ u
  53. 积极= 1 / q/ W+ w. m- r0 a
  54. ---例如--- ) ~1 Q) Y6 W% n6 M& m
  55. # W( u5 _7 Q! p7 H: V7 R; X% W5 E+ n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   L% h; i6 ~, p3 F# |
  57. ---例如---   S- z3 C" w$ ]! W$ W: [- S
  58. [ dbexpress ] 9 f, A  L& m: k
  59. sqldir = mysql_sql
    $ T2 G2 f6 A: m: @
  60. drivername = MySQL中
    ' I3 ?( @7 o/ v5 l9 o0 z/ T
  61. 数据库=测试
    5 h) f" `. z: G9 k5 Q2 k
  62. 主机= 127.0.0.1
    3 n2 Y- l( V8 _5 D
  63. user_name = testuser , f. Y7 }3 y3 |4 g
  64. 密码= my_password
    , J" V$ G$ J" r9 n. [7 h, y& Z
  65. getdriverfunc = getsqldrivermysql * `4 z6 p* H) Q* h. O
  66. vendorlib = libmysql.dll在2 N* _) z9 f( e) d6 o3 e8 l
  67. libraryname = dbexpmysql.dll ' O/ ]9 Y; u( h+ b1 q* L
  68. 积极= 1 0 Y9 B1 @: B3 |- a  T
  69. ---例如---- 9 D- F9 v1 g1 A2 ]4 d, Z
  70. -写在0 2.03.04由p wk.linuxfan, t7 V- y" q$ p, q! ~
复制代码
发表于 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 words7 ?. t. i6 [" v2 m8 E5 q+ P
( w5 j) L0 b3 U2 V1 R
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-24 15:21 , Processed in 0.109701 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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