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

2789 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# d$ ?0 T  {0 X$ M: Q
' p/ x3 l8 j1 ]" r6 _

  1. ; j2 h' R0 S2 D0 K9 k' m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ Z/ H' C# F" g! p- ~( x( L: n
  3. 7 b& A5 |7 g7 D1 |8 G
  4. ### What we need ###
    $ d& x" i3 o. x0 {
  5. Naturally, we will need a MySQL server to store the data for us, this document   }- S$ n0 |) \1 w1 `! S- X
  6. will not explain how this can be done - there are documents out there for the
    9 E! j# [) \1 X+ q6 E5 j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . _4 x) M) V+ `1 c$ q; t9 y& w7 ^
  8. and a user account (username + password) that has the permissions to do stuff
    " D- ?& x& R. j2 u8 \
  9. with the database. Additionally, you will need a vendor library installed on the) X& F; M. ^; k' X
  10. local machine, this came with my MySQL install.: j; Q% F3 G* T' [, H0 f/ D8 K8 s
  11. These instructions will not tell you how you might transfer your data from the. S" c9 W+ w9 x9 }8 _# s' M0 p' P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ B0 V0 Y+ Z. S+ B* }
  13. database.$ k2 y) f: L3 y" Y7 v
  14. Some users have reported ways to import a SQLite database into MySQL, but at- A# P2 @, C+ I) a  {: s2 k
  15. the time of writing, there are still too many issues - check the current status
    " x, ^& e% u3 o2 `
  16. in the TeamSpeak forums if you are interested., O  C5 ]% r) H" B3 B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( T- @! c9 ]) N5 r
  18. Borland was used. This driver can only interface with the client library that
    ! ?- P% _6 l8 L9 X8 S+ m" U* h8 Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 X  d& i8 B' {6 H" h
  20. client library - basically all you have to do is to use a 3.x client library as 2 J5 t) P# ~( C2 j. Z
  21. "VendorLib" and a 4.x database to connect to.
    ; q+ y5 }$ n1 E
  22. If you need more info about dbExpress, you can contact Borland.4 Y3 [, m8 z1 S$ w7 W, ^" \. ?

  23. ) s0 D+ x8 }+ x, i' N2 w5 L6 s
  24. ### Doing the work ###
    2 e# ^2 T- g- ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& Z. u3 ~1 K6 J- O
  26. the perquisites right, just open your server.ini file, and add this section at: M: ^  h2 B0 p) q. w) Z
  27. the end:& t' A1 N% j7 @9 `' \
  28. ---cut here---
    ; o+ ?4 S& L/ _7 I( E: O
  29. [DBEXPRESS]: `/ M, N0 P# ]1 K& |4 ^; p
  30. sqldir=mysql_sql
    6 Y8 R. f* s/ j
  31. Drivername=mysql
      G0 `% M5 b1 t# t4 ?9 H
  32. Database=Your_Database_Name_Here+ P7 Q( ?3 Z$ M; [. T8 @
  33. Hostname=The_PC_the_MySQL-Server_is_on. w" }3 B) ]* s
  34. User_name=User_name_on_the_MySQL-Server0 j- ?( z/ ]$ T$ j) z1 f( ]
  35. Password=Password_to_go_with_above_user_name4 T* k8 H) w8 w8 M9 w
  36. GetDriverFunc=getSQLDriverMYSQL9 E: \$ }' N2 U' u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / _( E1 S- l& y) u
  38. LibraryName=path_to_libsqlmy_libary
    9 }: S3 k6 L" p0 A5 |/ m! F
  39. Active=1
    4 X4 C  D! i8 p* i
  40. ---cut here---) v! `7 [' A+ t, z3 C6 y+ F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) Z5 e1 D) x9 y, f0 l
  42. ---example---) v" k! h+ V6 D- e4 x# y
  43. [DBEXPRESS]
    ' H- T9 A! K8 p( H3 B
  44. sqldir=mysql_sql, ~( P3 e: }. ~/ h) _
  45. Drivername=mysql
    - W, n2 g0 {+ Q7 R
  46. Database=test& e" \2 U9 Z( U+ d8 l9 M; i
  47. Hostname=localhost* k' }* u/ ?9 x
  48. User_name=testuser9 X2 c9 ~9 K0 v7 g" _
  49. Password=my_password
      C- t3 @1 ~0 O9 k
  50. GetDriverFunc=getSQLDriverMYSQL( u0 ~, O, `$ I1 T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ T; V# R' a1 {/ y9 }; O
  52. LibraryName=./libsqlmy.so
    / O1 r" @2 c$ p: i1 R
  53. Active=1. c. k& D; v4 i" ~
  54. ---example---/ Y; K0 X8 x, E# F: r) s& O
  55. 1 o8 k1 W6 Y$ Q4 v& i& ]3 q
  56. On a windows box, also running the MySQL server locally, it would be:
    / x8 p( p5 w0 n6 L/ @8 w# `* \" t
  57. ---example---3 ~! e/ M. ]0 I2 q& S
  58. [DBEXPRESS]! s+ I& V: X' n2 Y7 e% ~! w' `
  59. sqldir=mysql_sql
      C" ~2 J$ y6 Z# s* A7 c' M2 P  W- X
  60. Drivername=mysql& R+ ^, Z0 ]. f  k& R) r# }' J
  61. Database=test( B7 E) i& j; n+ E, O# S( r
  62. Hostname=127.0.0.1
    , @- Z' t. V/ v0 ~& w0 i- ]. B4 y- t
  63. User_name=testuser
      G' I# ~5 t$ e
  64. Password=my_password
    / a* U! J  e' b: v8 V
  65. GetDriverFunc=getSQLDriverMYSQL
    - l6 z  |- b2 f
  66. VendorLib=libmysql.dll5 R$ }. L/ b3 `9 O% G& K
  67. LibraryName=dbexpmysql.dll
    - K; X8 ~. m) D2 E9 X# D) Z
  68. Active=1
    1 C9 ]* T/ D5 ~; y, O
  69. ---example----, s5 U; B4 U3 b) j1 F  Z' K
  70. - written 02.03.04 by pwk.linuxfan& U* I5 H( H/ M5 o" F: r
  71. / L* z; l( T7 ?" B6 p4 x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 n( g( c7 C: q

  1. ( {/ b7 ^" a0 a( H% ?8 F/ ~; G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   e) [. |; H& _) I, u( I5 F
  3. + Q; d' {" S; g7 {) Q% |
  4. # # #我们所需要# # #
    : [/ _$ v) \$ d# D' L* ?2 v& K( c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    * ]9 s8 ?$ [2 H! l5 F8 V$ B
  6. 不会解释如何做到这一点-也有文件存在,为
    ) a) N$ Y$ q& ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: K2 o0 j6 D0 d/ ~) }" ?" {1 m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " s; ^9 p! \1 W9 j4 a7 W7 ?# G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! S2 H; M2 l. A7 y
  10. 本地机器,这是我的MySQL安装。
    ( ]+ g( H9 E' A  X* ?+ p  Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# D) [5 z! e) e1 k& f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . z: H9 I" C- B( i1 X
  13. 数据库。
    & _3 ]* u( |( K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  C6 u. \) N" W2 ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; A8 J1 Y0 o( X, E" W/ o
  16. 在teamspeak论坛,如果你有兴趣。
    . @( ?5 N- l- S( M9 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ \4 b" T- D9 g: l4 c6 Q
  18. Borland公司使用。这个司机只能界面与客户端库% q1 \: L( T- e" x8 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 l4 N  N4 h) q1 s+ D+ N/ D% j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * ~1 `. j* d9 |& o0 {* W4 Y3 d
  21. " vendorlib " ,并解数据库连接。
    ! }. _$ G% G/ Q6 y) n- X
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # k6 r; }) I2 _- q, Q' T

  23. ! Z5 S7 {  f% B: l
  24. # # #做好工作# # #
    ; G& J$ u" M" t& g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , f* H9 Z$ t# \) [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# U7 F, r- z+ w7 t3 c
  27. 结束: 0 s  k) J- [0 f2 A' f
  28. ---削减这里---
    " u9 s* D; @$ V5 Z/ Z. \4 R: n- Y
  29. [ dbexpress ]
    % v" `; W1 `" f& R
  30. sqldir = mysql_sql 8 a2 b7 R0 F  a9 Z" q
  31. drivername = MySQL中
    ; U, \8 @- s# H
  32. 数据库= your_database_name_here
    & _; Q3 u7 R8 T! n% A1 ?
  33. 主机= the_pc_the_mysql - server_is_on 0 D9 \% V8 h9 x7 \! j8 H6 e
  34. user_name = user_name_on_the_mysql服务器8 N; Z0 V( d! J9 D9 q
  35. 密码= password_to_go_with_above_user_name + V, F6 [% t% P( @
  36. getdriverfunc = getsqldrivermysql 6 h5 J8 h6 N) _( L# [# ?" A9 u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 m/ G% W4 {( q* }6 u: u0 P
  38. libraryname = path_to_libsqlmy_libary ) }( t2 h9 z3 c+ f! `, _
  39. 积极= 1
    ; t7 k% \) Q. w" Y9 N
  40. ---削减这里---
    + x  H$ E) t  ~  R% \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: # ~. Y, C6 \' C, t1 s: L
  42. ---例如--- ! I/ @: L! [: O
  43. [ dbexpress ]
    * j; ^0 C, j& H* t
  44. sqldir = mysql_sql 8 f/ m$ l4 V6 `% _8 T, ?, e7 y: g
  45. drivername = MySQL中2 n$ A8 o/ P; L+ _- {, g$ F2 M
  46. 数据库=测试
    ! h! T# n+ \& t# r7 O) ^$ c! ?/ s
  47. 主机=本地主机6 i4 [! z) U) r3 |, }' i5 B
  48. user_name = testuser - `$ f  @) [9 l) m, r$ C6 ]
  49. 密码= my_password
    , C" C# D1 z2 c( A
  50. getdriverfunc = getsqldrivermysql
    0 c' L, C8 V2 A! p; u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # q, P' l. v2 \
  52. libraryname =. / libsqlmy.so
    ; ]7 @# L5 F$ |3 t. s! A1 E& B0 G+ Y
  53. 积极= 1 + K; a. l  e, |7 `$ k$ ?
  54. ---例如---
      t& d5 ?; l7 i) S4 B
  55. 9 D* ]- [; X- }6 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 b& u# t, K- ?  n* O( N0 h
  57. ---例如--- $ f; M% c: H5 B( d( t
  58. [ dbexpress ] ! E1 i+ O9 P. U
  59. sqldir = mysql_sql
      m3 D& u  F' S2 w% C8 j
  60. drivername = MySQL中
    ; R0 q; f: F6 R/ q
  61. 数据库=测试
    ! @- E- j+ {" O  d, x: w! G
  62. 主机= 127.0.0.1
    : v! e" ^/ T1 ^7 ^
  63. user_name = testuser
    # v: F& {, h0 H+ w, j4 r& q3 |( r
  64. 密码= my_password
    9 _/ r: Z- a) I6 g
  65. getdriverfunc = getsqldrivermysql & {* y) |  u1 c! E  Y  x$ R
  66. vendorlib = libmysql.dll在' Y6 H0 i0 s2 m0 }( S4 e
  67. libraryname = dbexpmysql.dll
    , j& F! m; X  n( O
  68. 积极= 1
    8 e% X' H$ K0 Z
  69. ---例如---- 0 t& {  [1 F! f+ M  c
  70. -写在0 2.03.04由p wk.linuxfan5 q0 P0 H, x0 o  e
复制代码
发表于 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
* W' h7 p' [  X# J5 |6 }% e* w( X5 i0 p7 J: p
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-21 23:45 , Processed in 0.106939 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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