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

2725 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 F6 M! e/ F2 h; [1 m( S2 N: B! A7 V/ i+ C4 d

  1. 5 u9 X) V. S0 x- [# ]& ~1 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & i% |& l/ H$ N+ C" x1 L2 }( ~

  3. - g9 p( m- m/ m/ ~. j+ {
  4. ### What we need ###
    / J* _8 ~7 z# a1 `& |# t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - Q: U4 |/ E+ n
  6. will not explain how this can be done - there are documents out there for the
    " @. y: R: C2 n, w7 J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 ^0 R" p: e. ?- k' U2 b
  8. and a user account (username + password) that has the permissions to do stuff
    , F7 H6 `. [" J) ^* Q& c! x9 C
  9. with the database. Additionally, you will need a vendor library installed on the
    3 i) |; W6 g* P7 ~' Y8 U" ~
  10. local machine, this came with my MySQL install.
    9 s% X3 Y' d' s6 S# ?5 ^/ P1 B
  11. These instructions will not tell you how you might transfer your data from the
    2 t' E0 t) T$ S0 \; S6 W! Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL/ F* e( v6 g3 G9 c; }/ w& c9 }$ O
  13. database.
    0 l* P! |. R# v, M1 A# Q0 i. \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( N$ W- c3 C% [( O# I; P
  15. the time of writing, there are still too many issues - check the current status5 g5 L' [  D) q, V
  16. in the TeamSpeak forums if you are interested.
    9 E- v& h1 o3 Q1 b( }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & o! W5 s( b( W0 @% @
  18. Borland was used. This driver can only interface with the client library that
    9 l: H' B7 g& l9 \7 u% W& }7 N6 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : E) \4 U/ ~; m- E2 q" M) u
  20. client library - basically all you have to do is to use a 3.x client library as 8 D' A8 V% c1 h0 ~1 U/ p2 Z+ i  U
  21. "VendorLib" and a 4.x database to connect to.5 ~" P! j4 s2 L) _0 P2 B" L$ @
  22. If you need more info about dbExpress, you can contact Borland.. u& m3 Y# F( s- R1 j& ]6 x( p* C) F

  23. . |( P3 J6 `! O8 b7 ~
  24. ### Doing the work ###
    . u$ {" p, \8 V$ X. Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* _! r: I/ r6 K7 ^4 \  y& s# S+ E
  26. the perquisites right, just open your server.ini file, and add this section at! y' e8 @, r! o3 Z6 w
  27. the end:
    $ E+ v% O' c! ?& m; z$ O
  28. ---cut here---) W: f* f& H. @6 k
  29. [DBEXPRESS]$ _8 T! [/ @, Z) X5 s
  30. sqldir=mysql_sql
    ; X% F- s" W- ?( f
  31. Drivername=mysql
    " J! b( d7 i6 u! t
  32. Database=Your_Database_Name_Here- ^& j' H; O$ I8 z& c+ a
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 z2 r: q* B6 a, _6 R+ `3 D: Y
  34. User_name=User_name_on_the_MySQL-Server+ C' o/ K2 R1 e% R
  35. Password=Password_to_go_with_above_user_name" C1 S3 x! ^- |# p
  36. GetDriverFunc=getSQLDriverMYSQL
    & v0 @# o# U4 @' y- `% w9 x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - H0 j9 _3 |1 r1 s4 |6 I4 P( }  ?
  38. LibraryName=path_to_libsqlmy_libary, e0 `  m5 T9 l# R5 y
  39. Active=1
    5 k+ j* n7 l0 b" N7 @" O
  40. ---cut here---. W; T! V: p, M% T
  41. In my environment (a linux box with a MySQL server running locally) I have:/ ]& i2 `/ j4 o5 ~. m
  42. ---example---
    1 `/ Q) @1 p+ B( R& v& f8 w# `
  43. [DBEXPRESS]
    6 x' b9 N# y, n
  44. sqldir=mysql_sql
    - K  \4 p" {( w7 b# v1 ?0 \: a
  45. Drivername=mysql
    ) m3 E0 r: b1 q& y3 o
  46. Database=test
    , Y4 K$ n7 E: |4 M
  47. Hostname=localhost1 }( C! h, X. m' m/ @8 i; p) F
  48. User_name=testuser8 N6 k3 e+ T; ^2 h
  49. Password=my_password
    7 j  A7 t) O- d
  50. GetDriverFunc=getSQLDriverMYSQL
    6 ?1 U' ]3 j3 C6 |, Y/ t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ _+ ~5 \# u" A: y4 p' U
  52. LibraryName=./libsqlmy.so- B! T  k$ D5 K$ q# F/ H
  53. Active=1# h0 ~7 C8 i7 w
  54. ---example---6 E3 q# O/ c* D  E  u1 {& F
  55. 3 ^6 S; ^3 @. B9 W+ u
  56. On a windows box, also running the MySQL server locally, it would be:
    + C. L; y; i3 f
  57. ---example---
    ! u5 h6 k9 A- i/ Y3 r9 D' u
  58. [DBEXPRESS]
    * ?) R" U* Y5 W/ Y
  59. sqldir=mysql_sql5 ]  y0 @- n) v. j6 T
  60. Drivername=mysql
    $ W3 j) g4 m) b' {1 X2 p$ u
  61. Database=test7 Y! d3 I0 O% @3 D* N5 ]% I
  62. Hostname=127.0.0.1; [8 o  X7 S7 D3 q  L* E; c
  63. User_name=testuser' K4 o  r/ c* L9 O0 d5 [
  64. Password=my_password
    0 J3 S" a) E7 H  ~6 @
  65. GetDriverFunc=getSQLDriverMYSQL' W9 ^  z, f4 T# {) C( |
  66. VendorLib=libmysql.dll
    6 ^4 H+ `! M1 D6 j& ?( m
  67. LibraryName=dbexpmysql.dll
    7 I- s- [& ~- M' U1 i" _, d2 a
  68. Active=1
    3 n- w( B* }( \( `5 i" K8 s
  69. ---example----6 s/ J2 b$ K* _
  70. - written 02.03.04 by pwk.linuxfan
    0 T) V% _& y% J. O, P1 T

  71. ( F/ V2 `+ y" s0 A) k, o  O9 E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 U  w4 [6 M" S1 N

  1. 0 Q* \$ c0 B6 k0 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . E/ I$ A) j. N% Q

  3. ; R; ^! j3 K5 z% M* S1 N5 l
  4. # # #我们所需要# # # ) I, T$ U& m8 K' [& _. n% t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + a% e/ U3 G% p. b6 x
  6. 不会解释如何做到这一点-也有文件存在,为
    2 u3 J3 @4 i2 s# A6 s% o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) O8 k% `: m  e, G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% P. p( V1 i' q' A: g  ]* @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- ~1 G" B, q! o) d8 {
  10. 本地机器,这是我的MySQL安装。 ' |; H2 Y0 S0 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 D" m9 [  W5 t
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ x' v) A  W4 e$ n6 a9 f
  13. 数据库。
    : a  @7 l  e) G6 }% v" d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 g! K9 k* I& W# C7 @6 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 e$ {: W2 S& v/ b; n
  16. 在teamspeak论坛,如果你有兴趣。
    / I: F% j' P/ o/ j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      F$ h$ U7 w3 J" j6 }$ _
  18. Borland公司使用。这个司机只能界面与客户端库8 s$ B5 R: r+ V5 R8 M7 L% L! ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' a' a5 M/ ~6 ], X, p) h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % l  i9 P$ B$ y7 M" L: [: e& U
  21. " vendorlib " ,并解数据库连接。 $ {0 s2 V* r/ L* R% `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      T: J; i# Z" v9 \$ M8 a, ]
  23. ) [1 Q- I. Z1 i2 W/ f9 u5 e/ C
  24. # # #做好工作# # # 2 V" X' j1 a1 O2 R3 f* z" _/ X! D; T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 Y4 c, m  m& y$ |& P4 T% D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 k5 ~- o9 d- r
  27. 结束: . J' `- W/ m: J: y
  28. ---削减这里--- & a" k  n- ~; l" N4 I
  29. [ dbexpress ] 8 i( s( _# Z, z3 b  }. C# A8 V
  30. sqldir = mysql_sql ; O4 W: T: L0 R8 e8 S2 l
  31. drivername = MySQL中$ F2 u: p' [. P1 A/ ^5 b( i/ ^* Z% U( K* T
  32. 数据库= your_database_name_here
    ; ?. \& N% A$ J  b+ V
  33. 主机= the_pc_the_mysql - server_is_on
    : b3 a% i  Q3 a0 C6 Q# ^
  34. user_name = user_name_on_the_mysql服务器5 i8 E! h# p6 M: m. `( h( W6 ]$ R9 C
  35. 密码= password_to_go_with_above_user_name
    ! g3 X# u8 h" `2 d
  36. getdriverfunc = getsqldrivermysql + y' _5 A7 E, d3 E9 J5 E" }+ e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( A  X: y+ z! ?) T7 c& p4 K1 t
  38. libraryname = path_to_libsqlmy_libary
    : U( l: R* a$ [: V9 t
  39. 积极= 1 * P/ @6 O8 q: |9 ~- m/ Y! z# Q
  40. ---削减这里--- 4 l& |; g' u9 A: q3 s" c" U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; d- g' }# p5 n# M
  42. ---例如--- 9 L6 W( R9 S% E* b* m
  43. [ dbexpress ]
    8 O/ b2 j- S% {4 Q
  44. sqldir = mysql_sql 6 [2 H" [' {% I7 d. i
  45. drivername = MySQL中! C- Y% \7 a( r( v7 r+ Z$ D- d
  46. 数据库=测试8 H) a4 Y' s' x0 K, k: Y8 u) t
  47. 主机=本地主机5 _# f2 X* r7 _5 @7 X# S2 J  S& K! M
  48. user_name = testuser - y2 J* F9 D% y4 l& f
  49. 密码= my_password
    0 U" g7 n7 I, k- B- w" |
  50. getdriverfunc = getsqldrivermysql & T8 }7 T% r7 [8 Z5 H% x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : H: v- s7 [& }' m- U
  52. libraryname =. / libsqlmy.so
    + K* I) N* K6 H' T0 \3 u
  53. 积极= 1
    1 s& F- T0 S' e) s! S2 g+ u
  54. ---例如---
    : d7 s! ?: L6 [: G! N) U" `

  55. / F, `- u1 v* t. r- f0 z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - A8 V/ V4 Y% F" ~9 `; k% Z
  57. ---例如---
    * r0 [/ q3 s& }' Y4 L
  58. [ dbexpress ]
    $ q/ h2 I, y+ Z  g
  59. sqldir = mysql_sql   P% ^+ n0 a- }+ [6 f  M9 j
  60. drivername = MySQL中
    5 ?1 l' }) s8 \
  61. 数据库=测试
    : m; p( b' @8 P/ N7 t" @- q
  62. 主机= 127.0.0.1 * W) A+ B* R0 v/ {% s# s6 L
  63. user_name = testuser
      ^9 H( g& q! a) S
  64. 密码= my_password 5 V! p" T- ]& x3 z4 y
  65. getdriverfunc = getsqldrivermysql 5 z" I( }6 b' H3 O
  66. vendorlib = libmysql.dll在; a/ F; k% U5 O9 ?5 b3 R9 \
  67. libraryname = dbexpmysql.dll ; n6 P/ ]) R/ [, @- z
  68. 积极= 1 " P. R* K$ y5 B1 @' b7 Q/ G
  69. ---例如---- 9 V  G. O: o$ v$ c0 T7 g, g. e
  70. -写在0 2.03.04由p wk.linuxfan
    ! f1 [) G" @! q$ ^$ f
复制代码
发表于 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 words8 l5 v) ~1 J; @. R, ^4 t

4 k# U  y0 b* v7 }but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-8 13:36 , Processed in 0.089524 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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