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

2686 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / `& a0 ]; u( O  R& L% l& _
" {; {" _! J" A) \/ y

  1.   E. ]3 V. O: s' Q3 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; ~% K) b8 I; l  C7 T2 Y0 k
  3. 7 T. H: }) r. A0 G; l
  4. ### What we need ###6 V( s2 D1 G6 w, V
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # E4 D. L7 p. _. Y
  6. will not explain how this can be done - there are documents out there for the , ^2 P3 n1 a: `0 @  s( y: z
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 s% D& `4 L, n  ]
  8. and a user account (username + password) that has the permissions to do stuff1 ?* _4 [4 S* D! p$ y
  9. with the database. Additionally, you will need a vendor library installed on the
    1 G, V4 w) [/ G: p5 K. Z" d# a. k
  10. local machine, this came with my MySQL install.) X, E5 @6 j- n5 D9 j% c5 N3 E0 e
  11. These instructions will not tell you how you might transfer your data from the
    5 x3 T9 Z( x' {8 b  D% o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    * C# g' u4 ~! D: e+ x
  13. database.( K* \3 A+ {* U8 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) u2 L6 B( q' T1 c
  15. the time of writing, there are still too many issues - check the current status
    ! W* t$ m/ h: i
  16. in the TeamSpeak forums if you are interested.
    - Y4 t1 D9 U7 `$ n  U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , k* w/ D# D/ I  N5 h, [. y4 ~; ^& d, |: D
  18. Borland was used. This driver can only interface with the client library that # J5 @3 B! s' G) l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' m( \: \: x& F  a; @% m: K
  20. client library - basically all you have to do is to use a 3.x client library as
    ; f) G- V: F$ }5 f: P
  21. "VendorLib" and a 4.x database to connect to.
    * Z/ C! d& I' ]5 Y3 x
  22. If you need more info about dbExpress, you can contact Borland.
    * t2 u1 S5 g3 ?. e! U* D0 R1 A

  23. # X* @8 ^% Q) y# U. f
  24. ### Doing the work ###
    " w' Y1 i3 o' \8 b$ c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) m/ G+ M, [; b7 k; c
  26. the perquisites right, just open your server.ini file, and add this section at' }# z1 L2 ?8 k, O
  27. the end:
      C% |* E6 h+ j, l" t6 a
  28. ---cut here---
    $ q( H7 Y- J) S# w
  29. [DBEXPRESS]
    5 h8 ^* w, s& U
  30. sqldir=mysql_sql5 O) z# G8 i6 B' R
  31. Drivername=mysql
    3 f, |% j6 i' Z1 K" N8 H
  32. Database=Your_Database_Name_Here0 j: S& }; P' e1 v  U' ^7 ^* g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ ^8 i9 _( F. j+ h
  34. User_name=User_name_on_the_MySQL-Server  u' S1 T; x) v; y" E
  35. Password=Password_to_go_with_above_user_name  s$ q3 _3 k" C/ R5 z* o
  36. GetDriverFunc=getSQLDriverMYSQL
    0 W) d' |) v# U0 j; Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ \* s( {  W5 H  b
  38. LibraryName=path_to_libsqlmy_libary
    : p$ b8 {. T4 K0 A1 v9 p+ z
  39. Active=1
    ' ?/ z$ }! p, S0 T0 E
  40. ---cut here---- a; Y: l! t: o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 H- b, t7 ^0 ~
  42. ---example---
    3 a0 O! p( J. v5 [/ B" G
  43. [DBEXPRESS]' ^) u( ?  B; @- j% o
  44. sqldir=mysql_sql( K) D6 l2 N0 O5 [5 j- [3 ?+ k6 |
  45. Drivername=mysql
    / A8 ^' U' D( [' p6 ]
  46. Database=test
    2 H8 i& t* f) {0 }) a) o
  47. Hostname=localhost
    0 D& K; w0 y* b( z3 `" Z% S' p
  48. User_name=testuser
    / X# L- I0 V" j" r  k: ^3 O
  49. Password=my_password
    7 B7 c8 p3 ?& j/ ^5 N
  50. GetDriverFunc=getSQLDriverMYSQL* x% e% f$ z7 H0 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; z% N, [' |! v  p: ~! }
  52. LibraryName=./libsqlmy.so
    . h3 j% c# x( P9 r0 m- W
  53. Active=1
    ' Y; D+ G* D, z* v3 ]- t8 g+ M' b
  54. ---example---
    , a  }- C$ L0 u5 s
  55. ! w" J, A; @: A& N- J' @
  56. On a windows box, also running the MySQL server locally, it would be:7 Q; y2 k/ y4 d
  57. ---example---
    * H9 H3 x2 g! L
  58. [DBEXPRESS]) s  T( R- b: I8 q$ f$ V0 R
  59. sqldir=mysql_sql
    ! |) W  w/ I# M8 n+ B" P. k
  60. Drivername=mysql
    , `7 X- ^; O9 W
  61. Database=test
    / v4 M- {0 h( d2 x3 ?
  62. Hostname=127.0.0.19 g2 L3 |7 p- C1 g
  63. User_name=testuser
    % ?2 f0 C! i( K
  64. Password=my_password
    * _! Y7 c! T, k" W  q- H
  65. GetDriverFunc=getSQLDriverMYSQL% }0 B/ ?2 c+ B5 T4 |
  66. VendorLib=libmysql.dll& n4 W! F9 d* |' Z( ^
  67. LibraryName=dbexpmysql.dll9 f1 q( i! c! X" J. L
  68. Active=1
    . `- t+ B5 |% a" f1 [3 c' v, @" k# G
  69. ---example----
    0 i" M7 a: |3 Z" O
  70. - written 02.03.04 by pwk.linuxfan# A) y) R/ T  a6 [" L  ]
  71. . _, Q9 z  B) C8 c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
* p$ x8 u( j0 j+ D

  1. ! [3 G" s8 r3 a8 T. Q; v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 T" l* V& t* [' n  K6 B

  3.   y) {' Q0 p+ ]( d' p: y. m
  4. # # #我们所需要# # #
    3 N  q3 o0 r9 j, T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 C% F5 ^; h, V+ B" _
  6. 不会解释如何做到这一点-也有文件存在,为) M1 W; B& ?. l4 T+ f% v$ Q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 r8 J2 M, ~! n9 P( s+ F% k4 K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; C1 a( _# U2 j1 k& _/ R. ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , z$ \) n; J7 _
  10. 本地机器,这是我的MySQL安装。 $ \% o3 W( a5 b3 q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # d$ G0 @" b5 G7 c/ o6 y. g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ |$ N5 S! q& [3 P% c& K4 S
  13. 数据库。 3 G: D$ w* b: V# t  f6 C4 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- O4 ~& B) Y6 e6 D5 c' ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & v# B0 g% u3 K$ X  I, V# y; ^
  16. 在teamspeak论坛,如果你有兴趣。 1 Z8 z4 i2 O& a  A6 S9 f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" U9 G' F7 d4 N" S2 @: ?
  18. Borland公司使用。这个司机只能界面与客户端库, \6 z8 P4 A; J" ~* m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% O+ T2 h' s6 x  A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! }2 J  f0 ~! l; T7 ~
  21. " vendorlib " ,并解数据库连接。
    6 K. r5 F5 y3 J" }9 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + a% n4 K1 K6 ?9 x
  23. 8 j( _6 J$ p) j6 E6 |" q# r
  24. # # #做好工作# # #
    7 H; H3 x& D6 ^; ^) m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ e$ M0 ?7 F! B/ y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 Q7 V; N* X) m
  27. 结束:
    $ R* p% P3 [5 A( ]  j1 K
  28. ---削减这里--- 5 x- b; ]: m7 Q6 u
  29. [ dbexpress ] % d6 i3 e5 P5 Y" F4 y
  30. sqldir = mysql_sql " a) ~. X$ V. ^8 S
  31. drivername = MySQL中
    , b- ^# j# G4 L
  32. 数据库= your_database_name_here $ R" ?' |  b) T4 V; ?- I
  33. 主机= the_pc_the_mysql - server_is_on
    8 o, l5 C( v8 ?; `9 m% o8 R) O
  34. user_name = user_name_on_the_mysql服务器3 B" h+ y# i9 E  ]: N4 y
  35. 密码= password_to_go_with_above_user_name , O/ @7 C2 N1 q& U
  36. getdriverfunc = getsqldrivermysql ! T4 K% Y- Y: ]4 b5 F! v+ e% q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , c+ }  Q- `( \. Z( z
  38. libraryname = path_to_libsqlmy_libary
    + d% v+ v0 S- f
  39. 积极= 1
    6 ^7 q0 w4 o) N8 \$ T! E4 I8 Z
  40. ---削减这里--- " c3 O, M- }' h% \2 z# T; z3 [1 Q# D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . R3 `& z. ?/ Y- D* E
  42. ---例如---
    / l' i& s$ H: ~$ z3 ?' s6 U+ R. W' Z
  43. [ dbexpress ]
    / @- S; w4 y' ~
  44. sqldir = mysql_sql
    ! `4 K  ?6 N  B" @9 s* G
  45. drivername = MySQL中
    ) G$ w& H9 o" b) ]$ b7 O
  46. 数据库=测试
    9 K6 u; j" F& l# F: h# s" \
  47. 主机=本地主机
    ' c  S& r! R) N; ~5 ^' V! ~3 P
  48. user_name = testuser
    % G( h1 j( {4 n& j# z+ K
  49. 密码= my_password / ]4 x5 C9 m- p0 b5 x. a4 M" K$ S3 w
  50. getdriverfunc = getsqldrivermysql
    % U2 V( E* o- V8 a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; q9 a& k( x: O) b3 \9 H
  52. libraryname =. / libsqlmy.so
    2 N/ n. b3 Q6 v& E2 \
  53. 积极= 1 . o3 f5 j' J1 P% H: N1 j2 m& n! @
  54. ---例如---   e; d! w# f" X7 O+ N, ^

  55. * @  F9 `( `) G. |1 z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      _: u  ]/ D! ~$ A
  57. ---例如---
    0 N1 l" T; q9 x/ D/ g
  58. [ dbexpress ]
    + P3 ^2 g$ z1 g5 ^0 G; H
  59. sqldir = mysql_sql ' _6 `3 O' }' _) i4 ]  c' j- m1 ~7 s
  60. drivername = MySQL中' w2 T/ @4 E" U! X
  61. 数据库=测试/ |; F) \1 x1 _& z9 ~! c% q/ h
  62. 主机= 127.0.0.1
    % Y, w( z3 k" z
  63. user_name = testuser
    ; X" m2 [1 z9 ]# o" m$ ]& s
  64. 密码= my_password
    " @7 Z/ K- F* S, H
  65. getdriverfunc = getsqldrivermysql 6 l4 H/ h+ ?+ L; w7 P. v1 m6 ]
  66. vendorlib = libmysql.dll在
    4 e) _' _" }0 P) p
  67. libraryname = dbexpmysql.dll ) p; D: ?* {' O5 s% E, H9 e+ y# @* L
  68. 积极= 1
    * J' a# }& ^/ F# m" f9 {
  69. ---例如---- 0 N$ l4 P( k5 T, n9 g
  70. -写在0 2.03.04由p wk.linuxfan: J7 P6 D6 Q$ R1 Q) K! a7 j
复制代码
发表于 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/ l& p: Q4 k- t
% {3 f4 j6 e# q+ F& j: R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-31 13:32 , Processed in 0.104635 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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