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

3321 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * G# n$ M% t, @
$ i# u( Y# K" M: H( f$ o
  1. 6 }2 l. n/ P6 a' N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) r9 }3 B1 o" ^$ u# v" I

  3. 7 t% O" F, j- K2 d% b. m4 ^% Z9 c
  4. ### What we need ###
    # Y) O% f. l$ I. N/ I) ~( h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 `7 ?% v( G; Q+ x6 U  }
  6. will not explain how this can be done - there are documents out there for the
    & W) F% T( \" Z1 a* ]4 e. [
  7. interested. The requirements include a (empty) database for TeamSpeak to use, f5 N+ p7 [7 j) H7 \
  8. and a user account (username + password) that has the permissions to do stuff
    " u  t- f% x3 Q/ X
  9. with the database. Additionally, you will need a vendor library installed on the
    . o/ e: m4 I; w
  10. local machine, this came with my MySQL install.
    6 ]; M- a* @+ G; {+ j
  11. These instructions will not tell you how you might transfer your data from the9 y  Q: W$ s% K9 q, a8 X0 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * k6 ^$ \1 J- \! K/ e
  13. database.
    5 {: V6 x- k, l1 C, i4 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at; C2 _. s$ k, ^* K% a* A( S6 i
  15. the time of writing, there are still too many issues - check the current status, L8 E! C9 o- }2 c, q" U- {
  16. in the TeamSpeak forums if you are interested.
    & l. a; R( A4 I. Z* t0 s/ d: d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) d. _2 j( d- j9 R$ e
  18. Borland was used. This driver can only interface with the client library that
    & U) `2 d- o. e$ D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; v$ z' ~, A. i7 c
  20. client library - basically all you have to do is to use a 3.x client library as 4 O  J1 i0 ~# I) }
  21. "VendorLib" and a 4.x database to connect to." X  Z' w* Y/ O5 }3 p6 A1 T+ `
  22. If you need more info about dbExpress, you can contact Borland.
    % l2 p) ]; a6 J, r* r0 Q" G
  23. 2 y8 s) |% w' ?& [3 I* C: l  z
  24. ### Doing the work ###
    ! E; W( e: G/ P  [2 J) I4 d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' ^, d1 Z  t6 w6 b
  26. the perquisites right, just open your server.ini file, and add this section at
    ' r- |* h/ R5 o; l6 F. }
  27. the end:3 g  A5 h, y& q0 n5 r8 B
  28. ---cut here---" c: x# G# h9 z( H% m; }2 Y
  29. [DBEXPRESS]; J! J4 I1 _  ]  m+ I8 m0 Z
  30. sqldir=mysql_sql
    ) ~7 ~6 s: i- u3 X
  31. Drivername=mysql0 I2 {6 }! [2 W/ d5 [! X
  32. Database=Your_Database_Name_Here
    8 q6 _" Q7 T. o1 V  U
  33. Hostname=The_PC_the_MySQL-Server_is_on4 r( B: j8 g/ c1 K" \
  34. User_name=User_name_on_the_MySQL-Server
    0 `- S/ n  U: X% ~
  35. Password=Password_to_go_with_above_user_name
      k  a' X: L9 X* Q0 Z8 t& l1 _. F0 D
  36. GetDriverFunc=getSQLDriverMYSQL
    $ S* ^" @+ n, g" P) f) n4 K0 u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / `/ q% F! m3 P# a
  38. LibraryName=path_to_libsqlmy_libary) L+ ^2 ~, q) j& ]6 S, @; c# z
  39. Active=1
    5 Q/ i! Z1 Q7 I- X( H2 |6 {
  40. ---cut here---' z1 i  C# V: \) ]% [& M, @6 |
  41. In my environment (a linux box with a MySQL server running locally) I have:3 u$ [$ a" ], s  Z: I
  42. ---example---$ Y8 K, R1 B9 H# t: P9 L
  43. [DBEXPRESS]
    : |( n1 T! r* B- i2 p
  44. sqldir=mysql_sql0 Y- v7 ^" Y0 x4 q% m" [% k
  45. Drivername=mysql) H, l/ R$ O- Z0 m8 u
  46. Database=test
    8 C# I5 w, [) m8 C
  47. Hostname=localhost4 i0 c7 u  z/ ^- s  A  A
  48. User_name=testuser, O) X6 `; N5 j. q2 S
  49. Password=my_password! X& {% q$ x, y2 V! ]. s
  50. GetDriverFunc=getSQLDriverMYSQL0 l- s8 h# [3 B, c7 V5 P4 y. L2 N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: N" C  k% P( r; O- }5 Y2 J
  52. LibraryName=./libsqlmy.so; T; e6 N$ D0 t2 h, {, @
  53. Active=1
    / b0 I# l+ l6 j# R5 R3 w. H' F7 w% Y# v
  54. ---example---
    $ {' g" \$ l+ P2 p+ R

  55. 3 }% k7 I# C+ {
  56. On a windows box, also running the MySQL server locally, it would be:
    9 v0 j+ U7 r) X
  57. ---example---
    ( V, {$ G3 M- n6 D
  58. [DBEXPRESS]
    # x- Y8 T4 @& G& E2 _& n/ J& j9 l
  59. sqldir=mysql_sql
    " S! ~, y# Y4 W: T
  60. Drivername=mysql0 n$ A2 q, u' G3 o$ t
  61. Database=test
    $ U2 z0 h$ u, v1 v# L( K. J
  62. Hostname=127.0.0.1
    " K) U* |& d1 s, j# S3 F( U. B
  63. User_name=testuser
    / U9 D0 ]3 m3 Y8 ?/ m
  64. Password=my_password
      E+ j; H% ?1 T2 U$ ]
  65. GetDriverFunc=getSQLDriverMYSQL
    6 t( p) W* G2 {1 Y9 G# X
  66. VendorLib=libmysql.dll
    / m" P: Y4 O/ H4 [0 q/ j6 \7 k
  67. LibraryName=dbexpmysql.dll
    : m" D3 m' y: O5 {& s1 @
  68. Active=14 k: f- V( T% X% y) m0 d
  69. ---example----
    , j* m' U* F( T$ W  l4 ?' c
  70. - written 02.03.04 by pwk.linuxfan
    ' W+ p& J5 z  W3 B' Y

  71. 3 t* d, ~7 W; b/ z; ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, m, a5 r5 b! B

  1. 9 W' `" A/ |" Y! r1 o& }8 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      p5 l, S# \. O& g: p& X3 b5 O1 [

  3. + l. L2 \( o$ Z
  4. # # #我们所需要# # #
    0 C4 @; b/ i9 h' W" P. D& [3 M5 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% T6 ?9 C# M7 D  T! L( b
  6. 不会解释如何做到这一点-也有文件存在,为
    ' U4 y0 }3 y% i1 D, R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 `# }5 X4 \2 a5 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" d/ U4 g0 E5 [$ J& o0 z  ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* k+ G. m3 w( Q' X" R5 s; B. @0 S
  10. 本地机器,这是我的MySQL安装。
    ( @; }8 t4 m: R! m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + z- q6 f# ]3 q$ S  I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " T) p" ]0 D7 G5 K
  13. 数据库。
    , h3 v" G: U& W& Q" g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 E) M* W- _3 ]: \1 P" `
  15. 编写本报告的时候,仍然有太多的问题-检查现状- w, d. b5 u% z# O
  16. 在teamspeak论坛,如果你有兴趣。
    / r2 c! M' K8 L( T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & C9 L9 D/ R+ B4 z
  18. Borland公司使用。这个司机只能界面与客户端库5 w; q  g: J8 A4 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 P. ^) P5 D& E$ Z$ C% X2 L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % j5 t" f0 B2 s  R! \
  21. " vendorlib " ,并解数据库连接。
    ( Z# e/ b% Z9 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! N1 M1 S7 K- R5 S9 i1 G

  23. ; _7 A* F! I0 H) u
  24. # # #做好工作# # #
    ; t7 y1 S4 E) a' ]5 r0 o. c2 G4 {+ W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" i, ~# k7 _- m9 {9 ~5 ?8 @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( O1 M  N& v% W" x9 P- ?
  27. 结束:
    7 S! x& [2 k, K5 b
  28. ---削减这里--- 5 o* h: S% r6 M7 h, r
  29. [ dbexpress ]
    3 u& x/ ?3 f/ a% s
  30. sqldir = mysql_sql
    # c! r+ M3 W& t4 r2 q
  31. drivername = MySQL中7 F- a" r4 j% N( N3 n: Y
  32. 数据库= your_database_name_here
    & {1 h; p' K7 y
  33. 主机= the_pc_the_mysql - server_is_on ; Y7 @; @9 h2 B  x* `( z
  34. user_name = user_name_on_the_mysql服务器1 K! d' B! z$ ]  ~
  35. 密码= password_to_go_with_above_user_name 6 d5 b! ~# m! L1 d( Q2 f$ F' b
  36. getdriverfunc = getsqldrivermysql
    ! n' h* H" \& c  f- Q. i- l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # y+ l# C& E8 t: x7 [, |! h, y# t
  38. libraryname = path_to_libsqlmy_libary
    ; L9 V, P3 O5 ?1 e$ y, S/ d2 t
  39. 积极= 1
    2 G* b- v7 |1 c" C
  40. ---削减这里--- ; K1 M6 Y8 ^9 w6 Z$ }$ I. ]) {8 t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . m+ Y$ B; K  i
  42. ---例如--- & Y+ m# F" ?4 g9 k" c% Z
  43. [ dbexpress ]
    - F) Y- ?1 \# }. u  W$ `
  44. sqldir = mysql_sql
    % A  }. h0 L. t+ Q2 {  H
  45. drivername = MySQL中
    " y( R+ ?( `- H
  46. 数据库=测试5 e8 V/ ?0 @% b
  47. 主机=本地主机* m! n3 d( y4 e& n5 y
  48. user_name = testuser * U5 c$ e3 I- F- V$ z' t
  49. 密码= my_password + D+ S/ c# _6 l- j0 j- U( x- t3 b* l
  50. getdriverfunc = getsqldrivermysql - K4 [" r2 H5 p. Y; W$ o. G' N0 a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 M' \8 |, }6 h, z4 E
  52. libraryname =. / libsqlmy.so
    ; @0 H/ G: O& C( i9 S$ M4 q3 S3 M6 C
  53. 积极= 1
    9 f8 ^! q$ b: g: P! ^2 t
  54. ---例如---
    # y0 i6 w- |$ e: u. I; [3 U% r4 L

  55. ! f& W2 ^7 J- z2 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 n8 T+ b8 V! E& E
  57. ---例如---
    & W5 O- ^8 J- \/ ^
  58. [ dbexpress ] 2 t! ~8 D0 W4 z0 H6 j
  59. sqldir = mysql_sql
      Y1 N4 u# K, I- w6 d9 u
  60. drivername = MySQL中( v8 W  k! y5 a
  61. 数据库=测试( P- u* ~/ s* W. d( k# o
  62. 主机= 127.0.0.1 ; T% k" k! z5 S
  63. user_name = testuser   x( u! H5 y5 r+ u
  64. 密码= my_password
    # X. @# x& @4 C( s4 d$ W" B* f2 ~# K
  65. getdriverfunc = getsqldrivermysql
    # H( o' e1 K: }# S4 a  D
  66. vendorlib = libmysql.dll在7 K: R) d& w5 _8 M
  67. libraryname = dbexpmysql.dll
    ) ~8 [  k( V* p& H) g1 Q, v
  68. 积极= 1
    ; g' D/ l6 o- {) b1 Y
  69. ---例如---- ; U- v/ N  ~* Y9 |( q- P* m
  70. -写在0 2.03.04由p wk.linuxfan
    ) j. O* d% C5 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 words3 e" N* V8 \, C2 x* V

" T5 `  z  f" G6 gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-12 19:41 , Processed in 0.107838 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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