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

2655 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( f/ ]6 ]! [% Y: Y1 b$ A
8 h/ k4 h; t- r
  1. ) \5 I' l* `! I  H
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! C7 u- T  W* X. y/ R; X7 f0 Q

  3. ( [3 ?, L2 w- G* H2 I, P; R$ Y! u
  4. ### What we need ###
    # u) j6 x- M* J' u: W! c! ~
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 Q1 @5 ^, E1 t/ E# g
  6. will not explain how this can be done - there are documents out there for the
    5 F6 j; i  ]* q* _/ O+ B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 T: m' B9 n  N  t. k9 I
  8. and a user account (username + password) that has the permissions to do stuff6 D9 f$ v! @8 [! j; v+ u, t' S
  9. with the database. Additionally, you will need a vendor library installed on the) L. m) r0 N- w0 ~- u: ~  c
  10. local machine, this came with my MySQL install.
    ! L. p& w( w# a" j/ K* _- b$ p, R- i
  11. These instructions will not tell you how you might transfer your data from the6 v8 H- F+ F7 d5 ]6 {& C' z; E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 z+ x+ A8 I6 P* G# b( P; B4 E
  13. database.' y; s  S9 `9 z( W" r* O
  14. Some users have reported ways to import a SQLite database into MySQL, but at) {, v( w! K: {
  15. the time of writing, there are still too many issues - check the current status. K- F9 p4 Z9 Y1 s5 v
  16. in the TeamSpeak forums if you are interested.
    / {9 v1 F' k* o( S2 w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; N, [) [/ L  I; @
  18. Borland was used. This driver can only interface with the client library that
    5 G1 H4 @2 l) Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - L) G# Q% [  a" ~" L
  20. client library - basically all you have to do is to use a 3.x client library as
    5 _' G0 {  G1 h
  21. "VendorLib" and a 4.x database to connect to.( Z3 q& u1 _: f( R5 X5 Z& s! q$ O/ Q5 X
  22. If you need more info about dbExpress, you can contact Borland.: j) j- k) f/ ~- H2 A0 Q5 _
  23. ) f" ]$ I! ]2 J! x& u/ `* X
  24. ### Doing the work ###& w/ l' o( Y  v3 w4 C. \; V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - T# `; v/ G* P
  26. the perquisites right, just open your server.ini file, and add this section at
    3 i) r$ u" T! u5 K0 `) n
  27. the end:
    2 |5 p2 h. l5 {& G8 X
  28. ---cut here---
    3 K; r; r; F& M, t
  29. [DBEXPRESS]
    - x3 _0 b! k0 k. {, d8 @. s! O, P
  30. sqldir=mysql_sql
    % O) k4 W: ?  N3 Q: C2 {$ N
  31. Drivername=mysql. M& i0 J7 w1 Z9 M
  32. Database=Your_Database_Name_Here
    ' u& \& {* d  Y6 n( F) ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 q- B9 j* x1 O2 {- i# U
  34. User_name=User_name_on_the_MySQL-Server
    " K- R! U% Y8 s1 L6 `: e# Q$ a
  35. Password=Password_to_go_with_above_user_name
    . Z! N) C( L- S
  36. GetDriverFunc=getSQLDriverMYSQL: m0 v4 U1 x9 R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' i" f- `1 |+ [( C
  38. LibraryName=path_to_libsqlmy_libary
    5 ~$ S6 N$ a3 p: V5 N
  39. Active=1
    , ~( T" q* S5 Q! M0 n
  40. ---cut here---
    ( ]: D2 S) V1 h
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 z( K; X# K% R- O+ h: \3 y
  42. ---example---, g5 D) \+ C1 g' M2 ?8 b$ ]
  43. [DBEXPRESS]+ K# w4 G8 {3 ^3 d
  44. sqldir=mysql_sql, t1 i8 @$ U+ i$ Q/ `
  45. Drivername=mysql6 f! A' K0 f( R2 T
  46. Database=test  M5 ^! M9 |( k) n# z; A- L3 _
  47. Hostname=localhost
    . S) ~5 p( u. K8 i1 e. K
  48. User_name=testuser
    6 I. o: _7 w* g. c. _, v8 c7 s
  49. Password=my_password
    : ^* A2 e+ L3 Z$ W! ^, \
  50. GetDriverFunc=getSQLDriverMYSQL) ^1 e4 _% a- K0 E+ P4 `( ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 o9 I4 @  [6 W2 n# z0 E/ T
  52. LibraryName=./libsqlmy.so
    ; E7 [1 s0 Z; m( ]2 {% x/ E
  53. Active=1; a, H; H8 |4 J
  54. ---example---
    9 x  ^0 d& e) F0 l( }

  55. 8 n8 S$ a' x: ]( J' z
  56. On a windows box, also running the MySQL server locally, it would be:: M+ B, \% T$ r7 Z3 K: B
  57. ---example---! t4 z) v! w4 v. s7 p  H9 B+ ?
  58. [DBEXPRESS]- X2 q! r$ a( Q
  59. sqldir=mysql_sql4 ?" |- ~) E, R- E8 v+ [
  60. Drivername=mysql+ v4 U' C1 Q1 z$ p
  61. Database=test# G. _0 Z  X, M2 u6 j& [& ?6 K: Z; p. d' E
  62. Hostname=127.0.0.15 K% K$ v- j0 u
  63. User_name=testuser2 |7 f/ `8 j$ y5 V' a
  64. Password=my_password& z& l, o8 D& e: z' r* p
  65. GetDriverFunc=getSQLDriverMYSQL
    # H" u8 `' ]3 U1 f+ y
  66. VendorLib=libmysql.dll
    , e6 O7 J6 a; X! J, C( m6 i
  67. LibraryName=dbexpmysql.dll" g! ]' O! _5 O
  68. Active=1
    " x, K# g1 g- a- K- h7 y5 g% s
  69. ---example----1 \% s4 o% ~' y6 u8 u
  70. - written 02.03.04 by pwk.linuxfan
    + P; s: h5 j( w' ~3 I) `1 g+ b

  71.   U: V% f9 V: K/ A2 P2 I' E& V* r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, Y5 d$ m; Y* Z7 j

  1. 0 W' }& t* D. B" e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / m' Y" O0 x3 h' e# ]
  3. 2 I  t) D4 h4 `7 G: c
  4. # # #我们所需要# # # $ ]! ^4 j2 o- H* _. K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! o0 I9 E4 W! j; O5 |! Z
  6. 不会解释如何做到这一点-也有文件存在,为
    + ]: x8 F% E, l9 y: ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' V5 w: S) y$ e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: h7 H4 h! e& y; P2 i1 k; T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, {1 |% ?! h# Q2 T+ D4 s6 s
  10. 本地机器,这是我的MySQL安装。 / q- e8 y; G; {6 {; s3 `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # a5 d0 ~7 ]  \( U: Q* J' F- V/ \4 _
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : K2 k7 S; A. b" N7 S& N  d& k
  13. 数据库。
    7 z4 {9 Q' q- d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : p3 ?. C6 K9 E$ f7 d6 k4 m' d
  15. 编写本报告的时候,仍然有太多的问题-检查现状  @, b) x* a- U4 M* y4 h) _  C$ x3 Z
  16. 在teamspeak论坛,如果你有兴趣。
    0 _$ U- J' h3 B! d6 @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & B5 a$ q, y' A  n. w) F. ]
  18. Borland公司使用。这个司机只能界面与客户端库3 p! ]% {" B9 N1 F5 ^; v" @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % }3 I6 a" @) P+ a* B( t: X9 }
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ S+ o2 \8 f9 `' M3 R
  21. " vendorlib " ,并解数据库连接。 . d; c9 g9 |1 F% h2 l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 r1 m- z5 C/ B% A; w, E

  23. ! v; N5 t/ `2 m% O( @6 K7 L
  24. # # #做好工作# # #
    3 o- V8 m7 S% Y" T% J6 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * H6 M0 X, g, A6 v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' @! ^1 I/ A2 P+ G
  27. 结束: 3 y# h- C) b' \6 P
  28. ---削减这里---
    ; q+ V, ^+ X5 p, E
  29. [ dbexpress ] . h+ A2 h9 l1 B: @  {
  30. sqldir = mysql_sql
    8 |; H/ \5 h* P, W
  31. drivername = MySQL中& `! t) G8 e' A/ q$ x8 D6 t! r% f- H+ h
  32. 数据库= your_database_name_here ) I+ W% E4 ?1 y8 W5 w% V
  33. 主机= the_pc_the_mysql - server_is_on
    ( j% F4 L+ e: `+ D
  34. user_name = user_name_on_the_mysql服务器8 u6 K" G5 f+ ]! j) `+ `
  35. 密码= password_to_go_with_above_user_name
    $ }$ T' |/ u" v: X
  36. getdriverfunc = getsqldrivermysql
    6 k& S8 {) n8 G, c* g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : Y  A0 k# g9 p6 ^
  38. libraryname = path_to_libsqlmy_libary
    : \8 z+ r4 H0 z
  39. 积极= 1 # A% `  l$ X% b) o
  40. ---削减这里--- $ @- k+ c/ C  e; M5 I% v+ ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 h# L& g- c" H2 z8 p
  42. ---例如--- , l# _& u$ R8 r! d0 l
  43. [ dbexpress ] 6 A, }, v9 b9 x  o2 I- F
  44. sqldir = mysql_sql
    " Y$ V% r' N: U1 P
  45. drivername = MySQL中$ X) K/ T. @# Y7 b
  46. 数据库=测试
    ' u' r" H3 b$ n: }0 g
  47. 主机=本地主机
    , [% w2 [4 @3 d0 U3 @* O9 q
  48. user_name = testuser
    * I& O* E5 Q8 q* @. ?! _) L
  49. 密码= my_password
    7 _1 R) A7 g$ C
  50. getdriverfunc = getsqldrivermysql / \3 \4 W6 M2 v7 r3 u6 e1 l6 f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ' k: J% e, S6 W- Y4 l
  52. libraryname =. / libsqlmy.so
      S) z( l! p  Q, d# }, O0 d' F
  53. 积极= 1 6 J4 t! ]$ b, ]0 T) ]$ V$ o) O
  54. ---例如---
    5 O$ {* z# a* U; ~  h

  55. ! L' t( [$ R4 |4 a0 s. W& Z; h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   {+ A* n+ x' |& Y
  57. ---例如--- $ B% T: B/ y4 K8 D9 p4 K2 p) T
  58. [ dbexpress ]
    / r4 A9 [; U/ |" u, ~+ v
  59. sqldir = mysql_sql
    # K2 ~/ T9 O* V3 G& Z: n. s
  60. drivername = MySQL中
    7 s/ h4 j% A" W" P, F
  61. 数据库=测试
    7 I9 P. f! ]' Q* a. {
  62. 主机= 127.0.0.1
    / u4 c0 B2 B6 G! ^- r0 C
  63. user_name = testuser + H/ T! q+ B9 Z; w
  64. 密码= my_password
      f- B: x0 ]) A
  65. getdriverfunc = getsqldrivermysql : ^0 Y% \' b4 J0 H( I
  66. vendorlib = libmysql.dll在: U4 W% K) R% l$ ]6 z' z4 G
  67. libraryname = dbexpmysql.dll
    6 n8 H' o) Y1 G6 \2 _4 J. K
  68. 积极= 1 / n' V' Z4 b1 r
  69. ---例如---- " n. K- J. o4 l- w
  70. -写在0 2.03.04由p wk.linuxfan$ m9 F8 G( c9 s8 Y7 g6 O
复制代码
发表于 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
) x$ Z& V1 \0 H9 p& `8 g* K2 Q0 ^
0 ]8 Z4 k1 b, w+ U/ Ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-23 04:39 , Processed in 0.111433 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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