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

3319 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( `. ?! Y% {% t' w$ w" g
4 e8 I) B! P( U) @1 t9 s( k
  1. 7 u) Q0 p/ v9 S! B' z( ?4 y- K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, W0 y& J4 v, Q
  3. : h% d" v7 Y1 `: P2 z
  4. ### What we need ###" V+ w+ g$ M% Z* @! b8 h
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( T8 H7 n8 M: A/ g8 C: _1 S( I4 _
  6. will not explain how this can be done - there are documents out there for the
    - W0 ?4 U2 e9 Y. z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' y) F4 E9 a0 L) v$ J) [% j( {! B
  8. and a user account (username + password) that has the permissions to do stuff, V+ ?  U: ]  R' `
  9. with the database. Additionally, you will need a vendor library installed on the, w" U* K- j) E
  10. local machine, this came with my MySQL install.& g1 v$ ]# r7 A; o
  11. These instructions will not tell you how you might transfer your data from the# d: C4 e+ r7 N6 `( E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . E- T5 s+ s; ]. w3 m
  13. database.
    9 q4 U  W* D! c3 [! o# ~  y
  14. Some users have reported ways to import a SQLite database into MySQL, but at% \3 ?; U) U2 ?, G% T; u0 g- B
  15. the time of writing, there are still too many issues - check the current status4 p. D# s: {* Y7 S8 M) r, X
  16. in the TeamSpeak forums if you are interested.
    # [% O/ `1 N# k* W+ T% b' w  t% t/ b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + m7 b7 v( Z3 ~, s$ u9 s: }8 ?
  18. Borland was used. This driver can only interface with the client library that 9 ?/ k* b& G- b& n1 n) D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! Q" ^/ }2 m% P7 b0 @
  20. client library - basically all you have to do is to use a 3.x client library as
    " f4 w6 X5 U6 n+ T
  21. "VendorLib" and a 4.x database to connect to.4 S! P4 T/ q6 u) I/ F
  22. If you need more info about dbExpress, you can contact Borland.
    5 M/ a& w- Y7 q5 c' g. P

  23. 2 a) C) k+ L6 a& r# }
  24. ### Doing the work ###0 t7 Y3 ?5 E' \6 O2 \. C; g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * a% Z0 I4 q4 }9 D# @
  26. the perquisites right, just open your server.ini file, and add this section at- g0 O. ], I1 j" P  j) ~4 ]
  27. the end:) c* `+ u% k" R, T3 I. Z
  28. ---cut here---6 ^- V  i! e# Q
  29. [DBEXPRESS]# w: L+ H/ r  y; a* M
  30. sqldir=mysql_sql
    ) I/ R- U3 C2 d0 ]/ I: I3 h0 L
  31. Drivername=mysql; T2 a2 F; y7 {3 X3 M
  32. Database=Your_Database_Name_Here
    " H/ X' H5 C/ [3 @7 J2 Q- h
  33. Hostname=The_PC_the_MySQL-Server_is_on1 b! I% b. n2 O# {: P
  34. User_name=User_name_on_the_MySQL-Server
    * x8 m+ X9 o) I5 u1 M& a# X
  35. Password=Password_to_go_with_above_user_name
    $ g3 e. _% v+ d9 Y! D
  36. GetDriverFunc=getSQLDriverMYSQL
    ; d6 B7 Q! P0 W4 q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 s( _; S) S' v) u- Z2 n/ I( O
  38. LibraryName=path_to_libsqlmy_libary: k% s$ |$ O' l7 V& V
  39. Active=1$ |9 N+ B7 Z& D3 B8 }3 X
  40. ---cut here---
    6 t: K/ `/ p/ Z1 ]) J  A9 b3 F; e
  41. In my environment (a linux box with a MySQL server running locally) I have:/ z, v+ O% |/ g
  42. ---example---
    $ A6 L. N4 t7 K* T* }
  43. [DBEXPRESS]& m5 p1 A2 C. X, q1 u
  44. sqldir=mysql_sql
    ! W2 j) z: W3 f; T2 j2 L' y
  45. Drivername=mysql; Y8 W- X0 }; T+ \% f( H. W
  46. Database=test$ @: b/ B) Z: X# s' [
  47. Hostname=localhost& _- C0 o7 T: [; s+ F
  48. User_name=testuser
    * Q) T6 _5 j% ~3 H/ B& F7 t! _
  49. Password=my_password# n5 T+ ^- ]3 ^& P( ?/ ~- ]
  50. GetDriverFunc=getSQLDriverMYSQL& }" T2 x4 H7 X0 X! s) t6 O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ s. g* p6 [5 w3 H- G: J
  52. LibraryName=./libsqlmy.so
    4 d, d7 c1 D5 g
  53. Active=1
    # p# Q0 X* _, G. C: B2 v
  54. ---example---: a5 n2 `$ ~( V9 B- Y* Z
  55. ; e3 Y7 J# F2 p# M. I
  56. On a windows box, also running the MySQL server locally, it would be:
    & k! i; m9 j& l9 l7 i3 N1 |
  57. ---example---
    ; H$ b4 q9 h' p' q+ z
  58. [DBEXPRESS]) a# `" o6 u  ~) i, i0 Y  c# J
  59. sqldir=mysql_sql
    / U1 C8 r% A: G1 t
  60. Drivername=mysql
    . h: D3 f4 m* o; h" U7 T$ R
  61. Database=test9 [. c# v( E/ \3 y, I
  62. Hostname=127.0.0.1$ F1 L9 `! M8 v' u, x, P9 m. \8 j
  63. User_name=testuser
    * v/ \$ I$ p! N) L
  64. Password=my_password- B$ B3 N0 x3 G2 k
  65. GetDriverFunc=getSQLDriverMYSQL0 q& T9 x3 c6 m8 O3 M8 j0 j5 l. W: F
  66. VendorLib=libmysql.dll
    + A* `; _; c4 N# f% L" x+ m
  67. LibraryName=dbexpmysql.dll: v$ z) W/ d( P- w; X3 X
  68. Active=1
    : N* R! P. M* R+ U
  69. ---example----
    & q- J7 d' I: ~) e2 J& G$ c  t
  70. - written 02.03.04 by pwk.linuxfan8 G- n0 s% [) `7 [5 [6 T$ I/ S
  71. 3 R; ?$ m' X0 P' Z7 A1 R* f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 S; a( A: I+ ~1 ]

  1. / s: G, b6 T9 i1 X! Q' D4 G$ x8 M( H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * u* W* ]! W: U& ^9 R
  3. $ l% n& \, I" z6 T# s5 A+ O
  4. # # #我们所需要# # # # w5 `9 {3 ^4 J/ z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! f( s4 h* ]% |0 P) D
  6. 不会解释如何做到这一点-也有文件存在,为
    2 H$ q9 Z2 W0 ~7 O- b2 J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# p$ Y% b1 _. o) U1 m8 s- q. X, k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    $ i; q; L* R$ U/ G3 A0 i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 D, S8 k( e6 H; L
  10. 本地机器,这是我的MySQL安装。
    5 k+ X# O; ?. o" Y1 i) A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- h! ?# k! t# b4 W& @, ~8 m# A3 r( b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 f7 r, T: v3 j2 J9 l, B  Z, o$ `4 s
  13. 数据库。 ; _3 R4 u7 X0 ^! f, [& j2 o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' G) j, [1 v, G
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - ~9 |: k) T0 r- ?9 [! C
  16. 在teamspeak论坛,如果你有兴趣。
    ; \+ d/ V, D+ V, H- Y8 `8 z7 Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 ?: |% {  z( f% e
  18. Borland公司使用。这个司机只能界面与客户端库# O8 `4 [9 R5 y/ L: N9 N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 ^9 o) p2 L9 e. d) ~! b. m* k: P6 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * g7 |! v5 E. s( `9 }' P
  21. " vendorlib " ,并解数据库连接。 / J! r( |3 T/ s' j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' Z9 `0 ^0 `: m

  23. 1 ~$ X# g$ `) O) O- c9 l
  24. # # #做好工作# # # 8 z8 N5 h' r% k1 [" Z& U3 J+ W. t# B9 d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      Q* X1 p5 Q0 g. {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ X: u; L1 s: E7 Z" v
  27. 结束:
    ( s. {) R4 L8 |& h5 W  y( r
  28. ---削减这里--- : \( U! v6 R5 O" Y- D' u
  29. [ dbexpress ]
    5 H5 i* `- H  _; H' N; F  s4 D
  30. sqldir = mysql_sql , i: }5 z9 [) @1 J4 L' J8 ]5 T
  31. drivername = MySQL中
    % q3 s3 l4 k5 F1 f0 b
  32. 数据库= your_database_name_here 5 @) s1 C) [# G1 e1 |$ ~" u" Q; L3 P
  33. 主机= the_pc_the_mysql - server_is_on
    % c8 X) j9 f0 U5 X/ a, u( L
  34. user_name = user_name_on_the_mysql服务器
    * ~1 e" i2 M, ]4 t
  35. 密码= password_to_go_with_above_user_name % f: m# [6 s+ v4 j6 l+ w
  36. getdriverfunc = getsqldrivermysql 8 z  T, |" U( t. C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , d* _# A7 I1 n1 M4 e
  38. libraryname = path_to_libsqlmy_libary - ~1 U; P" v; ^$ A. E: n
  39. 积极= 1 , H: ?) J, t9 P1 o
  40. ---削减这里--- * N2 X3 z& l7 y) w& B( ^# t% f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 z. G( g) Z# ?: O6 L3 H: W
  42. ---例如---
    ; G. t5 @0 v- _# Y$ m; I9 \
  43. [ dbexpress ]
      |4 z, b( R/ @" Z; [+ Z9 P3 s# G( I6 c
  44. sqldir = mysql_sql
    9 v7 h  G- x/ a  ~. G
  45. drivername = MySQL中1 T& l5 \# d9 G% u' V( o; K! @
  46. 数据库=测试
    % ~. k, g5 A6 ^$ a
  47. 主机=本地主机
    + D+ Z1 T* f" @7 a, c
  48. user_name = testuser
      A0 k1 ^5 L9 q0 I' a0 o
  49. 密码= my_password ) Z+ Y* u! K1 f$ E9 M! E8 c
  50. getdriverfunc = getsqldrivermysql . O2 I- h& |2 H* J. {! j+ E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / s2 a) R2 ~. G# ^
  52. libraryname =. / libsqlmy.so
    3 o$ s& j7 v6 y  C7 y: d8 P
  53. 积极= 1
    2 [- p" y; f8 `  Y- p
  54. ---例如---
    8 N1 C  d; Z- c& g: y' S
  55. , P$ g( }4 w3 m
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 b) N0 p' |1 ?+ T  ?3 ]
  57. ---例如--- 0 l% P4 F6 m( X1 d% p6 q
  58. [ dbexpress ]
    4 C5 x6 {! E' a0 `8 L7 W
  59. sqldir = mysql_sql 3 `" n5 d2 \1 R+ r" P6 i  }' V
  60. drivername = MySQL中
    / h( Q  s  K  O: G9 Q1 d$ h
  61. 数据库=测试1 v2 u0 _# Y# S8 M3 K- j
  62. 主机= 127.0.0.1   u; V% h& f! R( b
  63. user_name = testuser % _; k4 {$ P7 U  S
  64. 密码= my_password / j" q& |! K5 c' ]( g6 [
  65. getdriverfunc = getsqldrivermysql ( B$ b& `' t+ b) e( w
  66. vendorlib = libmysql.dll在& n/ W3 p$ ]. T* B/ F- k- G
  67. libraryname = dbexpmysql.dll
    1 x4 Q' |' b1 B" j
  68. 积极= 1 % G7 T( l& y2 \
  69. ---例如---- , R0 l) f# B! `- b; B
  70. -写在0 2.03.04由p wk.linuxfan
    ! T8 H5 a7 P3 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
0 B+ E! K/ y. J; Z
; M( j/ S# s  H$ }- `but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-12 07:28 , Processed in 0.094586 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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