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

2692 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( {2 G( [, o1 D5 o2 b3 T: K
5 X' m* D5 o" y6 j

  1. ( [0 T' S7 L6 ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # z; }: s2 m" I  y
  3. 4 s0 s  z& h9 A# S: v% ~, l- N
  4. ### What we need ###( |: G/ P$ p* U+ w0 @) @
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % M# n/ D! Q9 w) y( t
  6. will not explain how this can be done - there are documents out there for the 1 L- B: G& x$ l3 P+ H
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    , u/ G% @6 O. u+ ~6 j
  8. and a user account (username + password) that has the permissions to do stuff0 G! t% |9 {" }. S
  9. with the database. Additionally, you will need a vendor library installed on the  D! ]' K8 ~+ j, H5 ?. y# h3 T
  10. local machine, this came with my MySQL install.
    1 J+ ^: Z1 p( F. D% ]
  11. These instructions will not tell you how you might transfer your data from the
    1 |- v5 e3 y) x9 h" i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , T, b6 v8 w6 L  c
  13. database.
    3 L. E$ ^9 ~4 R
  14. Some users have reported ways to import a SQLite database into MySQL, but at# U7 k0 \( |! [
  15. the time of writing, there are still too many issues - check the current status8 R- Y4 Z9 O% m+ L' T
  16. in the TeamSpeak forums if you are interested.
    ' D8 _# Y- M7 [( R9 q' `8 {4 y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! C6 p/ P5 `6 x
  18. Borland was used. This driver can only interface with the client library that $ e6 Y( O  R7 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# b& O; m/ J% r+ L% P5 U% q
  20. client library - basically all you have to do is to use a 3.x client library as * V$ T% l/ Y. A- M1 n2 L7 E1 ^6 o! X+ o
  21. "VendorLib" and a 4.x database to connect to.
    . v8 B: n: F6 _! c3 F( G, j/ m
  22. If you need more info about dbExpress, you can contact Borland.
    " i1 Y& c2 j) L& F' M( Y. J

  23. $ B* S" {; S0 ~& A  q- @2 T
  24. ### Doing the work ###4 ?) u6 x7 k6 \% L0 x
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 n7 U6 T+ @9 `" W0 q
  26. the perquisites right, just open your server.ini file, and add this section at
    3 \- f) Q+ C, i2 v& x# r
  27. the end:
    1 R3 T0 @( I7 ^$ I+ t
  28. ---cut here---
    6 U  u, y( t; X: K; x% r, f$ l3 z
  29. [DBEXPRESS]% g  g2 b" L4 ~
  30. sqldir=mysql_sql
    6 R: p3 U! d1 d/ N
  31. Drivername=mysql7 A4 h4 q5 D4 A1 G+ J9 \& e( T
  32. Database=Your_Database_Name_Here
    " k- t$ Q) b2 b: V5 ^, K
  33. Hostname=The_PC_the_MySQL-Server_is_on* T3 ?/ Q3 l' w- u; E* B3 i3 B" |; z
  34. User_name=User_name_on_the_MySQL-Server
    - \! d& p% |- t: j/ [: b$ C- R
  35. Password=Password_to_go_with_above_user_name
    " O. {/ O* ?2 S5 o! n4 Y1 g
  36. GetDriverFunc=getSQLDriverMYSQL. x6 ?5 P+ b: h/ m% y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 A" N( Q- q7 d7 Z9 ~- }
  38. LibraryName=path_to_libsqlmy_libary
    & w7 X( \1 ?7 P% r7 d0 L
  39. Active=1
    7 P2 Z" `6 D. b5 f+ f% Y
  40. ---cut here---- D# X4 d& q5 W6 d' m, ?; P- O# @
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) E1 L, I8 d8 _, V/ L
  42. ---example---
    - {3 i2 J8 ^7 }8 s9 m: k* `1 s  G
  43. [DBEXPRESS]% a$ V7 K2 ^: |2 F) N: E! W
  44. sqldir=mysql_sql3 Y/ v+ @0 ]0 \" f$ w
  45. Drivername=mysql
    ' ?% N  g8 e) r9 _) D% o7 K' b- v
  46. Database=test
    : Q8 A2 j: n, k+ Z* T: g0 M
  47. Hostname=localhost0 O! t. c; {7 ]4 w
  48. User_name=testuser, K" [; \. N* ?9 D' A
  49. Password=my_password% F3 D. W6 J3 r" h* U6 m- X
  50. GetDriverFunc=getSQLDriverMYSQL4 E  x: u. r5 i- |( O+ X5 I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* ]/ w. {* @/ Z. E; D7 F$ w
  52. LibraryName=./libsqlmy.so
    + d0 H% y) S: ], Y  ^
  53. Active=1
    ( d4 n$ D; }' r6 D* T
  54. ---example---
    8 c* ?. j9 v( U5 v

  55. ) q. K% K; z* C' I9 e
  56. On a windows box, also running the MySQL server locally, it would be:0 D/ \; Z- ~  |
  57. ---example---
    0 d7 d# P$ j) }4 [: U% Y
  58. [DBEXPRESS]
    & a) V  p0 n# Z0 @/ O( k! t
  59. sqldir=mysql_sql
    & @  K+ a; ?! S# X
  60. Drivername=mysql( Z& J2 i6 {; U2 j- A
  61. Database=test# X! l/ N4 C, h+ i! u% y
  62. Hostname=127.0.0.1
    3 U1 ^. k" g" X3 w0 s' ?$ I- q
  63. User_name=testuser3 V& I! g7 x- Y0 y3 z/ F
  64. Password=my_password
    8 e  ?9 a. Y, I
  65. GetDriverFunc=getSQLDriverMYSQL
    5 d5 O2 _! w* p: ~. m9 X! p
  66. VendorLib=libmysql.dll
    ' a# D1 z, O1 i) e
  67. LibraryName=dbexpmysql.dll
    4 }( d( C7 {! n" g- h. Z# F
  68. Active=1
    , o! k6 _3 X* G7 x
  69. ---example----
    1 u" q! I' X8 ^" V, P
  70. - written 02.03.04 by pwk.linuxfan
      O. G+ Q" I4 k2 C
  71. 1 E/ J5 ~% M/ ^4 \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 Z! H( I/ K8 X, Q* K( b! [4 `: _
  1. 5 `+ R$ H' H* M0 ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   o6 V/ |7 B. I5 m) M& A
  3. . V1 ~  H" J5 `2 L. I! r
  4. # # #我们所需要# # #
    ! `4 Z8 @) s* i: v, o% P" g; k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # C! L. _7 S- Q3 F1 {
  6. 不会解释如何做到这一点-也有文件存在,为
    : D$ M. K/ L: k6 `) w6 x7 m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * B7 Y) r- [7 }6 {; I9 n' Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 F" g$ N: w! d+ x2 l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 D  d/ r% G  Y& ]6 R
  10. 本地机器,这是我的MySQL安装。 . B. w- J. h- z4 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 D  [& C% m/ l+ r  o6 j3 I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : e5 l9 W1 C! E) U& v8 V) b5 q* E
  13. 数据库。 # T" q! g; K4 a$ [1 E; H1 f* U& ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 |- }4 D# G, L
  15. 编写本报告的时候,仍然有太多的问题-检查现状# k( N# ?% ?1 P1 f4 N
  16. 在teamspeak论坛,如果你有兴趣。
    6 E. g0 O$ P8 S& u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( \/ Q9 B& Q. G' R" V+ }9 w
  18. Borland公司使用。这个司机只能界面与客户端库
    : \; Y1 Q9 Y4 w7 w" u: h+ Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& r+ o8 R' O* G3 }4 d; p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, t1 L! w) w6 L% r- X
  21. " vendorlib " ,并解数据库连接。
    , H* C) |3 F  z' L5 r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 L% {- l8 T% t. \! _1 e) y- k+ N
  23. $ C" k( h$ ~7 _$ U& N. g; h) U1 L
  24. # # #做好工作# # #
    / ~9 A! P1 |+ L; j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 q: e- N3 F2 `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( j+ z- S- H2 \, q$ F; H+ e
  27. 结束: 4 T: I5 K# P1 N7 `+ ~3 _
  28. ---削减这里---
    ' o3 d3 N" W+ X& k
  29. [ dbexpress ] " J/ V+ H/ _( ], O% H: \+ G
  30. sqldir = mysql_sql $ }. J6 R8 Y8 \1 J3 i" ]2 n1 Z4 n& O
  31. drivername = MySQL中
    . c: O# ]  g/ n% T* M
  32. 数据库= your_database_name_here
    ' z( C6 Q: X( }
  33. 主机= the_pc_the_mysql - server_is_on
    ! n4 S& M! L& E& e1 ?( j$ L* L
  34. user_name = user_name_on_the_mysql服务器
    8 _0 t8 U" _* K1 S
  35. 密码= password_to_go_with_above_user_name
    , I: ?& J% z3 H2 W* M) }
  36. getdriverfunc = getsqldrivermysql $ v3 T& Z1 p  L" f8 B5 M. a; w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 ]3 a3 Y5 f  N) ?. M
  38. libraryname = path_to_libsqlmy_libary
    3 K; Q1 y, f  p2 W: K# r8 F- w
  39. 积极= 1
    : r8 L( }6 H/ t6 V
  40. ---削减这里--- " }% p9 U- o/ a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) r1 A- {) k$ A: j; L/ c5 _
  42. ---例如---
    7 {& P9 ]1 c$ a* v3 y
  43. [ dbexpress ]
    - {! j$ ~0 p. y: i  w6 q* G  P
  44. sqldir = mysql_sql - w7 I4 P$ E) S/ y* i
  45. drivername = MySQL中
    ! P' J/ Z1 z: o6 O, w' ]
  46. 数据库=测试
    7 d, o1 I! g2 n! A' @
  47. 主机=本地主机1 Z2 P8 P4 o  M/ U" \# u, Z9 G8 G
  48. user_name = testuser
    - D5 K0 [9 Z+ d8 R
  49. 密码= my_password   Q% [- N" m5 W1 @4 l
  50. getdriverfunc = getsqldrivermysql
    + ], K2 \: i8 K' ]$ D5 D2 ^
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 V% K5 l6 ]( B( H$ v; M- ]8 }
  52. libraryname =. / libsqlmy.so
    / Y( o; K1 r4 ]- g+ g
  53. 积极= 1
    + q, m. b# {) }. h
  54. ---例如---
    : J  a4 e& t5 z% O6 y
  55. # C- w7 B9 Z$ H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . b+ j% t# _. _7 K& ^* B2 F
  57. ---例如--- 2 J% g, i% h/ ]" e- q- a; G. Y
  58. [ dbexpress ] - K# [9 O- \( _* [; \# I
  59. sqldir = mysql_sql
      i1 \' i! A7 X5 V$ w* ?! r
  60. drivername = MySQL中. E& ]( Z/ z/ V$ [9 W7 N3 @4 `
  61. 数据库=测试
    % i% o; y0 R$ w, |$ J
  62. 主机= 127.0.0.1
      x9 B+ W+ E6 O/ \& I2 a% Q
  63. user_name = testuser
    8 W. ~" z% o: ~
  64. 密码= my_password
    " [& V1 Q+ T& }3 t6 H
  65. getdriverfunc = getsqldrivermysql
    7 }* v, Y: f8 |5 a4 o
  66. vendorlib = libmysql.dll在
    " O1 i$ i& T5 e9 C2 n1 T7 C
  67. libraryname = dbexpmysql.dll
    . L, p5 V$ }/ Q' \: @
  68. 积极= 1 6 e( W5 q% f/ W6 j+ V' F* {; ]
  69. ---例如---- 5 [, c' N* |4 O! h0 Z
  70. -写在0 2.03.04由p wk.linuxfan* ?: S/ @' o8 A9 K" 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
) U9 v' H9 e9 ?& w* X# k) E, a
, p) X  }! p( ?+ N$ V4 t; c, pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-2 05:20 , Processed in 0.212768 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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