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

2953 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 A' r& X1 K3 G5 o4 {7 |3 P: M
5 c4 m! y) O6 _' i

  1. ; F1 A0 A0 O; \$ c' N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 H4 a8 D7 K0 F

  3. & K/ D0 w6 K4 q' H( v
  4. ### What we need ###
    : v& z  y2 x5 B% ^; h+ ~; b! o
  5. Naturally, we will need a MySQL server to store the data for us, this document % ]8 I2 Q) L/ f
  6. will not explain how this can be done - there are documents out there for the ) y0 P" v% [* A, e
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 i" c" ^; |, X9 e* G: i$ L
  8. and a user account (username + password) that has the permissions to do stuff
    6 b; G$ `. M; z$ {6 }% `
  9. with the database. Additionally, you will need a vendor library installed on the
    3 s1 K/ M( y5 Z1 r
  10. local machine, this came with my MySQL install., F3 ^; M5 W6 q1 U
  11. These instructions will not tell you how you might transfer your data from the
    : H0 _/ {3 A8 ]! y2 Z  Q/ D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; e, c: K3 a! A% |0 b3 c) P# k
  13. database.4 d; U/ F1 m/ M2 _* H& m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 o. s; c) P, @( `3 _
  15. the time of writing, there are still too many issues - check the current status- m* e' g% h+ G8 i$ H
  16. in the TeamSpeak forums if you are interested.
    # ]0 r# J& z: L' M; u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & s9 [4 a7 J% K9 o( `8 t. o$ _6 G5 h
  18. Borland was used. This driver can only interface with the client library that
    ; ~" h6 J- t! U5 r( g- k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 z& O/ }! n. e/ L2 D, d
  20. client library - basically all you have to do is to use a 3.x client library as
    2 v4 l8 p- G9 K1 A9 n7 W8 |
  21. "VendorLib" and a 4.x database to connect to." U+ |8 Y( f( Q. u
  22. If you need more info about dbExpress, you can contact Borland.
    : P( V: G. M+ Q& V, x8 I3 B
  23. $ B+ J: O4 D( X1 L0 r: T( x
  24. ### Doing the work ###
    " l2 u0 u% `0 b9 b+ q* C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& C* M: ]* C3 T, v4 l9 z
  26. the perquisites right, just open your server.ini file, and add this section at4 h; B1 l" u# O6 k5 _
  27. the end:8 w0 n8 Z, l+ P! Q# ]4 f
  28. ---cut here---& _% i4 q$ `" C/ M1 o/ w  U
  29. [DBEXPRESS]
    , s: M3 O2 f% j9 x# v
  30. sqldir=mysql_sql
    2 z1 t$ ~% \2 g
  31. Drivername=mysql7 M- ~/ m! S, q" E- t% t2 p' N
  32. Database=Your_Database_Name_Here
    0 [1 t8 w# V$ N+ ?- }
  33. Hostname=The_PC_the_MySQL-Server_is_on# J1 @7 d0 e. s% q; I1 ]
  34. User_name=User_name_on_the_MySQL-Server+ o, S! A3 {+ k+ `; O" T
  35. Password=Password_to_go_with_above_user_name
    / U$ `* f& ]3 U7 ^; U0 ?
  36. GetDriverFunc=getSQLDriverMYSQL
    2 b/ t: S! Y; j2 ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - r0 y: P2 \5 E7 M8 p
  38. LibraryName=path_to_libsqlmy_libary
    + |& W/ c1 [$ M" Y# ]" X4 |
  39. Active=1
    " U% R$ V( t5 X4 `; ^. U' F
  40. ---cut here---1 G/ C) @$ f* g$ w$ A8 y5 ^
  41. In my environment (a linux box with a MySQL server running locally) I have:. i% }& ]7 e3 P7 Z' l
  42. ---example---' x& ]: P3 K( X
  43. [DBEXPRESS]
    . O: n/ R4 y' f. ~
  44. sqldir=mysql_sql& U! T( j- b6 ?8 G  C
  45. Drivername=mysql0 k" {- x! z2 i% Q2 b
  46. Database=test
    ) d1 E4 N; p, A& g
  47. Hostname=localhost0 h2 m) j2 T) ~! S# ?+ {
  48. User_name=testuser+ ?2 Y/ Q7 e' C8 O6 m9 ^+ B; r
  49. Password=my_password
    - n6 S4 q$ r3 E. r9 b, v6 V+ d% [
  50. GetDriverFunc=getSQLDriverMYSQL
    * I4 V; e9 j' c% H6 H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      D! W% h" r- @8 h# e9 ^
  52. LibraryName=./libsqlmy.so) q( P. b/ C3 U7 C( Y
  53. Active=1
    0 W0 ~) _: L2 i# J4 w
  54. ---example---
    ! k- H, v* d' B# U7 J! `
  55. / ?4 F( {# Y7 b, b- ^  M  a
  56. On a windows box, also running the MySQL server locally, it would be:+ g- \/ y  ]8 \( R
  57. ---example---
    : Y# J- ]0 [5 [5 s+ h4 f" Q
  58. [DBEXPRESS]% G0 s3 |; |& |6 P
  59. sqldir=mysql_sql
    ; h. j9 O# [8 T( C% n# S
  60. Drivername=mysql% ^' U; ?: [7 K4 a  s- h
  61. Database=test) t3 W0 j: [. S" `+ ]7 c3 w  U
  62. Hostname=127.0.0.12 B' o3 ], R$ h8 y: `; Y; s
  63. User_name=testuser
    2 f& [6 w% E7 d. ~' n
  64. Password=my_password. j" U) i+ R( p) `$ z4 R0 ~1 P
  65. GetDriverFunc=getSQLDriverMYSQL4 G) I: u3 l& g# G! T
  66. VendorLib=libmysql.dll
    + U/ @9 J8 k' b, _+ g. V
  67. LibraryName=dbexpmysql.dll) y) Q. B2 B# _
  68. Active=1
    ( m* t8 c7 d3 F
  69. ---example----
    3 ?2 ^0 y$ d7 V! Z
  70. - written 02.03.04 by pwk.linuxfan
    / [& w$ \4 t$ V- B4 I

  71. - [1 G1 {# Q" m8 k8 g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 R7 B; c$ x! A. r

  1. , W: B9 p* r- I, L5 |1 V0 w
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + U6 C9 B1 p6 i$ p7 L9 C% }& t

  3. 3 S3 |& n/ f2 ~3 z6 ^5 G1 a9 p
  4. # # #我们所需要# # # ( p1 Y. V9 C' e: u" B' h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% ?3 C6 t  u  F) h( T
  6. 不会解释如何做到这一点-也有文件存在,为
    + _2 W5 m1 I+ {+ i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, b7 x2 r& u/ D# a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# u' L8 Y- o  o  A  f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 m) I  V5 ~9 C$ k7 U6 _" w" a: A
  10. 本地机器,这是我的MySQL安装。
    6 B+ O0 D/ q$ ?  f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& z* x2 F( P  x) L, q7 P- n; |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ n, {, C* e8 k" a+ w1 N
  13. 数据库。
    9 E4 V* u# U( h& |$ }4 |- i3 a& ^( L1 f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % D# d! b: s5 L6 Q0 A+ l
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 i( M7 @. h1 R& @7 O% \
  16. 在teamspeak论坛,如果你有兴趣。
    9 V0 n5 _1 y- e& y) j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' t. o7 h, a9 z5 T0 }7 u
  18. Borland公司使用。这个司机只能界面与客户端库
    1 b7 j7 |& v4 C, W7 y9 ]6 g! u: a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) S5 S! ]; W4 S" a8 W7 x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % e& d- q+ d) Y$ j. G/ L4 K
  21. " vendorlib " ,并解数据库连接。 ) f- q6 v/ d6 `( j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 U. H: }6 \* d6 g8 n

  23. ! D4 M: \8 L. x" R6 K! R& I
  24. # # #做好工作# # # 2 c; W) I! v  s# J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& o8 c/ z) m. f% s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - o4 h1 _" s* B0 E0 I
  27. 结束: 1 Z. k5 c' x+ h
  28. ---削减这里---
    ) |( H: r/ n; {% v2 J* ]; r
  29. [ dbexpress ] # e/ p( M! \4 Y* j! @- A$ G/ V6 ~
  30. sqldir = mysql_sql
    + N/ n8 b4 n  c: ~' ]. R# \
  31. drivername = MySQL中/ v% s6 P" f- ?3 V9 I+ j" w8 z
  32. 数据库= your_database_name_here ( T: w7 S- f! K. G9 i7 k
  33. 主机= the_pc_the_mysql - server_is_on
    5 ]# W* F& ~& K$ o; L5 P* s
  34. user_name = user_name_on_the_mysql服务器
    4 [" U1 Q2 r( E
  35. 密码= password_to_go_with_above_user_name
    8 v- l, a; a+ J  R
  36. getdriverfunc = getsqldrivermysql
    0 L, T9 }  s4 Y& z/ ~( T0 x" S3 e- A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   ]4 F/ m5 b1 x0 D3 N
  38. libraryname = path_to_libsqlmy_libary
    $ f" w( n; G1 d( n: c# U. `4 G
  39. 积极= 1
    ' U# W: f3 Q8 Z& V$ L5 m
  40. ---削减这里--- 1 Z: S7 v! c# Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 B8 q6 S* o3 S; o' @
  42. ---例如---
    1 e6 h1 r  }( Z$ Z/ p3 q  w
  43. [ dbexpress ]   W9 G7 N# L3 `) g+ A
  44. sqldir = mysql_sql
    7 u, V. q; A) j5 W" E9 ~+ N+ ]
  45. drivername = MySQL中3 s) z/ B' ~8 _& O( V6 N
  46. 数据库=测试
    4 M1 ~3 e/ F. \. p* {! h
  47. 主机=本地主机, u8 C( b! j4 L
  48. user_name = testuser 6 U7 W# I! Z# s+ ?1 x4 c) }0 c9 {9 b
  49. 密码= my_password
    9 f  l( D  @1 c. B  f
  50. getdriverfunc = getsqldrivermysql
    ( ]& ~  f( E6 x" M8 }6 o4 B7 B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 f5 D* H$ {) ^$ S) Y$ h
  52. libraryname =. / libsqlmy.so
    - l; _2 D( q0 D* a
  53. 积极= 1 " M. v; D/ Z. U) g% h9 s6 t2 q
  54. ---例如---
    - `4 ~( X4 k' g! U& u0 l/ N6 y* H
  55. 7 O5 l* q/ L1 Q, k
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) A* T9 c# A  I. i' c- k6 l, v
  57. ---例如---
    ; @- O2 ?4 F  z* \) i
  58. [ dbexpress ] , z- e  |3 b4 |( n; X
  59. sqldir = mysql_sql
    7 ^+ b! W9 o( ?6 a* t  u
  60. drivername = MySQL中
    ' y6 x# M: @9 M4 w% ~
  61. 数据库=测试
    : P$ ^1 y+ W" ?9 Q2 k: X8 m. t% V
  62. 主机= 127.0.0.1
    , D. M: V1 g7 \5 D3 r
  63. user_name = testuser
    ' [7 W2 k' l: j5 }: i- r
  64. 密码= my_password 7 l! B$ h/ F% k* P' M7 L
  65. getdriverfunc = getsqldrivermysql
    / X( w- ?3 ]  C- s( A2 {/ \2 b; V* p
  66. vendorlib = libmysql.dll在
    & H/ x9 S: Y+ P( M2 \0 b0 ?* {3 j6 N
  67. libraryname = dbexpmysql.dll ( ]) b5 ~6 t' K1 P; F- j8 N: ]
  68. 积极= 1 * J' v( \: j  a
  69. ---例如----
    : {: s- h) [7 K- k7 o, r$ w
  70. -写在0 2.03.04由p wk.linuxfan. F' g4 q/ D9 P& ^2 [8 Y
复制代码
发表于 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
* b. \8 j; {0 ~3 L1 s6 I  j9 k
5 _4 S: W& Z5 c6 [/ j8 O1 Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-30 05:31 , Processed in 0.093685 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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