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

2573 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % W" J4 {1 y8 Y

4 M/ ^' z+ b- e3 G  p; |3 X7 E
  1. - K4 k8 W2 u9 ^" q8 k% K- K" ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( b0 h) D' H3 r; ]8 g  ]
  3. 3 l+ \0 `! t0 q; I+ Q8 X. C+ H
  4. ### What we need ###
    $ ^2 C5 O3 X4 H0 q, S' S5 }% S
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 u+ P/ m; I. y+ J; i3 h. }
  6. will not explain how this can be done - there are documents out there for the
    , f( ~/ f- B# S. W
  7. interested. The requirements include a (empty) database for TeamSpeak to use" R+ w1 z4 c2 L1 v
  8. and a user account (username + password) that has the permissions to do stuff/ u) y0 {- R, n7 h* Q6 i- x' X
  9. with the database. Additionally, you will need a vendor library installed on the
    ; Y( m9 ~* ]. w( e% V
  10. local machine, this came with my MySQL install., j8 k7 V3 b( ?5 O! Z$ G( L) ?
  11. These instructions will not tell you how you might transfer your data from the
      U: L: b9 [. ^2 h/ X; U' x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% I0 J, v; j/ f! z+ m
  13. database.
    ( ]7 _& J/ l9 j& a  e/ ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 y. V$ F; d5 n' T+ ^  M, ?2 W
  15. the time of writing, there are still too many issues - check the current status
    ! p2 q  Z: ~" Y. L& N+ }0 Y$ g, C
  16. in the TeamSpeak forums if you are interested.* R* M+ V4 S  j% d' @5 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 s1 a  D7 ^& ~5 h5 A5 {9 \
  18. Borland was used. This driver can only interface with the client library that
    - y, P4 ]) P3 j* P  [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - \/ W+ Y$ V2 Q, H8 u
  20. client library - basically all you have to do is to use a 3.x client library as
    9 c! K) K6 S* q+ `' d) i# v+ W
  21. "VendorLib" and a 4.x database to connect to.
    1 j6 x  D8 c6 F9 R5 h
  22. If you need more info about dbExpress, you can contact Borland.3 G& m( A# m4 V# X8 q. y8 y
  23. / ^, R' ~. Z" K4 M& Z2 s4 j2 A! S
  24. ### Doing the work ###1 D% _+ ^1 P/ _+ W6 ]7 Y8 t8 t7 i, T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all3 K9 I9 o4 R# P  s( X/ o; b% @
  26. the perquisites right, just open your server.ini file, and add this section at
    # o' e# E8 |* n' ]; c2 S0 X
  27. the end:7 f7 ^0 ^- g5 a& w+ t
  28. ---cut here---
    0 L$ h0 p2 _9 {" c2 l6 L0 h9 s. v
  29. [DBEXPRESS]
    + k# t, q; z: }% \% V+ }
  30. sqldir=mysql_sql
    ; n3 F- v" R0 G, T% F
  31. Drivername=mysql7 o& w  r: e) r- ^8 e
  32. Database=Your_Database_Name_Here
    / e; T) H+ h9 L! ]6 q* x
  33. Hostname=The_PC_the_MySQL-Server_is_on! R$ d7 ^& a. M8 w1 ^* G$ U5 I! \
  34. User_name=User_name_on_the_MySQL-Server9 S( g- a) }( `. [4 ]& Q
  35. Password=Password_to_go_with_above_user_name4 D5 y& \8 q' `' X& _
  36. GetDriverFunc=getSQLDriverMYSQL
    5 y$ D1 F8 f( P" t+ R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& n- q3 g' v' d
  38. LibraryName=path_to_libsqlmy_libary
    ( I  r9 a  s2 P* M( P% V, @4 U
  39. Active=1; M# k" h" Y# f8 L# k) @- ]
  40. ---cut here---
      J! ~# v. P1 I! z- x8 K. F% U3 [
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 n' l/ }2 b$ @
  42. ---example---1 b3 g; l! r: q& Q
  43. [DBEXPRESS]9 w; i- h2 l; E( P8 J
  44. sqldir=mysql_sql' C- A. g! ?: f5 ~% a, W
  45. Drivername=mysql
    % U& W8 Z6 _3 x" p
  46. Database=test7 I( X1 K9 S/ \. D+ A/ S: a
  47. Hostname=localhost. q) P# T0 S! c7 p& k
  48. User_name=testuser
    - @6 u2 y+ ~- q5 o
  49. Password=my_password
    6 o  k( y$ z! ]$ T% z
  50. GetDriverFunc=getSQLDriverMYSQL6 B7 X7 q6 O3 F* {- a+ z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , H9 U- ~* G  K5 D2 M3 {- a
  52. LibraryName=./libsqlmy.so
    5 ]  X/ Q! y: U6 B6 m: }7 `( V
  53. Active=1
    # L1 `( H: v# g' t3 u& Z. E8 e0 R
  54. ---example---4 V$ I; V; E% N3 ]5 w

  55. 3 i7 [! k4 e+ W- f( e
  56. On a windows box, also running the MySQL server locally, it would be:: ~2 h% ]) T% b3 ?, Y8 D- m/ x
  57. ---example---
    $ \) _7 y9 t! u0 q# H8 ?# p- ]
  58. [DBEXPRESS]
    ; b3 a) [/ x. W$ i: V
  59. sqldir=mysql_sql
    4 }8 u& J4 G2 f- C- n1 Q* D
  60. Drivername=mysql
    * A9 Y9 d. }( C- a* g) }3 H
  61. Database=test
    2 o6 W( e3 K( @- x- m$ j  ~
  62. Hostname=127.0.0.1; C- J5 B& {+ l- ?
  63. User_name=testuser
    # j# U: M( e  r5 _
  64. Password=my_password
      E3 p; ~5 P3 L8 e2 D  L- C
  65. GetDriverFunc=getSQLDriverMYSQL6 L* F4 j9 a8 W
  66. VendorLib=libmysql.dll+ g* P1 v1 k7 j5 T
  67. LibraryName=dbexpmysql.dll
    5 f. Y- U7 b" k3 n
  68. Active=1' a) x, C7 @. Q" Y/ m
  69. ---example----& }5 ]- J$ ?) H$ D, V
  70. - written 02.03.04 by pwk.linuxfan) b2 B: f3 O" Z2 h* F5 u% c
  71. 1 u5 M1 J' W/ J. d9 o, Q& M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! f; P5 s6 V  E3 E! b( R

  1. * d  f9 m6 s+ R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      y: f/ Y' s: Y
  3. 6 e3 \6 r% i' I& L! ]: k% T
  4. # # #我们所需要# # #
    ; O& ~* e% J( B2 M! {: n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 ?6 b4 x9 _0 \- M( B4 n  V
  6. 不会解释如何做到这一点-也有文件存在,为; @2 m4 ~6 i. b0 Y# Y1 e$ R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  g) i2 p4 H3 h/ u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; g6 K# ]' N: Y6 s" }% B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( O3 x/ f1 r9 f* x3 H* V4 \/ ^
  10. 本地机器,这是我的MySQL安装。
    3 {4 W1 n- N! T9 I9 a. `" x' Q0 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . q- t& p! G) }6 j) m0 H! n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , Q9 p$ R' T: H! b- e' |2 Y, I
  13. 数据库。 . f& [; j4 l6 V/ q: A  s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * \( f5 o5 n( G- \' w2 z: ]9 h
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 `/ r, T/ l* K) |4 x
  16. 在teamspeak论坛,如果你有兴趣。
    9 b" q' ]8 j: M" ?2 g) c0 R% V1 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      ~  ]0 J0 a" u4 Y9 k4 y0 M
  18. Borland公司使用。这个司机只能界面与客户端库
      O9 ?- K" k1 h) D' Z; a" c0 ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 b* R6 ?8 L, a. F) y& w4 M: ^" [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' V* X6 Q% c$ S. _; r0 A
  21. " vendorlib " ,并解数据库连接。
    9 m" B, L6 P& e- `, A% S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 d4 d* v6 p' U! z% m4 @2 b

  23. - }: M: D1 U2 w7 R# z
  24. # # #做好工作# # # 9 G: a9 l5 d& u5 G( \6 L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 E0 r# J( h# P: D( l( v. c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - D# ?- z0 }) u$ G0 D
  27. 结束: , ]5 x; `! \8 b9 Q$ Z3 m* P0 g
  28. ---削减这里---
    ' F% I+ w6 E- i" Z. G$ t* ]
  29. [ dbexpress ]
    $ j5 l& }* L, a" c& s! {7 Q
  30. sqldir = mysql_sql 1 H6 y) Z; g) t* O
  31. drivername = MySQL中% W0 u) t: N7 G% z
  32. 数据库= your_database_name_here 0 x* O: z; j% B6 V& g0 j6 q6 f: r
  33. 主机= the_pc_the_mysql - server_is_on
    3 o+ @7 m$ P$ S( x
  34. user_name = user_name_on_the_mysql服务器5 Z7 ~- J. w4 B, |6 V- R
  35. 密码= password_to_go_with_above_user_name
    % h# D8 e+ {1 ?# K$ |
  36. getdriverfunc = getsqldrivermysql
    & L6 D) [: }& a* \/ [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! B) A' n& z+ A9 c
  38. libraryname = path_to_libsqlmy_libary , g- ^4 n7 U' |8 I: k8 w! d
  39. 积极= 1
    ! Z9 j0 K4 K2 `5 p( P0 R
  40. ---削减这里---   q. M, @/ g- e+ F% w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 S0 g1 n0 \8 ^4 ^" L
  42. ---例如--- . r: g. s; H9 G; R/ ]
  43. [ dbexpress ]
    $ m! Q! ~$ ]& y
  44. sqldir = mysql_sql
    * V0 Z  o4 W& k8 j, X1 p' i: `
  45. drivername = MySQL中+ X' M2 W4 n. u- N! l% n2 E
  46. 数据库=测试
    4 e& x, ]) \( }' P6 i
  47. 主机=本地主机
    ( E9 Y* R3 e. w, n* H
  48. user_name = testuser
    2 S2 o" `) {' n+ _+ B
  49. 密码= my_password
    , P" D, n2 X  d; \# L' m- T
  50. getdriverfunc = getsqldrivermysql
    / Y5 P! q1 a; G5 ^% D3 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 Y2 F5 s# ^( p* `% {
  52. libraryname =. / libsqlmy.so ) |; Q% f  x$ Y5 F
  53. 积极= 1
    9 x7 Z& M% v  E' R. W
  54. ---例如--- . K9 j- X( j1 l7 H/ V3 H

  55. 0 t7 a# G* p5 K1 }
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * d3 [; [( Q. Z
  57. ---例如--- % z/ K: l: t9 j+ J9 o! y
  58. [ dbexpress ]
    . A7 `4 j, M. @6 x
  59. sqldir = mysql_sql
    * q7 U1 f  x+ ~8 `: {
  60. drivername = MySQL中% m" t: ~8 C; g/ A
  61. 数据库=测试8 i) u- ?; X1 T: i7 W
  62. 主机= 127.0.0.1 2 v! h! d- g9 w+ m  s/ W
  63. user_name = testuser
    * R: n0 v" @4 s' ?3 _# t
  64. 密码= my_password
    2 t- C: n' A( ~2 p
  65. getdriverfunc = getsqldrivermysql
    0 n4 @: m9 `: [5 u2 n
  66. vendorlib = libmysql.dll在; j  L7 c7 V& t+ C% W
  67. libraryname = dbexpmysql.dll + O' e8 \; d5 e0 k
  68. 积极= 1 ( I* Z+ _8 d, s. Q
  69. ---例如----
    ' d1 ]* D8 [1 }/ ~
  70. -写在0 2.03.04由p wk.linuxfan$ L% e$ v2 f( a9 t0 t
复制代码
发表于 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 words4 k: u% |% }- h& G3 z
5 r6 _. k! y. o1 b+ y' O3 ?
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-2 09:08 , Processed in 0.109659 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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