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

2874 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" h. ~4 V. U! l+ R- y4 V. k2 b* {' [/ U5 d% h$ z+ p
  1. 8 c9 N$ U5 E  a; ?8 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) _7 o8 C- D" \' Z4 o4 \) M' ]
  3. ' [) P# f; q- [7 o* C5 C; W- \! r/ o
  4. ### What we need ###
    5 y/ g4 n% c' b; I( ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 F( ^- r% L' i' H+ r8 ^- C- d
  6. will not explain how this can be done - there are documents out there for the
    * ?- p1 A4 c- ~/ d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , N2 Z$ j; c$ c1 s& d
  8. and a user account (username + password) that has the permissions to do stuff
    - _$ n9 J8 V( N* N
  9. with the database. Additionally, you will need a vendor library installed on the3 U5 H! t2 j( {# N9 Q7 M
  10. local machine, this came with my MySQL install.8 z9 x+ O0 u$ j# ?, w3 o" U
  11. These instructions will not tell you how you might transfer your data from the6 b9 ~: @+ {  b" |/ M0 W4 c) g) A" \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* d  R1 O" ^" Q
  13. database.
    7 }/ T/ u7 ?( _: C1 f6 p6 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at; Y4 R2 Y, }# Z) E! f
  15. the time of writing, there are still too many issues - check the current status' B7 w& B. {6 q5 ?& u9 }' R
  16. in the TeamSpeak forums if you are interested.
      v' D8 V7 C4 Y, M2 N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ o& K6 }4 Q: d2 t
  18. Borland was used. This driver can only interface with the client library that & N& d, ]3 ]7 L. ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      H+ B* P0 E) x) f
  20. client library - basically all you have to do is to use a 3.x client library as
    , I: A, @5 X  O2 F/ v6 G8 D
  21. "VendorLib" and a 4.x database to connect to.
    9 V" c* v2 T* G- e: j& f( S
  22. If you need more info about dbExpress, you can contact Borland.
    - Y0 ~, Y! z2 k2 d: a9 A, e$ U
  23. 9 {6 t) S. e5 {( R& L1 G) A
  24. ### Doing the work ###8 {  W- c( Q, T  o( e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 P# `& f5 _& m
  26. the perquisites right, just open your server.ini file, and add this section at
    - B" m, Q8 [8 c+ C; L( M& m
  27. the end:
    $ B. w. c* c7 X8 L( v
  28. ---cut here---! ]# z( G* |" h& J; K
  29. [DBEXPRESS]2 h) B# I4 n# N8 k7 Y# h
  30. sqldir=mysql_sql5 i! m  c( \4 N# j; C; h1 a* _0 [
  31. Drivername=mysql  J( [- B0 U; }% P) Z. j" p8 d
  32. Database=Your_Database_Name_Here
    . s4 j* s+ m0 j  F* l( N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) `' G! M% v6 b1 [) H6 i3 l9 x: `
  34. User_name=User_name_on_the_MySQL-Server
    3 T) T( P+ E- j4 ^1 Z* O
  35. Password=Password_to_go_with_above_user_name) |/ y1 s8 l# a& f* \$ ^! J
  36. GetDriverFunc=getSQLDriverMYSQL
    ! c" s; U$ z: J! D# X: c" y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; P" `  v& Y' \* ~
  38. LibraryName=path_to_libsqlmy_libary7 W# T0 z% T: M  v$ Y$ X
  39. Active=1
    , v" W$ O, d. _9 Q- e; V5 `5 c
  40. ---cut here---
    0 y" [- q& x  I2 m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ u( a: D8 R6 y( ?
  42. ---example---
    1 H! @( W, v/ {- @/ F( k
  43. [DBEXPRESS]! f, A, e. g) h' v; h
  44. sqldir=mysql_sql
    & q0 o+ K: ~; E: f7 x0 \' w
  45. Drivername=mysql6 l0 J9 Y3 a$ E9 C1 E8 I
  46. Database=test, E& x1 H5 I3 g; O
  47. Hostname=localhost
    - v" z( Y' D  F6 K7 a3 O0 D
  48. User_name=testuser6 r& k+ l) ]2 K) Q6 F& l# f# J
  49. Password=my_password% B0 S) ^; }( H3 ~) t% L, I7 `
  50. GetDriverFunc=getSQLDriverMYSQL% H) A% A& F7 n6 d) `8 Q( L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - P) J$ @2 v/ d1 F
  52. LibraryName=./libsqlmy.so) V' B) P* U/ F3 ]
  53. Active=1' j( Y( b$ w( H! e% o% A& q9 z
  54. ---example---  g# j3 X) H7 o! N$ u( n

  55. # ?$ k4 c# w6 ~
  56. On a windows box, also running the MySQL server locally, it would be:
    ( U1 H! ]. m0 U4 t
  57. ---example---
    ; `4 ?; s# O/ t+ s0 _9 H' R
  58. [DBEXPRESS]
    " O2 R2 a/ u; X! C/ Z% }& {
  59. sqldir=mysql_sql$ X0 m7 s' X/ D$ u! x
  60. Drivername=mysql
    . T) Z4 C* @1 ^
  61. Database=test# w4 ]0 J6 @' g/ A1 b
  62. Hostname=127.0.0.1
    9 l- N" [; O. _
  63. User_name=testuser% [+ C' t& r* H% X7 f0 y
  64. Password=my_password
    8 D' B5 s& M# `* L) R" u9 L
  65. GetDriverFunc=getSQLDriverMYSQL
    + l* A$ Y' K$ I$ r
  66. VendorLib=libmysql.dll
    1 t4 O$ _: W6 ?
  67. LibraryName=dbexpmysql.dll5 |5 a/ Y  U- a* Y
  68. Active=1
    8 v* k; S3 `' F7 k
  69. ---example----
    0 C& N% Y  n1 V
  70. - written 02.03.04 by pwk.linuxfan
    , [. c; y) ?0 f

  71. / x+ i2 f( R7 {; S6 I  @! J* i) q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 B( p$ s$ N% J, b9 l' d
  1. # [$ L0 Q+ o2 u1 v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 i$ R  O9 {' X

  3. $ }/ i: o- J" n1 O3 E; `
  4. # # #我们所需要# # # " q/ x1 I$ j5 y6 ~3 v. K9 |, R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! G* k; `3 G& J+ @! J& o# r- X
  6. 不会解释如何做到这一点-也有文件存在,为* |" l/ u& k- q- Z0 T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 ^# m+ c3 E$ p" @8 k- ^8 X4 u  |3 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 O: r# G! A0 H5 q; V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % ^! Z0 |, K1 o7 v0 W! K; q
  10. 本地机器,这是我的MySQL安装。 6 m5 K* ~. X  D0 j; ~9 g2 s6 t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 \9 ?$ ^$ u9 s( {( @! D) d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . e' `/ a  a& l* t- i3 H
  13. 数据库。
    ) ?1 i. }. u4 ~& `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' S1 c$ x( N# D: D
  15. 编写本报告的时候,仍然有太多的问题-检查现状: a; `4 G7 I! l
  16. 在teamspeak论坛,如果你有兴趣。
    ) r- m8 K& `  R! o) f6 ~2 {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' ~! `1 L  s  b8 X
  18. Borland公司使用。这个司机只能界面与客户端库0 z+ x3 C6 S/ j1 R: B" w$ u' u; M1 E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 ^/ i) P% W: u( i# R$ F" y& t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为6 O) e  ]7 w1 N0 M
  21. " vendorlib " ,并解数据库连接。 * R  J2 K% E& N% }9 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! ?( j& e  P- F4 v7 q4 z& C

  23. : }, ]  Y; z5 C# O# t
  24. # # #做好工作# # # # ~. K* x) {/ [: x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ A. W3 o, d2 ^$ [* g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : j. X  B4 T# U, n" E$ a% |) U- \
  27. 结束: 0 R3 ]( ]0 g, ^+ E0 ~+ [( y+ F
  28. ---削减这里--- ( d5 {' f* u( j- J8 a0 a
  29. [ dbexpress ] " j% Y4 F; N$ H0 k, _8 y. a7 ~  i
  30. sqldir = mysql_sql   a/ I0 v8 r. N, i; C
  31. drivername = MySQL中8 l: q3 n. I7 x: T3 V* E
  32. 数据库= your_database_name_here 2 G2 |0 M% y4 x/ i- p/ @$ I! y
  33. 主机= the_pc_the_mysql - server_is_on 3 x8 w6 p  |2 b' u
  34. user_name = user_name_on_the_mysql服务器
    8 m2 Z' N: e- E* G) i- z
  35. 密码= password_to_go_with_above_user_name
    % u7 f" Q8 v# T7 q
  36. getdriverfunc = getsqldrivermysql
    ) y( f1 W! k+ i1 ~$ U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 P1 f) f6 B* ]. C5 |4 s; s, {, u( O
  38. libraryname = path_to_libsqlmy_libary
    / r  b- P, L; z; X( @4 h+ o$ d
  39. 积极= 1
    6 z& p) Z' F: g% D: Y
  40. ---削减这里--- $ f! f4 a4 F* E% E* C8 |  e7 k9 R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . V- f' l9 i/ I% o4 ?- V
  42. ---例如---
    " ]) [* l- I; `+ `- ~! }8 T$ {
  43. [ dbexpress ]
    4 P5 u6 e: Q' y$ r  l$ M
  44. sqldir = mysql_sql ! y3 `) s+ `0 b; z
  45. drivername = MySQL中5 E6 y2 ?" d1 \! Y0 c
  46. 数据库=测试
    9 v- ~0 x+ ^# N1 J- T1 t# H$ a
  47. 主机=本地主机. H6 d% G# v- T# l+ H4 r; x. R
  48. user_name = testuser ; z9 H& c: C; y* D" h3 C  d
  49. 密码= my_password # O; _5 s3 f! S" `9 {& H
  50. getdriverfunc = getsqldrivermysql ! V9 W! w: W0 h( Y% a& f* W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # }2 H) Y1 X  K7 [* W9 ^; B
  52. libraryname =. / libsqlmy.so $ ]- G+ ^" g# M+ C" I
  53. 积极= 1
    / d0 D- ?. W" D# ^$ A# g
  54. ---例如---
    1 I& }' Z8 j  A

  55. - E8 \) a! B1 Y; @9 z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      R/ R3 O. S  n0 g9 f' O5 Y
  57. ---例如--- , s6 |0 g8 K( E7 U# m- T% h9 @
  58. [ dbexpress ]
    6 ?) H9 U) k' o! a6 z5 r
  59. sqldir = mysql_sql
    % N* \3 A7 w$ h  v( I$ S& @
  60. drivername = MySQL中
    ; g' y/ }" Q* y
  61. 数据库=测试
    % F5 t1 c+ l% R6 Q9 }) U! `
  62. 主机= 127.0.0.1
    : `; S1 a9 ?$ U3 o3 N
  63. user_name = testuser
    . s2 i9 F! m) t$ R9 `! J
  64. 密码= my_password ( ~8 }4 ^. j* n2 B
  65. getdriverfunc = getsqldrivermysql
    ' }# ]& c5 W; N1 I4 D
  66. vendorlib = libmysql.dll在
    1 }  k( \( @* g
  67. libraryname = dbexpmysql.dll
    " `+ U: b# E% g
  68. 积极= 1
    - c0 f/ H3 c2 _
  69. ---例如---- ; |* L; B% W: }
  70. -写在0 2.03.04由p wk.linuxfan8 a) q  K! \- M% X2 v$ [, A" p
复制代码
发表于 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 words3 m' A! a( M! {9 o" J: T' _

. t1 ~' ^5 D9 Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-11 01:30 , Processed in 0.185741 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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