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

3048 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. I+ Q  T/ N9 E5 R; }8 _
3 O1 N, j- f8 w# Z# m
  1. 3 Z5 _% N6 i) E/ c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    " D1 J1 K  U, M7 V- j/ S

  3. $ ~8 X. d$ Y( N+ W# g
  4. ### What we need ###; G+ Q+ g. T$ g' P8 a) T
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 ~% }0 K2 I9 l1 g3 ], F9 s& Q" R
  6. will not explain how this can be done - there are documents out there for the $ d! |* ^! z1 {) t
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ `& ~6 z% i" C/ j$ A: y4 D2 t
  8. and a user account (username + password) that has the permissions to do stuff
    & z$ M- d* |; `3 f$ h! N  K
  9. with the database. Additionally, you will need a vendor library installed on the
    # @8 p! q  j- z4 T9 O
  10. local machine, this came with my MySQL install.
    , f' y& R% r5 |" T) D
  11. These instructions will not tell you how you might transfer your data from the
    ! ?' P" F7 V3 F- C9 K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ f7 k. `" U) p' K+ p2 d9 ~: Y( o5 V
  13. database.
    0 m3 |% Q! D8 ~4 H: O6 F2 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 o7 ]  \+ V8 }& N, b( x4 I
  15. the time of writing, there are still too many issues - check the current status
    ) }  Z. s* `  ]# f! W. C8 K  `5 @$ v
  16. in the TeamSpeak forums if you are interested.7 m) x3 T$ e& V2 p+ j; B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % J% V; X: W/ H+ T3 g! a. }1 D8 d
  18. Borland was used. This driver can only interface with the client library that * p# ]! T- }+ u1 D+ E  s+ \/ W: _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ O$ L% x1 s  U5 r+ E( K7 a4 _
  20. client library - basically all you have to do is to use a 3.x client library as
    * C/ r% t/ r- {; J, O, R
  21. "VendorLib" and a 4.x database to connect to.4 w3 V& v: g+ D
  22. If you need more info about dbExpress, you can contact Borland.1 X) \8 T& Z* m9 i: D$ {3 C

  23. 5 r) t2 Y7 p. F0 O
  24. ### Doing the work ###) a8 i+ G; n' F: S, v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 \9 C0 q. P9 O+ T" ~8 |5 n6 O( j
  26. the perquisites right, just open your server.ini file, and add this section at; i6 P( Y8 P5 }/ A0 C* J
  27. the end:6 G% M  F. Y5 m) v/ O
  28. ---cut here---
    ( _7 m3 B  ^, q2 r- B
  29. [DBEXPRESS]
    ' q0 t/ M$ |' X* D7 w$ Y% e% g
  30. sqldir=mysql_sql
    8 K$ D/ e: k+ H  J* t3 ^) F+ n7 T7 O
  31. Drivername=mysql+ g* [- ^: i+ d. T* X6 U8 D2 N
  32. Database=Your_Database_Name_Here
    - A7 L9 B* O2 Y9 ^1 F! m4 P
  33. Hostname=The_PC_the_MySQL-Server_is_on) O1 V- m% a; ~0 M
  34. User_name=User_name_on_the_MySQL-Server
    + K8 ^' |; G2 h2 b- `. L" a; F( J
  35. Password=Password_to_go_with_above_user_name8 q5 Q. f, W% p; k7 s3 m1 Q5 p
  36. GetDriverFunc=getSQLDriverMYSQL
    7 a5 S5 v% L2 y2 ~7 P% B8 ^' L! e! Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  j* q/ D: N/ }! l+ s
  38. LibraryName=path_to_libsqlmy_libary
    1 s' l6 A. V  }4 F
  39. Active=1: h7 r! R1 N1 y
  40. ---cut here---$ J8 f) u5 o7 }: C4 L
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . ^* ~/ k, [0 ]( ?1 d6 l3 X
  42. ---example---
    # I8 ?' L, K0 `, l
  43. [DBEXPRESS]" Z7 P# B9 P9 z# E2 X/ y" p
  44. sqldir=mysql_sql
    8 K' i3 ~% `7 K! k
  45. Drivername=mysql6 j8 @5 L+ I; Q! ]( v
  46. Database=test
      S, a, F4 j* v8 P  K
  47. Hostname=localhost
    % M5 D. G. }9 K. L7 y$ x
  48. User_name=testuser* H' ?+ Y+ z* W, t# p; g6 j" T7 c
  49. Password=my_password. w; y9 D. ^2 |+ }9 Q& h
  50. GetDriverFunc=getSQLDriverMYSQL
    ' L4 c& A; M- f2 y& l8 _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 u0 y8 U4 f7 N4 d- [, Z" K
  52. LibraryName=./libsqlmy.so: G( p% Z' S0 K
  53. Active=1
    4 j+ A3 c% c2 z9 F; ~; y
  54. ---example---# j# E  j4 z% c) c4 }
  55. 5 m# A/ W$ ]% m) T
  56. On a windows box, also running the MySQL server locally, it would be:
    4 Z$ F$ q$ }$ f7 v& y! R
  57. ---example---6 w- y: `2 y2 A% A( L; P
  58. [DBEXPRESS]0 H8 a  s  ?' }: _
  59. sqldir=mysql_sql- {" I1 g' ^; l- }3 z/ `
  60. Drivername=mysql
    8 I9 T& g6 U+ Y2 D* E
  61. Database=test, l" u! z- y8 y" N2 V5 l
  62. Hostname=127.0.0.1
    9 k6 v4 D6 B& i+ A( ]
  63. User_name=testuser
    2 T0 _6 q- H* {
  64. Password=my_password
    - \. G2 X$ W3 O. l0 E3 I7 y
  65. GetDriverFunc=getSQLDriverMYSQL5 u& O  ^' v, f1 S2 a8 ^
  66. VendorLib=libmysql.dll+ D2 F# j: J. L4 d9 y. C0 F
  67. LibraryName=dbexpmysql.dll
    + T. W7 [' a' ]* C: p
  68. Active=1
    * o& s$ x7 v/ X& P7 J
  69. ---example----6 W; ?- U# O$ r. z
  70. - written 02.03.04 by pwk.linuxfan4 s. T, X5 w$ ]5 c# j

  71. 7 \+ z! E" c4 ~, ~, g! K# f( b4 H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 Z& @7 Z3 q9 D+ t& E, c% S9 ^
  1. ( r1 [) q9 M6 B3 G& y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 P% F) P& G7 a" D. H% }% a9 t9 j; j

  3. - \, Q- h1 s6 N9 p. ]! F+ ^
  4. # # #我们所需要# # # 0 l# t. c7 G; d9 L# K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ @. O; \% w/ _& G# D. F
  6. 不会解释如何做到这一点-也有文件存在,为
    ; z6 _4 e6 q' H# @+ ~, a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& x; H  K9 E9 z2 w5 @% O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 a( Q3 W# @, `9 M( e0 n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 e/ S7 }' r6 ~
  10. 本地机器,这是我的MySQL安装。 ' C4 ^6 z+ h9 T6 A+ Y& J8 C' N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 o9 ~, w3 Y* g" v: P. ~- \. {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' n% Y7 P/ Z7 u( ^, h# S2 f
  13. 数据库。
    : w# m) }# N( p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 D" M# x# x( |9 L+ y! h, x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * w4 I4 W( g5 j9 u; k4 f! M, K
  16. 在teamspeak论坛,如果你有兴趣。 ) \- j. b7 r* f' l5 S0 T- ~, _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 y% q" i) ~  G
  18. Borland公司使用。这个司机只能界面与客户端库- y/ }' N2 L  ~% ~1 K) @& g9 g/ R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. @* v2 C9 [2 M; n1 W0 T) E
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( B: y$ P2 w+ ]5 g- Q
  21. " vendorlib " ,并解数据库连接。 ( ?, q2 R, h! m2 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 u0 M* P7 \9 u# s' ~
  23. + j0 ?# H) \6 O" q
  24. # # #做好工作# # #
    7 S' y% m( H: b2 ~8 a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, ?9 b2 t- t: |8 i2 {! W$ p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % I2 |6 D) e$ B" V7 C7 t, q' u
  27. 结束: $ _+ q$ v% [5 t# M
  28. ---削减这里---
      @' o7 L. C4 p  b  e- y. P) Z/ M
  29. [ dbexpress ] % Z! Z1 t! f/ y  Z
  30. sqldir = mysql_sql 7 G: [% J" k9 L% {9 B# n
  31. drivername = MySQL中
    2 F* _' ?# J5 x9 Z& Z; S
  32. 数据库= your_database_name_here
    % D. L8 d9 N4 X
  33. 主机= the_pc_the_mysql - server_is_on
    9 x" e+ D# }9 Z/ q
  34. user_name = user_name_on_the_mysql服务器& N& |' H- t$ S0 r1 _8 k
  35. 密码= password_to_go_with_above_user_name
    8 X( j' s# z# A9 x% o" M$ _
  36. getdriverfunc = getsqldrivermysql
    4 _( o- t: C2 k/ V( W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 y7 r( _  j! ^& [' T" f+ w; c% ?
  38. libraryname = path_to_libsqlmy_libary 4 O& ?; @/ V$ \8 r7 p# Q- q- u
  39. 积极= 1 $ P  Z. l( m8 e  I! ]6 F" R
  40. ---削减这里--- ' @6 c, r5 w1 e; l9 M- }" q. Q3 O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . r  Y, k: D$ {9 W
  42. ---例如---
      r0 \& r0 r& o5 e/ E. H
  43. [ dbexpress ] 5 [! p% @  w8 Z% W0 Y/ }7 l
  44. sqldir = mysql_sql
    2 ~* j  Y# a8 K# A3 h
  45. drivername = MySQL中
    3 M- H0 {9 B0 P1 G& U
  46. 数据库=测试
    6 O* m5 D. ~' j2 b1 m
  47. 主机=本地主机( S4 g+ W$ i* v# L. j' _
  48. user_name = testuser
    ' b. M) {# W1 a" U8 v9 `2 f
  49. 密码= my_password
    % j5 c7 e7 g' T' K0 p
  50. getdriverfunc = getsqldrivermysql
    0 v4 E2 Y8 V' o8 l5 I/ Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & K, z' q1 F: |- s5 C5 k# w. P9 |
  52. libraryname =. / libsqlmy.so
    ; F# Q$ d- D- s4 J6 G3 j9 U5 Q
  53. 积极= 1
    + Q) p9 L, [! o; G, z" r1 ?
  54. ---例如--- & ]0 E! h; S5 v9 p: p, |

  55. 1 N$ a3 E! i5 P! x+ a  Z8 t
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; G  I; x% N# V+ [% _7 M3 N# D
  57. ---例如---
    + N1 N- E9 Z: n/ V" f  o6 \
  58. [ dbexpress ] % I) i, X7 b! u, p1 f0 n: k
  59. sqldir = mysql_sql - g  _$ ]. P  t, Z% h* R! p* \
  60. drivername = MySQL中
    ) M. z' o8 C! R! W0 f
  61. 数据库=测试
    0 \& Q* @7 [3 {9 X& n! P  b
  62. 主机= 127.0.0.1
    5 Q" {# `; F! H4 j, o+ N3 S2 `
  63. user_name = testuser 9 s4 T; C& _! ^: ]5 B# P
  64. 密码= my_password
    6 v, Z' f2 L6 c# d7 m. T8 z
  65. getdriverfunc = getsqldrivermysql 0 f, N. t/ G( ~; @
  66. vendorlib = libmysql.dll在
    3 ~; C, [- a# d! K: I( D
  67. libraryname = dbexpmysql.dll
    0 P2 D7 x* ?6 K4 Z
  68. 积极= 1 . r* Q, Z) X. e7 Y1 ~
  69. ---例如----
    1 y( c' b0 ^+ a) w
  70. -写在0 2.03.04由p wk.linuxfan
    % k  \* c# ]  p! J) d6 S
复制代码
发表于 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
6 A3 e+ w5 j3 K- |
2 h/ {" N  C3 J5 C7 a- w2 a7 y2 Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-20 19:44 , Processed in 0.103570 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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