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

2310 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( G( o1 d; ^% Q& {8 {6 k' ~8 G
6 q! Y" y7 L5 ?# X
  1. $ F" o6 P  x2 Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 R* R% }: t  |, a

  3. ) b/ n! ?: X$ I' J% r& O4 p" O3 V
  4. ### What we need ###1 v) R8 h: U1 ]4 y. |, `
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - H" a( s% }" L  l! _. t$ ]3 x
  6. will not explain how this can be done - there are documents out there for the
    $ Y) J1 ^" }3 D8 K; O  S: [- g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - b7 X( S2 T* T3 U# [
  8. and a user account (username + password) that has the permissions to do stuff
    ' L, g0 J% a8 t6 |7 A
  9. with the database. Additionally, you will need a vendor library installed on the
    , }$ y8 U0 g3 `( g5 b2 H
  10. local machine, this came with my MySQL install.( l7 R- ^6 i* V" i& E
  11. These instructions will not tell you how you might transfer your data from the( w: v# P9 Y  E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / |6 e/ i$ p$ Y: T4 y; P
  13. database.- ~; Q5 i  T9 F6 m
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 p9 v* Q6 t' p* r3 d1 i5 v
  15. the time of writing, there are still too many issues - check the current status
    & o' I% r9 m: p/ M; \
  16. in the TeamSpeak forums if you are interested.
    ) }" u1 E. E( l8 W% @6 ]- V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " e7 \- |$ y7 _
  18. Borland was used. This driver can only interface with the client library that
    $ T* D4 Q# D: ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - B" l( ^* i  Z& @* Y8 d
  20. client library - basically all you have to do is to use a 3.x client library as 6 P5 W- a" g* H! f: H+ ~
  21. "VendorLib" and a 4.x database to connect to.5 D& n3 D# h: I# k' E
  22. If you need more info about dbExpress, you can contact Borland., ~7 \. ^  m% g' h4 `

  23. 5 c3 |2 ~  R: \, O1 a; L
  24. ### Doing the work ###/ ~2 O% g1 ^% L( p: `& L( @2 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 y3 C1 I$ c4 H5 Z) ~1 D
  26. the perquisites right, just open your server.ini file, and add this section at
    / D4 w' ^) d; t6 P* k  w: O2 @$ ]
  27. the end:
    ( r; T/ m+ z3 o8 h- C% H% @
  28. ---cut here---
    2 c: }& B7 w' M9 L! o4 B6 `! K
  29. [DBEXPRESS]
    ( C3 E+ ]4 p: U9 [2 c- f9 s! ]: q) h; i6 s
  30. sqldir=mysql_sql
    8 B9 U  i! ~2 f! G
  31. Drivername=mysql
    " Y4 m, g! O* z6 m% r* O
  32. Database=Your_Database_Name_Here
    % R6 {$ p9 G" h/ i
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 @( k  g/ v/ n) l# C8 ^0 U0 y% R
  34. User_name=User_name_on_the_MySQL-Server) ?+ Z# r; V6 J" H9 Q& W5 _1 d
  35. Password=Password_to_go_with_above_user_name
    7 h+ G5 k" Q% F. u" C0 P, [$ M  b
  36. GetDriverFunc=getSQLDriverMYSQL" U2 ]. u* M' T  w* ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 y( w' i- `2 s' E, J
  38. LibraryName=path_to_libsqlmy_libary) b, \. L$ U7 ~" M/ u
  39. Active=14 O0 s' c% D! o' t( x# k* j
  40. ---cut here---
    - ?4 i! S: r/ s$ r; e" e4 l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 D2 N0 X5 ^9 @% Z2 y, k" ?3 R; `
  42. ---example---% w+ R9 k3 O& e. j% N' j6 h
  43. [DBEXPRESS]
    1 v% `' S& v- r) j! V
  44. sqldir=mysql_sql
    . e/ T$ j. M7 p0 \. r0 w
  45. Drivername=mysql
    9 ~; x  I3 J3 n- o0 f5 W
  46. Database=test
    0 a9 {4 q) C( K; _: b
  47. Hostname=localhost! n$ v( H2 V0 z1 \2 r8 x
  48. User_name=testuser$ O& S1 [6 R  F
  49. Password=my_password+ K4 ]/ d$ k) W6 b
  50. GetDriverFunc=getSQLDriverMYSQL5 u/ ]% F7 W- F( [: @7 P7 N4 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& u5 Q( j: k$ n' ^( Q! F; `
  52. LibraryName=./libsqlmy.so/ h; z+ M" \  ~8 {
  53. Active=1
    * o6 k' C: |/ [% D
  54. ---example---! g" K* c- x5 K& l1 K6 |6 m/ q
  55. , h* l% B0 B  |( C4 ?( Y. E5 H7 W
  56. On a windows box, also running the MySQL server locally, it would be:( u4 i! W; v) V9 l3 f  y3 F
  57. ---example---
    ' W2 v7 m# @. B! G; a5 g: ^  X
  58. [DBEXPRESS]
    & r& d  i' ]# }( ^
  59. sqldir=mysql_sql/ {" t6 \! A4 L" H$ e: u0 e
  60. Drivername=mysql0 ~: @4 \4 r) z$ @- e
  61. Database=test
    7 v" g* \6 w5 m
  62. Hostname=127.0.0.1
      {3 X! t3 V1 S' P/ s/ j8 G3 i0 y
  63. User_name=testuser
    - ~3 ?& b/ Z( d5 t
  64. Password=my_password" Y% O5 Q) C2 t/ K$ t# O
  65. GetDriverFunc=getSQLDriverMYSQL$ g' _9 i( d8 |
  66. VendorLib=libmysql.dll, J7 L2 j3 H2 S0 s
  67. LibraryName=dbexpmysql.dll" a! v3 ?+ x/ C2 M: o  W5 O/ d, K4 {5 }
  68. Active=10 y8 R  c4 j7 d5 ]+ w- v) I- m
  69. ---example----9 t( m9 B" O1 J& ?% {" O& \
  70. - written 02.03.04 by pwk.linuxfan
    / y& T3 ~( G. O  t' S. ~  i: K
  71. # m3 }' E+ q4 o/ I! {- g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" `2 s4 L$ p8 Q- T9 m3 O/ D2 H* G
  1. - l% G1 U. ^6 m! x0 P% X2 _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) k! f% O( Q( [. x8 u! e" k
  3. 6 e6 [1 ]- f; U! I+ N
  4. # # #我们所需要# # # 0 M4 S) z. _, C# \6 i' p1 b/ D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 W) W) V1 x0 k1 a% v3 ?2 q! x
  6. 不会解释如何做到这一点-也有文件存在,为
    . i0 I& I5 A2 L: t! E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ g' h5 R& q0 L% J) a- j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ t( k% r3 ~+ \& r$ K- X6 f# e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; F9 H- q1 `2 i% ~
  10. 本地机器,这是我的MySQL安装。 ! z2 C; |4 @% c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! ?/ t1 q1 O+ ], G# @# B2 `2 G0 U' L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) _$ j1 |7 S. `' Z% o& F
  13. 数据库。 . x0 \/ h. o/ X1 f( V8 M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" G: f+ j4 R( L, `% Z" D
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 y: r+ c2 `7 X; }( C. {: p  |1 o
  16. 在teamspeak论坛,如果你有兴趣。 / }1 X  J0 [. m# G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 O" j/ q3 x9 V4 H  d7 Q; e# t" F
  18. Borland公司使用。这个司机只能界面与客户端库7 s2 I- W, x# M7 L9 D# e- {* T; s8 N
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% U0 h  z  R" R- y! o9 W) m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ ]. y3 O& ~4 R" [( |
  21. " vendorlib " ,并解数据库连接。
    # R8 j* N- L* P* O  s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) M0 G8 ^2 B4 ^$ l
  23. / z' q7 S3 m+ B
  24. # # #做好工作# # #
    - `2 v7 S7 s6 p$ _# w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 j0 q' |0 k3 K" D" j$ ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, h: [$ t  s- N! z
  27. 结束: : u% F. z/ b4 d0 W" G+ i
  28. ---削减这里---
    ) S7 _! z- p' x/ i0 L: ?
  29. [ dbexpress ]
    7 W; s2 f# L' M+ v  K' ]
  30. sqldir = mysql_sql
    * z# L: T: u4 t
  31. drivername = MySQL中
    : |' P$ Z$ l# ]' U) ~" r' ]/ ?4 U
  32. 数据库= your_database_name_here , I% b  R2 m6 F6 s: `, f
  33. 主机= the_pc_the_mysql - server_is_on + ^/ W3 q2 g/ p$ N7 x3 A9 ?
  34. user_name = user_name_on_the_mysql服务器
      F, r/ F9 A/ v
  35. 密码= password_to_go_with_above_user_name
    ! ~" l9 }$ M2 k* G! {
  36. getdriverfunc = getsqldrivermysql
    $ u7 L' g% R& o; \( `- p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 k! }7 v1 ^- ~2 C% v% r
  38. libraryname = path_to_libsqlmy_libary
    6 j( F. l* E  R$ m' m5 |! u+ z
  39. 积极= 1 & u- W4 _, e! A9 D- Y3 z
  40. ---削减这里---
    & r  K2 A# d0 W. s0 ]" i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , f. j  |4 }# R1 c( z4 L
  42. ---例如--- & v' A3 `, A+ C( V0 E" V- d2 A. H
  43. [ dbexpress ]
    ' N; n; D  a; n: U  _% i
  44. sqldir = mysql_sql
    . ]* `/ t/ c% u2 x6 l" A! ?
  45. drivername = MySQL中5 g( {0 u) g( J3 k5 X
  46. 数据库=测试
    - V4 d4 ^& v" b) w* k
  47. 主机=本地主机; Y1 `/ g2 {. l6 u  [" t. z
  48. user_name = testuser ; l4 B- q7 a& T- I' w7 C5 z
  49. 密码= my_password
    - z2 M+ l2 d2 ]7 Q- f
  50. getdriverfunc = getsqldrivermysql ' u4 h2 \( q8 k- R" u* W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 ~, {. c0 U4 e* \/ n
  52. libraryname =. / libsqlmy.so
    + X/ J! e6 b9 w0 `! ?1 i. p: ]
  53. 积极= 1
    * a9 s' N7 Y% g+ ^, u( M( E! [3 h
  54. ---例如--- 6 w: A5 K- X0 d8 n) j2 U# i9 f
  55. $ K5 m$ M5 _4 \# k- F2 @" e5 G$ T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % z' o; Y7 i  {- U
  57. ---例如---
    - r, U# m' C' i5 K1 \" d
  58. [ dbexpress ]
    $ D- m& q& W& M8 G, s0 E$ \
  59. sqldir = mysql_sql 2 f/ N- K7 v& {# h3 a
  60. drivername = MySQL中; q6 g2 m, u5 |8 F7 i
  61. 数据库=测试6 e3 l% U3 u! |! f) e
  62. 主机= 127.0.0.1
    9 b& ^9 @, C5 w3 q
  63. user_name = testuser 2 @+ ^0 `/ z* w/ ^5 a" U) q
  64. 密码= my_password
    . t6 M$ [' A' f( L
  65. getdriverfunc = getsqldrivermysql
    3 i% o1 O2 ^$ g  R2 S4 W' `( J
  66. vendorlib = libmysql.dll在
    $ _8 X* k& W/ y6 {
  67. libraryname = dbexpmysql.dll 3 u$ N. t9 T2 q: Y+ v0 N8 i
  68. 积极= 1
    6 c; g2 k% m( g4 N0 l& M3 w, `
  69. ---例如---- . Y& W: z7 H; Y$ ^
  70. -写在0 2.03.04由p wk.linuxfan/ u% O" P% ?7 w7 G0 B
复制代码
发表于 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: H- e( l: h( n) n
. c+ t3 D* P; e  \$ Z3 i8 y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-18 14:37 , Processed in 0.092721 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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