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

3480 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 R6 |+ k% W: x- B1 C3 A& v
+ a( |# U+ z7 R& g! m

  1. ( h4 S. d2 @5 x) b1 A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : }" p) a6 y  ^3 M& f6 G0 N
  3. & w) e% k1 e! n8 F+ D1 w& d
  4. ### What we need ###
    3 D+ }/ F- `& L. B( O" v
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 x8 t) R/ {% z( @/ }
  6. will not explain how this can be done - there are documents out there for the
    % U+ w  p7 K& m
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 I6 F( T4 g/ X$ g+ p
  8. and a user account (username + password) that has the permissions to do stuff! j, R: D/ w0 b
  9. with the database. Additionally, you will need a vendor library installed on the
    4 B6 r! ^  l; w: i6 k
  10. local machine, this came with my MySQL install.
    & k; v4 C7 L/ w% ~; w8 b( D1 S' e
  11. These instructions will not tell you how you might transfer your data from the
    ) c8 ^4 l. \) y, [7 n  l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 T6 _# {, F9 `1 w/ Y8 @
  13. database.2 ?# @8 E8 {  Y2 v7 k! l, f
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ F0 p, o' e3 A- C$ J7 i
  15. the time of writing, there are still too many issues - check the current status
    8 b6 \7 J1 \' R$ X0 ^
  16. in the TeamSpeak forums if you are interested.: o- `' ]5 M5 U# D  v; x+ o; t: v$ w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 _  d1 u" l9 G9 y: g% j2 A; `1 I& B
  18. Borland was used. This driver can only interface with the client library that " H) U6 x5 W8 G% m7 O' j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 @" T0 z# z7 u) G5 G4 M: L/ U7 h
  20. client library - basically all you have to do is to use a 3.x client library as + d6 ]; O/ x1 [# n5 q" Y" p
  21. "VendorLib" and a 4.x database to connect to.
    0 R7 {# Y( h% B3 ?6 k
  22. If you need more info about dbExpress, you can contact Borland.
    ' Q- w' b8 {  K% n8 c- N* F

  23. 3 ^! i8 r5 ]% \+ I
  24. ### Doing the work ###- o7 t; \3 |/ t" E; w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 o* |' k0 K0 v0 Q- z7 H6 y4 j
  26. the perquisites right, just open your server.ini file, and add this section at. O' [# h9 f( U9 A, ^- G# ^; r
  27. the end:
    6 ]0 H) h& T6 D& X
  28. ---cut here---
    ) c* t; w3 `$ P. z; O1 Q. h0 f# ?
  29. [DBEXPRESS]( x3 r) \7 M# v* ^* ~9 v8 ~
  30. sqldir=mysql_sql1 Z+ X' Z, P" C; h
  31. Drivername=mysql% P" W+ F0 N" K/ N6 t- u* @" @
  32. Database=Your_Database_Name_Here
    & p$ m3 b$ f& B: ]/ \, H
  33. Hostname=The_PC_the_MySQL-Server_is_on. P# C( J! Y$ C: V+ Z: l: ^
  34. User_name=User_name_on_the_MySQL-Server
    , G$ W* V3 r( z5 e( v. p" w0 \, w; H
  35. Password=Password_to_go_with_above_user_name
    ; v, o/ c" ?+ N* B0 L
  36. GetDriverFunc=getSQLDriverMYSQL
    & c4 ]' [# ~* D# b: M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . s+ b6 F  Z2 d$ h
  38. LibraryName=path_to_libsqlmy_libary
    / M5 v9 `" [: a. e' L7 J
  39. Active=1
    2 {5 S8 v& X0 Z$ w$ f
  40. ---cut here---
    # J# T) O# q$ k0 q/ F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 M% X6 m8 R) r" N  F5 K$ O
  42. ---example---
    8 F  F9 H" w2 b, C, i$ n0 b
  43. [DBEXPRESS]
    , a* N% L7 f, b# c; K3 U- J" B" |
  44. sqldir=mysql_sql
    & L$ c" l, v/ o! S7 |% K( r
  45. Drivername=mysql
    * x. w: {2 g& ]
  46. Database=test
    0 }3 R' l/ n" Z, }' }- t
  47. Hostname=localhost
    4 |, v4 ^+ {3 u' w0 z2 m3 Q
  48. User_name=testuser1 ]9 T; h! H' ]4 r
  49. Password=my_password0 F: U) q  ]/ w2 I
  50. GetDriverFunc=getSQLDriverMYSQL
    6 g# ^8 e+ C& a" B  l+ q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) ^! r: z6 B8 [( C) F
  52. LibraryName=./libsqlmy.so
    3 _- |- |$ t: Y! Y
  53. Active=13 o: u1 @# z) a7 ^* Y; }' {6 s
  54. ---example---
    ! B' r! t' B5 F+ O" r5 y: m

  55. # b- Y& ?  j- ^) f: t2 {4 Q
  56. On a windows box, also running the MySQL server locally, it would be:: R  \$ N; t2 E, i  k
  57. ---example---/ o$ l( P) [$ I6 U: a7 a
  58. [DBEXPRESS]
    9 [2 F* y) w+ _% n( p8 Z/ Y
  59. sqldir=mysql_sql
    4 o9 D) d0 o9 G
  60. Drivername=mysql
    6 g( K" z! }) t
  61. Database=test
    . D( M7 O, e" [7 Y( G9 |
  62. Hostname=127.0.0.1
    ! _/ I( _8 }( Y4 r, K
  63. User_name=testuser
    ( {1 `5 x8 u. A, W1 L8 [# q
  64. Password=my_password6 H/ }' r$ t: V5 S4 d6 d3 R
  65. GetDriverFunc=getSQLDriverMYSQL& m0 d9 l, v5 n# [6 _7 H$ g! @
  66. VendorLib=libmysql.dll4 c, T% P* U" c4 f9 p8 n
  67. LibraryName=dbexpmysql.dll  W3 r, {% j- P0 H2 m
  68. Active=1  W/ _6 Z8 d& G3 i
  69. ---example----
    : h; V! |& C# C# E8 o
  70. - written 02.03.04 by pwk.linuxfan" x  |. _1 `' W9 \! t4 A

  71.   N3 E8 p' j5 e: \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& x* M" a- z% l& z1 z

  1. 4 |5 J: W) k' D' @4 ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : `+ l( F& N! \0 E2 Z
  3. 3 F% L9 w5 Z- C6 W
  4. # # #我们所需要# # #
    " C. f; |+ S7 l; G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 z5 o. f  d! M7 f# d7 L: s" W2 u
  6. 不会解释如何做到这一点-也有文件存在,为) Q: Q+ x/ G9 F/ Y$ O3 C5 @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % X& C9 Y9 J% d2 G: J" h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- J) h  H4 g5 o  ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 ?" \# [4 O. F& o5 W5 n
  10. 本地机器,这是我的MySQL安装。
      G" a$ n7 d5 Q& E) b  C! Y. w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 S( }7 k9 n8 r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 O) |$ R4 U7 G4 T
  13. 数据库。 . L5 G4 c' D( J- P& F( e- [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / r# E4 Y  E0 i5 \$ n6 y: P' {' x
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 R9 X# |0 y2 A
  16. 在teamspeak论坛,如果你有兴趣。
    : L" @" w3 N$ Y/ ]" b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 h5 e7 {  m( k4 @5 C; v$ t" W
  18. Borland公司使用。这个司机只能界面与客户端库- C8 o% Q5 o0 m% X- ^# S2 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, I' @8 H( d+ v& G9 X* w% T4 H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 j  H: t, l# Q/ w) z3 F. N% {: x
  21. " vendorlib " ,并解数据库连接。 . e: l6 u8 F( U; U( \% x8 {( F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . B; a! i& d$ ]- Y* o* o: j

  23. # n2 l  c( p- B+ D, s+ i* Y
  24. # # #做好工作# # #
    & k: N2 e: x! [& y# [* e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / _. D5 X) d. U/ e* \8 y0 E+ G, V7 F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. h- h# C* Q& y& i2 F* f9 n
  27. 结束:
    # j1 o" H3 |* c
  28. ---削减这里--- # ?5 }" t+ Y3 D! `$ S  s' n! k* S0 e$ L
  29. [ dbexpress ]   V& {  V7 R" w" e( L2 }
  30. sqldir = mysql_sql
    5 `% M3 i6 X. P5 \
  31. drivername = MySQL中
    - E1 y" C1 ]; a9 s
  32. 数据库= your_database_name_here " ~: R3 S* X! v# ]/ h; ]
  33. 主机= the_pc_the_mysql - server_is_on , k& S2 o- A( c* J8 U
  34. user_name = user_name_on_the_mysql服务器6 I5 T7 D+ K% t1 V1 h
  35. 密码= password_to_go_with_above_user_name 6 E$ j4 _) C1 W' q; i* R
  36. getdriverfunc = getsqldrivermysql : b& C2 W7 Q3 M  n! U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 M! g) N9 h2 Q' g. X
  38. libraryname = path_to_libsqlmy_libary
    ) l! ?! ]+ s% i6 W
  39. 积极= 1
    1 M( n1 ?6 c* X: q& e# _. f
  40. ---削减这里--- 4 `8 t1 O/ A. f. ]& X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + X" X$ B5 o  i8 f: z+ y
  42. ---例如--- 7 H+ g3 P. D) y7 ~1 f. C
  43. [ dbexpress ] ; k3 }& ^9 V' e0 B9 H9 c' t
  44. sqldir = mysql_sql ; H" s/ Q/ y* _8 p8 I" q: c/ C
  45. drivername = MySQL中( H6 q" o. e  N0 c2 P
  46. 数据库=测试
    + A2 q6 Z4 V- }; O" S; j
  47. 主机=本地主机6 ~" f* c3 _- I. Q( T
  48. user_name = testuser , w  y# q7 F5 ~( I  [4 I
  49. 密码= my_password 4 f( E" D2 J  n! x+ O4 Z6 d. X" j' F
  50. getdriverfunc = getsqldrivermysql
    " r  G9 Z1 Q7 G% u) n! x/ k) h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ' V" [) p7 D& G0 D, p+ V8 L9 R
  52. libraryname =. / libsqlmy.so
    . H9 L8 t; ?6 F: I0 i* }: {$ k
  53. 积极= 1 : q5 r8 o# o  Y. P9 t
  54. ---例如---
    ) e2 y( o0 K; `1 S/ V

  55. 6 n; C2 ]! A% q4 X5 s  b+ }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 F: }* |2 P0 ^7 w3 z# W
  57. ---例如---
    $ g2 X) K5 |8 f3 ^2 i
  58. [ dbexpress ]
    6 i- Y+ K. g5 A8 d
  59. sqldir = mysql_sql - g! T) O) n4 |# }9 g' e3 @
  60. drivername = MySQL中) e8 o5 s) B. S2 H, m
  61. 数据库=测试+ P. Q3 v6 g# O5 m' m% i: s
  62. 主机= 127.0.0.1
    ' B& f6 j; a+ A8 \: x
  63. user_name = testuser
      ~* q" w* ?+ x# V5 {# F
  64. 密码= my_password 8 H* g) ^$ O: X& N/ ?( g( t+ D
  65. getdriverfunc = getsqldrivermysql # k5 L( ]( Q$ Q$ F: @
  66. vendorlib = libmysql.dll在
    ) Y$ M  s& S% {% X2 y- v
  67. libraryname = dbexpmysql.dll
    1 ~5 b  C8 }; N8 u
  68. 积极= 1 ( l- q/ e. t9 h# e0 C. ~- r1 c( H
  69. ---例如----
    $ C1 O2 D8 t" ]5 M
  70. -写在0 2.03.04由p wk.linuxfan* I/ [* m9 Y& ]7 h$ J0 ?# 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 words7 W; d9 g5 U0 O2 Y

; f- t7 b4 z8 R" j% c" Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-6 00:30 , Processed in 0.062716 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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