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

2439 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
7 C5 M  Z! P& M3 J; `4 k8 \" ^' ^" H

  1. 3 ], F" ]  A, n2 W: b5 }5 I  N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 a- R5 Q8 p6 X; g( f4 d( Q
  3. 5 f8 e& t, P( x4 b
  4. ### What we need ###+ x3 w% t; d$ V9 g  |
  5. Naturally, we will need a MySQL server to store the data for us, this document   ^: }5 E0 a$ Y" r
  6. will not explain how this can be done - there are documents out there for the 6 ?- H; b+ r7 C1 r' y3 [
  7. interested. The requirements include a (empty) database for TeamSpeak to use8 {0 Z. I, d. L  U1 E" u( ?1 T
  8. and a user account (username + password) that has the permissions to do stuff
    ; G- J$ W# s1 y7 I
  9. with the database. Additionally, you will need a vendor library installed on the0 [0 _& e% }# M1 h3 v5 |
  10. local machine, this came with my MySQL install.- e$ T+ V8 \# {% [) E9 b
  11. These instructions will not tell you how you might transfer your data from the) m: `/ ]. u  h  y+ x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 W# `) n" \- F1 e+ v
  13. database.# U" ~' D' ?3 D* Z0 e) f
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 k1 q* H0 e$ X$ d7 Z8 _) m1 Y
  15. the time of writing, there are still too many issues - check the current status
    # o. e" l% w2 a% \4 }$ O& e3 d
  16. in the TeamSpeak forums if you are interested.$ L+ O' P7 R1 V% |- G0 V' {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) G+ P. P: x2 f8 K$ _  T, }
  18. Borland was used. This driver can only interface with the client library that
    7 w! O, M) p  p' B; g9 _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - m: }5 w( M! r2 h/ U% r3 f3 C
  20. client library - basically all you have to do is to use a 3.x client library as
    8 [* S1 C  F3 D! z/ X2 T2 |% d
  21. "VendorLib" and a 4.x database to connect to.
    * _$ p( c5 l' o- ~! n
  22. If you need more info about dbExpress, you can contact Borland.7 }8 I3 l7 o3 W
  23. 1 L" E- {* L1 O+ b& \, I
  24. ### Doing the work ###  a$ U$ P6 d( Q/ J- f) R3 ?5 z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 r" q  p/ q( z& Z4 B: r: x
  26. the perquisites right, just open your server.ini file, and add this section at4 l5 V! G( w& X- \3 K' Y
  27. the end:
    ; |* q! a6 `6 v' {7 y; u0 p" Y9 L: R
  28. ---cut here---
    ! E! a  N( B  I# t5 Y1 U) w
  29. [DBEXPRESS]) a5 k# W) d' Z. Z9 X8 \3 T
  30. sqldir=mysql_sql3 x! @+ s  t* _  \0 ]( Y
  31. Drivername=mysql
    % z3 K, X" j% J! `+ U0 T' y8 d& k8 }
  32. Database=Your_Database_Name_Here5 ~# k" H, T8 @6 F$ g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " [, p$ c  ]/ K2 l. a
  34. User_name=User_name_on_the_MySQL-Server
    ; L/ {6 K( x3 |2 O( W+ g4 f! H8 T6 W
  35. Password=Password_to_go_with_above_user_name
    8 B& n9 H- u- t; P# z7 i. K
  36. GetDriverFunc=getSQLDriverMYSQL
    9 p+ c3 v7 f9 r) b6 g4 R" ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 W0 Q& s) c. F2 ~7 @5 j
  38. LibraryName=path_to_libsqlmy_libary
    & r/ p# A% b0 o( y- c8 Q# w0 h0 ~
  39. Active=1* G. s- V, H, ?6 k, y# J$ }
  40. ---cut here---9 p* x% p- K  |- r+ S' u" M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 F* |" V/ h, |  D* ]+ D2 X
  42. ---example---- u0 ]: ]3 u# g% h  r# @6 _
  43. [DBEXPRESS]: L' c- J7 R5 E/ H) {8 D
  44. sqldir=mysql_sql
    , g3 F5 A6 }6 r1 ]6 k
  45. Drivername=mysql, \) _( z, s- x$ Z2 B( F% e" V7 b
  46. Database=test
    ) g! P' `% G/ a. G
  47. Hostname=localhost  a) P1 X$ O+ r  ^
  48. User_name=testuser3 O3 L! O3 _( [0 J
  49. Password=my_password. z2 I5 |' C8 ?. r( t5 z
  50. GetDriverFunc=getSQLDriverMYSQL6 \' y$ V2 r* B! y' L
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # K, I, X4 t2 x% H9 @* R" ^
  52. LibraryName=./libsqlmy.so8 i" i2 n9 a) ~
  53. Active=1! O9 Q9 f4 K- y. r2 n# q* u; Z- X
  54. ---example---* F; g4 O# E; {  L) W& W, F
  55. 0 e& C) x5 W% L$ f, N" s: F
  56. On a windows box, also running the MySQL server locally, it would be:
    $ d6 I' ~2 u' b1 v" u1 \
  57. ---example---
    + {! W4 p- q  D1 G0 f2 D
  58. [DBEXPRESS]
    ' Y- F  ~4 W* L) S$ W
  59. sqldir=mysql_sql3 S) [6 P4 A0 \) L( Q; g
  60. Drivername=mysql6 B7 n) e+ h* ^5 d
  61. Database=test' m, p; _% @5 P8 k7 a0 l
  62. Hostname=127.0.0.1
    5 Y. {* X' L9 D* O$ C. K* R# U4 {
  63. User_name=testuser2 U) q0 \8 f4 X0 o: [$ \
  64. Password=my_password5 `- B2 n: ]# H3 k+ k6 i% [
  65. GetDriverFunc=getSQLDriverMYSQL
    & l& Q* P* [- |9 @6 W+ d- \
  66. VendorLib=libmysql.dll& r+ q+ _; e2 p" B
  67. LibraryName=dbexpmysql.dll9 T, D1 i/ R7 i6 {
  68. Active=1: n% Y  @7 K) V: W) Q
  69. ---example----+ U0 n) Y: t6 ]9 Q! ]( a
  70. - written 02.03.04 by pwk.linuxfan
    ) W! y5 L& {( s: C. N3 _8 a

  71. ; u# r# e* u+ D# E/ q3 A
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" r0 H) D! O# J' M! H

  1. , ^. h, S- i& ^: ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 e1 ?- U0 P$ s- O
  3. 2 M  g% }( g. B" Y0 C& u) ]
  4. # # #我们所需要# # # 3 |4 x& f6 ^0 `/ a4 ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 s2 V; u9 R' _: b8 |
  6. 不会解释如何做到这一点-也有文件存在,为, x5 i9 A7 s4 k! C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 `# O1 x) e  q3 H9 m) k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- x5 X2 B8 h/ F* H, Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 \: S. V+ e9 f+ y& R3 i/ R* V
  10. 本地机器,这是我的MySQL安装。
    5 F5 z! |8 Y4 J5 j1 c9 m2 R8 c( F
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* m8 I2 f; v( U& f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 |$ r! x6 `" A; W5 r% W1 [' n+ b- d) O
  13. 数据库。 , n5 [: Z" H' W: s. q2 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' r! A! g5 W- n) Q/ S7 P/ ~$ l
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 b( j3 X9 p  z% r0 f& U3 j
  16. 在teamspeak论坛,如果你有兴趣。 , _2 \$ ?3 q: S4 Q3 o; i& n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 w# n' W! c3 J$ |6 W8 i
  18. Borland公司使用。这个司机只能界面与客户端库
    # T. H( D+ I1 b, @- r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ U8 q9 P- g9 Y2 q& C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      S  A6 ?5 `+ I6 z
  21. " vendorlib " ,并解数据库连接。 " E5 T4 u7 Y; d) C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 n; O9 s& Y0 m& Y4 \! s0 m  V
  23. 2 ]& Z9 S& T$ F3 q+ u1 `# m6 u( c8 {
  24. # # #做好工作# # #   n. {; {4 r( S" _' N$ M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 _" \$ I2 Y( e0 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  ^! c# E/ E( G7 e5 q. h2 {7 r& S
  27. 结束:   z8 P4 n+ E; v2 _& U: O& k/ R
  28. ---削减这里---
    2 i+ S" R; ]2 i9 B
  29. [ dbexpress ]
    & s, Y# R/ X( m" o9 o% {& D0 c/ U
  30. sqldir = mysql_sql
    1 }& I- U1 d% w' z
  31. drivername = MySQL中
    9 W3 {+ T$ z3 b  `! `
  32. 数据库= your_database_name_here
    7 c* I( L9 N7 R' d
  33. 主机= the_pc_the_mysql - server_is_on - }- P0 n- S2 f3 y% A; A: x1 r
  34. user_name = user_name_on_the_mysql服务器3 ?  m4 r3 g; a- H% z/ E
  35. 密码= password_to_go_with_above_user_name
    4 q' H# v6 }% g  j5 }) V* P+ w) _
  36. getdriverfunc = getsqldrivermysql
    9 ~7 l' L1 z, k9 v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( M+ A4 N4 H( m- Q$ G+ l8 Q5 ]
  38. libraryname = path_to_libsqlmy_libary ! E4 X( X7 `) q( Q; z4 x0 Y  P$ V
  39. 积极= 1   g, o- w8 R/ N- H+ w7 Q3 L
  40. ---削减这里---
    ( M! k" `" _$ |' T- ^* X% e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ P, X$ m" H% q! X9 q" p
  42. ---例如--- " r. L6 k, a! s/ j0 E- ^$ G3 {, n
  43. [ dbexpress ] & N  {' J0 w% m
  44. sqldir = mysql_sql 2 T4 z" K+ U& t- U9 g8 o
  45. drivername = MySQL中
    ' ?  I2 b& c4 h+ a- ^. t/ v
  46. 数据库=测试" t; L# P4 L+ }
  47. 主机=本地主机; Q, C) D+ N* s7 ~; E
  48. user_name = testuser
    * s" f( p3 ~9 C1 y) c, j
  49. 密码= my_password 8 w$ p! X3 ^& p# S# }+ W6 M" d6 Z0 P
  50. getdriverfunc = getsqldrivermysql 4 x3 }3 K; ]8 R  l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; e1 J4 y) G! }- L
  52. libraryname =. / libsqlmy.so   j, n6 O" \& }# B. B- K( W
  53. 积极= 1   o$ s4 U1 A) ?2 e* u
  54. ---例如---   V( ?) E5 _5 N+ J4 V
  55. % P$ R4 d$ c' r# V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * Q3 E' w' h% V5 M# s
  57. ---例如---
      O1 ?9 G, F8 w: }
  58. [ dbexpress ]
    , f) q! V+ P7 U/ e2 K
  59. sqldir = mysql_sql
    0 u0 a. A- O- P
  60. drivername = MySQL中
    % z9 F# p4 s$ K7 L
  61. 数据库=测试
    6 C9 L2 e+ Z( \! ]/ U1 ^8 s
  62. 主机= 127.0.0.1 + p" }/ ^* F; E
  63. user_name = testuser * O/ `8 _' M% e& E* I- o8 x' w5 [
  64. 密码= my_password ( |- u1 V$ Z$ q( a1 r- F7 r* j4 z
  65. getdriverfunc = getsqldrivermysql
    ' E" |. h- f, @; @+ v
  66. vendorlib = libmysql.dll在6 J  f+ y) r" u1 g4 d  ]: u' K
  67. libraryname = dbexpmysql.dll ) J/ V0 R# U& z  `) U7 V9 F' b1 ^
  68. 积极= 1
    ! v( z; o3 h. B" `
  69. ---例如---- . W, _0 r8 @4 z' j8 r
  70. -写在0 2.03.04由p wk.linuxfan
    ' r- b6 \, R) P* Y
复制代码
发表于 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
% j/ x" i- H  F. {0 q  f4 F) y# e+ P. O( @1 {7 n7 F$ G. s
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-2 20:27 , Processed in 0.097584 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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