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

3555 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( M4 U- I, E8 H3 H5 ^; x5 g/ h

) \; k7 ?# U6 y( G) L7 ~4 H% r2 ^

  1. & v1 Q# h5 G" l% M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 Z. Z2 B8 p5 h' }
  3. ) o! ?" z  L( t) K9 _, C
  4. ### What we need ###; i0 h  H$ Y$ u1 z$ B, j. Y
  5. Naturally, we will need a MySQL server to store the data for us, this document . Q: L' r- n! `8 f6 T1 Y6 W9 L
  6. will not explain how this can be done - there are documents out there for the
    ' F8 c3 i% m/ ?5 ]9 R
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " d( W1 L( f2 V5 ~& G4 y
  8. and a user account (username + password) that has the permissions to do stuff
    6 I) L1 {- E5 ~2 @
  9. with the database. Additionally, you will need a vendor library installed on the; {/ ^+ ?) N- Y( k! w8 s
  10. local machine, this came with my MySQL install.& J; r2 i9 T0 Z4 N
  11. These instructions will not tell you how you might transfer your data from the( |- O. Q4 }* \" {! W6 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , m: d+ Q: g* e, q
  13. database.. g( L# w5 e0 P) J! B( U6 d
  14. Some users have reported ways to import a SQLite database into MySQL, but at% p+ L7 V& |0 z5 O7 Y; J1 C* C
  15. the time of writing, there are still too many issues - check the current status
    3 N( y- Z/ k; Y
  16. in the TeamSpeak forums if you are interested.
    " |' \$ N$ k- |% N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 D  U2 l# p, x* W: Y! D2 C
  18. Borland was used. This driver can only interface with the client library that * o+ I) O- q7 @9 O* ^& ?* G1 L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - P3 r+ f% B. @; {
  20. client library - basically all you have to do is to use a 3.x client library as ! }0 C: A# e* h8 E: ^
  21. "VendorLib" and a 4.x database to connect to.- l9 N% T& b$ ]6 \
  22. If you need more info about dbExpress, you can contact Borland.
    ; ?# o: g/ a; x, M/ @) J

  23. + v7 U$ z9 b2 V$ C
  24. ### Doing the work ###
    + J6 D0 Z' \# J* `( ?4 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& l/ {4 U9 @) ]/ n( l# s# z0 }
  26. the perquisites right, just open your server.ini file, and add this section at; q( T2 p* X7 T- S2 v3 |, l& n
  27. the end:7 e* n/ ~1 `: J% q! L
  28. ---cut here---
    + m* _: T* u4 D% V$ N9 }; W9 |
  29. [DBEXPRESS]
    $ u/ [0 j; j4 O% l7 z
  30. sqldir=mysql_sql
    / U/ q6 Q8 j; m6 [0 H7 }4 [, L
  31. Drivername=mysql
    ' j& n+ v, ^  F- i' Y5 G
  32. Database=Your_Database_Name_Here
    6 w1 \* {; t" f
  33. Hostname=The_PC_the_MySQL-Server_is_on( i1 ~: j  t7 C
  34. User_name=User_name_on_the_MySQL-Server) H2 N3 a* A9 \  d( Q* _
  35. Password=Password_to_go_with_above_user_name
    4 @" b. O. ?+ _7 z& D8 w6 N" c
  36. GetDriverFunc=getSQLDriverMYSQL
    3 p1 m/ d: [, ^" B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( _. k: s8 `, k  O) e; m( p3 ^) C
  38. LibraryName=path_to_libsqlmy_libary# s( u8 z; J5 t3 H. |4 _% S
  39. Active=1
    6 P4 n6 u% U4 M# T
  40. ---cut here---
    ' u6 r0 i, v# S. H0 i& n
  41. In my environment (a linux box with a MySQL server running locally) I have:; l  R9 G. _, v4 A/ I5 ^& N2 v
  42. ---example---1 {# Z, l) t. t! q7 @9 l# Q7 G: ?- b* N
  43. [DBEXPRESS]
    / \7 l8 F/ ~* E
  44. sqldir=mysql_sql
    8 z$ ?* E3 H2 f  x! {, A
  45. Drivername=mysql! K! |4 \; v, d% J! b: ^
  46. Database=test7 i! C5 W# ~8 q6 o/ S; o
  47. Hostname=localhost
    # F" K) c( p! X, |, p2 @6 _& q8 S6 t
  48. User_name=testuser6 l; a, W  J8 W: Z  P
  49. Password=my_password8 h3 i& ^  q& ]6 r( b" \" W/ ~
  50. GetDriverFunc=getSQLDriverMYSQL
    0 \0 Y$ p4 i' T6 L" N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ i' y* b; |0 k* x; C' X0 I
  52. LibraryName=./libsqlmy.so
    ! U4 R% f2 K: I% v% E/ y; k$ A
  53. Active=1
    2 L/ A* x7 L7 ^
  54. ---example---2 C# M; N7 a+ B6 ^: m

  55. 7 G7 {% w- c9 R/ m, N7 g
  56. On a windows box, also running the MySQL server locally, it would be:- r: O. P3 y* ]% O% Q# r
  57. ---example---
    # |0 l! p6 K- b; \  c+ K
  58. [DBEXPRESS]
    - E! O6 u4 h: D" \8 \3 N4 J3 x+ Q
  59. sqldir=mysql_sql
    / s) @  a, z  X; h5 V0 @. t
  60. Drivername=mysql
    0 e: @3 @9 K! o7 A( p2 m
  61. Database=test
    4 D  x7 f0 V- |" D
  62. Hostname=127.0.0.1" q7 I7 m3 c5 f4 h
  63. User_name=testuser
    % M; y) o  U  S4 |( u9 m
  64. Password=my_password
    : D+ ~6 `2 S7 t# F+ y
  65. GetDriverFunc=getSQLDriverMYSQL
    ; }8 q% C3 S" Y4 o/ d8 c+ ^
  66. VendorLib=libmysql.dll8 H" A' q! i5 V, l3 u% v6 K/ \
  67. LibraryName=dbexpmysql.dll
    7 a9 \: z3 I  p7 G! r
  68. Active=1* ?" o2 }- {7 R- h! U
  69. ---example----6 `3 I! m0 K( b; y# r2 V$ P8 S5 R
  70. - written 02.03.04 by pwk.linuxfan! B$ {  v& Q( t

  71. : i1 t8 C' e; M$ b- C% {* i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; e6 [4 J1 Q( r$ I1 ~' W" `

  1. + j2 y. U9 P, F1 b5 _" Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! ^; A7 h( i0 |; ]

  3. * B& f4 `; i2 c2 Z2 m
  4. # # #我们所需要# # # ; _3 V7 {  t  g3 v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. L% S/ d7 I/ H
  6. 不会解释如何做到这一点-也有文件存在,为
    # i7 e' S* I8 t' \, z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) J/ E2 b+ P7 ~* D& Z0 Z& ]5 a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + W7 G; i  V4 k- j. \! n( k8 K. e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 f! N, L6 g: O" T! w* _
  10. 本地机器,这是我的MySQL安装。
    4 m, s3 F0 n* a* J# J: G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 g" v4 M0 x: H# ~% i# l" F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! Q: p! {$ U3 y! C% V
  13. 数据库。 1 r3 }; W% W2 _$ v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & @, K0 T7 i% c4 H
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + h; w# b. {6 V& ~
  16. 在teamspeak论坛,如果你有兴趣。 5 h+ J9 E+ O/ w& D; W8 f8 P6 v2 q; X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 N$ u, o7 a, W& ?0 B( L
  18. Borland公司使用。这个司机只能界面与客户端库
      Y' A. O6 E5 I+ [6 A) `! `! J- g* B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 g4 D+ H. \1 z2 |# f' ^9 m6 \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 j* a% ^5 q3 U' d
  21. " vendorlib " ,并解数据库连接。
    : w+ M5 m+ ?% G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 G9 o1 q: [: f& j- G0 B( w+ W# \3 W
  23. 2 i- L9 ^  _* y# u$ v+ @* T& z3 m
  24. # # #做好工作# # # ) k8 V  y" I& \& W$ B% K% a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 G, h0 W& }0 J- f- Q7 Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 W* ^- x3 P8 f2 n
  27. 结束: ) l1 {" ^5 C$ V% c$ T6 |+ r( e3 G! M
  28. ---削减这里---
    & @( g( F3 D: n! ?+ k/ V
  29. [ dbexpress ]
      h7 ]6 N2 A  x7 e& I& |. F1 f
  30. sqldir = mysql_sql
    . a1 I4 {% U7 v" y/ h. H) S+ X* u3 y
  31. drivername = MySQL中! c, k9 H( f2 L- y
  32. 数据库= your_database_name_here ; [! n" p5 }, R9 h
  33. 主机= the_pc_the_mysql - server_is_on
    ' ?1 s7 w4 }5 @
  34. user_name = user_name_on_the_mysql服务器: v: t! l2 S( b8 p" G  ^" q7 Z
  35. 密码= password_to_go_with_above_user_name
    + z' C/ t( \' T! ?+ B
  36. getdriverfunc = getsqldrivermysql / U" b, |) e% Y4 u: W2 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : z) N( P& r; c
  38. libraryname = path_to_libsqlmy_libary
    * T7 }* b8 [, T) R% e
  39. 积极= 1
    & x& o: e' A7 {) \7 P, Z; m; s" T
  40. ---削减这里---   K* q6 _+ D/ X, Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( Q3 }( c( p7 J
  42. ---例如--- ' l! |6 H! m* B; e& c
  43. [ dbexpress ] 6 A- \1 _5 w& t6 o. X- \' J
  44. sqldir = mysql_sql + I9 m0 H. t% f* N. @. w
  45. drivername = MySQL中
    $ c; y* y# a, k( h1 @- j# L
  46. 数据库=测试
    & O- p$ l3 g& x& @+ ]
  47. 主机=本地主机
    & t3 M2 C% Q8 Z+ [
  48. user_name = testuser
    % w1 t7 n9 Q5 l; k  ]- s7 V+ l" y+ b
  49. 密码= my_password - N. Y9 \# D  I2 a
  50. getdriverfunc = getsqldrivermysql / d: o) w6 T7 w' A- g, }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 X! P/ i% y: {; k, m- q% h
  52. libraryname =. / libsqlmy.so
    8 }2 k3 i, f7 [2 k
  53. 积极= 1 " q2 k* y; u0 W4 f( B
  54. ---例如---
    4 _& Q9 k7 \3 f3 v) \

  55. ; g4 J- y) u, t' \5 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 e4 G+ i' `; b+ {* r; n; G
  57. ---例如---
    , b! T  d3 o" ^
  58. [ dbexpress ]
    3 u8 l  D" d* ~' X4 ?- S/ J
  59. sqldir = mysql_sql   k9 M; A/ |$ v: Q# ]
  60. drivername = MySQL中: r6 _& ]/ r3 E- H- Y  g
  61. 数据库=测试7 ?  }6 Y% S/ w, r- G3 d7 x0 b
  62. 主机= 127.0.0.1
    ) L4 y. O, w3 `. }9 z
  63. user_name = testuser . |1 n3 D: C( d: K6 r8 `  N
  64. 密码= my_password 2 o; P. E; ]) X4 q5 x8 u
  65. getdriverfunc = getsqldrivermysql
    ' T) I* P  f* V8 ~! D  u! l8 h
  66. vendorlib = libmysql.dll在
    ( H) n8 B5 i! L7 @
  67. libraryname = dbexpmysql.dll
    7 N: j. O! U9 o# n5 I
  68. 积极= 1 ) m1 q, l  L, v8 X: _4 r$ Z
  69. ---例如----
    1 T* t: a, b4 ^" L  Z: C# n* }
  70. -写在0 2.03.04由p wk.linuxfan0 ^, ?( {- Z# B# }/ L6 L
复制代码
发表于 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
: P. L3 l' s' t6 [* K4 {/ V& {) l2 N" I
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-23 14:34 , Processed in 0.060718 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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