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

2566 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + d! W' Y# i0 }! ~& W5 y0 G
3 |# Q( T8 v+ Q' {! [# @8 V) n2 {7 h
  1. 1 j8 E/ ], y; T! o1 W8 b  W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 x8 u/ k: i& Q6 l( H! p
  3. ( o0 I' E$ E" A# F" g2 `* S/ J
  4. ### What we need ###
    9 i, C) d6 y7 M# S( }# h1 u; I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * }* }% z5 U9 t$ b, o
  6. will not explain how this can be done - there are documents out there for the
    5 m) [4 O. S! X- G
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 U, L& `" p6 h
  8. and a user account (username + password) that has the permissions to do stuff1 ?/ L2 Y4 s+ ~. \: K' t
  9. with the database. Additionally, you will need a vendor library installed on the: s2 T% p! s$ b  ]% i
  10. local machine, this came with my MySQL install.
    6 w1 N! r7 _/ V) H4 c
  11. These instructions will not tell you how you might transfer your data from the
    ) o  \& j: @4 R+ c+ v5 L
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 A0 F% N/ v' `  O
  13. database.; s$ V: e3 H7 q& n" b4 _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + |. ]  c0 T& n5 _4 d) k% g# `1 G3 ]' s
  15. the time of writing, there are still too many issues - check the current status- p3 o8 N* G2 Y, c
  16. in the TeamSpeak forums if you are interested.
    9 c( f* [. i% Y5 ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- Q& u/ i8 M9 R, A6 `
  18. Borland was used. This driver can only interface with the client library that
    : E9 B6 C. E" Y  x$ ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( K, ^0 ^" ~# c* Y$ V
  20. client library - basically all you have to do is to use a 3.x client library as
    7 o, a# ?, A1 G# X7 n: X/ j/ [
  21. "VendorLib" and a 4.x database to connect to.
    0 q2 q5 D/ w( N" `
  22. If you need more info about dbExpress, you can contact Borland.
    5 ~, v1 h3 Z! k; _1 B' a

  23. ( D" l. n* c% g% d5 {, H
  24. ### Doing the work ###) A, t( z4 E# O6 j! a& c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : D6 A6 o% p: O- m4 A
  26. the perquisites right, just open your server.ini file, and add this section at: J! g0 {; B3 ~. C
  27. the end:
    3 t' t* J6 s. _5 O0 l& a
  28. ---cut here---) R4 @* T& c; `- e5 s
  29. [DBEXPRESS]& A6 w) }7 e4 P) O4 b* V/ \
  30. sqldir=mysql_sql
    - W% C. q$ t- R, t
  31. Drivername=mysql
    4 p5 D6 {( r# ^7 o4 ^; k
  32. Database=Your_Database_Name_Here2 Z, T" g1 h/ X5 j) `' r' [* U
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , B7 `, [7 Z* g
  34. User_name=User_name_on_the_MySQL-Server8 V& A2 e: ]3 g7 v& W2 J0 g- P
  35. Password=Password_to_go_with_above_user_name
    # h( x/ g0 q# ~0 y3 ~/ Q
  36. GetDriverFunc=getSQLDriverMYSQL
    2 O' W1 ^, x- I  F8 m% _2 Y, v( `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 p/ a. [9 Q" T
  38. LibraryName=path_to_libsqlmy_libary
    - [% u' D+ O9 R2 ]4 `
  39. Active=11 K3 I4 c- Z3 H" L+ w( b# j
  40. ---cut here---+ P; B3 n2 z' a9 x  @! _
  41. In my environment (a linux box with a MySQL server running locally) I have:$ f. N, G/ P$ N$ j3 P% N3 P
  42. ---example---
    7 R) }( s5 D' q. }( q4 F
  43. [DBEXPRESS]* O) a' u3 m% H1 o) t) w
  44. sqldir=mysql_sql
    2 D* k3 m6 \, ?! {
  45. Drivername=mysql7 J" R: L1 p0 E# E
  46. Database=test
    ) R* ?) N2 i8 ?% y& w6 L
  47. Hostname=localhost
    " `% x: X* h1 l/ T, P  ^4 F3 Y9 y
  48. User_name=testuser
    2 x8 c0 v. g6 b+ |, z
  49. Password=my_password
    $ g- i6 ?3 {3 T6 W
  50. GetDriverFunc=getSQLDriverMYSQL! h$ ~; N: c/ k9 |' u0 X" A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & w8 p3 g5 c- @3 ^5 J
  52. LibraryName=./libsqlmy.so
    1 p4 ]* o3 ]. p6 B: D% |
  53. Active=12 d- p7 Z# e# G- g% ~
  54. ---example---0 u2 U7 K+ Y5 [9 ^4 K8 \& |% v
  55. ( i6 _  {: P: A+ h3 W
  56. On a windows box, also running the MySQL server locally, it would be:+ `2 R8 L3 |* h% O, W- o
  57. ---example---
    2 |, l" ~9 K( d+ O
  58. [DBEXPRESS]$ Q# g! n( W* ]) e
  59. sqldir=mysql_sql! E4 D5 A& |0 F
  60. Drivername=mysql' h7 E0 z& c8 R" z7 u
  61. Database=test" \5 i  e5 d4 V1 A" }
  62. Hostname=127.0.0.1
    7 L1 q/ T; n, n  d% a& I
  63. User_name=testuser
    # p( e  }5 `1 g7 g1 v) K
  64. Password=my_password1 Q' C6 F; Z' a1 R1 [8 [1 e
  65. GetDriverFunc=getSQLDriverMYSQL
    2 M9 T: T: V& ], E/ {. G1 y
  66. VendorLib=libmysql.dll; \2 F7 T" I: V% R* t0 V
  67. LibraryName=dbexpmysql.dll9 j* s# Q. J5 `7 Q: l2 f+ N5 f, J  e
  68. Active=1
    0 \  H  |) {9 A9 @4 Q4 T/ [
  69. ---example----5 }; M7 ?! Y* o% v9 |7 }8 u  V
  70. - written 02.03.04 by pwk.linuxfan
    4 {4 X8 R3 F2 U- C, R

  71. + i/ E: |; Y/ C) U. |* ^; N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! q+ S; U" V9 Y- m$ c9 U

  1. " T5 G0 f+ b, m: y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 r( g3 X7 P, I. t

  3. % q$ I+ r: k! R+ u' o
  4. # # #我们所需要# # #
    * b. u: a/ d" M5 L4 u3 U9 |2 }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . _9 \3 E5 K' [4 o8 j
  6. 不会解释如何做到这一点-也有文件存在,为
    # L2 O2 `* ?  H% J0 i+ O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 X# i3 I% r- O. Y0 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; f( ]2 C. p8 T+ X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 I  n, l' L- t9 c5 |2 j3 H
  10. 本地机器,这是我的MySQL安装。 ) M0 i& K! \  g7 [& R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - `+ d& S% }4 G+ K# W6 Z! `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . p& U  t2 ?& G2 `- W
  13. 数据库。 0 ~& M$ Y$ k7 F. M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ h6 w% |2 e& X! O
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 h: a5 R6 z) x1 r& V
  16. 在teamspeak论坛,如果你有兴趣。
    2 `1 v" d4 w  _4 u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! a; F8 \: ]6 P1 |$ x; Y
  18. Borland公司使用。这个司机只能界面与客户端库4 O# S; U3 j4 x! W% ]- s, f: p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 G" |  F/ |9 b; n+ @  t7 [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ a) f6 a) c; k# o, X1 S. N# [
  21. " vendorlib " ,并解数据库连接。
    & E  F. s  O0 z# a" ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % U2 j' O( v+ K2 U5 F5 s
  23. + Q/ ~) B7 X: h+ L+ g/ v- |1 {
  24. # # #做好工作# # #
    - I6 C) B2 r) x* L; O( M) g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; X& r* F# O9 J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 |% r. f( C3 H5 e2 H! W
  27. 结束: " ]  O7 D, Z1 t: q
  28. ---削减这里--- ( \4 K' c6 N. f) p0 g% D) l% A! r+ P
  29. [ dbexpress ] ' d0 c/ b2 D6 x: y3 Z! g. j6 c
  30. sqldir = mysql_sql
    ; s6 s" `' g! ^  ]/ }( S
  31. drivername = MySQL中6 A7 ~9 j( w  ^5 A1 _
  32. 数据库= your_database_name_here
    , g" p8 \7 V6 F8 h5 y' c
  33. 主机= the_pc_the_mysql - server_is_on
    2 T, ^2 I' Q. b$ l5 [9 q/ W3 @
  34. user_name = user_name_on_the_mysql服务器
    % K: x9 W* {$ X# n0 A1 y$ J
  35. 密码= password_to_go_with_above_user_name
    7 v& ^, m4 W  P" e( f" }8 \7 z
  36. getdriverfunc = getsqldrivermysql
    $ D6 f6 U5 U' e! D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    & M6 g1 Q+ Z9 P' g
  38. libraryname = path_to_libsqlmy_libary
    ( f" I( j! A9 t) ^  s
  39. 积极= 1
      G# `$ G/ Q, r5 Z: g
  40. ---削减这里---
    " K6 b* c; c3 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 E& I$ P% r! E$ H* H0 ^
  42. ---例如--- 1 L- D" S$ q. E" J
  43. [ dbexpress ] " p+ ~. W9 \+ H" K" D  \/ r
  44. sqldir = mysql_sql
    6 e% d/ ~8 y1 M  d% P( _
  45. drivername = MySQL中
    9 l+ ~7 {& l$ H, j! f
  46. 数据库=测试
    ) [$ k) ~* b1 A0 |" U  v
  47. 主机=本地主机& p' j. Z( C- U
  48. user_name = testuser
    7 U$ B3 v7 u2 j) N8 ~
  49. 密码= my_password   F# ]0 F( {- X5 R
  50. getdriverfunc = getsqldrivermysql , u& w" }  B3 i- f( X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 L0 i) e( d5 h. l/ y9 K" T
  52. libraryname =. / libsqlmy.so   w2 ?4 V7 Q+ c  ?, \2 T5 L! P
  53. 积极= 1
    / C: H+ v' c' j2 s, E; u9 W( k
  54. ---例如--- 0 [! I* _( ]2 k& Y

  55. # {: F9 \; Z4 M! O8 h$ l! C) B
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( A7 ?! E1 T3 y$ L( _) t) |" o
  57. ---例如---
      D) f( G1 u" p9 R! X0 j3 d$ e
  58. [ dbexpress ]
    # Z, D4 }. {, H  _0 M9 z9 Q
  59. sqldir = mysql_sql
    % G, n  G* B2 R3 ]0 U
  60. drivername = MySQL中
    # g" \! Z$ j' T* {
  61. 数据库=测试2 u# I2 `* Q6 R: l6 S) q, x* L
  62. 主机= 127.0.0.1 8 o, w- u' a- q$ s( j
  63. user_name = testuser
    , k- A3 c  R/ T; H9 h' D
  64. 密码= my_password ' X: ^1 x0 {0 ~& g! m
  65. getdriverfunc = getsqldrivermysql
    ' c8 Z  ~. H  V1 G7 ^% X2 }6 ]& j- L
  66. vendorlib = libmysql.dll在
    6 [  ^, g+ Z- [* @& h
  67. libraryname = dbexpmysql.dll
    6 U2 Q3 N8 ~# Z. ?
  68. 积极= 1 & L+ e; j) i9 N3 c9 c
  69. ---例如----
    7 t+ c5 a" y! W% i3 R
  70. -写在0 2.03.04由p wk.linuxfan  V/ g5 o) i, R. @! U
复制代码
发表于 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" C( }4 _: q, n6 p! z
1 D, U; r. e1 j; g8 I
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-30 04:26 , Processed in 0.149093 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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