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

2949 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . U6 ?" J& w' }2 O
" `+ u6 i# @9 R. B6 p5 E3 Q

  1. $ M" c, M9 _6 X1 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 ?* `% g8 }' c$ Q5 I, m" |! Y

  3. ) l3 U/ l, Y% Q/ J/ j& T- R
  4. ### What we need ###
    $ {) k) x* o% v  V* y! `6 f
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 c2 z; a8 v( t( \8 y8 b0 N  r: O% e
  6. will not explain how this can be done - there are documents out there for the
    - g, ?4 O( w8 s9 @: v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + q6 u, Y) w) O8 b8 j
  8. and a user account (username + password) that has the permissions to do stuff: H/ ~% R$ C* u+ z
  9. with the database. Additionally, you will need a vendor library installed on the
    8 Q! j" O7 Z& s' F
  10. local machine, this came with my MySQL install.9 ~4 N; `! k5 |" u
  11. These instructions will not tell you how you might transfer your data from the
    ; u' S* J. f. g& }6 F& o8 }+ F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; y5 @$ }+ }4 k2 U* x' V! F
  13. database.% w  Y$ m& e( v9 l' V4 W5 o
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) N% [" \( s8 M) q& r/ E
  15. the time of writing, there are still too many issues - check the current status6 e3 R* _& d: Q
  16. in the TeamSpeak forums if you are interested.
    6 n* n; L5 E5 r0 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / S0 x, Q1 Z" c8 z8 E; }  n
  18. Borland was used. This driver can only interface with the client library that ' J6 D4 j/ Y  G) Z1 z5 R) i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 t. w, s) H) E# b
  20. client library - basically all you have to do is to use a 3.x client library as
    " W8 w8 r8 S8 b$ @, e/ T/ G" D$ F
  21. "VendorLib" and a 4.x database to connect to.% F, c7 K( q4 k5 B. T
  22. If you need more info about dbExpress, you can contact Borland.4 l/ v& X$ f) ]" P' L7 s

  23. ! w: m! O+ t; M7 o7 J" {
  24. ### Doing the work ###* g4 e: q# l- d  d3 l% B1 j6 j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% K0 u' [8 q: d1 e9 A- e3 @1 m
  26. the perquisites right, just open your server.ini file, and add this section at# u7 O7 s* m( w# b; \/ g
  27. the end:7 W# m+ ?) C0 o4 S" e
  28. ---cut here---- h+ f9 l  Y' p/ Z& W& Z
  29. [DBEXPRESS]8 O# s9 Q9 [/ ^, x! t8 g# o
  30. sqldir=mysql_sql" w( P$ H. w3 S( P$ K
  31. Drivername=mysql
    ' ?3 g2 Q( S7 j5 i7 F
  32. Database=Your_Database_Name_Here
    0 j; F9 s1 s& e
  33. Hostname=The_PC_the_MySQL-Server_is_on+ p4 a! \' }- M9 a6 R& H+ [
  34. User_name=User_name_on_the_MySQL-Server% Q2 ?5 U' M! Y
  35. Password=Password_to_go_with_above_user_name( f0 P6 O0 b0 H+ r2 h/ x) S
  36. GetDriverFunc=getSQLDriverMYSQL
    % z: E% O/ \! p5 \! i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * d9 K$ F; P* z2 a6 q, S# o! X: u
  38. LibraryName=path_to_libsqlmy_libary' A% L4 j9 u$ h; J: |% V. u
  39. Active=1
    * k# m  H. Q6 }& j9 z9 I" I
  40. ---cut here---
    : d) z1 |9 l3 n/ m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 D( m- b" q9 A" g3 C
  42. ---example---
    - D* l4 L1 W4 H
  43. [DBEXPRESS]
    ' y  {3 m& Q2 }1 z* F8 `/ d! d
  44. sqldir=mysql_sql( @7 s# e. i* P4 t
  45. Drivername=mysql2 W' ~% f! j' d! Y, S
  46. Database=test4 l5 \6 ^8 M9 x3 _1 u) [
  47. Hostname=localhost/ `+ v' t" A9 X+ e
  48. User_name=testuser
    1 T2 R: s4 @- c) \# T( i7 f
  49. Password=my_password( g; O6 @! G$ S( b9 `
  50. GetDriverFunc=getSQLDriverMYSQL0 x- @  s" m8 u, O7 r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 a/ B& O$ R  U+ i: ]; V7 W; I. s; k
  52. LibraryName=./libsqlmy.so
    / m* P' y  k: I9 G/ V
  53. Active=1  _2 ]- V! o% }% H2 c
  54. ---example---, B) i% ^4 P' E1 C8 k6 U- p
  55. : C* D: Z, W8 y1 |$ s* ]( l
  56. On a windows box, also running the MySQL server locally, it would be:) t- X7 e9 L' M% e3 e, ]% w
  57. ---example---
    ' d2 h8 @+ |5 T+ j$ g1 Y( S
  58. [DBEXPRESS]
    / B, B( w% K) ~8 o: b! Y7 |
  59. sqldir=mysql_sql5 g, ?3 g$ Y5 i$ u# F) ~  B/ K+ E, n
  60. Drivername=mysql
    5 T8 p" g0 q) `/ N1 d2 q, v
  61. Database=test3 J& m/ R* a, C, l, V+ w9 B
  62. Hostname=127.0.0.1$ H( W5 a5 T# R0 ~) C: `  J
  63. User_name=testuser+ i3 L) @5 \  G0 @
  64. Password=my_password
    ) V* r& H. y- b4 A( d! e% |
  65. GetDriverFunc=getSQLDriverMYSQL
    ) M0 D% Q$ s4 X* F5 C; `* B
  66. VendorLib=libmysql.dll& h# B. K7 c; A8 O& |  B
  67. LibraryName=dbexpmysql.dll7 |  T+ i: R5 O7 g, q! R0 f0 }: X4 Q
  68. Active=1( V0 u8 Z7 `4 C7 ]6 ~
  69. ---example----
    + {' M2 u; |8 ]* i4 I& ~) w" f
  70. - written 02.03.04 by pwk.linuxfan8 _  ?# b5 m2 L3 R  F

  71. " u( [* ?/ f" K2 I5 @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 Y! ]9 a" z4 {( c: y% P

  1. % a' G. p& T) Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( J# O4 r' t: R( c6 O

  3. . K# M3 M( {: |6 h+ m* W, J0 @2 ]
  4. # # #我们所需要# # #
    1 r. L3 u8 U4 [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / d, x; ]. n2 `6 [) E0 A
  6. 不会解释如何做到这一点-也有文件存在,为1 \* i) ]# u+ B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 z3 U$ x0 @) u& `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  ?) k$ i% P' x& R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. c6 v9 d' w5 a2 g0 E! @9 c  f- s
  10. 本地机器,这是我的MySQL安装。 / T  y4 F! S" x$ s+ _/ z6 y+ ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ b* K5 \, ^9 h9 G2 n" Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * M3 U  h  M4 @0 l: w
  13. 数据库。 0 Q% x& j; m, W+ r3 B* f+ E& d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . A1 R# a7 O/ ?6 v7 ], Z0 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; ~$ x- Y& Y  X8 w, t6 N
  16. 在teamspeak论坛,如果你有兴趣。 0 U9 O! ~( Q1 W7 p. W" o: Y0 V* J* q$ B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. N9 W- r8 {) P% \. A- F% p% T9 S
  18. Borland公司使用。这个司机只能界面与客户端库2 O9 d# F9 o' O7 P( q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* O- H# H8 q! r! d7 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 `1 Z7 T7 h# j5 r
  21. " vendorlib " ,并解数据库连接。
    7 q8 X4 `/ p0 n: i& ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * |6 n6 j6 P. M7 V; n
  23. ) L# ^  k) R& f& L( Z
  24. # # #做好工作# # # , ~+ P( l, n+ p8 Q4 H; m8 U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / Q; |0 ~% U4 J1 B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ k6 A' G9 @' z) B8 ?
  27. 结束: : d- h2 [" C5 c; u, x
  28. ---削减这里--- ) s  k' p! B! W$ |/ G( A
  29. [ dbexpress ]
    6 o. ^/ R2 V% Q7 b" `: \* \8 U
  30. sqldir = mysql_sql 1 ]7 S7 ^( w7 Y0 o! A" g
  31. drivername = MySQL中% i1 q) L8 i1 ~. v
  32. 数据库= your_database_name_here " z( g% t/ _; h% ]  m0 ^& c
  33. 主机= the_pc_the_mysql - server_is_on
    . G7 M& S; N/ \1 W
  34. user_name = user_name_on_the_mysql服务器
    % u3 Z9 ]9 [* T/ l- ^! W6 V1 f
  35. 密码= password_to_go_with_above_user_name ' z5 z+ x& E1 q1 ?' D' w$ }: `( H
  36. getdriverfunc = getsqldrivermysql   y9 ~6 [1 y! G( h+ o% F3 r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 {. B. t- i$ V* n: a
  38. libraryname = path_to_libsqlmy_libary
    5 m  E. P4 L( s$ q8 d
  39. 积极= 1
      E$ k* n6 r' _( [0 _$ N' o
  40. ---削减这里---
    1 u: D) G) d! A7 d" U9 \% c; v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / z& I% P! A/ F9 o
  42. ---例如---
    - Z" G$ |: M9 U: k' l( |
  43. [ dbexpress ] ! s  U! i8 q8 N/ \2 t
  44. sqldir = mysql_sql
    5 u# W1 @( `7 j
  45. drivername = MySQL中" }6 `9 e* W# F4 {! N; [- Q; |3 G
  46. 数据库=测试$ H0 S! ~* x' {# n' C
  47. 主机=本地主机
    ! q, S6 c) }- z+ B* B% ?; l- \2 r
  48. user_name = testuser
    7 u) r& x$ `1 V4 Y- w  L" L
  49. 密码= my_password
    ' H% d6 s. o/ d( L
  50. getdriverfunc = getsqldrivermysql 2 Q/ X) Q/ v* m( m5 c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / V5 M/ `: `" j
  52. libraryname =. / libsqlmy.so
    ; N/ F+ N) n* P- m& O) Z
  53. 积极= 1 2 J' d& d' o) n
  54. ---例如--- ; q/ Q, n' Z, t0 ]7 A( I: s' \
  55. ) u# K0 J- m& F. _$ w' r8 u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 _( S9 ?; P4 Q7 ~- s2 `
  57. ---例如--- - L+ c" w+ N5 O. n( O( x
  58. [ dbexpress ]
    + T1 V2 B2 }  m) Q
  59. sqldir = mysql_sql 7 S+ J# I- W! p, s8 ~6 B% L
  60. drivername = MySQL中1 U+ C. X3 y# G9 g1 Z' \; Y
  61. 数据库=测试  }2 z* v+ P& J, d$ e
  62. 主机= 127.0.0.1 * s1 z+ {1 M# d9 I5 L% ~, O
  63. user_name = testuser ' z* I# \7 Z& |7 x5 _" x
  64. 密码= my_password 9 |8 b; G3 O" M1 n8 t! b8 W
  65. getdriverfunc = getsqldrivermysql 4 _6 w$ s: S( R  E& n$ O4 |2 p9 E
  66. vendorlib = libmysql.dll在+ F, Z* ]1 h3 _& x
  67. libraryname = dbexpmysql.dll 1 Y* c6 r9 {1 m' a6 O8 Y2 I
  68. 积极= 1
    6 n7 a1 }( J# {) P
  69. ---例如----
    & R$ F, b/ y2 G( G' s. K' U1 m
  70. -写在0 2.03.04由p wk.linuxfan3 [, J  R& [$ S( h6 M
复制代码
发表于 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! S+ ?5 A, H2 J8 e: _0 N

4 z3 b3 ~% A4 t8 h; tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-29 02:07 , Processed in 0.103621 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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