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

2306 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ d  M0 Q% _6 ~  G: W& m* g$ @" t, L4 C5 u( C

  1. * r+ N8 U* g& p0 n8 @% `% S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 b: o0 z1 |, t2 d/ l' Y4 m' t/ u
  3. $ k( L( d4 R  E2 w* Y
  4. ### What we need ###+ [7 Y  B! R* w# M3 `" ^7 D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + f# y8 w* u$ X  x
  6. will not explain how this can be done - there are documents out there for the
    & A  @1 J# G; v
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 T0 }9 R1 m1 K7 H# H* n+ m
  8. and a user account (username + password) that has the permissions to do stuff
    " \  x$ F. q# w
  9. with the database. Additionally, you will need a vendor library installed on the
    9 ~0 _% p( ^0 ^# h# N0 ?
  10. local machine, this came with my MySQL install.
    + A+ a' q" I& t" m
  11. These instructions will not tell you how you might transfer your data from the
    2 G0 [/ H. r3 c. c
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 B6 ~$ I8 |- Z/ U4 W* O+ s
  13. database.
    1 c! L4 |: H! Y# q8 y# Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at& p' P# Q/ j# a# Z4 A! T
  15. the time of writing, there are still too many issues - check the current status
    $ [, z/ R* K' j+ G
  16. in the TeamSpeak forums if you are interested.
    : U8 V1 ]- L' {) e8 D2 t2 n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 s( p: _$ U( V2 W" B7 z: b. C
  18. Borland was used. This driver can only interface with the client library that
    7 K+ v4 J; v' f' M  w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" ~) Q$ M6 j8 t0 J! ?* u
  20. client library - basically all you have to do is to use a 3.x client library as
    0 B& w" P( c1 O, ~
  21. "VendorLib" and a 4.x database to connect to.
    ; x& l1 P4 ^0 N6 ?$ n9 y) O9 A
  22. If you need more info about dbExpress, you can contact Borland.5 R( h; T* v4 P* K  n/ b

  23. * |$ e* X' i* K9 S) u- e. e- |
  24. ### Doing the work ###
    - k" j6 N" i& q; S% J& K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 O) k, L% j# h+ C
  26. the perquisites right, just open your server.ini file, and add this section at& i3 J2 @& D8 H) H" S9 J  U6 j% G
  27. the end:0 \' k, }4 t8 V) F- }/ n
  28. ---cut here---8 o, l+ B7 }7 W3 g' l
  29. [DBEXPRESS]
    & n: t, S2 {9 _- O. L0 v
  30. sqldir=mysql_sql1 Q, R: {+ C% A3 r- G
  31. Drivername=mysql( p/ g; }) N, a' ~9 J
  32. Database=Your_Database_Name_Here
    9 L: l0 D6 N0 e6 S+ ?' }5 P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % N# T0 D" {: L- j+ V
  34. User_name=User_name_on_the_MySQL-Server0 ^  F5 m$ @5 `
  35. Password=Password_to_go_with_above_user_name
    - V  U7 t9 |' m% O
  36. GetDriverFunc=getSQLDriverMYSQL
    " K$ z3 N8 S" c3 y% p( t: p6 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( E- S+ W! I; E1 S1 a! x
  38. LibraryName=path_to_libsqlmy_libary5 Q8 B; e8 m0 B' A5 O: d
  39. Active=1
    " W& S; E+ I/ T- A$ q+ _
  40. ---cut here---7 A4 T  ~9 @* ]% w' Z! p
  41. In my environment (a linux box with a MySQL server running locally) I have:  p2 Q- V, G6 Z
  42. ---example---
    4 Q% M0 \8 t1 K& h" Q, F$ \
  43. [DBEXPRESS]
    + a9 @- {) h/ x. q
  44. sqldir=mysql_sql6 m) D) ~+ O6 v  d+ o
  45. Drivername=mysql
    ( M+ ^5 G% a3 C$ v, {" }0 S
  46. Database=test/ f6 W/ l4 p' Y3 G* W5 \! n6 U
  47. Hostname=localhost
    / c( |1 g* W4 J6 [0 X
  48. User_name=testuser2 @$ I- f. p9 s+ R4 O
  49. Password=my_password
    # ^2 w; u4 I/ c5 y+ P
  50. GetDriverFunc=getSQLDriverMYSQL* Z6 A$ U6 W9 B6 D  n  O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: x- S! q9 j& B0 {1 ~
  52. LibraryName=./libsqlmy.so
    # ]( M8 W& x# I9 }( }3 f
  53. Active=1; Z, L# b; I* S% q
  54. ---example---
    " P7 `3 w4 N4 w5 c0 k

  55. ! j3 G& d4 b1 K8 i
  56. On a windows box, also running the MySQL server locally, it would be:9 R5 z7 o$ x9 _" R* L5 b
  57. ---example---+ T, H# G  K3 |1 ]4 {
  58. [DBEXPRESS]- g3 |  p6 d- ]8 r0 p
  59. sqldir=mysql_sql) ~) C: }/ D: M' i9 q1 d
  60. Drivername=mysql; }) K$ U4 l4 Z  g9 u" s
  61. Database=test$ _, ]. Y  v  |9 q1 ]7 q
  62. Hostname=127.0.0.1
    # e* t9 `2 d& c, s! ^
  63. User_name=testuser
    ! `. ~% ~, O( w9 n, t
  64. Password=my_password; K* P( M. v  Z
  65. GetDriverFunc=getSQLDriverMYSQL
    6 e- X  g: P2 A  s& [5 ]
  66. VendorLib=libmysql.dll
    ; ^: v  l- o: f  L# T8 Y/ E5 C1 M) p
  67. LibraryName=dbexpmysql.dll
    4 U2 L: k+ A1 n8 c& I+ |+ [# {0 q
  68. Active=1
    " t$ |5 e' y  r: O' p7 d/ I2 [, U
  69. ---example----
    + G$ }, V2 J4 ^2 g* L
  70. - written 02.03.04 by pwk.linuxfan
    . J0 C# s( r! k$ c9 J

  71. , ?. e* F) O% o: y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  V& p+ ~/ u& f. o

  1. % J7 u$ J, B7 I9 q0 H2 V9 N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + g# g9 ^0 k" W2 p; q0 O
  3. # e0 E6 U- T0 `1 e- n
  4. # # #我们所需要# # # $ `+ D7 N8 C3 |2 o- g0 }! q" w
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 {8 @' ^( D3 G) A3 c2 O7 @
  6. 不会解释如何做到这一点-也有文件存在,为0 T6 G0 P! }3 e$ K+ f% [% F6 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 q  L* k1 R  E, ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ {% D% }( F3 g' _) _4 C1 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 e' z7 u7 i/ h- B7 N
  10. 本地机器,这是我的MySQL安装。 . W' X3 j3 v+ H( L1 W9 _9 W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; ]2 K9 w' P' `1 n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : ?% U- o7 E0 o/ h# @
  13. 数据库。
    1 r# H9 p8 |! S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 u; J. }* E- u
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ v; B" a( G. b$ {1 c: V3 e
  16. 在teamspeak论坛,如果你有兴趣。 , ?# O4 ^* q% g, C# C9 |( v3 O1 x- X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) g4 Z" \7 Z" c4 v
  18. Borland公司使用。这个司机只能界面与客户端库
    9 b  D; h- |' N2 P6 t/ r8 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; q7 c  t$ r( C, C% H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 u$ ?4 G! Y3 t
  21. " vendorlib " ,并解数据库连接。
    0 c) m% N  z% U7 e3 @8 F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 F& ^/ f" m$ r# q) K3 d8 g, X$ |
  23. 6 U9 d8 T6 W* y2 O
  24. # # #做好工作# # # ( `# {& n  G" P- u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 B; f* h, u: t$ `1 Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: w6 `0 i$ Y/ F
  27. 结束:
    : n" ^5 j& [* Z  v% C
  28. ---削减这里---
    " x5 U/ S- _, u3 b1 a7 o2 g+ y
  29. [ dbexpress ] ! ?: A8 A4 P4 Y( s0 V
  30. sqldir = mysql_sql
    ) {' q; H% y& |8 V7 M
  31. drivername = MySQL中) n  a+ i0 q- q4 ?* l4 m
  32. 数据库= your_database_name_here ) A7 a7 _0 i+ u8 i
  33. 主机= the_pc_the_mysql - server_is_on ! I# W8 K0 i6 }$ v6 Z3 g$ _
  34. user_name = user_name_on_the_mysql服务器
    & Y+ H- U3 t+ V1 z
  35. 密码= password_to_go_with_above_user_name " X$ V' L9 W3 H% W2 s5 ]
  36. getdriverfunc = getsqldrivermysql * f: m9 [6 }% q. @3 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ A6 C" l7 ]4 C( m4 f
  38. libraryname = path_to_libsqlmy_libary 4 \. m0 q/ x1 p' i5 K. w! X
  39. 积极= 1
    7 j9 l4 C7 m2 Y+ h! `* i4 y0 c
  40. ---削减这里--- + f1 {* L" I2 B) f. d, H( V  K) v: I" L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 E7 x; Y) b7 e6 \1 Q( d. Y$ e
  42. ---例如---
    0 M% z, d: r7 C
  43. [ dbexpress ]
    % x& [9 o7 m" B
  44. sqldir = mysql_sql % y5 c% G2 y! j" p& t% I
  45. drivername = MySQL中& z. l, I9 z" D1 i/ Z
  46. 数据库=测试9 S( S+ d1 ^2 m" j4 J
  47. 主机=本地主机) D8 S, I* e  X! ]4 u) \4 U: y
  48. user_name = testuser 4 R9 d/ S) u/ _
  49. 密码= my_password % g  H0 |3 S/ v3 y8 ^
  50. getdriverfunc = getsqldrivermysql
    9 `, v  a2 }* E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 ^) ]4 {& b7 R' C+ X( w' b* p7 Y
  52. libraryname =. / libsqlmy.so
    3 m9 @5 }2 }( e4 |$ h
  53. 积极= 1
    . w8 @* T7 O5 u1 t1 z
  54. ---例如---
    ! ^1 Z& `1 X. E  f' F% f2 v5 M0 Y6 u
  55. 2 @- v" }: {6 H# i: s% R8 [
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + U5 u( G# O% H9 G5 s- ~
  57. ---例如---
    ; z: `! p3 j- _% u( k
  58. [ dbexpress ]
    " @1 {% D& B( e, L
  59. sqldir = mysql_sql 8 W  v$ }0 [  I, X2 A
  60. drivername = MySQL中
    . G/ t+ |$ z: j6 K; P3 S5 Z
  61. 数据库=测试. ?8 W  j- R1 I4 t! L: F
  62. 主机= 127.0.0.1
    * D4 }% b4 z6 V! ?0 y0 x( h2 j
  63. user_name = testuser
    ( P$ z# N0 l( O( ^1 h
  64. 密码= my_password
    5 I6 l6 ~5 H. p
  65. getdriverfunc = getsqldrivermysql
    . d! n6 a# h/ p& |% ^
  66. vendorlib = libmysql.dll在) m6 t( f9 d8 G& I8 ?) d0 s7 b
  67. libraryname = dbexpmysql.dll 2 J3 Y, o) H# h6 \9 ^+ i& L' B$ j
  68. 积极= 1
    4 p9 P7 H  K9 O( i% x
  69. ---例如----
    . x2 j3 v+ V7 A5 I+ ~7 U  v. b
  70. -写在0 2.03.04由p wk.linuxfan
    & N2 c: R4 j! n( `# E2 a, x4 |
复制代码
发表于 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
  t3 ]) w" b8 ^- s* s% i; n: M+ L+ u$ a: F2 ^7 S3 G6 g
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-17 12:38 , Processed in 0.120591 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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