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

3335 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 \1 ?  f8 y6 J) Y  ^

, B: W5 b7 E+ ^4 c
  1. , h* h6 k2 J8 y0 m- E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 Q+ [# Q6 `4 D$ a' F
  3. : r! a6 m4 i) c3 |% c. F
  4. ### What we need ###
    # C3 y* B6 p* I5 s5 W* f; W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' O( ?1 w* ?9 N3 J2 Y9 ]
  6. will not explain how this can be done - there are documents out there for the 9 q6 n$ P& B0 @7 ?; l! p$ S/ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 J$ d- j$ t3 `
  8. and a user account (username + password) that has the permissions to do stuff
    - h; P( Z! I: {$ ^; g( a! B( ?
  9. with the database. Additionally, you will need a vendor library installed on the* _' N3 o' H9 `; h8 H' |
  10. local machine, this came with my MySQL install.5 K' s! T' I. I; I/ `1 K4 ^
  11. These instructions will not tell you how you might transfer your data from the
    # u# R7 c: M6 t) c# l6 n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , f' f4 O- v+ |( Z4 t) e: u( u# X  F
  13. database.- f( D6 p- c* ?5 d# u' i; v
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 v; P6 A$ Z. V9 N
  15. the time of writing, there are still too many issues - check the current status
    ' G* R  Y& E' W
  16. in the TeamSpeak forums if you are interested.
    % V( S2 A& D9 {" G% K, v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % h' s8 i6 q6 o# j! @
  18. Borland was used. This driver can only interface with the client library that
    ! T3 y8 Q& R- J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ R: S5 H8 d, ^) x6 a1 q
  20. client library - basically all you have to do is to use a 3.x client library as % R& S/ P$ T% N0 H; O, G
  21. "VendorLib" and a 4.x database to connect to.
    * C0 K2 _5 g$ ~. P- ?5 T0 I: `# e
  22. If you need more info about dbExpress, you can contact Borland.
    ! k. ^) b' @, b3 L8 ]+ X" C
  23. ) K$ u  Q# H# [! f6 q
  24. ### Doing the work ###' ~# o3 w" E7 j, y0 _; N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, R1 F5 I! ]- i; ]8 M" n
  26. the perquisites right, just open your server.ini file, and add this section at5 [! x+ g5 _3 [2 R' k
  27. the end:6 ?" R: C! D2 ]0 p/ E
  28. ---cut here---
    + i2 C! v3 r1 n% w- @/ D' `
  29. [DBEXPRESS]0 T/ H. ?: a3 H! d; \7 O8 z9 I
  30. sqldir=mysql_sql8 f  Z. u; P/ |7 j
  31. Drivername=mysql. c7 K" A; t+ H0 K
  32. Database=Your_Database_Name_Here5 O7 Y$ g5 R: Y9 F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " o  @1 b9 p, J7 E
  34. User_name=User_name_on_the_MySQL-Server
    ' g' X9 n5 {$ e5 z' U
  35. Password=Password_to_go_with_above_user_name
    6 |% A! o' M! P3 W9 ?
  36. GetDriverFunc=getSQLDriverMYSQL8 h& L9 x0 }$ S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' v6 T, d0 V0 ]# c! `' y  }3 t* ^
  38. LibraryName=path_to_libsqlmy_libary
      G' ?& h: F5 p! C$ A
  39. Active=1
    ' z% A, t9 f2 w: A4 h, {8 K
  40. ---cut here---& Q, V- R; w. ?+ R4 M( G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 c1 [6 _$ {2 ?; T) o
  42. ---example---
    & c7 r+ Z/ {- r  X& f: w5 }. y/ f
  43. [DBEXPRESS]+ z. v- [# D/ t! U3 z
  44. sqldir=mysql_sql
    , C' ]* }( Y& L7 v8 L3 P3 m
  45. Drivername=mysql# [$ p$ m% f) e# h
  46. Database=test0 u: Q$ g: K/ [3 E! O) w
  47. Hostname=localhost
    / E& L, R5 g5 l6 Z( o
  48. User_name=testuser
    ( U+ S, J% u9 F! ^
  49. Password=my_password
    # Z; R% Q( D. Z
  50. GetDriverFunc=getSQLDriverMYSQL
    7 l# B9 x; {3 H0 b: k1 Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' X9 O, Z2 {" V
  52. LibraryName=./libsqlmy.so9 T* y: b. c. F
  53. Active=1
    : m* M4 Q  x( ?) m+ U" F
  54. ---example---
    5 K) X! @) g) T) ^+ A

  55. % W5 j  j2 M  C! I0 x' B* j
  56. On a windows box, also running the MySQL server locally, it would be:
    8 ]( t* g- w; ]* U
  57. ---example---) h: u0 E  _( D0 W
  58. [DBEXPRESS]4 ^+ O& v  M7 r% o- A
  59. sqldir=mysql_sql
    ! u% A7 L! }) m  t
  60. Drivername=mysql
    * M. h4 a+ U6 l
  61. Database=test' q" N: E$ ^6 m, S8 y( F
  62. Hostname=127.0.0.1$ h- S4 s( j" B3 f: f* P
  63. User_name=testuser
    ! C& M2 s- r" _0 w$ o
  64. Password=my_password# I( U" a' S- R% h
  65. GetDriverFunc=getSQLDriverMYSQL4 T( r4 C) F" Q1 Q! N2 B/ g
  66. VendorLib=libmysql.dll
    & R( t% G5 n- F  s
  67. LibraryName=dbexpmysql.dll
    5 N3 @0 q: m$ ~- T3 X
  68. Active=1$ [* x7 _; d% Z6 e+ ]4 ~
  69. ---example----
    0 }0 f- ^1 {; w7 P; e8 q
  70. - written 02.03.04 by pwk.linuxfan1 R5 l# G5 A( N, F5 f
  71. ; ?3 m/ e( Q3 |4 k6 I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! [2 {7 I0 b" C3 `: ~% r

  1. ( v4 m* v+ c- `# ~  P4 Y8 w. b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' I9 E( U8 X& s) v

  3. 2 ~1 v! y& j  K0 m3 |8 F
  4. # # #我们所需要# # # / a# s+ n' {/ o8 X) }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' K) b0 n& j) y8 r1 T  o1 Q
  6. 不会解释如何做到这一点-也有文件存在,为
    3 V. L; I7 \$ t7 K. w/ g* }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 L( L/ O0 c6 j: R) I' i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ T9 `3 a5 P( H  v7 [; U$ S( K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  b* q+ ]! b7 z& i  Q
  10. 本地机器,这是我的MySQL安装。
      ^. n% K: `# D- ?' y  P+ Z5 D2 y+ i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& V! e5 R. m! @& ]- s6 E3 h' U% {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 y& J8 ^) }# ~
  13. 数据库。 5 g( N8 a0 v; i# J1 t
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, b& Q0 L3 t1 O( C; ?/ J+ J
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 o; r5 K* [) \/ A' `- t
  16. 在teamspeak论坛,如果你有兴趣。
    / I! R, w/ b9 \- c- Y6 S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! y) H, f/ V* e$ Q7 q4 z
  18. Borland公司使用。这个司机只能界面与客户端库
    , P5 o# @  u$ c8 }! ^+ I0 c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + m6 v! h2 F! \3 _5 q% R, @- |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 J2 {+ \2 a  e# T0 L8 e2 Q
  21. " vendorlib " ,并解数据库连接。
    % I1 I' R4 ]' }* v- U6 X/ V/ J8 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) l( @1 @; F. y% l) h

  23. ' N6 \5 ]1 {1 m0 v$ V! B0 t
  24. # # #做好工作# # # ! O5 y1 h8 h2 y" F3 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- Q& {+ D5 O  r5 q( ]7 p, _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 w6 o% ^; D8 N. c
  27. 结束: 6 C5 N  V  g: M- ?& ^
  28. ---削减这里---
    0 l' R- X& [/ _0 F
  29. [ dbexpress ] / i( s& f% a( w- @2 k0 `
  30. sqldir = mysql_sql
    ! d  p" z7 x& L6 k+ g
  31. drivername = MySQL中3 P; {) H$ \" Z
  32. 数据库= your_database_name_here
    ( f9 R2 O6 Q) j% J
  33. 主机= the_pc_the_mysql - server_is_on
    , e4 ~  p* i2 H5 y; t% j! {
  34. user_name = user_name_on_the_mysql服务器6 `" v( l9 @3 v
  35. 密码= password_to_go_with_above_user_name
    2 r9 H9 N7 G; I8 C8 A
  36. getdriverfunc = getsqldrivermysql
    : _% A- s2 u2 p2 {, k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; q0 v' E/ g7 Q5 M; ]
  38. libraryname = path_to_libsqlmy_libary
    . [- ^- \' S/ j- G
  39. 积极= 1
    ) }- e* C8 e* g9 C$ a2 h0 [3 S* r  u% ^
  40. ---削减这里---
    + o1 }" A% H) X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 C2 H- l0 i4 K
  42. ---例如--- ; K0 m4 w9 x4 [' T" J
  43. [ dbexpress ]
    * L9 I0 m  G) o
  44. sqldir = mysql_sql " }4 m1 K2 |. n% H  x$ N
  45. drivername = MySQL中/ U! g: p4 a- g: y* a6 w2 h
  46. 数据库=测试
    3 r9 n/ A" K; z/ f& x4 [+ b
  47. 主机=本地主机
    $ P; E+ B0 s) O; Q+ g
  48. user_name = testuser
    & c: _/ G3 F! ^0 m
  49. 密码= my_password
    " s) N& z- m" V' r+ }# L' D
  50. getdriverfunc = getsqldrivermysql
    % b) h, F* g" N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 z, ?8 R. u; y8 N" s
  52. libraryname =. / libsqlmy.so
    ; k. D1 U5 T( S/ q/ G0 d
  53. 积极= 1 $ [: s2 N( B% [  m* w
  54. ---例如--- $ S% l5 U7 h5 N7 S
  55. 0 |- h; R3 q; y2 [4 S7 J1 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 F$ w1 a4 c3 |# W
  57. ---例如--- . T4 R7 V5 }. H% x" S% a+ @. y
  58. [ dbexpress ]
    & K9 q7 D8 m6 G" T, ]. U. s8 @
  59. sqldir = mysql_sql
    & _& G, A# ?- ]/ B2 b0 H  H  H3 i
  60. drivername = MySQL中
    0 M+ }9 b; v+ a% E
  61. 数据库=测试" q9 Z1 ?. l, ]
  62. 主机= 127.0.0.1 ) v* O: s0 R3 V$ X
  63. user_name = testuser * `5 L! O' d3 V/ a6 j+ V& b4 P7 M
  64. 密码= my_password
    ! G$ E( m# f7 G- t! I
  65. getdriverfunc = getsqldrivermysql ; v0 f9 l+ H5 \( N: b0 {8 h: u
  66. vendorlib = libmysql.dll在
    5 J' T  V9 [  G
  67. libraryname = dbexpmysql.dll
    ! Y% J; {; v, B- }" x6 W% Y
  68. 积极= 1
    0 B' I& |  Z, n$ t6 _% E0 j- O
  69. ---例如----
    ' T" m  \# I# [, S- m- F
  70. -写在0 2.03.04由p wk.linuxfan; C# S7 g& v% ?. @$ V
复制代码
发表于 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 words7 x/ i: Y- N2 {* @5 y, Z
% ?5 w# p9 v6 @1 _' i7 I  [
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-15 13:43 , Processed in 0.104576 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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