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

2623 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " A1 ^. b4 b. u! U

7 k- J% ^# }/ b( i
  1. ; L8 d9 X2 H$ R* `% {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ a" O% g1 `/ g3 m" g
  3. + }1 G: Z; y- N7 S( n
  4. ### What we need ###
    & h0 N8 p4 J, w7 Q) T' S, r! a
  5. Naturally, we will need a MySQL server to store the data for us, this document + \% r7 [' V6 L+ x+ J
  6. will not explain how this can be done - there are documents out there for the , W- y9 n' i) s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' L% u7 c: E7 J& r  r7 I  O5 K
  8. and a user account (username + password) that has the permissions to do stuff2 C8 m' l! Q) o
  9. with the database. Additionally, you will need a vendor library installed on the
    6 O  _  ~, p* ^; D7 Q0 F! `
  10. local machine, this came with my MySQL install.- W. V: S6 R; P: e
  11. These instructions will not tell you how you might transfer your data from the
    % v8 y3 }  s/ D4 U  r& V1 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 h5 U# I  r4 M& y' R- n2 W
  13. database.9 d  Z1 H, I: i
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 U0 R  v4 v$ Q5 N' j$ R. |0 n
  15. the time of writing, there are still too many issues - check the current status
    ! r8 b& ^3 Y) [, w1 a- V) q
  16. in the TeamSpeak forums if you are interested.2 `) N  N& e" Z& Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - `! g9 ^4 c1 M4 P4 |0 n
  18. Borland was used. This driver can only interface with the client library that $ U' v; `3 _! j7 a0 Z  n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - F/ n3 ^3 {1 B3 w: m
  20. client library - basically all you have to do is to use a 3.x client library as
    " K3 r9 }1 g, U; ]$ b& \" D
  21. "VendorLib" and a 4.x database to connect to.
    9 e; h# r6 ?; y# x
  22. If you need more info about dbExpress, you can contact Borland.
    $ ]: n( t% w; D% @! e, [& i
  23. . [( r3 z/ g& i
  24. ### Doing the work ###
    3 z) |1 K& n) p2 Z' o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % u7 M( \! u' X4 L
  26. the perquisites right, just open your server.ini file, and add this section at
    ! D4 }8 h+ ?5 a5 [6 I" t
  27. the end:
    2 c1 F& e7 C/ C+ L6 U( Y
  28. ---cut here---) A) j# ~; g& E4 R
  29. [DBEXPRESS]! N5 T0 S0 |- t/ e1 E; `9 c
  30. sqldir=mysql_sql$ U/ i% {9 ~! t" ?
  31. Drivername=mysql/ v. t" _3 m& d! x9 D/ Q
  32. Database=Your_Database_Name_Here
    $ e4 f5 ?$ }3 C
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' K% O" N' \  {6 O, I% `
  34. User_name=User_name_on_the_MySQL-Server
    * Y& D3 M0 x4 N
  35. Password=Password_to_go_with_above_user_name- ~# r) C2 H* H( A( v" d
  36. GetDriverFunc=getSQLDriverMYSQL/ R  I# u9 J3 ?% Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  x( r: M+ A' \# b; B# v9 O
  38. LibraryName=path_to_libsqlmy_libary
      o  |2 T) e0 y) B9 ~
  39. Active=1: _, g' u" Q/ k" O# C  B
  40. ---cut here---
    . K2 T( J$ V. g- {" U: ]% s) P
  41. In my environment (a linux box with a MySQL server running locally) I have:4 ?7 q/ y. h' F1 I
  42. ---example---; c2 U- ?' K5 d2 L/ [3 [2 u3 j
  43. [DBEXPRESS]
    & s8 T5 S; K" O0 w
  44. sqldir=mysql_sql
    7 m1 e/ a. H, {$ W9 l2 @6 h7 z
  45. Drivername=mysql8 x8 [0 W; a) ?) P# f8 z% A) x5 a
  46. Database=test
      I; i( n% {, Q
  47. Hostname=localhost
    # j( H5 H1 I3 f! C
  48. User_name=testuser
    ) x0 c+ [! J9 G7 P) M% s
  49. Password=my_password/ w: W" Q6 X7 W' [
  50. GetDriverFunc=getSQLDriverMYSQL
    ; C% Q4 D& l* i( c' Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ e1 y. `% q; H* v- [0 @
  52. LibraryName=./libsqlmy.so
    , t) R7 A- v! L0 o- g+ R7 X: r
  53. Active=1: B* U* D7 G0 j/ |. T7 T, k
  54. ---example---: l! `  Q) R/ G

  55. 7 W* B5 ~/ y# |0 v/ r( I! y
  56. On a windows box, also running the MySQL server locally, it would be:
    8 q4 e. l. O# @. y7 U
  57. ---example---, x) \" q; J8 B, w; |' ?" Q7 I$ q
  58. [DBEXPRESS]
    2 C9 m" b7 W0 h0 @
  59. sqldir=mysql_sql
    3 M  Q* c: C6 P0 J
  60. Drivername=mysql
    1 O' C! N$ X2 s! M
  61. Database=test
    2 G7 p; H( Y) N2 P9 U  o
  62. Hostname=127.0.0.1' x/ E4 a2 _) X. [9 n5 A# M
  63. User_name=testuser7 s% p4 U' p& b/ _
  64. Password=my_password
    0 S. ]1 S' q) H/ C2 X: W. z8 K
  65. GetDriverFunc=getSQLDriverMYSQL
    : r, q0 y; G, B" E: K- b, I% k
  66. VendorLib=libmysql.dll  H! w5 q" r# b1 O# P
  67. LibraryName=dbexpmysql.dll
    5 L7 W# E1 S$ Y0 Q% r5 _
  68. Active=10 i$ L5 ?0 U# k9 l( H8 j- o( i
  69. ---example----
    7 a9 C! e1 @3 ]3 D2 W  w
  70. - written 02.03.04 by pwk.linuxfan# p5 L1 d8 F6 I: _2 l$ c8 r
  71. 1 \  j7 W% n4 o) j- _6 g9 k: R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 I7 A0 Z0 G; J0 Y/ y
  1. ) y6 Y0 ^5 _, [6 l4 A( \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , N2 t& D$ V$ I
  3. 2 ]! [8 a* q( h
  4. # # #我们所需要# # # 1 K, ~$ C! j6 d2 w4 W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ I. d7 z$ u# d# Y. J' t9 e
  6. 不会解释如何做到这一点-也有文件存在,为. u8 h+ B& A- P! t3 M6 n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% T$ }* t9 l9 k5 [6 n; v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 s6 D5 V' ^, a
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : L1 Z# g1 Q& x; R; B, E
  10. 本地机器,这是我的MySQL安装。
    7 q3 `" S' U; e; s9 G" d4 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 |' ?2 `: @+ K8 b9 K: P5 ^7 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' j4 @3 h/ i8 ~: M3 R
  13. 数据库。 * h# y9 N2 @) N$ g3 @. K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 u* \$ D6 c& `
  15. 编写本报告的时候,仍然有太多的问题-检查现状! g% h; d+ V1 N: _4 S2 g$ X4 o# o  m
  16. 在teamspeak论坛,如果你有兴趣。 5 x) J7 ^' B7 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 [" |$ c) P- F3 z: k$ E
  18. Borland公司使用。这个司机只能界面与客户端库/ B; ~7 T( G) X- |$ F& y  y1 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 J! U- _) |7 U4 O+ Z: ?, _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 l+ K6 f: n2 W% h& Y! N
  21. " vendorlib " ,并解数据库连接。
    5 w4 d2 f& ?" p* L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 r6 e6 e. I6 a- o! T# U

  23. + h+ F9 U8 t# y  }0 \' J5 }6 l& ^1 l
  24. # # #做好工作# # #
    # g, _. Q9 |1 t0 R! k1 U6 r2 X  A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) @7 ]2 _5 T! W/ O; c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: Q4 A9 `* G, t" h
  27. 结束:
    " O" l7 m- [$ z4 y: a% q
  28. ---削减这里---
    8 z+ {" l% M7 Y: P/ u
  29. [ dbexpress ] ' H# D6 p9 K; ^7 }& v, q
  30. sqldir = mysql_sql
    1 V) F/ o( t$ U2 T
  31. drivername = MySQL中
    7 H% @* h# g/ F& \6 H' n
  32. 数据库= your_database_name_here ! U# x! Q5 _/ V9 V. t' C
  33. 主机= the_pc_the_mysql - server_is_on
    ; s( [$ ?& A. e) U
  34. user_name = user_name_on_the_mysql服务器
    6 b. `7 \, |% h) C  i
  35. 密码= password_to_go_with_above_user_name
    " B, H( z5 D( n
  36. getdriverfunc = getsqldrivermysql
    6 k! S' d( k  w  |4 [9 n! P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * l6 j/ e- E1 G- s" B. b- L
  38. libraryname = path_to_libsqlmy_libary # q! h' l$ o/ r3 `
  39. 积极= 1 0 q7 `+ E0 L/ h
  40. ---削减这里---
    $ j2 i; A4 \+ q$ M* Y- c7 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , S4 Z6 S1 N4 u' D; |( ?
  42. ---例如--- 1 W6 G  s5 Z+ {( ?, Q
  43. [ dbexpress ] " Z) Y3 V  r: U8 ~# g# n2 T
  44. sqldir = mysql_sql 8 l6 W  B) ^0 Y+ X" ~4 ~
  45. drivername = MySQL中3 ~  B5 V: A$ Z! {8 u
  46. 数据库=测试+ E* }5 n1 G6 F0 a! V
  47. 主机=本地主机1 q. T$ e! L- N0 {) U# O
  48. user_name = testuser
    9 N* E0 ]2 \2 t2 g7 D  K4 X
  49. 密码= my_password
    7 v+ T9 D" N+ H) o+ u  K
  50. getdriverfunc = getsqldrivermysql 7 _9 M  S" `3 ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + X0 F( n; a3 r4 J
  52. libraryname =. / libsqlmy.so
    ) J, A" L8 d! }4 G0 _! y
  53. 积极= 1   L" J3 s9 s/ U: m3 s
  54. ---例如--- 7 B% e+ p0 X, m
  55. ( K  ]1 u& ^+ Y5 ]& X& N8 D
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   s. `+ o( B) |; n/ Y7 q# l* e
  57. ---例如--- * {7 _; e' w+ W5 D4 f) d
  58. [ dbexpress ] 3 z' ]; T6 l: N* L! l
  59. sqldir = mysql_sql
    * }$ ]+ _/ J5 i6 e9 o  }9 K) q
  60. drivername = MySQL中& x; W- u  @6 l+ F
  61. 数据库=测试: n6 i+ o' l6 V
  62. 主机= 127.0.0.1 0 Y- _! a: Q6 ^. Y
  63. user_name = testuser , y8 {# A! p: c- w0 i" v! q
  64. 密码= my_password
    2 j% B* m9 g7 g7 B
  65. getdriverfunc = getsqldrivermysql
    ! ^) f( p3 v* e) Q! f: M
  66. vendorlib = libmysql.dll在) e/ ^# h1 K- h+ p6 J
  67. libraryname = dbexpmysql.dll
    1 y! T6 E. F5 w# [) x
  68. 积极= 1
    2 M3 n& G. a+ ]! o" E* N
  69. ---例如---- " Z( `) Y9 ]: ?/ w9 l
  70. -写在0 2.03.04由p wk.linuxfan
    / |. q+ W2 s7 n0 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 words
+ ~- i6 `& p2 v4 j9 {: m4 D! d& m: P- h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-15 03:49 , Processed in 0.100666 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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