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

3125 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" M* U! i, Y2 |/ z) r; O" x) e7 B; V% r" m  E4 k/ v9 Z4 }

  1. + g& ~/ u. v; {8 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 O4 O- V+ ^' e+ }, b8 M* K

  3. ' x/ y0 i0 s- G# [3 J: R$ `1 c
  4. ### What we need ###8 w: e. R% Q# ?: y
  5. Naturally, we will need a MySQL server to store the data for us, this document " H1 ~3 {! m5 A+ O9 v, x4 R) m' ?
  6. will not explain how this can be done - there are documents out there for the 4 e5 j  h+ x7 ?, p
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 M% R3 x0 F# U9 {4 c# F
  8. and a user account (username + password) that has the permissions to do stuff
    0 J/ v$ p& k- V9 V2 V
  9. with the database. Additionally, you will need a vendor library installed on the
    ! ~, r" ?/ J1 R8 r$ n8 N9 F
  10. local machine, this came with my MySQL install.
    4 U' [+ z/ A; `
  11. These instructions will not tell you how you might transfer your data from the. \' S  d' _% b4 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 w$ q0 t8 C" q9 V$ `6 M% o
  13. database.
    ' h% U( v- W$ X- c+ [' \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - y* X. W( \8 S7 g- I7 ]. N
  15. the time of writing, there are still too many issues - check the current status2 n$ N% M2 k* c. {8 y5 L& ^6 {
  16. in the TeamSpeak forums if you are interested.
    3 L& f! y" U8 u; L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      J4 O7 B8 u2 m; W- @! m3 [5 Z
  18. Borland was used. This driver can only interface with the client library that + N( f7 q5 h2 u3 `6 C3 m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 t  c/ H( b& \# |" H* C+ [" @
  20. client library - basically all you have to do is to use a 3.x client library as 2 v5 s3 C( N5 c0 ]3 H. k2 v
  21. "VendorLib" and a 4.x database to connect to.0 @. X" ^7 x, Z/ b( e  K
  22. If you need more info about dbExpress, you can contact Borland.
    % V+ C# b; C" ?, n  [8 Y$ V; w' w
  23. + Z/ s5 f' [7 _/ _* Q# K
  24. ### Doing the work ###/ s9 z2 G6 r1 }% e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all; D( y3 A3 U/ k, R
  26. the perquisites right, just open your server.ini file, and add this section at
    , b' F  ?+ ]; ]8 _2 ?
  27. the end:
    - J7 |+ l2 W  X* E; ]/ Q. F
  28. ---cut here---3 A( a& B6 ^3 i3 q
  29. [DBEXPRESS]. {3 I: _* m; H! I: [" m1 k1 w
  30. sqldir=mysql_sql) h  K: l& ^# R2 F
  31. Drivername=mysql/ q2 a2 |! {. I" D/ @- a2 o6 Z
  32. Database=Your_Database_Name_Here, b  N6 I2 O; R7 m0 V) N' ^; W6 G
  33. Hostname=The_PC_the_MySQL-Server_is_on
      y4 S+ z5 m+ x2 A
  34. User_name=User_name_on_the_MySQL-Server  X/ z. s7 B. ]) \: r' v
  35. Password=Password_to_go_with_above_user_name
    & `2 s% l0 I, j5 n' U
  36. GetDriverFunc=getSQLDriverMYSQL
    + w8 s, s2 M  z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & G0 K/ p, n0 X/ E% I3 v" N
  38. LibraryName=path_to_libsqlmy_libary; M# f% U* T8 ?3 u3 t+ d7 t8 w
  39. Active=1( t- B+ {% _+ J* g& d; r  Q
  40. ---cut here---$ J# I2 X7 Z7 t6 W9 j
  41. In my environment (a linux box with a MySQL server running locally) I have:: c( H" u, u) H: b. B. y
  42. ---example---) i0 [- ~& S* \. [. z* z
  43. [DBEXPRESS]  s& v7 ^& }; e* c* Y3 P2 o  u& i/ n( w
  44. sqldir=mysql_sql5 ]6 o, m5 x" _9 ~$ X
  45. Drivername=mysql0 }1 P0 D4 M/ ~) S! \
  46. Database=test" S$ l3 |; J1 o' k9 V4 \
  47. Hostname=localhost% d) O8 ~+ R0 U) w
  48. User_name=testuser
    . S- k* s. D* Z( S
  49. Password=my_password
    ) j& Q( V% F& p4 @
  50. GetDriverFunc=getSQLDriverMYSQL6 _7 V. f7 g3 [! @1 Z; z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ M3 D1 R0 q) Z: e3 y0 I& V0 E2 Z: B
  52. LibraryName=./libsqlmy.so
    + M- `6 l5 j  s+ L- Y& K: U6 J
  53. Active=1$ D) I' @6 k7 G0 F3 o
  54. ---example---
    % t9 c- P1 G. {$ k, |

  55. ; Y4 ^8 B7 g" j3 a
  56. On a windows box, also running the MySQL server locally, it would be:
    " m& [/ x$ j; o6 a) K$ g
  57. ---example---) T# u& q' j7 ?8 E3 T
  58. [DBEXPRESS]
    . Z( K7 V/ Y* o' L' e. G
  59. sqldir=mysql_sql' V/ V2 n/ Z% H! f1 j! `
  60. Drivername=mysql0 B: M0 D8 @& g# `9 U4 n: |
  61. Database=test
    - z* I% d( G: q3 Z0 }! |
  62. Hostname=127.0.0.1; {# J! n8 |* _/ [4 F$ O
  63. User_name=testuser
    ; t% j& H* ^. V' x
  64. Password=my_password+ z2 P. B  Q5 W5 s; O
  65. GetDriverFunc=getSQLDriverMYSQL
    . {3 [4 m) c) a* Y- j: }5 {# V" R
  66. VendorLib=libmysql.dll
    , x( H+ F; c" J+ V4 |2 R6 P" b' S
  67. LibraryName=dbexpmysql.dll+ \8 T2 _; V; S7 |
  68. Active=1
    0 H  Z  B$ G! A7 s& q5 Y6 D
  69. ---example----
    0 J, c5 Q& J. d, p! _
  70. - written 02.03.04 by pwk.linuxfan
    % Z# l/ {  N* x0 g

  71. . P( j3 I( L- X- l. G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看9 f5 Z* z* B& H& t
  1. 1 [& @9 A2 ~+ r0 q* t' m6 K3 r3 K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      H9 u3 Q$ |2 k6 N* R8 N

  3. ( [( q; s- H, g+ N% K
  4. # # #我们所需要# # # + K+ o7 _. q1 m: ^) n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 w8 y7 d* z  h- Z3 L# w
  6. 不会解释如何做到这一点-也有文件存在,为; s# I/ r7 g- e. N/ }6 |" i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 D" u  v$ k4 J0 y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 O8 n+ Y$ F4 R4 H
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ g6 s) R% `2 y  E1 F
  10. 本地机器,这是我的MySQL安装。
    . F5 E2 [; E9 [: r0 y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 i) d4 R2 L- Y; z3 g$ O2 o3 |( w  M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . s" V/ q+ m: F' j* r6 f
  13. 数据库。 0 B' a5 n- R, r+ O! k0 ^" V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 }! \4 Y: x* b2 n, A2 ~% G8 j) {0 O
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 W, H& O( G  A! p% J
  16. 在teamspeak论坛,如果你有兴趣。 2 {* ~, f6 s! y. i$ ^$ s" p  c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( N, F' E5 k! B: S$ [
  18. Borland公司使用。这个司机只能界面与客户端库4 P7 A8 e$ j( ^  o7 j# H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; i" M' {4 ~; R7 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* ?+ @' A1 v/ |8 y
  21. " vendorlib " ,并解数据库连接。 0 e( H6 x& a1 P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / P. e! ^+ H- N* H- y: L

  23. : H0 _6 |4 P' v- ?
  24. # # #做好工作# # #
    , `9 t( i+ ^* V: ~3 L9 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ L1 U2 d( I, F) |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( H% R/ X& w0 R7 q& `, a* i! @
  27. 结束:
    * ^, t; `- S" F% q7 W" p4 A
  28. ---削减这里---
    : z/ G  M* [7 k& m2 E% }' c( L
  29. [ dbexpress ] ( ?0 D9 z" o+ z! n  n. L0 j
  30. sqldir = mysql_sql
    3 L. c( e$ k( d/ H4 w
  31. drivername = MySQL中
      B' v9 E! M. m( H2 n  M9 [% g
  32. 数据库= your_database_name_here ! B: V& ~" j( Z5 {. f
  33. 主机= the_pc_the_mysql - server_is_on
    $ M) w- P0 E  C  G- n2 u; e
  34. user_name = user_name_on_the_mysql服务器( I& j' q: T% v4 c: Y- T3 T  q! B
  35. 密码= password_to_go_with_above_user_name , Z' p4 V# g$ e" j; E
  36. getdriverfunc = getsqldrivermysql 8 U5 M- B2 d9 B7 M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( J9 C$ E- x2 N: b
  38. libraryname = path_to_libsqlmy_libary
    / |4 j$ a0 g# T, h% n* @1 O6 n2 Q
  39. 积极= 1
    / L0 G/ s- h- ]% ]+ n# D' v) K. S
  40. ---削减这里--- 6 E5 r( m9 t* D/ R, c8 G9 L  w1 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 ^& U1 z% g  \/ z9 v
  42. ---例如---
    $ F; t- W# O" ^, M4 M( G: B8 _
  43. [ dbexpress ] ; }$ c# x7 F# _$ j5 _! v
  44. sqldir = mysql_sql
    $ @- T' X: S+ }) _0 L# n
  45. drivername = MySQL中# W0 Q7 T4 Q" m+ a$ `8 Q+ l5 g
  46. 数据库=测试
    5 O+ s" ^0 P" A6 q) x* m
  47. 主机=本地主机
    . {& u. W2 s7 j" Z0 p  T
  48. user_name = testuser 1 _0 ?* Z5 l! W5 W' e
  49. 密码= my_password 7 @2 c* w8 ?6 }0 G2 i+ {( r
  50. getdriverfunc = getsqldrivermysql
    # z" l) h+ q( D: \! l7 M7 B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 l8 p3 q- a4 N) A
  52. libraryname =. / libsqlmy.so
      D: \0 _. j6 l1 e& k3 M& K6 B/ R
  53. 积极= 1
    3 N# ?8 w: @/ L, w5 Y( T5 L7 V
  54. ---例如---
    ! h! c! w; S  ]) k1 e

  55.   G# e! ^8 G6 T7 U; a# a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 c. E  q6 i. N0 m4 N1 o
  57. ---例如---
    . V& s, A$ a! G9 t5 a+ E" D. y: r
  58. [ dbexpress ] & L5 C5 y1 w* @# k+ B
  59. sqldir = mysql_sql
    6 K$ K: Y6 y' h$ i; D8 S8 a* B. J
  60. drivername = MySQL中$ f# n8 i% g$ j6 \' b
  61. 数据库=测试
    # x: c/ ~6 w! A6 e$ J
  62. 主机= 127.0.0.1 # R  w6 X# Z. d( V3 ]
  63. user_name = testuser / J" f; Q$ Y: \
  64. 密码= my_password ) G! t" [! M# J* T
  65. getdriverfunc = getsqldrivermysql ( I' T$ s( b7 i  P6 c" r
  66. vendorlib = libmysql.dll在4 v6 w* e- u; V3 Z8 E* k1 A
  67. libraryname = dbexpmysql.dll
    ; \* Z2 ?! r6 M* M4 |2 \8 x
  68. 积极= 1
    * ]7 C$ f" C; U1 c2 d/ C' g
  69. ---例如----
    % W( Q6 T: q3 B3 A
  70. -写在0 2.03.04由p wk.linuxfan6 [6 c0 s" H' v' k. F0 g
复制代码
发表于 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 words5 i1 c3 N' x+ W$ D7 {! }! Y7 m
- Q$ c+ p+ ^- Y/ b2 K# Y" A9 L6 Y9 X
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-6 05:16 , Processed in 0.101688 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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