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

2806 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( O3 B0 ]; l6 a( y# \6 @

7 `- b5 ]0 E. k

  1. - w9 U7 l7 ?8 W' e, F% L7 L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 [8 p2 e% R" v8 P! H/ `$ j9 i
  3. ! X) h& S  }0 ^2 ]
  4. ### What we need ###
    ! }/ a2 t; Q1 ]9 v9 C% T1 E0 U% y
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 g  S% t9 y) D
  6. will not explain how this can be done - there are documents out there for the
    9 e( l+ D2 r8 s$ n. ~$ J% q, x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 X6 ?( S  C1 t7 g! i
  8. and a user account (username + password) that has the permissions to do stuff
    # A5 K0 J! H% w3 l4 i5 s2 q
  9. with the database. Additionally, you will need a vendor library installed on the1 p' o) N9 O% w1 z% B- c
  10. local machine, this came with my MySQL install.: Z& r9 d8 E% J3 B
  11. These instructions will not tell you how you might transfer your data from the
    ' ~; [# }  ?+ K0 Y$ Y7 g) U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' O2 o& ^3 R+ l2 i6 Y4 z
  13. database.
    2 u/ a5 I4 f9 f- q7 F1 Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 I" H; Q5 A: L  z' ^& p3 s% P
  15. the time of writing, there are still too many issues - check the current status
    8 ~3 ^6 r* F" W* B$ D) V& o" q
  16. in the TeamSpeak forums if you are interested.
    ( H9 L6 W3 ^( N! P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      D; @+ _8 a+ E0 J
  18. Borland was used. This driver can only interface with the client library that # _' }% S0 L; }9 s) q- J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& |, f8 S6 L  @0 S0 o4 L: A
  20. client library - basically all you have to do is to use a 3.x client library as
    $ ]4 b/ r+ L* }3 w6 ]+ N
  21. "VendorLib" and a 4.x database to connect to.
    4 y$ i) q% J% x; v0 F
  22. If you need more info about dbExpress, you can contact Borland.3 f9 E5 P5 F3 i% E5 k

  23. 4 d! L% h' s" }  @
  24. ### Doing the work ###* G( V; T, M, ^) s; B% P; J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' O) M2 w# ~+ Y+ U9 W/ y" S
  26. the perquisites right, just open your server.ini file, and add this section at
    3 b7 [# f8 D1 X, m$ @% c
  27. the end:
    - L7 w) t: X) @$ F( c$ W
  28. ---cut here---
    1 y. n" Z8 V+ `' M, |
  29. [DBEXPRESS]
    % T, N+ J0 O- {" @+ `: a/ k! L1 R2 L  F
  30. sqldir=mysql_sql  f$ U" [' p9 v% K* b
  31. Drivername=mysql; I1 J8 z* d  D. `% {
  32. Database=Your_Database_Name_Here8 G; ], {5 q/ t4 Z8 n$ Q& m
  33. Hostname=The_PC_the_MySQL-Server_is_on" g4 `" ~; @$ I! z
  34. User_name=User_name_on_the_MySQL-Server6 Q5 |3 @* N4 Q! `
  35. Password=Password_to_go_with_above_user_name
    ' N; ]* |* h1 `3 n# I( p
  36. GetDriverFunc=getSQLDriverMYSQL
    , q6 A. R. n: S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " z" R6 V2 H1 X' }
  38. LibraryName=path_to_libsqlmy_libary) E' v. h9 x! F% |" K4 b' F
  39. Active=1
    ) \* K$ [. J3 f6 {
  40. ---cut here---" L- G" P% j  l9 @2 v( @# ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! y' B3 K) Y- g$ q& m, W% K
  42. ---example---! P3 }+ N# V* S1 o3 n* w
  43. [DBEXPRESS]
    ! S; _# a9 P, u6 |6 ]  C
  44. sqldir=mysql_sql
    - H/ l' `; m* u; h. E" e4 e6 i, Y6 `
  45. Drivername=mysql
    7 z6 o7 G; l- z- Y: i9 z% m6 i
  46. Database=test
    ! [( x8 H0 T( z
  47. Hostname=localhost
    ) G' D2 c' n* k0 V
  48. User_name=testuser: U/ |( @- O3 g5 t1 p
  49. Password=my_password
    ; p% D9 W: b) K4 ?
  50. GetDriverFunc=getSQLDriverMYSQL+ X! E$ s. {% K6 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % A* m- h: \" c4 a3 K( b& U
  52. LibraryName=./libsqlmy.so
    # N: F5 s8 [- ]. G$ v- t  h, k( A
  53. Active=18 p2 U" o/ K* k9 s1 t4 w. @% ^! \2 E4 }
  54. ---example---
      I$ z3 C) ~: ~& P9 h" z* P- d

  55. 8 C8 p' c( X8 M/ j
  56. On a windows box, also running the MySQL server locally, it would be:/ O  g, a  P4 W$ A& }  {- A
  57. ---example---
    5 h2 F: ]5 e- q6 ], j) G2 ~
  58. [DBEXPRESS]' E( D1 @; ^$ `+ Q
  59. sqldir=mysql_sql
    " B: g% M( u4 K6 G: T
  60. Drivername=mysql
    ! L- P: z6 J. O4 A/ r3 h% i# k
  61. Database=test2 b, Z  g) g+ o5 ]: n+ o* E
  62. Hostname=127.0.0.13 u/ K  M% H7 U8 ^
  63. User_name=testuser& `0 N* w7 _2 K; J2 x8 K
  64. Password=my_password) [1 G! q; r9 X; `2 X+ j% Z& D1 j( H
  65. GetDriverFunc=getSQLDriverMYSQL
    : O0 n( r; W# e
  66. VendorLib=libmysql.dll
    ' g! o& V" u- u5 t5 ~
  67. LibraryName=dbexpmysql.dll7 k2 P! y" L9 w3 n
  68. Active=10 m2 W# F+ @. }% v6 j7 `5 e
  69. ---example----3 G8 K& h" r3 G; L
  70. - written 02.03.04 by pwk.linuxfan
    2 T: C  A0 k' z/ I* s+ d; w
  71. 5 j+ U- I. l$ F% z1 @* M/ q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 R5 _- e& {7 \# ]! j0 V
  1. 4 p+ L& y" C5 t# S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 l, I/ x! o) S$ s6 J& }' H1 H

  3. # \2 S% ?7 \- U# s! Z! R- ~" B
  4. # # #我们所需要# # # 9 o( K0 [2 T6 V3 [' L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 S" ~4 N  N, }" a1 }2 W6 T
  6. 不会解释如何做到这一点-也有文件存在,为
    6 _2 x' ^3 V# d; `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 b! |5 L8 I7 t  p" K& S$ ~! A4 ^! D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " ^" R% T) b, f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 z; B1 g1 w7 i, U/ m( D
  10. 本地机器,这是我的MySQL安装。 ( B) e+ [' D: t! H9 ^1 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / R+ ]9 ~" \% y+ b  |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; n! \" z2 c" B) B4 R
  13. 数据库。 3 v, i* X2 y; @8 {% ~2 Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 l, {: [6 j( h  R- D
  15. 编写本报告的时候,仍然有太多的问题-检查现状- J' W) J1 q. v6 r
  16. 在teamspeak论坛,如果你有兴趣。 1 R6 `1 g' D" \* \8 j$ X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# T& F* j) y/ b# l
  18. Borland公司使用。这个司机只能界面与客户端库
    : i8 H' j( f& H# k( Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( B% E% J& d& C. F+ a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      o& D+ Z9 x4 N7 d- {
  21. " vendorlib " ,并解数据库连接。
    6 G9 X. d# M9 f) E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 k% \( ^) Y# A1 ~4 S: B4 ]  s( M

  23. % ?, Z- u7 f" n) j$ `& v  ?' Y
  24. # # #做好工作# # #
    5 S$ h# z. I1 \! A/ @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 p+ ?, {6 o1 i% @5 V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% P' x! a8 B$ W* C! r
  27. 结束:   H; @2 v( s5 ^; ?7 P. g. a" ]
  28. ---削减这里---
    . m$ R2 {( b3 Z9 d- E; |
  29. [ dbexpress ]
    + O9 q* C6 Q% h
  30. sqldir = mysql_sql
    0 I9 _: Q+ ^3 U9 R, t/ r/ H
  31. drivername = MySQL中
    0 ^% a& Y/ S2 E$ ^* V/ u& `' f
  32. 数据库= your_database_name_here
    " J. [% L8 e# J" E- B
  33. 主机= the_pc_the_mysql - server_is_on ; l4 }8 p% [$ ~. C9 ?8 c2 j
  34. user_name = user_name_on_the_mysql服务器
    5 A2 {4 t5 P' t) R2 l, z9 e$ Y
  35. 密码= password_to_go_with_above_user_name
    ! B" [! P1 s/ c+ ?% s$ V; v
  36. getdriverfunc = getsqldrivermysql - X* S8 [* O, L0 L5 {9 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - h' N7 B# W3 B4 T: x, q  x
  38. libraryname = path_to_libsqlmy_libary # D" i7 e; t+ k  A+ s  d
  39. 积极= 1
    0 ?; ?  Y0 H' i7 ]; Q: t- R7 F& B4 h
  40. ---削减这里--- 7 k6 D+ k" A! p( ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 t, H4 [' d/ a4 a6 _+ ?' D* f
  42. ---例如--- * @6 n' ?  j2 i7 h( I" ^
  43. [ dbexpress ]
    2 O9 h3 M1 V2 g* C7 G# X
  44. sqldir = mysql_sql 6 L' o' p  r2 S1 I7 x6 j# M
  45. drivername = MySQL中9 A; t% p, `" r, q
  46. 数据库=测试# n! v3 c) U9 Q$ R
  47. 主机=本地主机; s& }: ]  U1 y6 Z1 f: k2 g5 R
  48. user_name = testuser
    4 x9 Q% S! k) @3 t
  49. 密码= my_password 5 E3 W# D& ]2 h5 x, m! n8 C
  50. getdriverfunc = getsqldrivermysql 1 _7 K0 i" V" W! `& W3 P, [- K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 @2 e6 P( @$ ]' [. `
  52. libraryname =. / libsqlmy.so 5 c! s" }1 @& @0 z
  53. 积极= 1
    # k0 M/ G) Z% r5 F
  54. ---例如--- $ V. \9 @( _  |2 E7 l

  55. - G2 n1 r% I/ p/ Y( ]7 S% H6 t+ S
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " Z- l- h7 u0 D/ C$ G/ v( z% N! r. z
  57. ---例如---
    # v$ j) ]6 o! v& |" ?( n/ s" h
  58. [ dbexpress ]
    / D' L+ W. ~6 L& m' h/ I# a- p
  59. sqldir = mysql_sql
    " t: D9 r3 J1 p9 E
  60. drivername = MySQL中
    ( x, D* g3 B  f2 X( _) z% \
  61. 数据库=测试+ F* F9 m! a/ \1 I5 {" x5 A
  62. 主机= 127.0.0.1
    & V: S. S& B$ @5 i; w
  63. user_name = testuser
    , i3 V% ]( _3 C
  64. 密码= my_password , A& G- R$ _3 p0 }. a
  65. getdriverfunc = getsqldrivermysql 9 ^, x5 S8 Z- d/ X1 \& o5 a" M0 o
  66. vendorlib = libmysql.dll在
    . e  e2 A0 |" F6 q+ ?' v6 ^
  67. libraryname = dbexpmysql.dll " a. T! ]* s9 m+ C/ N' A# P. K7 ?1 t
  68. 积极= 1 ( l! ?0 E8 @; g5 e
  69. ---例如---- # _2 S. k2 s0 e& C9 o$ _
  70. -写在0 2.03.04由p wk.linuxfan- f" J0 L' O* Q$ H$ r
复制代码
发表于 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; t& Y) H- P& `" @
& v% S0 X7 ~1 l1 s! b
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-25 23:26 , Processed in 0.102478 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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