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

3365 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! P- K" H! ~$ }( N1 z

+ Y4 h! q2 B9 ^) ~2 _0 R, T; e

  1.   T& z& l7 S* V7 D/ Z; |2 H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # M' D  d" J, C  b! {
  3. $ s: Z4 @( S4 S; S3 S# ]. v
  4. ### What we need #### F% J  y# y6 }8 N: F
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 ^% n. x% ~* H; O7 o6 x" X
  6. will not explain how this can be done - there are documents out there for the
    ) c( _/ x" A, Q; ]6 N% t, @% ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ Y1 @/ C- `9 `) F8 {8 o5 r
  8. and a user account (username + password) that has the permissions to do stuff5 h7 q! S1 i2 Z3 ^
  9. with the database. Additionally, you will need a vendor library installed on the4 }, Y' t8 {' A1 E3 w1 q1 {& _
  10. local machine, this came with my MySQL install.
    6 ~* U$ W1 a+ l9 @
  11. These instructions will not tell you how you might transfer your data from the
    * ~. g! q% u- ?& d2 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . }5 G3 d6 W' T" q* ^
  13. database.
    : S8 T  d+ w4 N& D5 Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 t4 g  B2 S2 q$ ?) a
  15. the time of writing, there are still too many issues - check the current status. z* f& e: U5 \  z  `) h- x
  16. in the TeamSpeak forums if you are interested.
    & ~+ o  X7 q  E% Z3 C& b3 @
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 l: s' s/ G2 y  U
  18. Borland was used. This driver can only interface with the client library that
    " p: c  }* i% j2 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / l1 z) {+ z3 g( `4 ^/ B
  20. client library - basically all you have to do is to use a 3.x client library as * I3 n2 T3 b: Q/ f
  21. "VendorLib" and a 4.x database to connect to.% E! d4 h9 o* a' w3 g" B
  22. If you need more info about dbExpress, you can contact Borland.3 l# w7 n7 r( E, S) y6 v4 _) m5 [
  23. 7 |/ @/ T9 \6 ~
  24. ### Doing the work ###: R) ^4 C8 Z( ]' O. f1 J6 i5 P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 y. M6 q" a  M. W1 K# K
  26. the perquisites right, just open your server.ini file, and add this section at
    $ B2 K) `5 K- K9 ?7 {
  27. the end:7 B$ b5 O: f: [& t
  28. ---cut here---
    ( D7 x! @$ R* H8 C' k+ z' p1 u
  29. [DBEXPRESS]  r: ~/ e6 O* \/ E9 k$ j
  30. sqldir=mysql_sql! }$ ^7 B: r1 }1 I5 r) R- j) a* i
  31. Drivername=mysql
    7 ^; I$ Q5 ~4 t! O0 j
  32. Database=Your_Database_Name_Here  `! C$ d1 c: s9 p
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + ^6 h% G# F8 f3 D
  34. User_name=User_name_on_the_MySQL-Server
    + Z! V( D7 y' m2 B7 D3 h% n: y
  35. Password=Password_to_go_with_above_user_name! r9 I: Z0 N' i' Q. t7 g4 j8 B4 E
  36. GetDriverFunc=getSQLDriverMYSQL
    / O0 t- @, e& X) i" I* l  s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : f( h) F" n+ ^) k9 q, x% |$ K
  38. LibraryName=path_to_libsqlmy_libary
    % b4 B& c4 s% p  j0 W. {; k+ E5 G
  39. Active=1; j1 V- k0 F' Z" ]
  40. ---cut here---
    ' l. C5 @" x0 F7 l
  41. In my environment (a linux box with a MySQL server running locally) I have:$ F; r( E' `7 \) s, d) `
  42. ---example---
    - s. r" A: @, E8 ~7 B- `4 G
  43. [DBEXPRESS]) Y' t1 D1 Q! u6 _9 y6 U# c5 o, q
  44. sqldir=mysql_sql5 i7 B5 @$ O9 E0 t9 N& L5 h
  45. Drivername=mysql% h9 W. _* {9 u' p& s" i  G
  46. Database=test, u* _! O! H& i$ m7 C$ b3 A
  47. Hostname=localhost" X- g1 E4 J1 P$ s) K& w
  48. User_name=testuser( C* c8 S' r" o; Q  u; j5 _4 A
  49. Password=my_password, B8 x! s! |8 H1 T9 w. E4 T
  50. GetDriverFunc=getSQLDriverMYSQL
      k2 w2 ?% M7 y+ I- d1 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" O" @# O7 \: f7 e
  52. LibraryName=./libsqlmy.so
    4 W0 m# }# J* Y( _, c7 }4 Q' K
  53. Active=1
    % d, o2 T" G% Y# n1 j8 w- o
  54. ---example---2 P# v/ U5 U. i1 j9 ?0 b; \
  55.   p; T& u. J7 B/ _- g
  56. On a windows box, also running the MySQL server locally, it would be:
    3 ~5 U( R2 o: F, e8 f# n8 v
  57. ---example---
    # G) j5 l$ I( _* O0 t4 k8 `# G
  58. [DBEXPRESS]
    0 ~: T6 l9 I8 M, G. y" E
  59. sqldir=mysql_sql
    0 B6 x6 ^! Y# I5 B
  60. Drivername=mysql* i! J1 \! R" W
  61. Database=test: x5 X& n- D4 t& `' z1 F
  62. Hostname=127.0.0.15 s' x: h$ R3 {9 P. M4 ^
  63. User_name=testuser
    # s7 j+ L7 g7 h% k0 E
  64. Password=my_password6 t8 H+ \3 p  J. B
  65. GetDriverFunc=getSQLDriverMYSQL7 D( |+ w+ u+ s$ B+ r" U9 R
  66. VendorLib=libmysql.dll
    9 Z+ M* S" n' ]$ {
  67. LibraryName=dbexpmysql.dll
    * o3 G( G7 t* x& `' H$ Q
  68. Active=1  V, o6 s5 }; q! l! w. e4 g8 Q+ i9 t
  69. ---example----+ ^2 k4 M1 r6 K. m" U; v' d1 ~6 I! a
  70. - written 02.03.04 by pwk.linuxfan% I$ X9 n, T& v3 R* u; e* \
  71. 1 n  K- T2 [6 R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 q! y7 |  d/ k! p; E7 B8 g- E

  1. ( F, y: e6 B$ o4 I; t* u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! c$ e6 L  ]! v+ Z2 c! W

  3. " {' J0 H8 E2 L
  4. # # #我们所需要# # # 3 z* J( T4 ^1 ?% B! f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 a+ K1 y) ?0 A, X# g' v6 a
  6. 不会解释如何做到这一点-也有文件存在,为9 a! ?# K! S, [  i$ t/ l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' C7 f" L0 \- r* I3 E% s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % q$ H5 ?7 G: Q  j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( R& a: r$ w" ^' k1 f6 L4 Y
  10. 本地机器,这是我的MySQL安装。 9 `/ \0 |7 d. ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : ]) L7 p; s: e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! Z4 X5 s4 B' H6 K$ }4 f
  13. 数据库。
    9 R$ ~& C7 p0 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & x( {( Y* |/ q. q4 M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * o0 H, ]( l/ f3 \- N) X
  16. 在teamspeak论坛,如果你有兴趣。 6 `6 `* `" r% t: E- J! j5 P0 p8 }' w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + p9 a- }7 p! I- b
  18. Borland公司使用。这个司机只能界面与客户端库
    ' q0 C5 j; m/ T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 L0 Y5 \6 v2 \) I& c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & G! e2 V: \/ C& `/ C' v
  21. " vendorlib " ,并解数据库连接。 ( g2 K% R$ A4 y2 [  i2 y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * X; I' t$ Y' f3 V

  23.   I2 [/ k, Y" o  }1 X
  24. # # #做好工作# # #
    ' l! V2 U+ m5 ~  w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( V4 s1 O, D6 z9 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 @, I" ~/ [4 l& D7 q8 H2 {, ^! s
  27. 结束: 0 |- v& |' l- D& U" D
  28. ---削减这里--- * h* z0 w; y& R# W# h
  29. [ dbexpress ] 3 o" f: H' r# }9 j; D8 ^
  30. sqldir = mysql_sql
    2 i; `' u- d' b
  31. drivername = MySQL中% o+ Y+ a0 S) c+ ]
  32. 数据库= your_database_name_here 3 ~( q' ]8 B( g5 _# O! ~
  33. 主机= the_pc_the_mysql - server_is_on
    , H1 D8 T+ w( C
  34. user_name = user_name_on_the_mysql服务器) p2 K8 g, i/ s  n1 X' Q9 G# @
  35. 密码= password_to_go_with_above_user_name 6 f1 S6 W. M3 d" X
  36. getdriverfunc = getsqldrivermysql
    * @6 _3 e+ \' {0 p# S' a1 A/ N; F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , I* y) l% c/ a/ i: Y+ l
  38. libraryname = path_to_libsqlmy_libary ' o" X7 J, g% d* s, w
  39. 积极= 1 2 T2 ]  E) L% P( Y+ J
  40. ---削减这里--- , c/ @4 Z, A) W  m; c( l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * u% F5 }3 H; M# j3 F7 \
  42. ---例如--- 6 q: U4 c: R9 s! `
  43. [ dbexpress ]
    " j+ V0 N3 g4 ?2 m- g/ k, l
  44. sqldir = mysql_sql * ]9 M* w; j8 h% {5 I9 ^& }
  45. drivername = MySQL中  w$ P* X7 Q) |3 ^7 H- G
  46. 数据库=测试
    3 g4 \) }) _7 O& Q  ~
  47. 主机=本地主机
    & u+ n* F3 ]( N8 p  ^" a
  48. user_name = testuser 1 p6 H; o/ b/ u* s1 r& m
  49. 密码= my_password % q. g3 J+ v2 b0 q. @
  50. getdriverfunc = getsqldrivermysql - f* I( r0 E$ T. |2 p. }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      ?' ^1 E* z+ }5 G' Y0 ~$ L
  52. libraryname =. / libsqlmy.so , m) B$ J3 o- o! ~/ O
  53. 积极= 1
      W2 d3 }$ k" ?! ]6 M& @
  54. ---例如---
    + e5 K0 [2 p; O* {& L# R
  55. - D% v. `1 n$ w4 O2 L/ S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 P& U! ]& o' P" @' a
  57. ---例如--- . ^. Z# z2 d1 j: n% \
  58. [ dbexpress ] ! V5 M. w/ r8 G2 ^, C) c# z, [
  59. sqldir = mysql_sql # I2 S5 y/ u$ E) P5 D
  60. drivername = MySQL中
    " {# B. T  l( i4 n# a& g
  61. 数据库=测试! G2 X3 N4 F9 Q8 Z; T5 E; V
  62. 主机= 127.0.0.1   z. f7 K4 {2 X5 c1 {
  63. user_name = testuser
    * r/ E( X, F/ ^9 ~" d7 C! J; T
  64. 密码= my_password
    % _8 e! [' x3 c+ s
  65. getdriverfunc = getsqldrivermysql
    % F- ^+ m4 f+ j$ ]& z% S
  66. vendorlib = libmysql.dll在
    ! ?& D9 U9 @5 R; ]' {8 T$ q
  67. libraryname = dbexpmysql.dll
    ! O! r5 w: y" p# ?/ M0 |
  68. 积极= 1
    , w3 Y5 G8 i: R6 C6 y. v, H5 C( @
  69. ---例如---- ) A( u$ k. U# U* @
  70. -写在0 2.03.04由p wk.linuxfan8 _3 e) b. W+ u
复制代码
发表于 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 words1 f9 n( k0 I: z8 k  k

/ L' g% h7 z* |  o% @% ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-20 20:22 , Processed in 0.088468 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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