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

2242 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ s8 y% {1 K5 Q5 E% f# i
) `+ }$ a2 `2 a7 r) Z/ A

  1. ' G" y3 k7 U  x; Z; [" G, @, \# F2 h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : R& Y6 t+ j! P/ `9 h% M& w( F  {: S
  3. 8 z5 c. v- O* K. E3 y+ {: }
  4. ### What we need ###) d+ X- I# Y3 f( Z1 l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 w) b5 h' V, e- U
  6. will not explain how this can be done - there are documents out there for the
    : a3 W4 h& w# |$ K; J' A8 J( f
  7. interested. The requirements include a (empty) database for TeamSpeak to use* b  I% a' x. i- \$ s6 ^/ x
  8. and a user account (username + password) that has the permissions to do stuff! r3 x# p* q( C0 }
  9. with the database. Additionally, you will need a vendor library installed on the$ a# @$ V2 T% x, t  {7 J% {
  10. local machine, this came with my MySQL install.
    : Z- k% a* Q1 B1 o& v
  11. These instructions will not tell you how you might transfer your data from the6 B) ^  g7 {: L: t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + F3 b& Q. s: W8 @; C
  13. database.
    1 b9 t+ g5 Y/ W/ ^0 ^$ e8 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % a. t9 d7 u/ p3 u" @8 ?/ G; f
  15. the time of writing, there are still too many issues - check the current status
    - w$ y5 r( T. @! {
  16. in the TeamSpeak forums if you are interested.: }/ J0 p& b2 U  u5 _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : g/ E. i* z% x$ I
  18. Borland was used. This driver can only interface with the client library that
    5 \" d+ X5 P  r8 D; R( d! |# D
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( y: u" t+ a2 v' |, E' j* f
  20. client library - basically all you have to do is to use a 3.x client library as 1 o: u$ K) P, \
  21. "VendorLib" and a 4.x database to connect to.
    6 B5 i. w2 ~+ |' X
  22. If you need more info about dbExpress, you can contact Borland.
    / x* ~9 N  q3 E- V1 p% k# v- v! l! M

  23. / y2 j9 Z0 s; Z% E
  24. ### Doing the work ###: r% U+ [0 y: c# R$ \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " l' R# v/ _: r. Z
  26. the perquisites right, just open your server.ini file, and add this section at& a6 ]' o( p* p& M  Q( t
  27. the end:
    ! N! h, A# K, }
  28. ---cut here---
    # K. B" u  j5 |( R2 U/ T
  29. [DBEXPRESS]. ^2 F9 ~2 j( q+ u- ]
  30. sqldir=mysql_sql# o/ e$ V+ E( m6 f
  31. Drivername=mysql5 C1 a/ {( g4 c- ]$ g
  32. Database=Your_Database_Name_Here8 ?- B1 B5 W1 M9 k' ]" B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . \! @4 R2 E( ?' O' m7 O0 C& N; c
  34. User_name=User_name_on_the_MySQL-Server
    $ n3 N, x3 j% L: a1 r4 ^+ K( W
  35. Password=Password_to_go_with_above_user_name) R" o0 Z0 V( d# K
  36. GetDriverFunc=getSQLDriverMYSQL
    2 h# D. x/ f. Q4 }- Q9 `: C  \6 ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 S0 q0 o, O0 ?! n, z# m( o4 b
  38. LibraryName=path_to_libsqlmy_libary; u" i) s# }& `. \9 W
  39. Active=1
    8 \3 K/ o: k% f6 R" E
  40. ---cut here---
    6 `+ _# F* }% v! F# V: R
  41. In my environment (a linux box with a MySQL server running locally) I have:# d+ a! F: h! e+ z: Y+ c
  42. ---example---
    ( m' \  c/ s1 V& U8 F
  43. [DBEXPRESS]
    * p% D; I3 Y, a; t  D
  44. sqldir=mysql_sql
    + A9 M8 A  V/ M3 @( G! S* C
  45. Drivername=mysql  g* w' H- @* H+ ~+ [
  46. Database=test
    ( S6 m8 q* [0 [- t; t( w0 N: x; U
  47. Hostname=localhost
    2 Z: G- T: N: N8 B- |& [
  48. User_name=testuser- o7 J0 |6 I- P% ^! H
  49. Password=my_password/ ^- R) V6 {1 k' q+ m3 B5 X
  50. GetDriverFunc=getSQLDriverMYSQL: ]7 r$ F# {! @, n0 J- i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( l3 r. d3 t6 g' z; u  X# p. r
  52. LibraryName=./libsqlmy.so0 O% D! x' l2 A1 |- X* n- `
  53. Active=1
      w. J* W% J3 y& ]8 Y% v4 Q: g& |0 G& v
  54. ---example---3 r& q% s& S3 ?( R7 g! _$ Q+ n+ @8 [
  55. / @7 l! m7 a3 P. V  `  \2 K- F
  56. On a windows box, also running the MySQL server locally, it would be:0 Q; H3 g% ~' Z& p7 }8 M
  57. ---example---
    - g, k# q) n* d  K
  58. [DBEXPRESS]. Z5 n1 S$ r" P% a3 C2 @
  59. sqldir=mysql_sql
    ' X( K5 G/ }% S
  60. Drivername=mysql
    * ^7 x. e; v6 i' |/ v6 U
  61. Database=test* i( Y+ ?* Z# G, N- \$ f/ j
  62. Hostname=127.0.0.1/ e3 S+ R- g% p( ]4 d
  63. User_name=testuser0 Y: W9 |1 X9 ^& L
  64. Password=my_password
    2 p7 p$ T* m* P& M2 V1 R
  65. GetDriverFunc=getSQLDriverMYSQL
    + e: `% t$ `- A, N6 s% v
  66. VendorLib=libmysql.dll+ [0 `0 ^8 G# K' _+ H
  67. LibraryName=dbexpmysql.dll( |5 D! T% n5 j* o
  68. Active=1/ F# E( K0 N  N! q
  69. ---example----. Z, A8 `" u- o! p
  70. - written 02.03.04 by pwk.linuxfan
    3 w: \* x' C: u: ~0 P. o

  71. 6 a  M) O) ~$ X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 T9 K* D- t/ L0 X5 k: N% I

  1. ( w( Y: u$ U2 V8 f9 q' a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / M8 N* w4 |) c

  3. 4 u5 Y) _9 u- J0 t$ E) s. m
  4. # # #我们所需要# # #
    4 U  y& G  d; D& x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! }: M) P" R  {" [5 x) u  r3 m  ]
  6. 不会解释如何做到这一点-也有文件存在,为/ O$ K3 i1 W1 k7 F. D5 v; e' E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . ^) y( E0 ^. R( E' K$ v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # b* V& O3 k+ D: }8 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 {3 \/ Z( O, d/ ~' {
  10. 本地机器,这是我的MySQL安装。
    ; X3 W  O0 \: o7 `0 N8 Y0 }) d* x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 O6 n% }# y4 o; Y0 x' J! x4 M/ a* f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) x; L9 J) S% X2 n+ Y1 t# b, `6 n
  13. 数据库。 ! S3 b# B( H) H4 M: Z8 i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' C% C# H1 b% \: d3 m$ |+ S
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( ]+ o6 F+ |/ U6 Y- G: E
  16. 在teamspeak论坛,如果你有兴趣。 + c) Q" s' u9 Y' t% _# F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& C( q. d* O% f; D* F* Q
  18. Borland公司使用。这个司机只能界面与客户端库3 ?: h/ t1 b8 }+ W; ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 `3 R7 m7 H( K9 P- H; w# h5 a8 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : M. m9 X' Y8 T, ^( T( S+ `
  21. " vendorlib " ,并解数据库连接。 6 \4 x3 k! W* g2 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) `( n. S* _, n' R9 F; c

  23. & m" H! z; }2 Z# Y
  24. # # #做好工作# # #
    2 \* Z+ E1 y4 ?( C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ R- J& Y/ W7 j/ B6 ?/ X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( k7 h1 b. z% |- D1 w0 Z% }
  27. 结束:
    ' L% |; f- D- O- ^
  28. ---削减这里--- / `8 z( S+ m" [! U6 L
  29. [ dbexpress ] - g, O3 p# Y1 L1 E9 H
  30. sqldir = mysql_sql
    0 D- R9 q3 Z" a9 l
  31. drivername = MySQL中
    # U3 W& p6 C" t, d
  32. 数据库= your_database_name_here - W3 A# B1 x$ R& z. {0 q0 }1 X0 s
  33. 主机= the_pc_the_mysql - server_is_on ( a( y& j8 }$ ^8 o9 P
  34. user_name = user_name_on_the_mysql服务器
    1 [3 X" O8 S1 u0 y6 ]8 O
  35. 密码= password_to_go_with_above_user_name 5 d5 F2 u7 k; j+ C
  36. getdriverfunc = getsqldrivermysql
    - h2 o; h' ^9 y6 p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 `+ h  q$ c- N# W, H9 i! [
  38. libraryname = path_to_libsqlmy_libary
    $ d. I9 v- G  [
  39. 积极= 1   F* b$ j3 [! B) Z; L5 c! s2 d
  40. ---削减这里---
    6 |9 ]4 }3 p6 K# }; k& _4 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! X% B: t6 D3 g; r# J. p2 _$ ~% d
  42. ---例如--- 1 W% n& c$ Y1 M
  43. [ dbexpress ]   M5 ^; P, W) x3 A  w. @$ s
  44. sqldir = mysql_sql
    ' |5 Y$ T$ T- w( B1 S1 Z
  45. drivername = MySQL中# r% k. k$ p% C" E
  46. 数据库=测试; F1 j8 X1 c' j8 E
  47. 主机=本地主机; z. j1 Z3 [! s$ S
  48. user_name = testuser
    ; d* X. J1 G+ F+ L
  49. 密码= my_password
    ' c2 z4 c& u- s6 |' p. v0 ?
  50. getdriverfunc = getsqldrivermysql $ {7 T# T  J! ~: e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; t1 n9 l: G! e9 ?# l
  52. libraryname =. / libsqlmy.so ) s0 a! K' h2 D" m. V
  53. 积极= 1
    % v+ L; _% W4 D/ {
  54. ---例如---
    : D, I1 g6 t% u. l# b

  55. 9 h8 ~: l7 {/ s& L# d0 v9 x, W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 I% Y& w! @0 ~1 R1 F, Y& q2 C7 T
  57. ---例如---
    + m3 R& f0 O5 O* E1 t6 O9 s
  58. [ dbexpress ] 6 n: B. |: ]9 U' [
  59. sqldir = mysql_sql
    1 }( T/ e2 H" O" N7 Y1 I, W) J
  60. drivername = MySQL中; K+ y1 o; p: ?0 T) H
  61. 数据库=测试1 w( L  N6 w8 K, }& p+ Z7 W
  62. 主机= 127.0.0.1
    0 I2 L5 F1 y5 s0 s: I: ~# x7 N
  63. user_name = testuser
    ( a; j* p: w: \% w3 K" D
  64. 密码= my_password
    3 M- `7 X$ f+ b9 u
  65. getdriverfunc = getsqldrivermysql
    & T- k1 Q, s' w
  66. vendorlib = libmysql.dll在
      H' t* p# b, P1 R9 ?: H) D- a
  67. libraryname = dbexpmysql.dll
      J- A3 P! a0 t# i. W' B' p; G
  68. 积极= 1 . G. N. m" U4 W+ D* s0 s' e5 i
  69. ---例如----
      A/ S2 f  I. Y% P- x, S
  70. -写在0 2.03.04由p wk.linuxfan
    9 {8 Z9 G6 T1 ~2 b! E7 J- 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' ~$ u% R) R! |  d* E: R

9 o8 ~" n3 h+ G. A. U) h! w  K- Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-29 06:34 , Processed in 0.102752 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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