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

2799 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! |5 }' l, l+ n# f+ X

: L* V6 ~. y! {0 ?3 Z3 o

  1. # P  x# m9 b6 @* z3 |* B% s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 Q2 T& `% J5 p# T
  3. 7 V- m/ m$ |2 `9 w/ D: `- I
  4. ### What we need ###8 W1 d4 U6 B6 K
  5. Naturally, we will need a MySQL server to store the data for us, this document   O1 o9 y3 p* h: U' U: a
  6. will not explain how this can be done - there are documents out there for the
    6 O% n: ~* X5 @' }- z3 c6 t
  7. interested. The requirements include a (empty) database for TeamSpeak to use) h. F- K7 b- L" N5 F+ M
  8. and a user account (username + password) that has the permissions to do stuff
    7 q# M9 k+ S$ Z8 |! u1 |
  9. with the database. Additionally, you will need a vendor library installed on the
    " S+ r- E4 |% f/ O$ C  R! _1 l
  10. local machine, this came with my MySQL install.
    # K) ^8 O6 i% p7 L3 I
  11. These instructions will not tell you how you might transfer your data from the
    , L; g1 @, i. T' z' R3 S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 Y. r) D  L) Z* A- g. ]! J
  13. database.
    ! p( D% M8 p) Z& h. H
  14. Some users have reported ways to import a SQLite database into MySQL, but at% x! s+ _" N4 @# I
  15. the time of writing, there are still too many issues - check the current status
    & ~1 L9 D/ @% d6 k) ]
  16. in the TeamSpeak forums if you are interested.
    , V- r. {% j' {& x9 |! g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , g+ ?& g  u% W
  18. Borland was used. This driver can only interface with the client library that
    ) E9 L* f6 d3 }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) b" e1 A6 T, U# A, j
  20. client library - basically all you have to do is to use a 3.x client library as
    $ z, Z9 J* B& `, ]; j& z
  21. "VendorLib" and a 4.x database to connect to.& L8 L, k2 a1 \7 z
  22. If you need more info about dbExpress, you can contact Borland.
    , ~9 |$ u5 b- I) W( ^; }
  23. . v& |. t' a" h8 A- }
  24. ### Doing the work ###
    & K  `% w" j; g1 i1 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 x' T# n: Y8 t, C
  26. the perquisites right, just open your server.ini file, and add this section at
    ; b% I7 p! H  \5 n; x' g$ F  B& X
  27. the end:3 ~# Q+ P* J* n( ~2 a$ A/ N
  28. ---cut here---
    & |# s$ f5 [0 v, G4 V; Z
  29. [DBEXPRESS]+ ^$ v2 a! j  o0 k) I; K) ^7 o4 h
  30. sqldir=mysql_sql
    % ~& t4 I  N8 r5 e/ ^% V! |  G' Z3 g
  31. Drivername=mysql7 R/ S1 t( ^9 u& k7 c
  32. Database=Your_Database_Name_Here
    ) A! ]/ r% w" G! d  z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + A$ y$ y* W! y3 o) ~0 P
  34. User_name=User_name_on_the_MySQL-Server
    - \( }0 A4 s$ {1 E* }; [/ ~1 `
  35. Password=Password_to_go_with_above_user_name
      e- I% Z& W# {# n
  36. GetDriverFunc=getSQLDriverMYSQL6 n: y: m0 O+ o) T' @# b4 y; z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! M5 t7 N( h5 t: v2 p' |& ~
  38. LibraryName=path_to_libsqlmy_libary
    : l- s1 @2 s2 {, W
  39. Active=1
    . I; @. |0 r6 E" F: `
  40. ---cut here---. O) ]+ U, [6 G* z( ~, w" y
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 j  G" G* K6 D4 U& W+ X2 Y0 ?8 a
  42. ---example---
    0 k5 d3 R9 M1 m7 b, K9 J
  43. [DBEXPRESS]
    / k3 d$ N8 h; \
  44. sqldir=mysql_sql- k  p+ q3 Z( F/ m8 H
  45. Drivername=mysql
    # u2 t) D5 k6 X, e- y
  46. Database=test3 N8 D: N$ W; d) G
  47. Hostname=localhost
    1 f! Q  ]" L3 q4 g
  48. User_name=testuser
    $ f  P; y" Y( O
  49. Password=my_password
    + z  U& u5 A  x$ T8 ?9 y0 t$ ^9 J. M
  50. GetDriverFunc=getSQLDriverMYSQL
    ( p, ]% I' u' p' W8 p" H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : W' s  s. E: E; I2 m% \, @7 m1 b
  52. LibraryName=./libsqlmy.so3 e; p# M# u* ^0 o) `
  53. Active=19 D7 L) I9 @7 w2 }; n; B
  54. ---example---0 ^1 H+ ~& w! e
  55. & j9 C! ]' k% g. P- Z5 y& G
  56. On a windows box, also running the MySQL server locally, it would be:
    : L2 s% x. G4 b: Z
  57. ---example---
    ) s+ }& j- e# W# v
  58. [DBEXPRESS]* A# f4 H- p' ~; S8 `- z% U1 D
  59. sqldir=mysql_sql
    6 N) O, @. U  }
  60. Drivername=mysql
    9 j  }" b! p8 t
  61. Database=test
    2 I. F5 t( U& F, C! w6 i4 o, ~
  62. Hostname=127.0.0.1  A+ \; n. Y- f5 Y1 X8 R5 F
  63. User_name=testuser0 k3 G" F; N8 G7 {2 p. c( }# H4 b
  64. Password=my_password
    + F  w4 u) R4 J( w5 b( Y' e% a
  65. GetDriverFunc=getSQLDriverMYSQL
    ; G+ Z; `2 `! e4 g; D
  66. VendorLib=libmysql.dll
    : }' F% C, T% h! r3 c; s
  67. LibraryName=dbexpmysql.dll
    2 z8 ]9 O* W7 }4 J7 C2 b6 F
  68. Active=1
    ) d# t, L8 p( W
  69. ---example----
    4 o4 [8 ?0 h3 ]$ u% z; }
  70. - written 02.03.04 by pwk.linuxfan
    2 e# Z) k7 n1 D9 b' e

  71. 5 f$ D, N0 t! d/ G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! }4 E- ^7 u1 S0 M2 o
  1. ' }* f. X0 p9 c6 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + e- Q+ l* C/ @; i

  3. & G$ g$ V9 b& e) {$ H) K
  4. # # #我们所需要# # # " _2 e) G2 H" K' O, D: h9 K# A( [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 r  K+ L0 d5 l
  6. 不会解释如何做到这一点-也有文件存在,为
    2 @! B6 ^: T# l4 p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 E( `$ ]1 U2 X* h2 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( {3 t7 W4 }8 ]) I6 ~! }: D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 B% M' i+ S, }1 ~& s0 b% K$ g
  10. 本地机器,这是我的MySQL安装。 ) H( V" n4 [! u) l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 x6 m$ `: r3 h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % s& C1 I2 N3 B4 N
  13. 数据库。
    , g; M2 a7 ?. x$ K; p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ d/ A# d6 F: l! v6 y) [+ P
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . H5 k& L& R" _( t2 N4 s
  16. 在teamspeak论坛,如果你有兴趣。 + c$ V5 P+ V4 m( u4 E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( z  X! W" P2 G) D9 J
  18. Borland公司使用。这个司机只能界面与客户端库5 Q" Z! s2 [$ U6 ]4 R; h0 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 ~1 `8 u5 y+ C- \( v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 L4 w* T% P' p% N1 j: `
  21. " vendorlib " ,并解数据库连接。
    $ F$ P/ h- r4 s; d9 B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; h( |7 Y( q/ q" w) ~0 {  J
  23. , W6 t4 P! i0 B: d: ?9 P
  24. # # #做好工作# # #
    , H& {4 p5 H2 m# U# z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% [8 P. E5 U4 o8 O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 g$ }  b% @2 U' ~. B- V8 {
  27. 结束:
    - {; y$ v) z# q! t: q3 T/ L
  28. ---削减这里--- . m# z( [( a; O/ \9 T; t0 E
  29. [ dbexpress ]
    : {" B5 s# B; d7 _
  30. sqldir = mysql_sql 6 O1 X) N: I0 s, M" Y6 N
  31. drivername = MySQL中9 z+ K. W, B$ w
  32. 数据库= your_database_name_here ; ^7 x- J, [9 K% _& i$ K6 v
  33. 主机= the_pc_the_mysql - server_is_on % }% H% M9 l% b1 E& j
  34. user_name = user_name_on_the_mysql服务器
    " _9 s" D/ i4 ?
  35. 密码= password_to_go_with_above_user_name , C1 e3 o; p  I: H# y/ l$ |
  36. getdriverfunc = getsqldrivermysql ( q: C, _- g' Z, T1 Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & j$ @; x/ ?+ r2 J: c
  38. libraryname = path_to_libsqlmy_libary
    % U5 D# o; Z) B1 B
  39. 积极= 1 6 @( p) c- X8 V% _: b
  40. ---削减这里--- + \: _( b! x9 a9 O* H/ `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : L7 ~6 q. o; a: U
  42. ---例如--- ) x( n6 A9 ?) q5 X/ R
  43. [ dbexpress ]
    & Z7 o6 M5 c7 S( ~8 x' c( w+ \
  44. sqldir = mysql_sql 0 S. o9 y8 Y; X
  45. drivername = MySQL中3 M$ C$ q0 X" k# ^! M/ `! Q! b
  46. 数据库=测试7 ~' D9 Y# M0 C+ h2 q/ s8 N. E" i
  47. 主机=本地主机
    & R) \2 f/ M$ D1 D( z8 V
  48. user_name = testuser * I2 d( Q; z1 p; v" [
  49. 密码= my_password
    * D6 w7 _) L+ K# V. Z
  50. getdriverfunc = getsqldrivermysql
    2 F; {) K4 q$ C2 F! }, K2 ]3 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 U% [7 z. _1 i. k6 d  R1 F: q
  52. libraryname =. / libsqlmy.so 2 H% K/ B9 h1 A/ W1 z, a! i4 [
  53. 积极= 1 $ o# n6 `3 x2 E4 r
  54. ---例如---
    ( W. `& w& _9 c
  55. ' ~. l8 [3 @) M& e- E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 u& U- R, Y% t+ I6 p& S8 ]
  57. ---例如---
    ; X; B, d5 R3 f; ?9 K* h' g
  58. [ dbexpress ] # V! {5 ]) r; X/ S5 g
  59. sqldir = mysql_sql
    + s' n9 P; \: |6 s; Z0 u, A
  60. drivername = MySQL中( _! p/ {* f. K+ W: Q
  61. 数据库=测试) F9 I' Q: e, [7 h3 v6 G
  62. 主机= 127.0.0.1
    ' `# R. @: e$ [! f
  63. user_name = testuser
    3 |& \9 L4 E: D' C2 t
  64. 密码= my_password
    + z, d" B, l) S* M" q
  65. getdriverfunc = getsqldrivermysql
    , ?, l; Y) S: m0 Y0 ?! a8 T& i
  66. vendorlib = libmysql.dll在/ y- S5 n$ Z' Y5 O" T- [, Z5 z
  67. libraryname = dbexpmysql.dll $ S1 w) X2 `, m' j
  68. 积极= 1 5 Y( v. O, E6 |  S% j/ S  K$ F
  69. ---例如---- 7 [0 a3 _4 \" h: r, z' l* W
  70. -写在0 2.03.04由p wk.linuxfan& o' o! s3 ]' _) v; a$ b) n) B& p
复制代码
发表于 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% F6 l8 `! Z: u% J$ L( u

4 G: r) z/ T$ l& R; a, @( H2 Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-24 04:05 , Processed in 0.117408 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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