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

3348 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 I" s% q) h4 y, M$ L8 I) p% k. w! T6 J# M. {  K1 L6 J
  1. . H% C( f( a3 }% G- b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + `( w' H& ?3 R- e

  3. + M% n9 M0 V% g+ B1 w- M3 k
  4. ### What we need ###: D& P9 U6 t$ K$ ]* G
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ) i0 t+ B9 F" Q3 C( j$ [# b* X
  6. will not explain how this can be done - there are documents out there for the
    1 x, W# H" n2 }* @4 F: j% ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use  H; E- k+ O  x& b( S8 s/ Y
  8. and a user account (username + password) that has the permissions to do stuff
    & w( t2 }0 U3 o0 d: O' L
  9. with the database. Additionally, you will need a vendor library installed on the" e9 u8 A! b6 ~
  10. local machine, this came with my MySQL install.  ~/ x0 m+ N5 w0 q
  11. These instructions will not tell you how you might transfer your data from the
    ' k/ Y4 }) F8 r- j: L) S) \4 F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) k6 N" }$ T9 U) X7 J
  13. database.7 R: l% @$ [: R3 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at! G5 m, e% A, \" E0 H" g. Q
  15. the time of writing, there are still too many issues - check the current status  D4 d" a( q# g3 W$ {4 S; o
  16. in the TeamSpeak forums if you are interested.+ q- s7 V% k! s4 T% Q5 ], n3 q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: n  R/ v/ d! Q. f; Q  c
  18. Borland was used. This driver can only interface with the client library that
    ( F0 I  D% R: N4 O, Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 ?9 y4 c* U0 c" X  c2 W
  20. client library - basically all you have to do is to use a 3.x client library as
    2 H$ L( I! Z( ^0 b
  21. "VendorLib" and a 4.x database to connect to.
    4 w: n2 v8 f& M  ?& S
  22. If you need more info about dbExpress, you can contact Borland.
    5 ?7 n. C* f9 ^: j0 h# x2 a
  23. - S! n  D9 X4 ]
  24. ### Doing the work ###3 M2 r2 u6 E+ L- k4 ~9 S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) x: l3 t: I4 E* t& S; Q; o$ x
  26. the perquisites right, just open your server.ini file, and add this section at4 L% E* ^- p4 i1 B9 v. s% |" t
  27. the end:* K  ]7 M# P- [' C+ I" S1 p  B
  28. ---cut here---, l0 [2 Q0 U  J
  29. [DBEXPRESS]8 Z4 M0 r% c# p+ }, K4 c- A
  30. sqldir=mysql_sql) B9 s! O& S5 v  M9 i
  31. Drivername=mysql8 F2 R( H# j# x+ h3 N
  32. Database=Your_Database_Name_Here
    " n8 i9 X! d$ y7 V
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) i( W) R% N" Q& j# ]$ t
  34. User_name=User_name_on_the_MySQL-Server
    / d& y5 \7 ?, J: B* e
  35. Password=Password_to_go_with_above_user_name
    1 T2 r7 G8 [1 J+ r+ [4 Z& y
  36. GetDriverFunc=getSQLDriverMYSQL' s% d) J2 `! e* `$ {+ U- t  X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ) a, c( N6 a9 K9 d) h: Y# q) t
  38. LibraryName=path_to_libsqlmy_libary  m; `, M1 S* t0 @5 f" ]7 I
  39. Active=1
    9 l- I9 p" A( k2 ?8 `# A3 y# h1 t! X
  40. ---cut here---
    % e- X0 s; A+ N3 i6 f* n( \
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ A$ e* Z: z6 e
  42. ---example---
    " I9 ^1 e8 V6 j: J% X
  43. [DBEXPRESS]- s2 w& |# x1 V) I
  44. sqldir=mysql_sql
    + ?  A/ q9 A& W5 a6 T' x
  45. Drivername=mysql0 c. v- h0 i+ v) B  u' P
  46. Database=test
    + |" q, L( F" t% ?) s0 P
  47. Hostname=localhost
    ( V; P! c+ G4 V0 F
  48. User_name=testuser
    / V+ p' W& T, l4 E- B
  49. Password=my_password0 V% i# F. _6 E8 r
  50. GetDriverFunc=getSQLDriverMYSQL. Z, U" J" ^8 `! [6 [, A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 k* T3 f; x5 N- Z# @, b
  52. LibraryName=./libsqlmy.so
    8 D( V) A! _& K; r3 y! q3 t
  53. Active=1
    " k- [8 [# ?8 o2 {  e; E5 q- O: R2 Y
  54. ---example---
    % s6 m, U8 K$ u

  55. 6 y, B  ^, Y3 Z- J2 o" S
  56. On a windows box, also running the MySQL server locally, it would be:
    0 [& s" I- Q; j
  57. ---example---
    . k, _0 `3 b2 @  {# D6 {; ?! z
  58. [DBEXPRESS]
    8 S9 A% `$ ?/ R) N( B
  59. sqldir=mysql_sql) b* e' [- ]! U6 T! K
  60. Drivername=mysql
    0 e6 g7 q: B" T/ k, r: H& _* n
  61. Database=test. a/ J/ M& T5 e3 Y2 w8 X( D1 P
  62. Hostname=127.0.0.1. U, U2 b3 {" u+ B
  63. User_name=testuser" @/ j, D, A( W' Q- e5 Q5 T) a
  64. Password=my_password9 _" n$ P" h5 V2 x" h" L* y
  65. GetDriverFunc=getSQLDriverMYSQL, t) p: M4 A6 A0 T* A2 f0 e
  66. VendorLib=libmysql.dll
    : O% n. E. l0 E" f4 n
  67. LibraryName=dbexpmysql.dll
    3 Q+ Z5 m+ k' H. k5 h" k- C! U7 C
  68. Active=15 y, y6 R+ o# m; L. N% S) R7 s; d! j
  69. ---example----, m+ G9 }6 D1 I" m& s. Z; S/ ^% _
  70. - written 02.03.04 by pwk.linuxfan4 V  o8 g2 S" O- Z0 Z

  71. 5 E% v; m4 U. d  e* M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  r4 x" `: Q2 [" r3 m9 D+ Q' i
  1. % |, i+ a  E4 T3 D( r
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) |. v: Q: `* H' Y% D$ c! ~
  3. # |/ T' j- y8 E$ h
  4. # # #我们所需要# # # 5 h3 Z" s# O  r# T2 C$ a8 O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 |+ j1 K8 g! Y- M5 |* J% g
  6. 不会解释如何做到这一点-也有文件存在,为5 v6 t) X3 \# Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * ^2 L; N9 q# d  x. U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: M2 Z$ @8 ]& A* x' T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* C: U! }( }: I9 `+ ^9 e) h
  10. 本地机器,这是我的MySQL安装。 ) g+ F2 ~4 R' ^: y4 `; ]; |! d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& u1 ~# g4 t& [6 ~! E% j5 d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; f  q+ b- I" D0 w+ }! c+ X
  13. 数据库。 % b) v/ }4 j- u! M6 M" ^- G( S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 @# m. S% v; D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * F1 @& L' K8 D2 D' ]
  16. 在teamspeak论坛,如果你有兴趣。 ! [9 K$ S& R" B  r- r- s8 a( W
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! K  }6 E( d3 ^0 p2 b9 N3 H( t
  18. Borland公司使用。这个司机只能界面与客户端库
    4 K) z* Q6 j8 W. i6 I: X/ N' j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ H8 [/ e! G8 R; n' s  L, R. H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! d2 \$ k7 b5 {, a
  21. " vendorlib " ,并解数据库连接。
    ) _! x9 u9 Z5 w! }' P6 C( g/ Q! w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! a( B% A4 R% Y

  23. . J8 }' g, g8 ~2 X- @9 v  D
  24. # # #做好工作# # # 4 g( F. k  p2 z  O& z6 b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( T" V, S# c# m- y  S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# B# {8 ^5 @$ r+ g  x& B& k
  27. 结束:
    ) w  s! c" o$ F
  28. ---削减这里--- ! |* z' e* w3 B9 h$ V: L# T
  29. [ dbexpress ] * O$ [$ u5 w4 z' u4 s' c% ~
  30. sqldir = mysql_sql
    ' V- K7 f3 M/ M) Z/ |& U
  31. drivername = MySQL中0 x" U6 h/ Z, v
  32. 数据库= your_database_name_here ; n: i# U2 S: q
  33. 主机= the_pc_the_mysql - server_is_on
    1 p* U  U1 u. T) }
  34. user_name = user_name_on_the_mysql服务器
    9 j' w$ E* N7 b& w/ s& ~
  35. 密码= password_to_go_with_above_user_name : n2 o6 k/ U+ t2 ?* s
  36. getdriverfunc = getsqldrivermysql 4 E7 I6 j2 {+ ~% j) K2 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 m6 N: Z2 Y, e2 h
  38. libraryname = path_to_libsqlmy_libary
    3 T  B4 U2 a" P9 M1 I
  39. 积极= 1
    " F2 T9 O% z4 @+ [4 m
  40. ---削减这里--- 2 q. T5 i3 c' R- Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; _9 e. S0 E/ x& a* G7 v- a
  42. ---例如--- # o, S/ H- ~" g3 N  }
  43. [ dbexpress ] 6 u* s+ v1 a' \0 K( f9 F
  44. sqldir = mysql_sql
    2 m7 M" t' U2 h3 K! a
  45. drivername = MySQL中
    ( s$ [4 P( S& |% A- B, o3 n
  46. 数据库=测试
    0 T+ e% R4 A+ |( Q2 `
  47. 主机=本地主机2 y  x" f$ U; C0 g
  48. user_name = testuser
    ) s9 _/ U5 c! R, A* m7 y: u
  49. 密码= my_password
    ) I' {  B+ o2 x) R! h
  50. getdriverfunc = getsqldrivermysql 4 U& R- N) k6 n5 J8 }' c5 M; l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # E! ^, |2 d( w& ~- Y1 ?
  52. libraryname =. / libsqlmy.so
      s2 t: R: b, h
  53. 积极= 1
    1 Y- _/ _+ Y1 w' |7 {
  54. ---例如---
    ; ~( x; I' Q) V0 E( G& D

  55. $ M" h( B4 U3 k8 S+ M
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    " W5 Y) S. ^5 G
  57. ---例如---
    9 ?0 @" `( {! ^( Z0 i7 ^
  58. [ dbexpress ] 2 L4 Z* p4 U6 K6 T! ^8 a
  59. sqldir = mysql_sql 9 f+ O# i- l- t
  60. drivername = MySQL中* t% b9 x0 Z$ a) \) z8 c
  61. 数据库=测试6 ^" R( H: X/ K0 r) z  y- v
  62. 主机= 127.0.0.1 - h( J) \' V, p" p2 v$ ^9 p' i
  63. user_name = testuser + q0 e( V' w$ G- Z- S/ c
  64. 密码= my_password 5 c) c9 j. I9 T; d$ `( U* }
  65. getdriverfunc = getsqldrivermysql / W- l4 `; X8 ~: U
  66. vendorlib = libmysql.dll在9 i0 q+ ~, R/ s" ^  H
  67. libraryname = dbexpmysql.dll 8 x4 |* [& N# v6 I; p
  68. 积极= 1
    / s4 u! a& r. T& l
  69. ---例如---- ' @. H! `9 S0 K' v* z' h
  70. -写在0 2.03.04由p wk.linuxfan
    1 z. @( M2 y; ?. d% s- B
复制代码
发表于 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( G* Q3 Y6 k

, j5 ~7 L1 P9 n. _3 _but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-17 10:22 , Processed in 0.092443 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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