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

2891 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& Q% f. p+ ~, k2 g7 J  P1 ~! Z
* n' C3 d* m* {0 R+ a
  1. 9 H8 e' ?: ]( }6 o2 L& w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & \- ~0 }+ W: f+ E* {
  3. 2 `6 M9 _% N  x2 V
  4. ### What we need ###
    7 t& g  a6 I4 {1 B/ c
  5. Naturally, we will need a MySQL server to store the data for us, this document
      \- ?; V! W$ o( G, A  V
  6. will not explain how this can be done - there are documents out there for the 4 `5 B) b0 z8 u  g. U  D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 Z. A4 b0 w/ m5 h
  8. and a user account (username + password) that has the permissions to do stuff
    7 P0 ]" {. p9 V
  9. with the database. Additionally, you will need a vendor library installed on the
    # Z" m3 [" H. }) o( v
  10. local machine, this came with my MySQL install.
    , J+ P: x. Y9 O+ b1 t
  11. These instructions will not tell you how you might transfer your data from the
    & ^( m( e% a* O! V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  |. k, `+ }$ Z- [9 h. N) E7 f/ J! X
  13. database.
    ! j# y/ u$ V' G
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : Y7 P) r; Q; L6 a, d% }- {5 s
  15. the time of writing, there are still too many issues - check the current status+ ]6 B* L% t5 o# t
  16. in the TeamSpeak forums if you are interested.+ w; R, C4 o8 n( t) ?; X$ h5 C, ?) e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* d" J" r! d3 Y  f$ x; H
  18. Borland was used. This driver can only interface with the client library that
    + F7 U. ?+ ?2 ]* _  X( c: K' C$ }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' L- o* X2 l7 E& X; `+ I3 W. t
  20. client library - basically all you have to do is to use a 3.x client library as 8 L3 k* @2 ~( [5 g: i. |
  21. "VendorLib" and a 4.x database to connect to.3 _% F( b* n4 M+ i" {, m. b
  22. If you need more info about dbExpress, you can contact Borland.* K; _/ \4 Z; {7 R2 U

  23. 5 [" _3 j) r( t" t
  24. ### Doing the work ###9 A0 I  Y2 S0 s( k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 d& b" O8 r- j: v9 Q
  26. the perquisites right, just open your server.ini file, and add this section at
    8 l) H5 J( x+ ~  G+ F  K0 n
  27. the end:
    ! D/ b; _, N  f; A8 R' M/ V' c
  28. ---cut here---
    ' N& k" a. C4 P7 _) D5 B, V
  29. [DBEXPRESS]. H; Y% n$ `  I' ^# }" |
  30. sqldir=mysql_sql
    ; p5 ~, S- ]$ F, ~
  31. Drivername=mysql) i) d/ B) _( }! `
  32. Database=Your_Database_Name_Here
    # ?2 m3 _% L' {" K" B' i3 d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ b" [" O2 J9 n' C% o; {* N
  34. User_name=User_name_on_the_MySQL-Server
    : K. y, r* N3 N$ r, ?) O" S
  35. Password=Password_to_go_with_above_user_name
    2 g& M/ d3 N7 V/ W
  36. GetDriverFunc=getSQLDriverMYSQL2 J, t5 ?3 W4 H% x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " G) H" p& x3 b' e) X$ O1 z' m4 N
  38. LibraryName=path_to_libsqlmy_libary' s- }% z7 v" s) X; Q0 X" n
  39. Active=1" d& d, W" N( T/ j3 @8 E
  40. ---cut here---6 `" \* J6 C7 H/ A, W/ u$ P2 s2 S
  41. In my environment (a linux box with a MySQL server running locally) I have:5 L+ W0 x7 i- f
  42. ---example---* ]; B1 M' H: w: f: e+ C$ J+ _
  43. [DBEXPRESS]1 D7 B6 W2 J$ E1 _$ |7 q. D* ]) v$ _
  44. sqldir=mysql_sql) u6 Y1 g9 g' Q- d. ?5 Q
  45. Drivername=mysql
    : [3 p2 H4 T- ^9 z* X
  46. Database=test
    - e' r9 @% ?/ J6 g
  47. Hostname=localhost! ^! @% x. b' [( p& k, F# a
  48. User_name=testuser; M% B! c4 F# B/ z! S8 }( `/ }
  49. Password=my_password
    7 |' `' v) L- p: j
  50. GetDriverFunc=getSQLDriverMYSQL
    + T, E% w* b+ I/ B6 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0( E5 P% [: \) v# t6 u/ i
  52. LibraryName=./libsqlmy.so
    4 [; ^' w6 L: o. L* h
  53. Active=1
    4 N* w! k$ T% @; ?4 z  S2 u
  54. ---example---( d+ J' k. b  H7 ~
  55. 1 J" X" }+ h$ n/ {! f& p+ d
  56. On a windows box, also running the MySQL server locally, it would be:2 N; L7 j+ |3 Y/ t8 u
  57. ---example---
    8 s0 `5 w3 \; J, T/ N; @/ Y
  58. [DBEXPRESS]
    ' s3 j! \! M) P( s; B
  59. sqldir=mysql_sql$ ]4 G) F: |) G5 d
  60. Drivername=mysql
    ) Y8 r# F. V5 {$ O+ l% @
  61. Database=test
    ) e! Y9 ]: h; C0 G2 }  ]1 N2 [
  62. Hostname=127.0.0.1
    1 d: i' }& v( Z' o- o2 ?
  63. User_name=testuser
    - M- a( r7 g$ M0 F% Z! b
  64. Password=my_password
    4 u4 i  M1 x1 n- r* y- B
  65. GetDriverFunc=getSQLDriverMYSQL5 {9 }8 \  c3 O+ W1 B
  66. VendorLib=libmysql.dll5 Y1 n% |6 D$ y5 {. t0 `
  67. LibraryName=dbexpmysql.dll9 M1 o1 `9 y7 [1 g/ f9 l
  68. Active=10 C  n# Z# q* `8 O1 I7 s; e
  69. ---example----
    % M% s- @9 @, R1 e( V
  70. - written 02.03.04 by pwk.linuxfan
    8 K1 O9 O! G8 i' O0 M0 k
  71. & a: w: f" Z$ Z' x' v8 A, F" W$ R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
- ]+ S- u1 M) j6 ~! }9 ^7 J# m

  1. ' @. z; c; A% Q4 A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 G2 |$ Y4 R- b6 j: ]; h1 _0 ^: W& c* H

  3. " }) f  E, M& M, j  E
  4. # # #我们所需要# # #
    2 {& p) u  D9 h. @% v  Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( L/ N+ G' _" _9 S3 h' v( x4 \
  6. 不会解释如何做到这一点-也有文件存在,为
    # Y  D; {& C, M# A, ]2 F; L- ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : v+ c4 P" T9 w& }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 K( \. F" k* X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : d7 Z" S! ?+ r; }, y9 N9 F
  10. 本地机器,这是我的MySQL安装。
    . ~8 T$ c' @3 r8 m5 a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % x3 i+ Q' O# ]/ s# p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * r' S- f) _6 h
  13. 数据库。 & ]1 t) e7 h( }7 h& c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + Y0 {9 \* R' [4 r' ]% ]' m6 j0 ]$ Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 \+ b- E. E; y. P* Z
  16. 在teamspeak论坛,如果你有兴趣。 2 k8 r( M6 ~1 y* T! r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 H2 |3 F9 R$ `& W- x2 u
  18. Borland公司使用。这个司机只能界面与客户端库
    3 q& Q1 l  z8 |; U4 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- Z' d" ]/ v0 S- G1 c- W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' c8 o0 g9 b+ @! Y7 S) _
  21. " vendorlib " ,并解数据库连接。
    3 `+ x( X) s/ l$ @0 Y' M  l2 P" j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 _8 u3 \' ^+ a. p% f5 h
  23. ; X, C% n$ E2 v, l
  24. # # #做好工作# # #
    6 f+ A9 x% }0 ^* p# {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 [* D  h0 U  M$ H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . T' Q& Z+ N& \
  27. 结束:
    6 Z$ s0 ?$ K/ r! J/ k" a: o
  28. ---削减这里--- $ Z8 X7 e7 r0 F# Y1 s8 m8 f5 X
  29. [ dbexpress ]
    / l. `: g* u4 K) y) t% D
  30. sqldir = mysql_sql + }9 O, T- z! z$ x8 F$ ~! B/ l. t
  31. drivername = MySQL中
    : ^1 ~+ a2 {5 O8 L0 Q! Z/ }
  32. 数据库= your_database_name_here
    % H0 N: [% }% R8 q: I# t5 ?; x+ f" D6 D
  33. 主机= the_pc_the_mysql - server_is_on
    ! c5 n3 X$ J/ @: z9 s; @2 a% T, y
  34. user_name = user_name_on_the_mysql服务器8 z) N2 S3 G% J# U) {! V
  35. 密码= password_to_go_with_above_user_name
    ( u: ^; R8 m1 C% ^# \
  36. getdriverfunc = getsqldrivermysql
    + k# f% V$ R! h, T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 ^( C1 g8 Z7 w; N6 H/ i, K1 Z
  38. libraryname = path_to_libsqlmy_libary
    $ I* Y% W/ n1 S2 n5 D
  39. 积极= 1
    $ h8 p% f# S3 W4 @
  40. ---削减这里---
    % l' y0 N7 c6 j! [5 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 U3 T' h  q8 ]& X& c
  42. ---例如--- 3 m' g6 m2 y+ Y5 a( o/ X
  43. [ dbexpress ]   w# [4 R% N3 C) H$ G- P4 O
  44. sqldir = mysql_sql # s* u2 x( E  K" T/ a) _1 L
  45. drivername = MySQL中
    , y6 H- J2 e3 [' ]
  46. 数据库=测试
    . K& {, o' c" W! Y
  47. 主机=本地主机2 A# t1 v& p$ S$ W) p  S1 S6 a+ {
  48. user_name = testuser ) N  ]- U3 k: B- D$ S  F
  49. 密码= my_password 5 v: }+ B8 O: @1 z& i
  50. getdriverfunc = getsqldrivermysql $ c4 u4 _" s3 g% z6 r  I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : `8 h6 J* u1 H; N
  52. libraryname =. / libsqlmy.so
    $ r: G& a. T* {8 N9 t# z
  53. 积极= 1
    . X9 S% n( y' x, `. w3 X5 U2 k" j$ ~# I
  54. ---例如--- ( [  Q& M+ P% P

  55. 1 ~& p8 }$ c# \$ t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! B0 x3 N9 k1 c; h
  57. ---例如---
    7 C" a, [, n5 Y% p$ c) E
  58. [ dbexpress ]
    / D2 I" K; M" p6 \$ P
  59. sqldir = mysql_sql
    - s7 O" G2 x$ ?9 L  d+ j1 w9 v
  60. drivername = MySQL中
    1 g2 _' V( h1 p8 ]$ ?8 B+ @3 o$ P
  61. 数据库=测试: p6 V/ X; |) P  V! L9 O5 o
  62. 主机= 127.0.0.1 1 A# f, ?/ f8 z! W7 m% [! R, @
  63. user_name = testuser
    6 ]8 g- v/ `( r: Y
  64. 密码= my_password
    " R7 `* M9 \+ a+ `/ w" I
  65. getdriverfunc = getsqldrivermysql
    6 E7 ]$ v; C, G  q; f+ K* [
  66. vendorlib = libmysql.dll在. }) u- R4 ?6 Z
  67. libraryname = dbexpmysql.dll % _+ O4 h$ v+ ?8 L2 }' q
  68. 积极= 1
    . U/ C$ g3 `4 @
  69. ---例如----
    " G) V" f& S( n2 P; B, |! k
  70. -写在0 2.03.04由p wk.linuxfan& x  s8 Z8 U  K
复制代码
发表于 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! u9 P9 C0 O  O/ X/ r! E; K9 Y% P

* H7 f: w- V0 x! P4 ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-14 05:38 , Processed in 0.103249 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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