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

2846 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " A$ z; P8 {) g
5 m6 k/ n; |! K) R# H3 f9 ?# A  \9 n

  1. : L! L5 O4 i) u% n7 R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' r: T4 d! u) Z, f* H7 f

  3. 6 U  M% o! ^+ _: ^
  4. ### What we need ###
    & Q5 o) Y  \" x( w9 e
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 h" B; Y/ ~) ?' W& x* n* R
  6. will not explain how this can be done - there are documents out there for the
    1 r% A; n, L, c' Z. Y& L: ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use& @. n: i5 Y/ {6 A) Y
  8. and a user account (username + password) that has the permissions to do stuff. l5 g" N9 a# M. j
  9. with the database. Additionally, you will need a vendor library installed on the
    1 s6 k) \! @" T) b
  10. local machine, this came with my MySQL install.
    ; w/ Q4 ]! e4 I5 r- f+ ]/ c
  11. These instructions will not tell you how you might transfer your data from the7 s# q& j; ]  }0 T! j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( T% e, o6 b. u& ]  z* i
  13. database.$ k5 s$ A; {6 ]1 f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 _) B8 v/ G& Q- u! q
  15. the time of writing, there are still too many issues - check the current status, P& x" i( Y% b3 {
  16. in the TeamSpeak forums if you are interested.
    ( r7 \6 m: ]- M' a7 l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% u  z5 A( `- V* L
  18. Borland was used. This driver can only interface with the client library that 7 o" E, ?& r; b! M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: B$ o1 T. l' X
  20. client library - basically all you have to do is to use a 3.x client library as : x& j  u% s" O2 _
  21. "VendorLib" and a 4.x database to connect to.
    ' o4 b- ~# g1 @$ ?" M2 o2 K
  22. If you need more info about dbExpress, you can contact Borland.5 C7 G5 H: G# E# Z

  23. * E: D/ y  q% W( ]" |% N9 U
  24. ### Doing the work ###4 h9 \: y4 F5 W# k6 d1 [# U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; z$ ~  t6 g& ?/ ]+ r0 K! E, v
  26. the perquisites right, just open your server.ini file, and add this section at
    4 P6 T' ?$ g8 C" Z& ?6 Q
  27. the end:& P; g" {( \" Q4 v! A9 ^' q# I
  28. ---cut here---
    # g% J+ H. E) c6 n
  29. [DBEXPRESS]/ b3 b( \" ?0 ]7 e6 G. b
  30. sqldir=mysql_sql
    + N1 A9 q1 E6 Q( _& ^" e/ j' L; s
  31. Drivername=mysql
    6 w9 F7 L5 }5 x
  32. Database=Your_Database_Name_Here; Z# V0 V& ^, D# C- Y- k" p" x; H
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 S% e- l4 U7 R; v# E8 K' y
  34. User_name=User_name_on_the_MySQL-Server  Q* F, S; N# j6 |. P% o
  35. Password=Password_to_go_with_above_user_name4 d  a! U) C' Q( R/ h
  36. GetDriverFunc=getSQLDriverMYSQL
    : ?' n' @2 i# I; x6 M: F( x- }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 I7 M$ g4 y! }$ ^3 D+ L
  38. LibraryName=path_to_libsqlmy_libary5 _" x" U( Q/ M7 f/ I. a5 w
  39. Active=19 ^0 S9 l6 a) F# l' L! D
  40. ---cut here---
    " p# p: J* e2 @+ t8 i
  41. In my environment (a linux box with a MySQL server running locally) I have:/ Q2 M# v3 k* I& O- \, ?
  42. ---example---
    8 k" W8 I$ S& Y$ [( _0 _, `
  43. [DBEXPRESS]8 _6 t9 j. I# B' R
  44. sqldir=mysql_sql
    # Z8 }- q. g# \8 d: ?) Z
  45. Drivername=mysql0 Q6 w0 t/ e) y( V, k- ?7 M
  46. Database=test
    ; {8 z- N% `* Y# p4 S  d
  47. Hostname=localhost
    4 D0 q& M- N5 r# W5 W& J
  48. User_name=testuser
    3 Q& k7 D8 D/ K
  49. Password=my_password9 L: B( m7 w* F/ U/ f; @& a
  50. GetDriverFunc=getSQLDriverMYSQL
    4 g( C/ ?; s9 M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 h2 x: m* |! f5 @/ }5 O
  52. LibraryName=./libsqlmy.so
    % E; L5 ~/ Q9 b2 n8 S
  53. Active=1
    " c- ?/ J/ ^' G3 e7 B+ Q
  54. ---example---
    ( H7 o/ Z9 d* x8 ^) g# n
  55. 1 M8 t# ~# b& m% Y; Z! x+ B, S
  56. On a windows box, also running the MySQL server locally, it would be:8 y0 x; ~+ W1 A* d- ?2 I* g! a, h
  57. ---example---
    3 T3 _0 N9 w. L2 W
  58. [DBEXPRESS]
    2 q1 s+ a+ ^2 {7 A
  59. sqldir=mysql_sql
    6 O/ x6 T! n, d* K) k0 ?. c( L' J
  60. Drivername=mysql7 d3 c& o! @0 \6 v  [: t7 r, n
  61. Database=test3 a! y: n2 `3 u) _: \
  62. Hostname=127.0.0.15 M' M: o: l( f+ y7 I* x* E: E$ O
  63. User_name=testuser
    + C  G( Y5 F. I; v
  64. Password=my_password
    - W+ e- O# A, S7 ^7 w
  65. GetDriverFunc=getSQLDriverMYSQL
    2 g& l% T% `, ^5 G9 d
  66. VendorLib=libmysql.dll% [0 f& u9 k$ b6 o# A0 t& j$ W
  67. LibraryName=dbexpmysql.dll. f& f1 f9 G$ ?2 _( q' V- f% K, s: F
  68. Active=1! d' S' g+ j) e. h& N5 n3 {: {( `
  69. ---example----
    & Y. D- ]% d3 X( Q
  70. - written 02.03.04 by pwk.linuxfan: I2 w5 ~! W, D! [- M$ S% d

  71. 8 L- x3 @- o; C4 ^/ r( t, ?8 C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* e6 m- Q3 s- H/ F5 M

  1. ! u6 k% ~- L  Q- c& e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 x/ F% x( M% Y2 [. h" n( q

  3. 1 N1 N0 `% g8 _$ j1 V  p
  4. # # #我们所需要# # # * [. E; U  _6 l, E: X' J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; m2 i5 N( H, G$ b7 n  t' C) X
  6. 不会解释如何做到这一点-也有文件存在,为+ h* s7 x" ?. @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " i+ {) m9 l, H$ b: g5 c* q  E  |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: s/ K+ P* Z4 G3 s5 u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) K0 n+ X6 j5 r+ a5 M8 d0 [
  10. 本地机器,这是我的MySQL安装。
    9 i! L8 k- ]0 }, C2 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + F! U; B9 T! N, v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) O' e# Y( e8 k, H" `
  13. 数据库。 6 I0 z! ~( Z/ b/ l3 c$ R% j6 n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( _9 b! u) a+ ?0 A
  15. 编写本报告的时候,仍然有太多的问题-检查现状* R' l; q( }  n2 C" y) o+ t' j
  16. 在teamspeak论坛,如果你有兴趣。 1 J! D9 ]1 O8 J, C" k4 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    & W5 V  n1 f) Q
  18. Borland公司使用。这个司机只能界面与客户端库
    / q* M' ?7 }$ l8 Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! ~( L0 K/ L' X" e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . S/ m: Z, G# k# a- a9 k
  21. " vendorlib " ,并解数据库连接。
    & G; [5 k( f. D0 O$ I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 m9 `3 r: Y8 c7 V

  23. 0 w% i+ g4 m8 ~0 v: i3 M
  24. # # #做好工作# # #
    : W- Y! I* w4 \% E* H6 V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / g- w% \: w6 s  l. L" c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & F% ~  X* Y, A7 a
  27. 结束: / |- Q) L8 R- t
  28. ---削减这里---
    # t0 x: @; \5 G; I$ z
  29. [ dbexpress ]
    3 q. k9 F; b% ^1 r- s( {% ]/ k
  30. sqldir = mysql_sql 7 G) Q9 h' ^0 z3 [
  31. drivername = MySQL中8 l; z, \3 l1 U
  32. 数据库= your_database_name_here % {  |+ Q/ O; a% E
  33. 主机= the_pc_the_mysql - server_is_on
    4 W: A2 Q+ a' M* E" N% j1 N
  34. user_name = user_name_on_the_mysql服务器
    ( I/ `: W$ {9 r' g  Z
  35. 密码= password_to_go_with_above_user_name / _- L6 T% H% z4 Q( G& x
  36. getdriverfunc = getsqldrivermysql 6 b, G/ L: \! z% e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & @0 \# W* y8 `4 P
  38. libraryname = path_to_libsqlmy_libary
    ) v0 X! H% g  d; }3 i
  39. 积极= 1 5 q3 y, e( ]* t1 x' o
  40. ---削减这里---
    * H4 n! w0 p1 Z9 H" b8 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & U2 _  v% @/ P. K( j
  42. ---例如--- + O% e5 b, N# X5 R% ^. {& \# q) ]' r4 k
  43. [ dbexpress ]
    5 {( y& e+ m7 o; r% J$ H
  44. sqldir = mysql_sql : y% N% h: _4 `+ X7 O/ h* S7 f4 R+ d
  45. drivername = MySQL中2 _5 M7 K4 l& R! Z. A
  46. 数据库=测试; n" _) X( O  }  T. r' d8 @
  47. 主机=本地主机4 \& N4 f% T4 z; b
  48. user_name = testuser + x* f, a* l- y6 t
  49. 密码= my_password 0 N( A" u4 [. p& b
  50. getdriverfunc = getsqldrivermysql
    0 v* {  O( U! Q: W6 H# q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " P. B- l8 J4 a: R
  52. libraryname =. / libsqlmy.so ) g7 X  S  N5 b) x6 D
  53. 积极= 1 ' {) D, J$ a3 z( M" o4 l
  54. ---例如--- ! j* R8 O" g; p$ S9 C, O- g6 H" ]0 a
  55. , O& I1 e: O7 _, R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 |  E9 x1 B# B3 ^
  57. ---例如---
    ( n' ?5 K+ l; r4 x$ z% [, q
  58. [ dbexpress ]
    / t2 m0 C! Z6 Q0 l+ l
  59. sqldir = mysql_sql
    / c2 @( ?  y1 t. H+ C( `
  60. drivername = MySQL中1 r7 e& F0 g9 \: v/ [% ^
  61. 数据库=测试
    . C4 ^; ^  F0 g' g6 Y" R6 A% ]; m% Z
  62. 主机= 127.0.0.1
    0 z7 Q2 B5 l& {7 |5 A- Z* z2 s, U; e
  63. user_name = testuser
    ! T6 t0 T& V" p7 M' ~' a- M
  64. 密码= my_password
    8 J; e: l1 a* e: h" S
  65. getdriverfunc = getsqldrivermysql
    ' E) X) r! }4 I
  66. vendorlib = libmysql.dll在
    5 l8 K2 f, z/ Q8 Z
  67. libraryname = dbexpmysql.dll
    : G& h3 m( H4 j
  68. 积极= 1
    $ D# X) s# b6 M( m( l
  69. ---例如---- ) I6 z" V( Z  i  a
  70. -写在0 2.03.04由p wk.linuxfan
    $ z. h! d9 q  M$ ?1 j" p9 B
复制代码
发表于 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/ @) @) _4 a( ^* P; E

% {& G, N- i+ g8 Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-5 19:36 , Processed in 0.107495 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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