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

2221 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ x' {7 X: Y9 E7 _0 e
  J) s: ~# x  U/ l' |
  1. ( Y0 K8 T; b  J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " i0 I6 L9 H% F$ ]
  3. 4 o! s* p7 B& V* G& Z) o; p- g
  4. ### What we need ###
    4 r2 X* \. ^# J  s5 i, N
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 I+ y& [/ @% p9 G  _
  6. will not explain how this can be done - there are documents out there for the 2 h& T2 g' b. P7 G
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * G/ k& w1 \/ m! Y+ s
  8. and a user account (username + password) that has the permissions to do stuff
    , V' k1 b( `! p* k6 Y
  9. with the database. Additionally, you will need a vendor library installed on the
    8 b  Q* Y- h1 m4 W4 t  ~( t
  10. local machine, this came with my MySQL install.$ V! O! L7 c! E9 b/ \
  11. These instructions will not tell you how you might transfer your data from the
    ; f2 P- l4 f/ ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ V: [3 R6 G! V0 Z
  13. database.
      P! _" y0 n. u( c) Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 A* l& @$ R' b5 l
  15. the time of writing, there are still too many issues - check the current status
    0 L0 j+ ]8 V3 j$ Q
  16. in the TeamSpeak forums if you are interested.! o9 ?+ A1 p# f6 a; I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" ^, }. s* @  E; Q
  18. Borland was used. This driver can only interface with the client library that 5 {  @: |$ v) \. v$ E- k  w4 Y4 v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 V* R8 F( U1 g9 a" V( D2 j. p
  20. client library - basically all you have to do is to use a 3.x client library as . C) c3 f* _& ^% q9 i
  21. "VendorLib" and a 4.x database to connect to.
    / M) X: l' ^* P5 P) ?5 ]+ l
  22. If you need more info about dbExpress, you can contact Borland.4 j/ h+ I$ \. Z) s6 F# q
  23. 1 p. X) m( s: w& l. n) {9 l( g
  24. ### Doing the work #### i- j8 A2 @% Q4 z+ z# J0 `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 X( H+ ~  w: Y# e; W* O
  26. the perquisites right, just open your server.ini file, and add this section at9 t2 z* s7 P  m% J6 v
  27. the end:: `* t0 f4 J- u
  28. ---cut here---
    ) f: B/ H  V4 }6 N
  29. [DBEXPRESS]
    $ T; s0 b  B8 N! o
  30. sqldir=mysql_sql
    . D5 [. \2 \& p: I' A# A
  31. Drivername=mysql
    1 c, i5 F0 T6 w- b
  32. Database=Your_Database_Name_Here  w& h! r* G7 I7 }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; U! V1 R" v  ~3 z8 Z. \
  34. User_name=User_name_on_the_MySQL-Server0 ?! a6 b# h7 I4 N
  35. Password=Password_to_go_with_above_user_name
    ! K" P8 B8 q1 W/ P. a9 y) @
  36. GetDriverFunc=getSQLDriverMYSQL
    / a6 U. G1 z1 k9 X% Q& x4 n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ q/ p% S+ E* a# U0 w
  38. LibraryName=path_to_libsqlmy_libary2 o: {+ L6 y. j  w* P" P
  39. Active=1/ ~( ^1 _$ H. K3 m# H. X
  40. ---cut here---' P9 A, |: A8 U& j7 a9 S
  41. In my environment (a linux box with a MySQL server running locally) I have:% y4 w" l& R2 a8 M: w! ^
  42. ---example---
    ( K; b8 g6 l, v! C4 C4 P
  43. [DBEXPRESS]) m  G2 S( n+ e9 }. F: ]
  44. sqldir=mysql_sql# @- F4 x1 i# U  z
  45. Drivername=mysql0 l' f* {; |; Q8 F0 l) W; T
  46. Database=test2 O8 u# x3 [" g9 O0 {7 k7 D
  47. Hostname=localhost# ?/ Y, i! ^7 d
  48. User_name=testuser' k; ?  }5 M( O% j% g5 b2 X$ d
  49. Password=my_password
    ) A+ }" K1 ]4 j* i1 `, D1 F1 b$ H
  50. GetDriverFunc=getSQLDriverMYSQL
      v6 H9 B& Y1 _7 A/ v1 ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 g6 c+ x$ t% r0 g3 e( c$ V( k
  52. LibraryName=./libsqlmy.so
    6 p% \3 S- D) H  @7 L. e! w' G, H' H
  53. Active=1
    & ]5 D5 i! g9 t0 i0 X7 K
  54. ---example---
    $ L8 O! E! D2 u/ i$ A

  55. & D2 F. M* B9 B; p  r  j
  56. On a windows box, also running the MySQL server locally, it would be:
    ; G7 W9 q% {; {0 }9 |/ [
  57. ---example---
    5 N/ j( {  `- ]* J. D
  58. [DBEXPRESS]. v9 B& g; r) b! G, [
  59. sqldir=mysql_sql
    ' F, |4 p* Z' C2 u! P. |
  60. Drivername=mysql
    2 z/ h- E1 A- U: @5 ?
  61. Database=test6 E5 X% N- {6 ]1 B" ]) c+ C
  62. Hostname=127.0.0.1
    ; x- L0 j" Q" C
  63. User_name=testuser
      C( H/ F9 C. A: ^
  64. Password=my_password4 T, b8 h, Z8 c, I% D% i2 n% f
  65. GetDriverFunc=getSQLDriverMYSQL% |( _; d/ y7 n, r, a) Q
  66. VendorLib=libmysql.dll8 c& o  J4 Q" {3 L  U
  67. LibraryName=dbexpmysql.dll
    # N4 @$ _+ H, M2 r9 |
  68. Active=1( \$ L( k7 o* A/ ~+ `7 t
  69. ---example----
    $ p' ]. o( }" z
  70. - written 02.03.04 by pwk.linuxfan. Q8 Q  S1 L  a1 ~3 r" v, s6 @" W) B5 H
  71.   E" }2 q3 |$ Q3 Q2 d8 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. t' M3 T" [7 M
  1. $ G( @, X* @0 `+ W- X0 S  H+ \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 r8 m2 P, J, Q5 x8 Z4 j0 ?

  3. + E* l( M0 \! u1 b' J! }& B- W7 h" j% g
  4. # # #我们所需要# # #
    4 q9 a9 ?. K$ }  a9 R# q) g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( N% Y0 ^! J. Y7 A
  6. 不会解释如何做到这一点-也有文件存在,为
    8 H# Y/ Q# R( J2 v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! l" d' j3 k0 d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- H' E" F/ `2 R3 j2 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" P: |4 Y" T1 o( |0 t; {$ ^% x
  10. 本地机器,这是我的MySQL安装。 3 p3 j' v- N! c' Q: h% N! d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - [1 l& l; R+ q7 b7 d7 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      L, |: j: a1 T) S. A2 F
  13. 数据库。
    7 h* b3 B9 ^5 e' l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      P' K# I. @. |! [3 n) E9 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 [: l  V$ H! q0 a
  16. 在teamspeak论坛,如果你有兴趣。
    0 ]* V- i1 y. l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 d% {: v" w+ z8 I- ^- a
  18. Borland公司使用。这个司机只能界面与客户端库
    $ N2 L9 I% {/ P( p( o2 Z5 }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 P- j& m/ F8 c. |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! n2 a: G8 e  v
  21. " vendorlib " ,并解数据库连接。
    8 G" `! c: F* O! j& j; y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 I$ S: o7 X/ Q) i, D. n
  23. % L, }6 V1 L. b4 ^2 A
  24. # # #做好工作# # # 3 L0 ?! o; t+ b' s3 O% A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) m; M0 A! B: n  {, G& a1 U" Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 S4 \) S% U6 {% k" R0 x) ]
  27. 结束:
    , C. J& k2 j8 e2 A9 M
  28. ---削减这里--- $ u; [7 ]6 W; e$ b
  29. [ dbexpress ]
    " O  @. m+ H: I* \; i) t2 j
  30. sqldir = mysql_sql
    # Q+ L5 P7 b/ R
  31. drivername = MySQL中. `2 X  Z/ T0 H7 J/ y
  32. 数据库= your_database_name_here 0 k% ^/ h: U9 x% R  g
  33. 主机= the_pc_the_mysql - server_is_on 1 x. H( @- G7 f' X/ U
  34. user_name = user_name_on_the_mysql服务器
    ) j4 [* o. W2 J2 Q/ S/ E" ~& ]
  35. 密码= password_to_go_with_above_user_name
    # k. j% u/ a6 z( d
  36. getdriverfunc = getsqldrivermysql % f  B8 x# t4 Z9 r) {: X2 v" e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + X! k: \; a) a  `
  38. libraryname = path_to_libsqlmy_libary
    9 [; X( I5 F2 f/ y, F  f  u$ \
  39. 积极= 1
    ! S3 J4 }8 ]1 q! d$ U8 r' @
  40. ---削减这里--- & u- z1 \  Q; q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 u! ~; M4 T" z% M" y
  42. ---例如---
    " o$ c8 w, G9 s7 K9 g* @! v
  43. [ dbexpress ]
    * [- \+ ]. V7 S, m7 I
  44. sqldir = mysql_sql ; o7 D1 x9 r' V, ~* _# V% l9 ^! k
  45. drivername = MySQL中
      D! A1 a' T' B
  46. 数据库=测试
    / ]/ c& s8 l$ L* s
  47. 主机=本地主机6 F, o9 B6 {' b; K
  48. user_name = testuser
    - B: O4 n* K8 i1 a  E; ?; o, O) \1 C
  49. 密码= my_password 9 {  n( I  E, A: c# j) D
  50. getdriverfunc = getsqldrivermysql
    ) f0 F5 W* g( _4 ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 F( y* M2 N. u8 R' n$ Y- e
  52. libraryname =. / libsqlmy.so
    # t  O' t7 l! i% g
  53. 积极= 1 * M4 D- A. ~. P: U* [* O
  54. ---例如--- + p9 w, D6 t4 g7 u( C9 ]
  55. 3 K& r+ w' t6 ?2 ]: R% N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % M) G+ d1 z. k2 P
  57. ---例如--- 8 l+ J: D5 G4 o1 h  c9 i
  58. [ dbexpress ]
    " a( k- B4 d/ z$ ?$ ^
  59. sqldir = mysql_sql
    8 d$ o2 w( g4 i9 C
  60. drivername = MySQL中, l# Q$ F) D4 U' ]! R+ Z
  61. 数据库=测试
    & A9 ^* j4 H5 g. R+ Y) k6 Q
  62. 主机= 127.0.0.1 2 Y# f- Z" B& S4 N& Y) i8 R! J
  63. user_name = testuser 9 x+ p+ Z* _4 y, K8 K% ?6 R
  64. 密码= my_password
    0 s0 e0 z, p! f# Y
  65. getdriverfunc = getsqldrivermysql
    ) J) u& X' P* Q" C$ c# Q
  66. vendorlib = libmysql.dll在- l1 A  e) g8 [, |: l
  67. libraryname = dbexpmysql.dll , s( c4 K% {, |6 y3 n6 d# `+ P) i
  68. 积极= 1
    5 R" k, l( C. l* s
  69. ---例如---- , u" q/ p4 Z$ @
  70. -写在0 2.03.04由p wk.linuxfan' I; @- n# g4 u" \: O' a! H
复制代码
发表于 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
) i7 }5 d$ v2 K/ P* `, ~
8 |/ n" H' r, ~, S- ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-22 12:42 , Processed in 0.091029 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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