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

3390 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " \8 B" Y) N8 r! G- D% S
: l7 z8 v% M3 E* {, e8 I
  1. " q8 y- n* g* P4 V4 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 q$ x- O) c' g! ~# x6 Q7 ?

  3. ' j7 J% z: s$ s. ~7 W
  4. ### What we need ###4 I0 v- C- w: E6 w( J
  5. Naturally, we will need a MySQL server to store the data for us, this document , I# G" g7 x- R9 X% g8 n' i
  6. will not explain how this can be done - there are documents out there for the . E" w9 U" R' N9 T" v* x5 H* V
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    # B$ ~  E$ |# L: e4 Z+ Z$ R  ^
  8. and a user account (username + password) that has the permissions to do stuff$ r$ X- r* P- l$ p8 g+ Y" v
  9. with the database. Additionally, you will need a vendor library installed on the
    " I2 t# P9 z0 F3 r: v; p" K
  10. local machine, this came with my MySQL install.( e/ y8 e5 ^9 S) F7 ~0 e* x
  11. These instructions will not tell you how you might transfer your data from the$ K' T% @' K" m1 c5 A7 J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " u  r% ]7 k2 L7 C- X5 B- D
  13. database.
    : ?1 _9 k6 N& U% d6 @% S
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 G9 p# A: I. n8 N+ R: d4 P1 B
  15. the time of writing, there are still too many issues - check the current status
    * U( v: G) S- e, {* U  Q
  16. in the TeamSpeak forums if you are interested.
    7 s$ s7 D1 j& @+ ?& y/ K9 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. I* c6 J* P/ o; b
  18. Borland was used. This driver can only interface with the client library that
    . B/ a- v4 f, R; e1 U/ o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- ~  X5 B' k+ E
  20. client library - basically all you have to do is to use a 3.x client library as
    5 S. l  v$ A0 \$ b- G
  21. "VendorLib" and a 4.x database to connect to.
    & r! L0 ~/ U  M! L$ k( V* u
  22. If you need more info about dbExpress, you can contact Borland.
    7 b  c; S5 w' m, x
  23. , @, A5 t6 H, ?2 s5 A
  24. ### Doing the work ###
    8 g! g4 q: Q) W+ [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 D" ]. Q* i! u( @- ]3 B! M/ g
  26. the perquisites right, just open your server.ini file, and add this section at
    8 e' S7 W0 J. m, b: J
  27. the end:1 M& B; g: Q1 v+ ?# F# X
  28. ---cut here---
    5 U! g* ~& T  F3 L
  29. [DBEXPRESS]
    ( l/ C# v0 T" M
  30. sqldir=mysql_sql0 R) {: m2 N3 [: L6 G1 m
  31. Drivername=mysql1 q5 A9 O" o- D% P" {4 Z0 H+ N
  32. Database=Your_Database_Name_Here" i& [* P# G, [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - |( ?' h5 X( P& d8 D
  34. User_name=User_name_on_the_MySQL-Server
    , w! k/ B  [4 a$ _; R& m# s/ d
  35. Password=Password_to_go_with_above_user_name
    5 J+ I& c6 Y1 [: ^0 K4 }
  36. GetDriverFunc=getSQLDriverMYSQL8 d& H; K( }3 j% `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. O" d$ v2 y  g# O6 |# Q/ M
  38. LibraryName=path_to_libsqlmy_libary" ]& A! r6 u4 B8 _
  39. Active=1( Z) O6 t6 ]) o$ m! U- O
  40. ---cut here---6 o) A. o% L; H7 K' u7 m: P- t
  41. In my environment (a linux box with a MySQL server running locally) I have:, ?/ d/ C+ n& v( @
  42. ---example---
    9 p. C  w' ?8 @! H5 Y5 U; B- N
  43. [DBEXPRESS]
    . R" o& g9 c9 ^8 {( D+ I* K
  44. sqldir=mysql_sql
    ! m1 P  l5 m9 y! c7 d4 W5 a
  45. Drivername=mysql
    4 X- G1 {, b, K: m- s
  46. Database=test& j  G# J0 M7 B3 S3 }5 I
  47. Hostname=localhost. r) r* `8 n% ]- H/ x2 x5 n
  48. User_name=testuser) x  X5 T# H' S% v" q
  49. Password=my_password
    ( d6 F: O1 x/ w
  50. GetDriverFunc=getSQLDriverMYSQL
    " |" y, U+ W! Y# y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, K4 }$ K9 C) \( X( q! s* o
  52. LibraryName=./libsqlmy.so$ f! s8 `' v; @( y8 R% s
  53. Active=1( X5 I& @4 I5 ?$ q
  54. ---example---
    + D/ l1 t) S0 T! ^4 N& g! ^

  55. 6 v7 v0 c' P$ y- b* D- Q( E
  56. On a windows box, also running the MySQL server locally, it would be:
    " U- T/ Z% K. l! U
  57. ---example---6 n- u! P6 W" X9 s7 g2 w9 L
  58. [DBEXPRESS]( g6 `+ }5 K" j
  59. sqldir=mysql_sql
    ) e. ]7 u  V5 X0 K
  60. Drivername=mysql' C/ P0 Y8 z/ k) ]) |1 v% f/ R, q
  61. Database=test, \' N; }) S/ C2 M
  62. Hostname=127.0.0.1
    3 A& Y! f: B) Q/ {1 k" g5 P
  63. User_name=testuser8 n2 ~1 p3 j) o( E- o
  64. Password=my_password7 e1 X# m, G- g( r( w" l; D; ?4 C; h* ]
  65. GetDriverFunc=getSQLDriverMYSQL
    / N& W. [/ L# l2 E. [
  66. VendorLib=libmysql.dll
    # S; v& ~/ G: o* I& H
  67. LibraryName=dbexpmysql.dll# V8 I8 i; R9 p! n" F$ k" k5 _
  68. Active=1
    $ F1 l, p. L' y' o4 ?
  69. ---example----
    * a- d/ m  ~2 J1 [+ w
  70. - written 02.03.04 by pwk.linuxfan
    . b( c3 U' X) K$ ~) S  o
  71. 7 f' v2 l3 q- i: F5 X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 N! R" M' P6 I. D, y, f5 ~
  1. + D* ^) b: v6 a  j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , u, S+ N  j4 e7 j3 o; u

  3. ) ~0 Y9 a, w. F+ E0 }" ^
  4. # # #我们所需要# # # 2 u' f5 b4 [- O0 B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 M, Z8 d/ i7 d" F, |6 F$ h, e) F
  6. 不会解释如何做到这一点-也有文件存在,为: l  m( b/ ^( ]4 ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 w0 V' D- x/ F8 p% l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' n  e+ o  i. v' y4 a  w4 P2 k% t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 d$ f$ f& K5 u& v" L/ W$ ?  N# i
  10. 本地机器,这是我的MySQL安装。 4 R8 _7 B% }* v, x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 W% y$ x9 [" I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; F  Q  o1 I8 P9 w
  13. 数据库。 / M  C: J: d& h6 d( f$ a0 D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 n. |. I# ~/ l, v) y6 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 u% P. R7 M# F# j) J9 D5 b/ x
  16. 在teamspeak论坛,如果你有兴趣。 , s. n1 t! X# \7 P. a8 \* T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! g0 X+ K$ K/ Y4 t# m
  18. Borland公司使用。这个司机只能界面与客户端库& o5 D4 u, y5 y4 Y7 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 g. d2 N$ k; B9 q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 k6 }% F2 T, k  A* n
  21. " vendorlib " ,并解数据库连接。
    . }' i3 z# W9 [* B7 X2 A. R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; s) e4 {' R6 Z

  23. 5 w0 |  |: u0 T1 T* L5 A4 i
  24. # # #做好工作# # # 2 c& @% D0 @* o0 S% A0 V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 S( l/ j; e( Q4 A4 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 V! n1 i6 b: [- B2 [
  27. 结束: 4 M1 s( O+ C! Q2 i! X, \
  28. ---削减这里--- 6 J3 ]1 {. d% C- H8 h- ]- H
  29. [ dbexpress ]
    # n8 K/ B5 M$ H. O) U; U8 [
  30. sqldir = mysql_sql ) G! E, d2 m. ^. ]1 V/ C1 |1 W
  31. drivername = MySQL中
    & O' o: ]# H: B5 _/ I1 [
  32. 数据库= your_database_name_here , h' T) ]! H5 r3 [2 d
  33. 主机= the_pc_the_mysql - server_is_on
    & r8 _% c% X2 a( X, \$ |7 O
  34. user_name = user_name_on_the_mysql服务器% K' V$ e% [9 A# l1 V- _6 \
  35. 密码= password_to_go_with_above_user_name : \3 L2 q) j0 v
  36. getdriverfunc = getsqldrivermysql
      x% H3 f; h( ^; H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 b+ U, H+ r4 ^9 @
  38. libraryname = path_to_libsqlmy_libary 0 K5 N+ y' V0 \% }
  39. 积极= 1
    # b1 [; p, J$ W! R  |
  40. ---削减这里---
    ! a& L% r6 b  g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . J" P+ G& O. |; G9 n2 e8 ~7 c
  42. ---例如---
    # l& A2 A, ^. o+ X! c2 Y! k
  43. [ dbexpress ] # ~6 K7 j' u  B- ?9 P8 p
  44. sqldir = mysql_sql + s$ a: m, ]8 j7 Z) G- w" P
  45. drivername = MySQL中; y" Z1 L1 W3 ~- o
  46. 数据库=测试
      O* [* P/ \. p
  47. 主机=本地主机
    # q2 j* T& k' Z4 u; `4 x% F
  48. user_name = testuser
    ) k7 n# l* _. ?( k1 H
  49. 密码= my_password " u3 Y( X; S0 D, j
  50. getdriverfunc = getsqldrivermysql
    / p, L0 _) Z) e6 ?1 `; L' i1 n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : U5 W  E: \9 p" L* H
  52. libraryname =. / libsqlmy.so
    9 {# M6 i- v# W# x
  53. 积极= 1
    ! |# h6 B; u; b: _) v6 @1 M0 V
  54. ---例如---
    8 L2 n- \; X7 Y; w6 |6 v/ r  F: [
  55. 9 Z( e) ~' Y$ o" M+ S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / l" b4 \6 A3 \1 P5 X7 [# U, L
  57. ---例如--- ! F) O2 ~* p  x7 B+ f
  58. [ dbexpress ]
    , J. v+ h% A$ p; }7 n
  59. sqldir = mysql_sql : P" R3 O3 t0 E2 x
  60. drivername = MySQL中
    , r9 j  _. n) X5 E7 n' g
  61. 数据库=测试+ V+ e! [/ @. M  F
  62. 主机= 127.0.0.1 * Z6 b" K% X2 e
  63. user_name = testuser % g, q5 o$ ~0 `# D  X$ E
  64. 密码= my_password   m/ P5 h7 L/ U
  65. getdriverfunc = getsqldrivermysql
    6 B$ N* d1 W3 x: `/ s) c! N
  66. vendorlib = libmysql.dll在
    ' r8 V  Q% L# Z: w0 d; X4 W
  67. libraryname = dbexpmysql.dll
    9 P  Z( o8 d) n5 g$ `8 w" @
  68. 积极= 1 + a( Q# T: \, c& J5 K) e
  69. ---例如---- / M3 Q& q4 o. t$ }, F% t
  70. -写在0 2.03.04由p wk.linuxfan
    8 N( m5 o# x( c* F' M% E' |8 c
复制代码
发表于 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
/ i7 U2 N! U7 z
8 K; I% k& B; }1 V: c4 d- sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-25 08:41 , Processed in 0.369978 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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