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

2545 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, F  O; ]- f2 F5 l0 w6 ]3 @
/ q) V' c( I) J. N2 r( ?! V

  1. . ^/ m# ?' J! }4 |5 [! Q  D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! K* S9 S7 F; I. L
  3. 8 {9 t& l1 x5 _& V0 S! `
  4. ### What we need ###  _/ I- ?" O: M  p$ t0 q5 P! i$ Q
  5. Naturally, we will need a MySQL server to store the data for us, this document $ L, A9 z' @; h# ]' |1 F
  6. will not explain how this can be done - there are documents out there for the . j4 h0 E- L# U( U4 X
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ _4 d8 g1 P8 b0 `8 U4 s
  8. and a user account (username + password) that has the permissions to do stuff! \+ N8 {2 u5 ^$ V  I
  9. with the database. Additionally, you will need a vendor library installed on the
    5 B. c3 r* |+ _6 f. U2 q! y; h$ j
  10. local machine, this came with my MySQL install.! N% m( ?* |* L! i) q, r# C
  11. These instructions will not tell you how you might transfer your data from the
    " N. [& _# m/ b: Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' N4 M6 ~  E  m; B
  13. database.! F, t0 Y' i% ^# N
  14. Some users have reported ways to import a SQLite database into MySQL, but at) S! ?/ Z2 u2 C0 G. g
  15. the time of writing, there are still too many issues - check the current status
    5 l4 C6 C8 H, v- @% E
  16. in the TeamSpeak forums if you are interested.- v5 u+ J: d# d7 A7 K$ w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 s" |# X( V6 @
  18. Borland was used. This driver can only interface with the client library that : x! S* P4 p7 W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. Q+ @7 d& t" j4 P
  20. client library - basically all you have to do is to use a 3.x client library as - t# x! b- K; z6 B+ ]
  21. "VendorLib" and a 4.x database to connect to.9 z' M8 B& B4 b8 p8 A  t" D
  22. If you need more info about dbExpress, you can contact Borland.
    ' T% g' i# _# ?. Z8 R

  23. 1 O+ e$ O) T0 J% c) T+ b
  24. ### Doing the work #### M% Q* s0 M: {3 g) Z% s3 Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 k/ }; r4 T+ ~2 F
  26. the perquisites right, just open your server.ini file, and add this section at5 i2 Z1 ]. T% J% Q
  27. the end:
    & S! f0 ~. P9 `
  28. ---cut here---
    % G+ o. C0 _: Q8 h$ o
  29. [DBEXPRESS]9 q; K7 m* G7 n% Y* @7 H5 I9 c6 _
  30. sqldir=mysql_sql$ `& J5 D3 e, g- t4 V
  31. Drivername=mysql. o% e4 h: B  r1 k
  32. Database=Your_Database_Name_Here* }- d  H. e  F& J1 g( p8 X2 C: ^
  33. Hostname=The_PC_the_MySQL-Server_is_on9 `0 B" h- [; }* S$ ^( u
  34. User_name=User_name_on_the_MySQL-Server+ B: `" K# Y9 X& M- C+ e+ I+ t
  35. Password=Password_to_go_with_above_user_name0 S! }6 |+ j* G, B3 f) l
  36. GetDriverFunc=getSQLDriverMYSQL3 J; z; I: g) B1 t$ Q: j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - _  |3 K& d  O: R) [  D  n; j4 z
  38. LibraryName=path_to_libsqlmy_libary; w. Q" |0 l( |( C5 t; ]4 W
  39. Active=1
    % _" `3 B  y) ~
  40. ---cut here---7 q- H9 I- v% L+ j  m5 v3 W; Q
  41. In my environment (a linux box with a MySQL server running locally) I have:2 g0 o' Y- ~9 u5 V+ \9 _; e
  42. ---example---
    6 x7 K4 C9 f3 H2 m
  43. [DBEXPRESS]$ t/ s7 `, Q9 [- I2 b  \$ [
  44. sqldir=mysql_sql
    : V+ H3 s% X$ s0 W/ N
  45. Drivername=mysql
    , j" C8 t. v9 Z: K  x
  46. Database=test
    / C: N, y- r; _' D
  47. Hostname=localhost9 i6 M' @* y8 @2 v
  48. User_name=testuser
    / u# ~. F  D$ `$ x
  49. Password=my_password
    0 o! h: l" B8 `( c
  50. GetDriverFunc=getSQLDriverMYSQL& w; Z! A+ J; L0 Y$ h' S* o1 O4 E  w' s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 M/ W; V/ F* a7 ~
  52. LibraryName=./libsqlmy.so% a1 \- r# N- C0 A/ Z
  53. Active=1
    * _" S- M& k2 @/ Z: h
  54. ---example---4 @4 X8 O! e2 w8 o* F' |

  55. 1 o% m( P2 a, w7 @0 ]. U1 r
  56. On a windows box, also running the MySQL server locally, it would be:
    " W0 b* r9 o% l9 r3 }+ k$ l2 C
  57. ---example---) p$ A' |$ f# X* M! m9 Y
  58. [DBEXPRESS]& u$ Y& @) T7 T. v. v8 i
  59. sqldir=mysql_sql
    ) _! h6 K( S* u6 h/ D* A2 A% k
  60. Drivername=mysql& d5 [. E7 J4 y& S( `% O. {8 v
  61. Database=test
    0 q, u4 [5 V! i8 L) ]0 k3 s" A$ g
  62. Hostname=127.0.0.12 L9 o8 @6 [& g) S4 K$ L
  63. User_name=testuser
    ! e2 k+ H0 B# q% U
  64. Password=my_password
    9 F8 B' e- {4 ?( u
  65. GetDriverFunc=getSQLDriverMYSQL
    1 j/ b$ A# G. `. S: B
  66. VendorLib=libmysql.dll( a! Z/ p# v/ l3 Z' d3 }4 B
  67. LibraryName=dbexpmysql.dll$ Y& C+ n% N$ b, x
  68. Active=1
    + \7 u# A& ?. N3 z9 T2 Y! K% W, g
  69. ---example----
    9 W1 `* ^% I4 _: o. ^
  70. - written 02.03.04 by pwk.linuxfan
    ' Y- G+ I$ r1 H

  71. 2 _/ [. O8 C: F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. Y5 J- }0 B* R9 E) C

  1. - N  V6 H% |- C3 d$ M7 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / u4 C0 u7 P% G- \' A5 o0 L5 W
  3. * ]! w+ l, R3 U
  4. # # #我们所需要# # #
    7 a8 ]' W. K6 C6 J3 x9 m9 G9 J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % g8 |8 l, Y$ k, p' q
  6. 不会解释如何做到这一点-也有文件存在,为; N; q) g0 a9 \% t! k" t  N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, _: K+ {7 V  ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& _! ~: V+ Y! i5 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 z# W% Y9 B7 J5 [4 H& U1 b
  10. 本地机器,这是我的MySQL安装。
    # h# E5 ]! j- J- \" B- w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 R" ^5 y6 p% I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) x' B3 I9 l5 d2 I6 r6 O/ p+ u
  13. 数据库。
    1 A# e, M. O3 z. H  Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % L! W& M4 t9 L$ H
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ l# ~) }/ k5 B; r2 {) ?
  16. 在teamspeak论坛,如果你有兴趣。 % u/ D$ k! C- L! X) F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . [8 c$ y6 f3 |- d- i, l: E4 e
  18. Borland公司使用。这个司机只能界面与客户端库
    " i4 Y7 p$ Y" P; I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    & S/ H1 C( h0 p8 |  m# e5 r5 N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% j; \/ Y" V: p4 x: I
  21. " vendorlib " ,并解数据库连接。
    & U$ ]0 t) Q! [' p/ e: w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 x! n5 s& h' d, v  l( X) z
  23. ) z* s% {1 ^6 }* j/ o' f  g  o" i
  24. # # #做好工作# # #
    8 v. J  G% x' I" C# t5 I1 H4 n' V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ N7 Z2 J" R' e* q" C4 O) F5 `& _( D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) ^) u' w" g2 j6 x
  27. 结束: # S/ l& M# T3 x. g: r0 h; P
  28. ---削减这里---
    ) D0 D0 R. V; ~6 R( O, O2 a6 W" t* q
  29. [ dbexpress ] ; r  ]3 g4 g# [& f. U1 u) l
  30. sqldir = mysql_sql : H# i* }5 Z/ N0 R/ X5 {
  31. drivername = MySQL中; ]; B6 n0 M4 K
  32. 数据库= your_database_name_here
    $ K0 a- G2 q6 u5 x4 W
  33. 主机= the_pc_the_mysql - server_is_on
    1 E& |" [9 W" s$ Y" _0 _0 H5 a! w' T/ u
  34. user_name = user_name_on_the_mysql服务器% ]8 |0 O! n' c
  35. 密码= password_to_go_with_above_user_name $ Q3 J- g/ P6 i5 m! N; o  \
  36. getdriverfunc = getsqldrivermysql
    5 v7 N) L! x1 O8 j# o; `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 T! L+ m$ A* L1 Q8 E- {
  38. libraryname = path_to_libsqlmy_libary
    / w+ L" I4 H, {2 p1 b
  39. 积极= 1 ; L' M) Z, B' g4 S+ x3 [0 k, a
  40. ---削减这里---
    ) I; F; A7 n0 L+ O1 _$ q2 O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " a7 b* H# S1 m2 p6 a# f+ K0 s
  42. ---例如--- & D2 m* U: M1 c- m* I
  43. [ dbexpress ] / q# J5 _* f+ I: v. @; W2 T6 a/ t
  44. sqldir = mysql_sql 3 A# m" a& f4 k- i/ h1 @7 ~
  45. drivername = MySQL中" c- |3 D6 F" u  }' h( _+ F3 F
  46. 数据库=测试
      Y/ W# i& f  U
  47. 主机=本地主机5 ]0 a& d) I8 e  e! D5 ~8 s
  48. user_name = testuser ( i6 x1 ^& N$ j2 ^4 Q+ E0 k
  49. 密码= my_password
    3 |, e; p+ |$ T& k
  50. getdriverfunc = getsqldrivermysql 7 y' {$ Y; p" }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! E9 l2 z6 c3 K5 q$ ]9 P
  52. libraryname =. / libsqlmy.so $ V# B- D' l$ u6 u2 H3 g
  53. 积极= 1
    + d2 T! H3 X- p) j3 @8 x$ G! y
  54. ---例如---
    8 ^1 n, U% c# }% g6 W6 E9 u- j  S

  55. 0 ^, M# a/ w7 V. q7 G' u8 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : H5 _6 _4 u! e4 R2 ]+ `- w
  57. ---例如---
    & ]! I" c7 P" T$ S2 `3 {
  58. [ dbexpress ] 9 M3 N3 R. k" p; @/ D% c
  59. sqldir = mysql_sql
    ! o, G1 W8 L8 W1 `: Q+ c5 }
  60. drivername = MySQL中% g+ s1 l% z7 B3 s; @6 q
  61. 数据库=测试
    8 @9 I" }' q/ E: c+ ?- k1 _/ _
  62. 主机= 127.0.0.1
    9 a% Q. S- N8 Q% K1 Q  {* @% O
  63. user_name = testuser + k& }0 y4 ?+ ?) `. o; e
  64. 密码= my_password 5 E9 L  N! W5 r' b1 s
  65. getdriverfunc = getsqldrivermysql
    9 Z1 G, C$ N6 g* F. i
  66. vendorlib = libmysql.dll在; Y: f0 V6 g# n1 i  o
  67. libraryname = dbexpmysql.dll
    & |& m% h9 S2 M
  68. 积极= 1 7 H9 t, K0 E) c7 f- {2 q) E" K
  69. ---例如---- 1 Q  g) }0 Q% i! }0 s
  70. -写在0 2.03.04由p wk.linuxfan+ E6 r. E/ N( o8 d9 F0 R
复制代码
发表于 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 words2 _$ U, C$ f9 P6 C& Z

7 t. K! x' |2 O+ rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-23 01:37 , Processed in 0.102073 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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