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

2290 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 t8 b7 L. m- w% ]6 j

+ h/ R: D: m$ M9 x

  1. ! U& S+ q8 w# w* W( S- S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 {" r# @' m+ x. A/ ?

  3. $ `5 J9 R1 Z( b
  4. ### What we need ###
    # I, v2 s% W2 C+ M2 ]6 T1 k4 }
  5. Naturally, we will need a MySQL server to store the data for us, this document $ ^- j! e- m5 h, [" Q% N; j" O/ U1 U
  6. will not explain how this can be done - there are documents out there for the
      Q4 Q; G5 K- B/ B" Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 y6 [. z1 m: O! e1 h: _( T
  8. and a user account (username + password) that has the permissions to do stuff
    4 l: c/ ^' u  u
  9. with the database. Additionally, you will need a vendor library installed on the
    % l! l0 ~% x9 o/ q9 M
  10. local machine, this came with my MySQL install., }: b3 Y1 K( V" b" o) k- ~  u0 A
  11. These instructions will not tell you how you might transfer your data from the8 b9 @) I+ h# Z$ l  {+ B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 l& P+ d/ q1 g/ f
  13. database.; z! Z; Z$ l# x3 r* P% w" H
  14. Some users have reported ways to import a SQLite database into MySQL, but at' y. n( D% Z% B1 k. I
  15. the time of writing, there are still too many issues - check the current status4 ^. P4 P7 |% P( X' W7 y
  16. in the TeamSpeak forums if you are interested.0 v4 T/ j. f+ B8 E, [) G& r, N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & j% b/ E8 l( k/ Y# U9 o
  18. Borland was used. This driver can only interface with the client library that
      h  g: R4 S, G* N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! R; B" y7 k5 y: A
  20. client library - basically all you have to do is to use a 3.x client library as - G( ~7 w$ E, u+ D+ F. \
  21. "VendorLib" and a 4.x database to connect to.# |6 h* h: k( P" Q4 c* w- _) y  |
  22. If you need more info about dbExpress, you can contact Borland.$ d) a' W: o$ J& G0 _' e9 s) w$ q0 P6 f
  23. ; r6 k4 v# e- U& K
  24. ### Doing the work ###
    ) M6 c1 _7 Q: f* ]2 e6 m6 t0 p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% F0 `! v0 A* K! V- k
  26. the perquisites right, just open your server.ini file, and add this section at" z8 ^) \: _$ e% v% a5 y$ S8 h+ X
  27. the end:
    # e, k% H0 [3 t9 J
  28. ---cut here---( \! C2 x7 X3 j  Z5 x- K0 t' @
  29. [DBEXPRESS]. ~7 f2 x1 |' P  ~% Z- J5 M
  30. sqldir=mysql_sql
    : Q) Z+ q: m' }
  31. Drivername=mysql! s( t2 f1 b" l: F) S! P! P. t
  32. Database=Your_Database_Name_Here
    6 K0 M1 m5 T: `4 q- N; J0 N" j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 i4 A' t. @/ p7 M: n
  34. User_name=User_name_on_the_MySQL-Server3 P  W5 U2 V, A; v- L6 Q9 ?3 ?
  35. Password=Password_to_go_with_above_user_name
    3 y$ |& s" p( q* w) A( W
  36. GetDriverFunc=getSQLDriverMYSQL
    % J0 C/ c1 j3 X9 D) B( |7 b: I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * x7 C4 ]  i8 W5 ~8 }7 K
  38. LibraryName=path_to_libsqlmy_libary
    2 w) `6 V( [8 V* I& N, s
  39. Active=19 a+ }+ Y: m4 H
  40. ---cut here---
    * ~' U& z* {% E/ Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 h  H* P' M8 Z( ^# ^4 Y
  42. ---example---
    : X- n' O1 Y; t4 O
  43. [DBEXPRESS]3 M( q2 A6 t  U7 S! c! S2 I8 g; ^
  44. sqldir=mysql_sql$ F8 s7 I* o. v8 p" `- Z8 ~
  45. Drivername=mysql
    / V  r- \* W; u
  46. Database=test
    9 }$ a; Q- ^3 @3 e( K$ R
  47. Hostname=localhost
    # R& \- r9 b% {5 @! E
  48. User_name=testuser$ v! w- E6 |, S1 O& c8 @
  49. Password=my_password0 F5 U! k4 z7 X# Y) P) z8 C
  50. GetDriverFunc=getSQLDriverMYSQL# W6 d5 M% N6 I& a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & G2 n6 y) R0 ~( t3 T
  52. LibraryName=./libsqlmy.so. ^5 T' X7 t* V" ]3 d' _7 V
  53. Active=1, P* k0 F' ^. _7 H9 @
  54. ---example---. F- q1 h7 A3 N) ^0 \/ j
  55. ( k8 p) f9 _; W* d
  56. On a windows box, also running the MySQL server locally, it would be:
    & e( a+ E. i  K& A8 K1 b
  57. ---example---
    . C5 K' l" N/ s6 k
  58. [DBEXPRESS]
    * F& _6 h$ x$ W1 Z: c$ m
  59. sqldir=mysql_sql
    - ^* L/ x6 M* F6 S# U; }
  60. Drivername=mysql
    4 s/ _5 Z  e8 z% n
  61. Database=test: L7 O. _6 t* `
  62. Hostname=127.0.0.16 H5 h1 |1 ~. A
  63. User_name=testuser  Y1 ^, M# }& E  B
  64. Password=my_password
    1 G4 b1 P& R9 Q5 P% O' t$ q) ^& j; g
  65. GetDriverFunc=getSQLDriverMYSQL3 F. ~; {, u* {" R/ y& o  \# J
  66. VendorLib=libmysql.dll
    % S) g: p! A3 I! N# `
  67. LibraryName=dbexpmysql.dll
    : @8 ]# p0 l$ P2 W$ Z6 L7 K
  68. Active=17 b" Q" P' t- @! Z. O8 G5 j
  69. ---example----* y. o  A2 g# f
  70. - written 02.03.04 by pwk.linuxfan
    $ @& R- W( _* w2 J5 ?9 }+ V" n8 i

  71. % {4 ~' y6 c4 B$ R9 ^, [: d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ T- w% m5 z& w

  1. 4 r2 p1 p9 ^7 `& O: {' Q0 F7 J$ q& X7 @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; Y: e, C7 i& X- E; m: ?/ ?# J, H
  3. * q+ Q* a1 F7 c! G* E6 V1 n  F
  4. # # #我们所需要# # #
    / ]% \' O) u) ?  |( ]. v/ W8 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% l3 C1 j+ Z9 X( s4 @( L) a
  6. 不会解释如何做到这一点-也有文件存在,为
    8 M4 t! O6 d7 q( A- v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 F, z' P* ~% `( ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' S4 F& B8 }! N7 M" H# c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: b. o+ @! a1 b3 F
  10. 本地机器,这是我的MySQL安装。
    # T& ~% Y, E# c$ M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- ?7 Q; |; t4 y+ `6 B+ L" P9 _( i9 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 l, F+ B$ q) @
  13. 数据库。 " o* C! H2 Y7 f, c" ^! A, u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) U( C7 p% N0 N9 i3 H& X' _: \+ ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 |7 `- ~/ S" I; j
  16. 在teamspeak论坛,如果你有兴趣。
    . q# x, u' Y6 L9 V8 Z" y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. }" P0 v+ s/ @2 o  K
  18. Borland公司使用。这个司机只能界面与客户端库
    $ ~: L/ }, j. o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* x: x9 z7 k  B+ y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 b3 i" z, M' D; S9 u
  21. " vendorlib " ,并解数据库连接。
    7 Q; A3 \$ m( C: A! E6 G5 \. t+ J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 E8 d% a. S. w  Y' T; \

  23. 5 B( N+ {  o7 f4 X
  24. # # #做好工作# # #
    8 }: W6 [  v, M+ @: ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + ^) A' H% u) J# j$ t4 w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' P- v2 _2 X( c$ P
  27. 结束:
    * v0 V% @( ?# u2 V9 l
  28. ---削减这里--- - n# Z2 [  a! B/ c2 |
  29. [ dbexpress ] + g6 `* J7 O0 A' u8 ~' H9 I, _( n8 C
  30. sqldir = mysql_sql $ R1 ^0 n+ K$ {0 v* f1 F6 v4 W
  31. drivername = MySQL中
    4 J; C- v6 ], V9 u# r6 I$ }
  32. 数据库= your_database_name_here
    ; i% V2 h7 Q3 p9 S- O( v+ z
  33. 主机= the_pc_the_mysql - server_is_on
    # g! T: R5 f8 [1 g- e
  34. user_name = user_name_on_the_mysql服务器5 }! a$ v7 G. i; G# x
  35. 密码= password_to_go_with_above_user_name , ^3 C7 E% Y8 J- l# x8 @8 Z. K
  36. getdriverfunc = getsqldrivermysql
    + ]2 @" o3 _' q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 ?! @! c( L5 j
  38. libraryname = path_to_libsqlmy_libary 8 M- d/ K( [6 e' p% H
  39. 积极= 1
    , s  Q0 |; V. O* T& R8 v" H7 n, ]5 {
  40. ---削减这里---
    7 M4 G4 N- T" }- i: W. A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' c. ]! N/ `) D- \+ \& T
  42. ---例如---
    ! |. B4 k& h1 h; c! i
  43. [ dbexpress ]
    4 W( j" z7 Q1 |% \, K
  44. sqldir = mysql_sql / D" u, U3 j' m7 Z$ W2 C
  45. drivername = MySQL中0 O1 Q4 K6 @" V3 U( S6 w  F
  46. 数据库=测试
    6 v8 m5 y+ _2 Q, a9 D) K: {
  47. 主机=本地主机
    ) u3 ~# x5 A/ e- Z- L* }4 |
  48. user_name = testuser
    $ i( ]4 G6 I, t; n! _( F
  49. 密码= my_password # g+ ~7 Z$ v% @) ~, b1 U$ p% r) h
  50. getdriverfunc = getsqldrivermysql # v8 c7 `1 b' P* E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 ^) o) x  @0 i- b
  52. libraryname =. / libsqlmy.so
    : S3 {/ o/ A# ~  D( i' ]
  53. 积极= 1 % M: m- P! z7 R) {: Z! m
  54. ---例如---
    8 y& T/ z+ ~2 o( E6 I
  55. $ g9 E3 s- h' i* d8 p7 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( U% V; p2 P9 Z9 k4 j
  57. ---例如---
    : _: n+ n" n5 T; a) |8 g4 N" ]8 O
  58. [ dbexpress ]
    ' |4 C8 S; O8 f5 U( d  s
  59. sqldir = mysql_sql
    7 u# `9 G( c  h" @2 _2 t2 `* L  q
  60. drivername = MySQL中; ]' o8 s9 \/ g4 ?2 i1 q6 x
  61. 数据库=测试
    ( g9 S8 b" L/ Z9 U2 \8 y" ]* Z8 J- o
  62. 主机= 127.0.0.1 ; V9 A' a0 M7 h/ t" g! N
  63. user_name = testuser ; ^* a4 \0 Y9 E- C" ?
  64. 密码= my_password
    - \5 s2 B# J6 m3 j) m, t
  65. getdriverfunc = getsqldrivermysql
    $ F2 M1 e& I' M1 S+ ^' @3 k, Z
  66. vendorlib = libmysql.dll在
    / C5 s% z8 H3 Z2 A
  67. libraryname = dbexpmysql.dll : j5 U4 Q6 _9 z  W3 E! |( Z
  68. 积极= 1 % r" i7 n1 D  T. n3 [% h( h
  69. ---例如----
    2 x+ ~8 f* d- T# O
  70. -写在0 2.03.04由p wk.linuxfan; L) x$ a# }& 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 words
( h- i6 n% r& A3 I3 ]% D' z
" B- Z. s7 k+ _2 B# Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-13 04:06 , Processed in 0.099972 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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