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

3051 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * B0 |# l' ?( O5 ~( _! }* L; I# S$ X
: y* ]$ C  e% l5 G3 h5 c

  1. - z9 j* R: p6 ]6 P5 n/ ?, b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ a! |1 @& A: u! P  A. g
  3. ) V3 u  g6 T& w+ f4 {+ v
  4. ### What we need ###
    8 y) ~% E/ l& c5 Y6 n$ O
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) ?2 i4 s0 P( B
  6. will not explain how this can be done - there are documents out there for the ' n8 N* F  h8 |# J/ O  E
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 ^' x, E6 E! ]9 C" ^, T# x
  8. and a user account (username + password) that has the permissions to do stuff
    " b8 g/ e, P8 T  b/ w+ l6 c, ?0 _
  9. with the database. Additionally, you will need a vendor library installed on the& n* t, ]7 W* M; @3 h
  10. local machine, this came with my MySQL install.6 p* u# `1 r7 ]& z2 q. Y
  11. These instructions will not tell you how you might transfer your data from the+ B; t$ q$ d0 O3 S6 [. L) K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ E7 ?  U! W$ t- y% p/ J% u
  13. database.5 W  E/ N5 R* y* p/ e- s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 a# p% ~/ x/ j' g3 X
  15. the time of writing, there are still too many issues - check the current status
    6 C" v1 C- s& Y) W% }! o
  16. in the TeamSpeak forums if you are interested.' }, p  r* n8 I3 L' S- J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 Y! N3 K9 \$ y( `6 L! v0 f
  18. Borland was used. This driver can only interface with the client library that # s! F: W: g0 ^# x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 H7 Q' p% @7 D9 ]" w5 w
  20. client library - basically all you have to do is to use a 3.x client library as
    ; F  q* K$ L7 |4 v
  21. "VendorLib" and a 4.x database to connect to.
      q0 P8 m8 p( a- r; X- t
  22. If you need more info about dbExpress, you can contact Borland./ k) R0 G" Z4 j

  23. ( e9 B' x, i. O) e. `. e
  24. ### Doing the work ###
    # h# B' _9 Q/ [( t6 B' a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: T0 Y' A- q9 R! {- Q/ ~1 n
  26. the perquisites right, just open your server.ini file, and add this section at
    ; b) k+ ^- P" D, w6 @
  27. the end:
    5 U0 ]) Q' o( N  v8 ~6 t9 R  L
  28. ---cut here---
    ) s7 d5 E7 a- k
  29. [DBEXPRESS]
      z8 O" M7 r3 j% y
  30. sqldir=mysql_sql5 o) Z  S% E$ l. W' u0 h
  31. Drivername=mysql
    $ u- x! R0 t+ k8 o0 y* R# U* F% e
  32. Database=Your_Database_Name_Here
    : D* C$ E0 r6 |9 M3 Q, K$ M+ H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 @" @  T8 ]; V% s
  34. User_name=User_name_on_the_MySQL-Server+ v/ p! {7 c7 }9 X6 J0 s$ R! T
  35. Password=Password_to_go_with_above_user_name% n7 F6 g5 s4 R7 R! W- ~
  36. GetDriverFunc=getSQLDriverMYSQL
    9 c" ]6 V9 Y3 R; Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 ]* c* e9 {+ ~  x! Z/ m" G. }
  38. LibraryName=path_to_libsqlmy_libary
    2 F/ u& @4 F! z3 j. |8 J6 ^# n
  39. Active=1" T( O) W; a5 ]" w; h
  40. ---cut here---
    ) P7 A# Y# f# s! J/ j& q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 v" O5 s0 A: V, }1 z
  42. ---example---
    : O4 O& \% a0 Y" S1 J/ s7 ~
  43. [DBEXPRESS]$ X0 z& L. u9 ^' A
  44. sqldir=mysql_sql
    ! Z. N% ~$ b( x1 W3 w5 p  w
  45. Drivername=mysql* Q: ]0 M! C: N" t4 o
  46. Database=test
    # {: m7 Y5 n- ^0 m
  47. Hostname=localhost9 q) E" k; ]. ]
  48. User_name=testuser2 Y6 H% s* ?* [$ [  Y
  49. Password=my_password
    4 N. t7 L) {, v/ y" S
  50. GetDriverFunc=getSQLDriverMYSQL
    * S! u% R, o; l6 B' d8 k: q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 P5 L7 Y" x, M1 ^3 _2 x2 z0 @
  52. LibraryName=./libsqlmy.so$ c' J4 @4 [; d4 n" V8 w
  53. Active=1
    6 p# W- D$ {* G+ E7 t
  54. ---example---& W; [& f- G4 G! O( n2 C
  55. 9 [+ S/ G2 ?9 T6 ]4 J
  56. On a windows box, also running the MySQL server locally, it would be:
    3 X$ L# L$ N/ B8 ^8 c8 n
  57. ---example---
    % l3 J& H3 u9 `* F2 x8 E! X
  58. [DBEXPRESS]1 R) @# M- S, G3 h
  59. sqldir=mysql_sql5 F6 j0 D! k& p% y! f. d* `
  60. Drivername=mysql% P5 r( _6 u. F: a& S
  61. Database=test
    - n" ^, G! \5 f0 V$ w" N5 |
  62. Hostname=127.0.0.14 d4 G+ V  R1 O- N" \. v
  63. User_name=testuser
    ; U$ A1 l7 N' b: ]" T  s
  64. Password=my_password7 f  Z2 ?/ U$ I2 E7 t
  65. GetDriverFunc=getSQLDriverMYSQL
    ; G) K5 _4 _$ `3 n" k
  66. VendorLib=libmysql.dll
    . P$ ~2 s& n# n
  67. LibraryName=dbexpmysql.dll
    ' _0 x" W9 R( x8 |9 B/ d
  68. Active=17 l- H" Y3 J( Z, `! f
  69. ---example----& I( k3 k% r0 v  I
  70. - written 02.03.04 by pwk.linuxfan
    ' I0 u7 w5 J, x6 b8 F( B6 k! [

  71. , a0 Q8 W  n2 u0 ]4 }. `8 Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 [  C$ V8 D5 y* K7 t0 D

  1. - g) L- O& n, L) ^* @+ _/ ]3 q9 y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 p/ d! }1 C* y9 |! T
  3. # R6 f$ w0 S  C- U! M
  4. # # #我们所需要# # #
    0 N2 K' o7 [/ K5 B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 h) ~1 l! ~( {/ `
  6. 不会解释如何做到这一点-也有文件存在,为
    1 I. O5 m0 f: C( d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( y3 n4 _: k4 B. ?' g% T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 M* \) y8 R9 t1 q* t5 ]% p; t4 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ q/ b# G0 u0 R8 \; S9 I& f) E' r
  10. 本地机器,这是我的MySQL安装。 - q+ q/ n! y* ^8 a& I& x, i8 y. N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 F, X  u$ H/ H2 O* L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 R0 i" f) i( E) _5 Y$ f
  13. 数据库。 9 ^8 {: x7 I* x9 K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: R5 E$ g: E# W; `8 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状; j+ X6 Z1 T- N* Y1 Y! M* F. q
  16. 在teamspeak论坛,如果你有兴趣。 8 T: m3 n8 t. j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! a+ Y; x! F6 H3 z
  18. Borland公司使用。这个司机只能界面与客户端库
    * i* n3 ^; c; ^- h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 h' D, r( K; K* ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, Y6 f7 u7 u+ a9 `, h3 L* H9 T
  21. " vendorlib " ,并解数据库连接。
    ; Q8 q, B3 d4 I/ t3 o* r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) S4 d7 e" K$ }9 ^& k" I- X
  23. # I2 F' h3 A8 e6 l: K* `8 l
  24. # # #做好工作# # # . R/ u2 U/ ]) F  r" p/ _! J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' q. d5 D0 u; [" t9 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! f2 U3 @8 e, o( I" f
  27. 结束: ; y9 g  v6 w0 H/ b
  28. ---削减这里--- 7 k: r" y8 j. \  M
  29. [ dbexpress ]
    ; Y. d+ r5 e/ N" s& B8 @$ E) m5 I
  30. sqldir = mysql_sql
    & N, @7 y) K  ]- j4 N* M" b; H
  31. drivername = MySQL中) `/ J+ O( H( d2 {$ n6 a: W- {& ^
  32. 数据库= your_database_name_here & X9 b1 e6 n% Q' D9 G3 ?  s5 n
  33. 主机= the_pc_the_mysql - server_is_on * B; l) _$ p/ h; I# L3 ]
  34. user_name = user_name_on_the_mysql服务器
    . S$ D8 S$ n5 E8 l
  35. 密码= password_to_go_with_above_user_name
    - j) ~1 j  m( O1 ]
  36. getdriverfunc = getsqldrivermysql / F  s  p* b! K4 z0 x( {8 r/ G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 O# N$ K0 [) O
  38. libraryname = path_to_libsqlmy_libary
    5 c4 v8 a* S, B5 P* C# F* Z9 S
  39. 积极= 1 7 V" W7 I' L* j4 F, B
  40. ---削减这里---
      s4 T/ {0 A% [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ M# [' f  h' c% g# b) [) t* j! U
  42. ---例如--- / g+ u$ x1 [- C& u
  43. [ dbexpress ]
    5 N2 W: v& V9 W
  44. sqldir = mysql_sql
      z- Z3 i4 g: R! m
  45. drivername = MySQL中/ |) t' N+ S# l9 {
  46. 数据库=测试. T2 o9 f3 Q4 M9 t0 N
  47. 主机=本地主机/ B) X& Y+ L1 L( c
  48. user_name = testuser 6 {* C- x3 U) ]: ~( x7 Y; H! b8 N
  49. 密码= my_password ( [" W2 t" D9 K
  50. getdriverfunc = getsqldrivermysql
    , k3 o+ |6 R6 l7 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # m  D# Q# y6 T# |
  52. libraryname =. / libsqlmy.so 9 o1 B# S6 N- J; W
  53. 积极= 1 3 m9 ]% {% I  J# u) b/ u3 W
  54. ---例如--- ; W: v; @& F0 K. v3 N
  55. % d; G- k1 x/ `0 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " W/ _' c2 }6 g) J& e/ j8 ]
  57. ---例如---
    ) |9 e9 a0 N' w
  58. [ dbexpress ] ' R5 j( Z& e$ r% M3 s5 a2 j1 s
  59. sqldir = mysql_sql
    ' Z2 H2 T& k+ h" @( t6 X7 p( I
  60. drivername = MySQL中5 M% h( v5 d% ^  i7 R' S3 ^
  61. 数据库=测试  m8 E; _' W3 V, v% T6 q
  62. 主机= 127.0.0.1 : ?0 e% m, R5 W/ N( `- k2 n
  63. user_name = testuser
    ; O: L* i4 d( p0 n2 C& q
  64. 密码= my_password
    4 y, V2 J7 V  R$ b6 J$ y# P; x
  65. getdriverfunc = getsqldrivermysql 9 Z$ p% P! X( L
  66. vendorlib = libmysql.dll在3 A3 b2 Y0 y& K1 ~; G
  67. libraryname = dbexpmysql.dll ( y( f# ?( z% n' T( Y% T/ E
  68. 积极= 1 8 G1 _4 N7 K9 O3 f, x
  69. ---例如---- & T" I8 o; W: {, M+ I, E/ i- w
  70. -写在0 2.03.04由p wk.linuxfan
    ) Y* R/ |# b- g6 ]. m) O( u
复制代码
发表于 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, f! _) l/ o9 \/ C4 c

# F' i. I. U  vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-21 14:59 , Processed in 0.092710 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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