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

2778 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 Z( L: H% E) ?/ j: d
& Z$ P. ?" [" v, P, x+ K' `

  1. / \- n* h# h, Q+ a; U5 t' Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ D4 b. P+ i" _: H0 }

  3. , ^( d  X) h/ g! }9 s
  4. ### What we need ###
    ' F; W+ U+ t5 R( Y" Z# j) B' N3 l9 R
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 X; D  o7 O1 T8 S0 G
  6. will not explain how this can be done - there are documents out there for the 5 q9 _% R* x/ I; e# K3 n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( P' l4 C. e& Z( H3 X; q8 ~
  8. and a user account (username + password) that has the permissions to do stuff
    + T$ u1 ~5 W, d; b$ Z0 i7 m  d( e+ U
  9. with the database. Additionally, you will need a vendor library installed on the1 @" `9 o' a# g
  10. local machine, this came with my MySQL install.
    5 g8 w$ k# D9 j
  11. These instructions will not tell you how you might transfer your data from the
    1 b- u+ b& A1 U+ f3 w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 H/ m# a5 J" Q9 X
  13. database.: K  K7 I4 @4 ]! E6 {
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 u0 X. G1 A+ q- A- h2 K
  15. the time of writing, there are still too many issues - check the current status8 X# i- B+ p; s9 S( y# u% [8 f
  16. in the TeamSpeak forums if you are interested.8 j% ^9 H" I; h- x2 }  M3 |) D% ?+ |2 F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! w4 ?, x" L' e: ^7 G# q6 N
  18. Borland was used. This driver can only interface with the client library that + H9 R8 K/ @: }3 e; o- C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 o9 A* f  t' \* R; Z* W: N
  20. client library - basically all you have to do is to use a 3.x client library as * f& B( K* P! e7 V7 |
  21. "VendorLib" and a 4.x database to connect to./ y, c! ]5 h5 A; x0 \# ]
  22. If you need more info about dbExpress, you can contact Borland.
    . U  @) O5 R. K# M+ i
  23. 8 E2 f3 ^6 j1 a& p
  24. ### Doing the work ###
    9 Y8 f7 n( w6 U3 K1 i0 P" p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. a/ O6 ]: o: {7 f0 z
  26. the perquisites right, just open your server.ini file, and add this section at3 e$ Q6 j, _, e3 O0 c  H3 P
  27. the end:$ O0 Z+ c( X1 [9 ]8 I, p5 d
  28. ---cut here---2 ]5 H4 p3 }+ Y; a% Y, H/ w
  29. [DBEXPRESS]
    # E6 V0 D) k4 f/ n7 W5 W: u
  30. sqldir=mysql_sql# S1 R& F# H2 F7 Y1 x- P
  31. Drivername=mysql
    # D# u# X/ ~% _+ [, }: @
  32. Database=Your_Database_Name_Here
    + x1 K" I5 O/ O; A5 x* J# u8 |
  33. Hostname=The_PC_the_MySQL-Server_is_on& D0 E; L/ v$ Y& c6 M
  34. User_name=User_name_on_the_MySQL-Server
    5 J3 N5 ^! X! R; @+ n& Q. {
  35. Password=Password_to_go_with_above_user_name: K  @; [! A! b: Q6 I: a% [. T
  36. GetDriverFunc=getSQLDriverMYSQL+ ]+ G$ w0 u. n* I+ K# J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 u& O$ N  K9 T, \2 Z+ N: s1 q
  38. LibraryName=path_to_libsqlmy_libary
    ( t/ R$ j: @2 q  w' K$ w; z0 h
  39. Active=1# ^# s( ^/ X$ |1 D% O3 J$ \0 B; H
  40. ---cut here---- f$ y# _2 l5 J* @/ t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 I' v+ V* Z9 E% z
  42. ---example---
    0 ^. Q: V& @$ N& ]% t
  43. [DBEXPRESS]4 u8 s! R- s. n% G
  44. sqldir=mysql_sql
    4 [% P* N9 |# _7 n* M6 ]6 f# {
  45. Drivername=mysql
      r. ]7 F  P; d3 C
  46. Database=test
    / `% W( G/ o- ^: a- c
  47. Hostname=localhost
    1 x# n" B( S3 `( p6 ]% M
  48. User_name=testuser
    / ]( f/ L" {( N0 K; M( B7 Y  ]
  49. Password=my_password/ ]" s3 U; T6 U9 i, P4 {$ v3 K
  50. GetDriverFunc=getSQLDriverMYSQL2 K0 O8 [, B( Q. Z: C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 k8 B" Q7 g! A8 {/ |$ b; b' i
  52. LibraryName=./libsqlmy.so
    * r0 u. ]6 v4 P4 J
  53. Active=16 x; h) b; b0 _$ J
  54. ---example---; A# {7 g* i( G

  55. 9 i: F* {' |" K! J6 U, \7 M0 P/ {* r
  56. On a windows box, also running the MySQL server locally, it would be:
    . ~% S) b* ^. I3 q) P3 s( [
  57. ---example---
    $ W6 I! C0 B2 c# L7 y
  58. [DBEXPRESS]7 }3 O6 D8 T1 y" C! D
  59. sqldir=mysql_sql
    : O/ ~& [8 w$ g3 U3 L
  60. Drivername=mysql) Q  A0 A( d3 J8 H4 }8 O9 K" b
  61. Database=test
    ! d9 k* q% b+ D, K  M
  62. Hostname=127.0.0.1; @  c4 }# K0 Q* Z
  63. User_name=testuser; d) H8 a5 X/ R6 c0 q
  64. Password=my_password8 D8 r" h+ T0 N# \3 z4 [* K6 X
  65. GetDriverFunc=getSQLDriverMYSQL
    # o5 O+ v4 H) v# V) O5 O
  66. VendorLib=libmysql.dll
    2 N  j( i0 z: T) A' D
  67. LibraryName=dbexpmysql.dll( _& T0 P) y- d: Z' E- d' B/ I
  68. Active=1- ]# f! W8 M3 N( e
  69. ---example----
    7 C9 q) \8 R7 Y- ?0 x, j) Q
  70. - written 02.03.04 by pwk.linuxfan
    ! V4 `  e  E  a% P

  71. 1 [, I' M" B% ^2 l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! g/ U/ ^) k, h3 A! S

  1. 3 l' N7 x, h0 u/ A+ G9 b' p9 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : m9 v, S) A, _) D. [0 b9 o8 J# U* m/ |

  3. 3 k) M" |* D0 Y2 Y
  4. # # #我们所需要# # # & R, z; x2 V3 |" v# Q  u9 m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 I+ [/ }" ?( S9 B6 H
  6. 不会解释如何做到这一点-也有文件存在,为6 _8 i, y0 R: l7 f% S5 r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 D" f) Y6 @, u' t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - F8 O% h8 u3 L: Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. c$ N# k6 Y" [: d1 X' W
  10. 本地机器,这是我的MySQL安装。 # W1 t. D; m8 D+ _+ q& s" [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 p, h8 Y2 q8 c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( E0 {0 Z7 R. H
  13. 数据库。 & |$ g# G) y. |5 z+ Z$ }' i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , h3 e$ `% m# m1 |; R& h' w4 b
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 r: J1 F* I4 g& n$ h9 x
  16. 在teamspeak论坛,如果你有兴趣。
    5 h0 _; `, X) z. l; ]9 n; h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 ^* Z2 r+ b% p! |0 K+ E  v
  18. Borland公司使用。这个司机只能界面与客户端库; n; F" e  _0 I' T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 q* A; v2 M- |9 t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 p2 @" H9 ^* ]# t! _5 J5 N9 l
  21. " vendorlib " ,并解数据库连接。
    ( y# b0 l8 P4 O! y( R- f& R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! f; R* O& f+ S; ]& P
  23. * v. ?, o( m  b$ q; Z" E
  24. # # #做好工作# # #
    ( F3 v. V8 }, h  O* W( E$ q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# s5 J, ?! x, u/ P( N! z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / g' C4 O7 _/ ~4 a* V3 Y
  27. 结束:   j/ w1 j# \$ U( F7 l1 \7 Y
  28. ---削减这里--- 7 x6 A' u8 d3 |# h+ W
  29. [ dbexpress ] # x; U  T& L1 ~$ S* R
  30. sqldir = mysql_sql
    ( E' l% u. p5 J( b; _
  31. drivername = MySQL中
    6 N! u1 Q& n$ Q* p/ Q
  32. 数据库= your_database_name_here * c# z  g  D* N0 S9 ?
  33. 主机= the_pc_the_mysql - server_is_on
    1 Q* S; \: H0 N
  34. user_name = user_name_on_the_mysql服务器
    0 B' Z$ ^9 }/ F, l( ]8 z
  35. 密码= password_to_go_with_above_user_name - g: N& f3 @" f/ m
  36. getdriverfunc = getsqldrivermysql ( K/ u0 q0 X& F0 ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 |: x: a) s; {7 ]1 f* R7 ?
  38. libraryname = path_to_libsqlmy_libary
    ) [4 R# a6 L' M2 d" J/ b$ l
  39. 积极= 1 5 W, u7 z/ n7 `: U& V! |
  40. ---削减这里--- ! c5 t: t' V0 |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " f5 |) K; l5 f  F1 O& |
  42. ---例如--- " m. H- c7 h+ X* Y# R# O. s& `
  43. [ dbexpress ] : W( G3 p5 E  ^) e
  44. sqldir = mysql_sql
    , N# d, [- C- B9 p" D9 R
  45. drivername = MySQL中; i# P$ J& e$ G+ k2 A
  46. 数据库=测试! A! C) b2 \9 A3 E- d% C- [- D; L5 @
  47. 主机=本地主机
    : f( S; r; p( M( H* ~
  48. user_name = testuser
    ; [* x. [: y5 K+ [- a3 ~$ [' ~5 |  i
  49. 密码= my_password
    ( \; s1 v8 c- z! m* ?$ B$ [! `( z
  50. getdriverfunc = getsqldrivermysql
    * O2 N) F) L* `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % J% m6 s" c8 o. E* U8 w- L
  52. libraryname =. / libsqlmy.so 1 ?$ g, ~) I9 P2 s6 r: c( ?
  53. 积极= 1 9 Y- ?( K1 ~3 X3 x' L3 t' G" g
  54. ---例如---
      Y2 N' S% }2 B0 l* }
  55. 7 r- i4 Y/ D. V' E7 H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( O0 ^# @# |  t9 h4 b% Z
  57. ---例如---
    ) J, ^% H4 P' ~# G
  58. [ dbexpress ] 6 l) u4 ~; G5 N  T( I8 X) I+ ^5 H
  59. sqldir = mysql_sql & {# G9 V( q1 [
  60. drivername = MySQL中
    9 s" N# j2 ?" N2 M" g7 [9 r, U5 ~
  61. 数据库=测试2 q$ d" c/ D- d! T1 A9 M
  62. 主机= 127.0.0.1 $ \3 `% b( K8 ^& R3 c2 W. S
  63. user_name = testuser
    5 |3 o1 x. B! f1 {0 z7 [" U
  64. 密码= my_password
    2 a: B( y$ w# R( |1 r8 t2 n
  65. getdriverfunc = getsqldrivermysql
    7 X# N4 A- F2 v8 \# m+ S. ?
  66. vendorlib = libmysql.dll在# p# Q7 O& ^- n! H% Y" R% j  _1 D
  67. libraryname = dbexpmysql.dll
    ( i& Q. x! Y5 n& H& \5 T# v
  68. 积极= 1
    4 s' N' u( l' I
  69. ---例如----
    . [* b8 f# D4 c
  70. -写在0 2.03.04由p wk.linuxfan2 h" O( {7 E2 J* m
复制代码
发表于 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  \( D: P" R% N+ K2 a
% F. F2 S9 i: G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-19 04:03 , Processed in 0.113423 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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