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

3210 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! i/ P  M# }4 Y% g6 H) b4 X

& k6 Z9 l- P9 S+ e  h- B

  1. $ W& D  n$ w5 E8 h: z8 y" f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 t7 t, \7 f* i* _4 f

  3. ( A6 ~3 E& v- g8 F& {& B9 q
  4. ### What we need ###+ t* t* Y5 S* I3 D! u  _6 x+ u# u0 L
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) P% k  r+ C# b6 J3 L- ?: ]
  6. will not explain how this can be done - there are documents out there for the   ]# a, A$ k# U' k+ }
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " F8 l0 M+ u0 d" O# ]9 s
  8. and a user account (username + password) that has the permissions to do stuff
    / m7 O4 c. N: l$ h( w
  9. with the database. Additionally, you will need a vendor library installed on the$ m) X$ A! t- N& q: l3 s% q
  10. local machine, this came with my MySQL install.! Y0 z8 m. J& T% J; k& A2 Q
  11. These instructions will not tell you how you might transfer your data from the
    1 [  S# \/ j4 |+ [, e. {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 y6 W6 R+ _4 S4 X# S
  13. database.& T" ~, G  e; r1 N" ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 i* l' o, i2 T" n6 z
  15. the time of writing, there are still too many issues - check the current status# m( \) ?8 j" q% V$ m  K6 H! f
  16. in the TeamSpeak forums if you are interested.
      k' o" D0 p  k8 [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 `& j- N' p1 K' ]( r5 k
  18. Borland was used. This driver can only interface with the client library that 3 C( h/ v4 q' Z. m4 y+ _) G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( Z( Z, @. Y. T" S, w. w7 a5 n
  20. client library - basically all you have to do is to use a 3.x client library as - F' K/ \+ F' V/ X/ ?8 H
  21. "VendorLib" and a 4.x database to connect to.
    ( r& q  u' v9 j' |
  22. If you need more info about dbExpress, you can contact Borland.
    3 N3 }6 H3 K1 R1 `+ e

  23. 8 @: v, T- E( {8 B& |0 I
  24. ### Doing the work ###
    ' R! q' a+ x# o9 `3 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - y$ V- L( T" _9 ^( D" c
  26. the perquisites right, just open your server.ini file, and add this section at/ N0 y: J" i- M4 o+ W6 M6 N
  27. the end:  v' W0 E" n) n4 c* ]3 e
  28. ---cut here---* a  ^) L/ e7 V
  29. [DBEXPRESS]8 W3 K5 D5 d2 I; j
  30. sqldir=mysql_sql+ V7 f, q; X! A, R2 ~" o
  31. Drivername=mysql
    - l3 }) P# M0 n2 j
  32. Database=Your_Database_Name_Here. k1 U! Z  b8 V# W" e+ Z; Y( a  H# l
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 z7 O5 B# ^) X0 ?; g; ^) [
  34. User_name=User_name_on_the_MySQL-Server% V* ], e( I. j/ t; E
  35. Password=Password_to_go_with_above_user_name: j8 R  S5 M" w0 y! Q: p
  36. GetDriverFunc=getSQLDriverMYSQL
    ; e# Z# s2 v" M3 a' @. T7 |+ P3 ]5 S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib0 e  J; X$ S! f9 o: z
  38. LibraryName=path_to_libsqlmy_libary
    7 g" Z4 f/ j" C4 O$ o
  39. Active=1) Z/ X7 G/ d+ V( Y& R
  40. ---cut here---' Y0 A* u$ ]4 ^1 `3 X% Z& M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) x% [, @. U6 n0 p! ], n7 I
  42. ---example---
    7 ?. G+ V8 y7 h1 B. G, W* Z+ O
  43. [DBEXPRESS]8 `( K! U) A6 h- I- G% |
  44. sqldir=mysql_sql
    9 F4 q# s& f( D) E, W4 Q1 }
  45. Drivername=mysql3 S9 L+ }5 r- V( B
  46. Database=test
    8 z9 R9 l- N/ L. R' C/ R
  47. Hostname=localhost
    : W: i4 H0 b/ r0 }4 K- e6 M' s
  48. User_name=testuser# s9 d4 j: p% y  _; \3 D
  49. Password=my_password5 ?% o, Q3 ?+ U
  50. GetDriverFunc=getSQLDriverMYSQL
    % @+ g8 x7 t& z: A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) _4 F8 z! J/ s; l# r
  52. LibraryName=./libsqlmy.so
    9 H. g! w( f+ _% ~9 Q1 Y" `! O
  53. Active=1
    . X( E3 K6 N9 d# b) z
  54. ---example---
    % J$ ^- y5 s. r; ~4 {

  55. " {% t5 E# ]  U* a9 O
  56. On a windows box, also running the MySQL server locally, it would be:
    5 n( K: P+ E9 n3 |. f3 v
  57. ---example---9 ^) Z! }: w$ q) m! [3 V; f: Y' u/ }
  58. [DBEXPRESS]
    / [4 \, M& m& I6 X4 {
  59. sqldir=mysql_sql
    , Z+ P! \4 u4 j( G& i
  60. Drivername=mysql6 D) u& }* i8 H: R
  61. Database=test
    " ?* ~7 R4 z: S6 P* u, P
  62. Hostname=127.0.0.1  R8 z: V3 k" e6 a/ S, h
  63. User_name=testuser& E) Q! u- w# M
  64. Password=my_password8 _; v' s# e6 D, {: ?7 G* t" `
  65. GetDriverFunc=getSQLDriverMYSQL: v) U/ O, H) q2 ^
  66. VendorLib=libmysql.dll# r5 \$ s1 H0 J
  67. LibraryName=dbexpmysql.dll4 x3 O- ?) A1 i# P* @% p
  68. Active=1. {1 t% {( ?5 \3 m
  69. ---example----% Q. x% _' ?  l! i' T
  70. - written 02.03.04 by pwk.linuxfan
    4 t: e" w$ W. v; ~

  71. 0 g" a* A0 q/ P) Z% }0 B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 ^4 e( c0 u1 |9 m9 n1 {

  1. 7 H. f/ U4 U4 d* b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * {3 `8 ?% p$ ^/ l
  3. 2 n5 f. H7 Y2 G# m8 y  _4 c
  4. # # #我们所需要# # # ! H, Z7 {5 c% ^0 z5 b! r+ y7 u! U& B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% D0 q0 J' ^$ ]: M
  6. 不会解释如何做到这一点-也有文件存在,为# a7 K8 O8 o1 I  I# @+ S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - A/ T' c; L  h9 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" F( {) u" v( _% I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ ~5 t+ S: L8 b& Y, f( k' r' _+ [
  10. 本地机器,这是我的MySQL安装。 5 @1 n1 l- y0 \' f# y" A4 Y; t: Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' W# O/ m# _7 J. C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : O7 e* ~+ a5 g3 }; |* `' c/ X
  13. 数据库。 0 t3 T" H3 o' E/ T* @' k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 C& v; w6 w' ?% j* P
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( q& h4 j$ r+ \
  16. 在teamspeak论坛,如果你有兴趣。
      n0 f: u) F* x+ B) F( x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- `1 _! G" s. ?/ ?& }3 r7 c# u
  18. Borland公司使用。这个司机只能界面与客户端库
    - S9 Q$ y2 j  w- Q6 C% t4 c8 b! @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 H! T; G* L/ w. k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * `8 {3 R% n% V7 ~  k
  21. " vendorlib " ,并解数据库连接。 ( f5 d$ `8 D8 @" z/ [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 l: E0 ^( ^  z) W0 M% p% |

  23. + H: a1 f  H$ h- i: D- Y
  24. # # #做好工作# # #
    , S  r. r. w& K! ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 F1 c+ x! f& j3 C& B. u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, h! X% w# l2 B: n% }" n
  27. 结束: & S$ H) U* {& q- @
  28. ---削减这里---
    5 f  `' G# |4 m# n+ U; P
  29. [ dbexpress ] ; Y$ N1 i, r1 |+ v
  30. sqldir = mysql_sql ) B& E, {' v) R
  31. drivername = MySQL中
    , Z2 ?" n! J0 p/ n
  32. 数据库= your_database_name_here ) }# \/ A" Z2 w; D
  33. 主机= the_pc_the_mysql - server_is_on
    ! ~0 z+ s. u* y' D/ S7 k
  34. user_name = user_name_on_the_mysql服务器
    6 j- S' [" _8 ^
  35. 密码= password_to_go_with_above_user_name
    - A/ ?: C5 k$ \6 T& x3 P
  36. getdriverfunc = getsqldrivermysql ) R  r, x2 p# S7 w  b* V. L7 K2 M% z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   v% d; m$ Q) W; R: q( a+ _) G
  38. libraryname = path_to_libsqlmy_libary $ X  d+ Z! p. t5 g( Q% y' r* `9 b6 X
  39. 积极= 1 ) b9 ?3 k- E4 P; n
  40. ---削减这里---
    + T5 l( U  M5 o# [; V3 F/ s0 O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    & G1 s! b& O/ l' O1 i7 R* L- b
  42. ---例如---
    1 S5 ?! ]  T  I2 G3 n/ F
  43. [ dbexpress ] 3 B0 j; l' w; O: j$ D
  44. sqldir = mysql_sql
    - R3 E: X5 u# M5 e5 [% [: e! A
  45. drivername = MySQL中" [4 V! y/ M/ A1 u3 Z/ }
  46. 数据库=测试
    # @+ ~4 \$ D- J6 ]# L
  47. 主机=本地主机, d' N2 c  W4 j1 \
  48. user_name = testuser 9 N2 ^- M) ^, V( s$ A0 R+ P8 K
  49. 密码= my_password 0 x! z( U+ P, p" T7 n) ^8 E# g
  50. getdriverfunc = getsqldrivermysql
    6 b: Z8 C  l& i# o& ~* M; P! d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 @8 O9 L& S  e9 p) Y; d6 C; ~
  52. libraryname =. / libsqlmy.so
    0 ?4 {% P$ e+ ~& Y' {3 N! t
  53. 积极= 1 : p% [" U% O( }; M
  54. ---例如--- 0 Y* F# b) x8 |( Q% @6 u2 j

  55. 6 b0 e8 v* c, ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( z# g% Z' E0 X) h, b6 G+ X% V
  57. ---例如--- : K$ L  \1 I7 N, N: E
  58. [ dbexpress ] $ _$ p( i) p9 @8 [7 w$ B) a
  59. sqldir = mysql_sql
    1 v. p4 u5 }2 |5 c/ q* B( ^
  60. drivername = MySQL中# ?! w3 u' U2 m. Z1 w
  61. 数据库=测试
    ; }$ T4 d& G5 m  A- t* ^
  62. 主机= 127.0.0.1
    - `3 y) E1 v" W" S9 E+ z
  63. user_name = testuser 4 z4 z6 |# i  E: v( P
  64. 密码= my_password - m8 C) p! d/ H! @
  65. getdriverfunc = getsqldrivermysql
    9 s, H4 N: |; `4 q
  66. vendorlib = libmysql.dll在* x5 S: t9 r' d: r- Y, \
  67. libraryname = dbexpmysql.dll . }1 |: B& o' R( N
  68. 积极= 1
    ; H2 D8 X9 t4 Q8 D
  69. ---例如---- 0 f7 f$ d! B9 r0 y; L
  70. -写在0 2.03.04由p wk.linuxfan
    ' y) |: x$ y, x
复制代码
发表于 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
  D; F* L! o3 d9 d* Q
# R1 t  Q9 ^& o8 \3 ?but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-23 15:43 , Processed in 0.092681 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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