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

3542 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 J4 W; v8 B$ F; {7 R

' C4 f6 A) I  o

  1. " p8 O# J  ^7 f" b! c1 K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 s3 {$ D* T4 n0 b, I

  3. ; E1 b$ J' r4 h/ }
  4. ### What we need ###
    # l4 u- H& O' {6 y  d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , l( W. N! |4 D: o  a$ E
  6. will not explain how this can be done - there are documents out there for the
    ! A+ O& O7 j$ ]3 v  D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . d) g/ J* ~  ~% g& f7 G: h
  8. and a user account (username + password) that has the permissions to do stuff* h. D7 J/ N* m8 M( A/ @( E  D2 q' u
  9. with the database. Additionally, you will need a vendor library installed on the& q3 L8 }7 u; |( {2 T% z1 o* W) j
  10. local machine, this came with my MySQL install./ a/ m; a( g6 [2 x7 r
  11. These instructions will not tell you how you might transfer your data from the
    . V- U+ h, p) |+ t+ }9 e/ Z( z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 l; y0 Q2 a& L4 g! e
  13. database.
    4 u4 V% S, j' W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 u# r0 K0 f# ~8 d7 z
  15. the time of writing, there are still too many issues - check the current status
    2 ]: V# t& B; G& D* w0 I( k
  16. in the TeamSpeak forums if you are interested.; c1 \; k+ }  I3 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 n4 H1 j/ I. q8 i! z1 g- {
  18. Borland was used. This driver can only interface with the client library that 7 d) L2 M$ C' s/ S& ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 c' U8 s5 `; T, R7 s6 U
  20. client library - basically all you have to do is to use a 3.x client library as
    7 A- X( r& `; C3 N# L6 U# r$ [
  21. "VendorLib" and a 4.x database to connect to.2 X8 O+ a3 w; Y  N# I2 s6 ~
  22. If you need more info about dbExpress, you can contact Borland.
    : h  D0 a" c( z: O

  23. + M7 g" o+ @; {. z
  24. ### Doing the work ###) y2 [. u# M, K  ~/ `( G6 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 |5 i2 n6 x/ S6 \7 x' o
  26. the perquisites right, just open your server.ini file, and add this section at; M6 U7 M" H/ G7 t& L1 H
  27. the end:
    8 }1 @3 T/ [9 ?
  28. ---cut here---
    2 ?* f$ j# t/ W# v! b5 D1 x# R
  29. [DBEXPRESS]
    . X3 q9 f8 W% I' A: w4 u
  30. sqldir=mysql_sql& T. T2 x& z: ~2 s
  31. Drivername=mysql
    2 {: t+ V5 W% q% S
  32. Database=Your_Database_Name_Here
      L/ r7 m6 ]& z) _9 ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + X+ v  }- |; q. m3 s7 v) L4 n% K# V) V
  34. User_name=User_name_on_the_MySQL-Server
    / H( `- }0 x, z
  35. Password=Password_to_go_with_above_user_name+ h; L7 \$ D1 k/ R( z0 e+ Z
  36. GetDriverFunc=getSQLDriverMYSQL# f% C. \5 \2 B' x1 P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) F& {% I# D) X5 N# Y7 j( g- S
  38. LibraryName=path_to_libsqlmy_libary
    ) G& \. ?; M7 W4 ?3 X
  39. Active=1
    ; b: R. }5 i0 M# a+ _/ U
  40. ---cut here---
    5 `9 u" s9 S" {: C! o/ o- q& _
  41. In my environment (a linux box with a MySQL server running locally) I have:) q1 E: ?1 c, Q7 f8 j
  42. ---example---
    2 W4 H8 i0 K) B' f& s, a+ S
  43. [DBEXPRESS]
    / A' T/ n$ W* m, q( J0 q
  44. sqldir=mysql_sql) d; z7 _4 v1 P/ R5 m0 P) \
  45. Drivername=mysql
    2 L5 e) e4 y! {+ q6 R7 x
  46. Database=test3 E- ]: S1 F# x5 ^+ J
  47. Hostname=localhost
    + S/ u: B- ], o4 z2 `
  48. User_name=testuser, K0 r0 r$ x2 _# X6 h
  49. Password=my_password0 }$ Z$ a' c% A& E4 S# p
  50. GetDriverFunc=getSQLDriverMYSQL
    . [/ _9 w; P) m9 B, a5 e0 \4 c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ U) H4 Y' Z* o5 |) v
  52. LibraryName=./libsqlmy.so. _- b4 N  O  Q! S0 Y" A4 r9 k
  53. Active=1: U* x3 _. F% t- h% P
  54. ---example---+ P8 e* _. y4 h# \, S" X) k

  55. " s4 o$ O! z- B3 f& ?
  56. On a windows box, also running the MySQL server locally, it would be:) [$ i2 V) }# v6 v1 ]; r0 k
  57. ---example---# f2 t8 k1 f$ C: v+ l+ f+ h( |
  58. [DBEXPRESS]! l3 k$ @" a* h8 O' k8 r
  59. sqldir=mysql_sql
    ( L: n, l+ F" B# X
  60. Drivername=mysql
    % m3 O2 C8 Y4 o' n, V
  61. Database=test
    ) \7 P; T: `4 V) j. s' _; w
  62. Hostname=127.0.0.1
    / Y5 R  M/ x  v" I+ H7 U7 T& A
  63. User_name=testuser
    ; `' o0 v& T: X' y: H
  64. Password=my_password
    / f/ ~# I5 `, E1 h
  65. GetDriverFunc=getSQLDriverMYSQL' W4 G0 T$ Z/ t; h; r: g6 }2 _
  66. VendorLib=libmysql.dll  ~, Q- K" u& I
  67. LibraryName=dbexpmysql.dll! V) ^2 F* X2 U
  68. Active=1
    - ]2 z* V+ N9 l# _6 {/ D$ j
  69. ---example----
    , H9 Y$ B6 ?: W7 F! m
  70. - written 02.03.04 by pwk.linuxfan
    : v7 R5 |3 t: D, P4 d5 o9 U
  71. $ a1 ~6 v8 a2 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 l- E! x& `  o

  1. ( |- [3 a- i7 g* X$ P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * a$ T, T  x; l' j7 o* p( A- j
  3. : p2 }& v% u5 b0 R4 B/ M
  4. # # #我们所需要# # # / o5 `5 e9 P: u% l3 D, X$ z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 _: i( [/ d/ r! e
  6. 不会解释如何做到这一点-也有文件存在,为6 q0 F2 M6 B' o5 U1 n6 S/ l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& L# E- ^! d/ x+ e8 E: H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * @% i2 q" S0 g+ [/ Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , Z- K' O' y0 z2 ]
  10. 本地机器,这是我的MySQL安装。 " K  ~( ?7 G8 A# S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " F2 p+ S  Z) `0 H2 Q1 v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / r  p( q& c+ V  V7 G0 p0 v
  13. 数据库。 " E. v" Y3 z: ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 t8 g" e& I0 V, V! W7 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / i' X/ ~7 _- E9 `+ z) G5 u
  16. 在teamspeak论坛,如果你有兴趣。
    * j( d" P' d; u9 P' n6 W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 Y/ K: A+ V; v$ b
  18. Borland公司使用。这个司机只能界面与客户端库6 \+ @' |& z) j8 K# s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % B( v  H1 i4 {% g" R9 k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ j. [6 s( K: |4 M9 _
  21. " vendorlib " ,并解数据库连接。 2 Z" |: O( |+ ]/ Y" ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & ]- i; d* h# R; t: @( H% |1 Z
  23. % n" e" y9 j# U/ i2 \
  24. # # #做好工作# # #
    6 ^5 w% `  b" V6 s; k4 s  N5 ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  y* u' w! L- R2 \% v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 P* S3 [8 q7 A; Z
  27. 结束:
      Z* K7 m) V( W
  28. ---削减这里---
    # S; h: F. m! d7 s# H6 q* M
  29. [ dbexpress ] ; `/ a: q( Z" W; i5 g( E0 O
  30. sqldir = mysql_sql ! R8 u: T# H0 K# X5 S
  31. drivername = MySQL中
    - o7 B" f+ \: R
  32. 数据库= your_database_name_here ( l$ l" }4 J! P3 h5 s5 O: [% T2 ~
  33. 主机= the_pc_the_mysql - server_is_on
    ; A6 k: i* g3 j. Q: p8 x* y& N% H
  34. user_name = user_name_on_the_mysql服务器
    2 _/ H) L/ E6 X; t' d6 b7 w( o) S
  35. 密码= password_to_go_with_above_user_name 5 [  P: L: |& d8 v+ s  d5 C
  36. getdriverfunc = getsqldrivermysql
    $ {8 X& U; V5 ^6 M- U+ W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 K8 G; i$ T! y) q0 }
  38. libraryname = path_to_libsqlmy_libary
    1 S" }0 _0 b# d
  39. 积极= 1
    . h4 J8 }/ O5 T# b
  40. ---削减这里---
    $ I7 u, {. F: t% n3 V" g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - A5 M; f$ N, v: n
  42. ---例如--- " g1 K& \% e2 N; X" W4 `5 T
  43. [ dbexpress ] ! \9 x! v4 e# a' W" o# z  k1 @) m
  44. sqldir = mysql_sql
    # G& T/ G! H) G% q2 E& b
  45. drivername = MySQL中
    " l' t* B2 ]( ^- L4 E
  46. 数据库=测试; i0 M* U, C) t% Q8 s: R! k
  47. 主机=本地主机
    ; F& B2 k; Z: y8 ]) r
  48. user_name = testuser
    ( t7 L, R; p" A- \; a+ r. ^
  49. 密码= my_password 3 N* E( }) F# S
  50. getdriverfunc = getsqldrivermysql
    2 F# n* \, P( u: a- V
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      ~  Y! [" m  }  _; P' G  w  x
  52. libraryname =. / libsqlmy.so
    " D( _6 R. }) r7 `, I  M( k! X5 w
  53. 积极= 1
    ! z: M" x- q2 I- p0 L' y
  54. ---例如--- ; W+ P6 G! P& ?" ?: H

  55. & E6 W0 F2 S# X) I
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( X  q7 L5 N9 [$ }% h* P
  57. ---例如---
    % O4 O, @  X: Q: d: S) y& }9 Q
  58. [ dbexpress ]
    2 Z0 d( g2 Q2 i
  59. sqldir = mysql_sql
    5 q# R' d5 Z* Y, H
  60. drivername = MySQL中: [6 _! E2 h- `. I: c
  61. 数据库=测试: S4 `, z4 b- |7 s, a, {3 m4 G
  62. 主机= 127.0.0.1 / p5 \0 g$ Z; |* [$ o( N) J
  63. user_name = testuser 1 `' @. T  e: {0 T9 d
  64. 密码= my_password
    6 x. s' s) D; J  `/ u
  65. getdriverfunc = getsqldrivermysql
    ; k8 p7 K* r2 f% s& w4 v
  66. vendorlib = libmysql.dll在2 w: u0 a8 w+ p9 ]0 u
  67. libraryname = dbexpmysql.dll
    % j9 p3 J/ @8 J" j2 M
  68. 积极= 1
    0 `3 Q" P- N& O9 Y% L5 K
  69. ---例如----
    1 m5 T' B0 D& }* J- E6 l) g
  70. -写在0 2.03.04由p wk.linuxfan+ `' N  r. `5 e! N9 C: v8 i
复制代码
发表于 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
$ n/ K3 ~8 `. C+ q0 I& H2 j
" X/ W( _# D* ^7 T; I& xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-20 05:57 , Processed in 0.070776 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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