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

2204 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 [8 e; H  J1 A  ]) j' p& `1 c3 ]4 t9 `, _

  1. ) K0 N, k" V/ ?& l
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' ~6 P# C- A/ N0 n* A) D. V  |
  3. ! c3 ]' n( A% o6 D
  4. ### What we need ###
    # c( _, E' n6 Q9 y' l( B: X8 `
  5. Naturally, we will need a MySQL server to store the data for us, this document * U$ |! m9 y* j! v' Z7 {; R, R/ u
  6. will not explain how this can be done - there are documents out there for the 1 `+ @$ O- l  Z$ c5 f! a  j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; H5 }" }( _2 z
  8. and a user account (username + password) that has the permissions to do stuff; H1 B( f! T* m6 p
  9. with the database. Additionally, you will need a vendor library installed on the
    6 ?9 F1 I6 D2 {2 ?" @. [1 K5 l# `1 ?
  10. local machine, this came with my MySQL install.! N  e0 @) f; t! \" ?
  11. These instructions will not tell you how you might transfer your data from the9 }5 _4 o, c! r7 v) s5 J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 Z! m( \6 v: f  K$ f
  13. database.; I* v6 _9 g' y% i' D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 F" x$ O* r* P
  15. the time of writing, there are still too many issues - check the current status8 i; C( H. r" B& T3 h
  16. in the TeamSpeak forums if you are interested.- i5 v% i' w$ D: n+ o0 i% N2 I/ C
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 X& Q  h4 p9 _' c4 @& M1 j" v
  18. Borland was used. This driver can only interface with the client library that ! E* ]  Z, Z. \1 w0 c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  P6 A0 L! k. M0 E
  20. client library - basically all you have to do is to use a 3.x client library as # I8 s4 e' g7 x* F
  21. "VendorLib" and a 4.x database to connect to." L  c# `- S& I5 u
  22. If you need more info about dbExpress, you can contact Borland.
    * j6 S" s1 H9 e& q

  23. ! Z3 M8 ?3 a7 Z7 A: G( ?/ }# Z5 [
  24. ### Doing the work ###
    : J' l0 d- I0 [: C
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 r* h3 x6 a( U) Q3 T& x4 d# ^
  26. the perquisites right, just open your server.ini file, and add this section at
    ! U5 L5 M* y% E" \
  27. the end:
    ) h1 l) A# j/ k+ F5 G+ ?# ?/ `, ^$ D% E) x
  28. ---cut here---
    / E& W% ?, e2 j- S: ?4 C
  29. [DBEXPRESS]* k9 E9 R+ v9 v( ]3 p
  30. sqldir=mysql_sql( O  W. O4 H! j% Z
  31. Drivername=mysql
    ' d9 n2 A# p/ s! h8 [$ d
  32. Database=Your_Database_Name_Here
    & c  A: j$ B9 B1 g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & H4 Z4 u6 v' `1 T1 d/ W/ c/ i  R
  34. User_name=User_name_on_the_MySQL-Server4 O  [+ Y' K/ V8 u0 `: k5 Q
  35. Password=Password_to_go_with_above_user_name8 k4 z/ T/ l2 h" j- K; B6 U7 ]
  36. GetDriverFunc=getSQLDriverMYSQL
    + V: S4 b6 g$ D) o4 t4 w4 E1 G% h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 R9 ?5 \+ L) G1 U: {" y
  38. LibraryName=path_to_libsqlmy_libary
    7 V6 ]9 ~" P$ i0 A
  39. Active=1
    : A  f4 A2 s! _6 \
  40. ---cut here---9 v) m8 [/ s' u4 v: Q. {
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 ^8 {6 s$ Q6 h3 |- A* v/ d
  42. ---example---
    & R- R7 I9 h0 f5 a0 K: D: x; t
  43. [DBEXPRESS]! Q5 x" e1 H( ]9 ]' h% K8 a" u
  44. sqldir=mysql_sql( x; l7 A" g3 i% C; d  @" K
  45. Drivername=mysql( k: f9 {0 |: d, w7 w) z" h: D/ a
  46. Database=test
    0 p+ X" J0 p4 b( A  ^
  47. Hostname=localhost5 W7 ?5 a' v' _
  48. User_name=testuser
    2 T) X1 R" G* H% f
  49. Password=my_password
    2 s! r' _" L5 h: `
  50. GetDriverFunc=getSQLDriverMYSQL
    + _: d2 n& k' B3 m1 _( t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + C) i( R' t* o. p
  52. LibraryName=./libsqlmy.so
      N' V$ X! g% L8 ~
  53. Active=1
    + E: E: ?% {+ O, n
  54. ---example---
    8 `# l. K# l+ \
  55.   J0 F& U2 ^4 p! \
  56. On a windows box, also running the MySQL server locally, it would be:6 {2 A/ s  h" P5 q
  57. ---example---
    " s. b4 j) S" u3 V8 {3 b, J
  58. [DBEXPRESS]
    5 S' g. g. B$ k0 R0 z
  59. sqldir=mysql_sql+ j6 H" y; u4 x+ m! Y1 q0 h
  60. Drivername=mysql
    7 U, P. Y, F7 y7 }
  61. Database=test
    ) j" D2 \( k1 O0 H  ^
  62. Hostname=127.0.0.1
    / G9 Q- j5 \9 m0 P7 E  n; o
  63. User_name=testuser" J. R- P9 M9 _7 I
  64. Password=my_password
    # a0 k$ c* T1 a* _
  65. GetDriverFunc=getSQLDriverMYSQL6 F# S+ O) {3 W
  66. VendorLib=libmysql.dll8 n3 m" ]9 D$ _  K( }( s5 N$ n# Z
  67. LibraryName=dbexpmysql.dll
    : U7 E1 N' X0 D7 X. L( V4 s" w
  68. Active=1
    6 y) m$ s) s+ M* @2 O4 M/ O
  69. ---example----
    4 s7 x0 F8 Z' ^" f! M
  70. - written 02.03.04 by pwk.linuxfan: S' \9 Z: N5 ^' y/ `4 P0 p

  71. 7 i/ U8 V" ?* \# p# g& b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' ?# M4 Y; S1 z" R# h
  1. 8 w5 b4 U, h7 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 _( q& G+ F* A& C7 J2 R
  3. & v5 L: r7 g, T% L
  4. # # #我们所需要# # #
    1 X3 c) U3 _; v& I+ e8 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 T/ W( w. I6 j/ k: k
  6. 不会解释如何做到这一点-也有文件存在,为
    7 i1 j" x/ O. F- b1 k
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ `, F# i: \5 S5 i  f6 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 \) b! B9 w3 P6 b( g( ~* s4 ^4 E) b$ L, ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : h; m  T0 u. L7 j) S
  10. 本地机器,这是我的MySQL安装。 : c( w8 g* G1 Z$ T$ u
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ J" [& j$ Y0 J5 e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & [. W4 K4 P) \& h
  13. 数据库。
    0 @& ~: F: G" V' T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ x: h$ b- x$ s3 {: f6 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状' a) @5 d6 V& A9 J& M( K
  16. 在teamspeak论坛,如果你有兴趣。
    % G1 t  g: X9 {  C  i$ }3 y* Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 p% s9 I5 u8 T
  18. Borland公司使用。这个司机只能界面与客户端库
    " I9 ^+ t$ L+ r( S# i) f  n! H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 x: Z; y2 f& F3 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" O9 _9 F% I4 W5 t! C& ^
  21. " vendorlib " ,并解数据库连接。
    5 B5 {! A  ]8 v7 w; z0 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 " @$ q% C  z" n7 K

  23. 8 T* O6 o6 D( Q0 a
  24. # # #做好工作# # # & T: y- G4 r! ]! V' {( t6 \$ b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 [2 q5 J' f; M5 c$ q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 g5 }6 l9 W& F: y: V4 e
  27. 结束:
    ' y% J* H2 F5 @- `% k, V$ y
  28. ---削减这里---
    * z3 g- n# S7 a" x% C) ^5 \9 {
  29. [ dbexpress ]
    ( ?4 Z7 c& }& h2 r( F3 b
  30. sqldir = mysql_sql $ b/ [1 H" P" W& ~& Q! [, ^$ ^
  31. drivername = MySQL中
    & O4 |& b1 n1 t
  32. 数据库= your_database_name_here
    ) w3 T4 d4 z) M/ G, f
  33. 主机= the_pc_the_mysql - server_is_on . w: b. s6 W3 C* }6 T( Q4 C! z# k: l
  34. user_name = user_name_on_the_mysql服务器3 x$ n  V0 K0 U6 _5 M
  35. 密码= password_to_go_with_above_user_name
    % c! {4 M& {, F5 K0 d9 W
  36. getdriverfunc = getsqldrivermysql
    0 Q) f5 g* z6 w) C; x' H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 Y+ n$ G. e0 n7 J- l$ n
  38. libraryname = path_to_libsqlmy_libary 4 ?! `& E/ J2 W. O; L$ \
  39. 积极= 1
    7 J2 J) [! W7 t) x9 f
  40. ---削减这里---
    7 N2 G+ ~8 i- j' w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 E) \$ W8 w5 s/ M  c# ?/ ^
  42. ---例如--- , G# l0 @& i0 t' r9 X4 @9 W! c6 q% g
  43. [ dbexpress ] ; C8 J8 j8 `; E& I1 T2 O5 c
  44. sqldir = mysql_sql 5 l2 w9 t) R) Q9 b4 s
  45. drivername = MySQL中
    5 s* W' [2 j6 _/ P
  46. 数据库=测试
    ! ?& K  ^& ?* O& P1 P
  47. 主机=本地主机+ V/ |, k8 L% b
  48. user_name = testuser 1 e- ~0 i1 Q4 p/ o
  49. 密码= my_password
    9 {% @7 v$ W  C
  50. getdriverfunc = getsqldrivermysql 8 W9 Y9 W9 ~/ m1 D8 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - z0 e. f& p& ]: ?( n  c( v/ [# v
  52. libraryname =. / libsqlmy.so # Q6 j4 b  `/ e  T! X
  53. 积极= 1
    1 y8 K) K0 V6 J2 i& L: j# t+ V- x2 t
  54. ---例如--- . H' D& p1 |! @3 ]7 K
  55. ; F0 J, j- ^$ I8 U( c- a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & H& `- n6 E+ F1 K# E
  57. ---例如---
    ) _1 }8 R" K0 I. I
  58. [ dbexpress ] / D/ r9 {+ Z1 `2 |1 R  U, B
  59. sqldir = mysql_sql
    , _$ {* B: g% {
  60. drivername = MySQL中/ j! q5 E! \; @( `  v. g& U% B* T: k% S
  61. 数据库=测试
    * ^/ k7 s8 k5 V1 H2 h1 U$ v7 R
  62. 主机= 127.0.0.1 , t) g& w# Q6 U: r4 W. h
  63. user_name = testuser % n5 j, Y' d+ T4 [2 g2 J2 K
  64. 密码= my_password
    / ?" {5 z* `( ]1 G2 f3 l  z
  65. getdriverfunc = getsqldrivermysql
    2 y& ^& Z; p( f: ^
  66. vendorlib = libmysql.dll在7 a' F: t$ w3 K
  67. libraryname = dbexpmysql.dll
    + T2 L. {1 E& J. Y' X1 p& f% n, A  t
  68. 积极= 1 , @: r5 w$ I1 a6 C
  69. ---例如----
    / {  U6 V8 z7 V& s9 U& r
  70. -写在0 2.03.04由p wk.linuxfan/ S4 w9 `" N8 W3 r+ P
复制代码
发表于 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% C0 e0 [# W9 _! l- i8 b
$ p+ S8 h5 i. ~' j& E) F
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-16 03:29 , Processed in 0.092818 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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