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

3392 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" Q4 s; \, v, Y) p
, n) M1 g, ^% x7 b
  1. 2 @3 S6 R( X' |' h3 X& W# U+ j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( w7 h& Q2 A' p  ^8 R& H% g
  3. , p2 q; p( ]/ P4 e/ S- O. M
  4. ### What we need ###
    & |, }  s1 M/ Q# f
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 M! a3 z" C' X) I" ^- w  w/ e
  6. will not explain how this can be done - there are documents out there for the & \, Y! z& v5 e( k
  7. interested. The requirements include a (empty) database for TeamSpeak to use* A) \/ r* Y5 `0 t3 N
  8. and a user account (username + password) that has the permissions to do stuff
    3 \& c; c6 `8 l8 U
  9. with the database. Additionally, you will need a vendor library installed on the
    * t8 p- u7 K9 V
  10. local machine, this came with my MySQL install.
    . i% s4 g8 s" f) r& T
  11. These instructions will not tell you how you might transfer your data from the/ J. `) f! }4 K8 u: T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) ~" \0 L3 V/ S1 j
  13. database.
    7 ]7 h9 o+ q: o) p4 o- y8 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at( _/ }7 C+ W9 C0 `( [
  15. the time of writing, there are still too many issues - check the current status
    * M: L9 G$ A. e) y! W4 b
  16. in the TeamSpeak forums if you are interested.1 A* d' a- E9 s8 L5 W& \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 {7 g& g1 U$ M/ E, @1 e
  18. Borland was used. This driver can only interface with the client library that
    ) U7 \" n# i6 J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 }! t- l* D( A! K, U; l5 y( P9 I3 A
  20. client library - basically all you have to do is to use a 3.x client library as
    & d. d0 [9 P7 d! b( I
  21. "VendorLib" and a 4.x database to connect to.
    ( H# g9 C1 y* v' i/ `) N
  22. If you need more info about dbExpress, you can contact Borland.0 X! L8 ~& T! _0 h) t

  23. / W0 k4 @& J( l0 E- y, Z4 T
  24. ### Doing the work ###: Q: q. t# `" a1 K) H- M, }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  ]* V7 W# y6 y0 v: S9 u2 x
  26. the perquisites right, just open your server.ini file, and add this section at5 f; s- P" j' k
  27. the end:# |; G  M3 K- _) D7 @
  28. ---cut here---6 y9 o6 f! U! u0 [2 i
  29. [DBEXPRESS]) [$ W# [; y( h+ O
  30. sqldir=mysql_sql4 I( g9 s# H- [
  31. Drivername=mysql
    . G9 A3 W. m) F4 n
  32. Database=Your_Database_Name_Here
    : I9 a' ^3 o" Q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    / L) Q' x% O9 ]! J% p) }, z- N
  34. User_name=User_name_on_the_MySQL-Server. A, ?9 h5 Z6 L
  35. Password=Password_to_go_with_above_user_name  C# S1 p& r# k: P, M: Y+ A
  36. GetDriverFunc=getSQLDriverMYSQL' J, e' j' ?8 Y% V' J5 T4 d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! H( O% [" I( Q0 L6 O
  38. LibraryName=path_to_libsqlmy_libary- T; j+ |; g2 t& E
  39. Active=1$ F4 C% w9 z& y0 L  N
  40. ---cut here---  T$ k" z  x3 y9 S6 ]. E
  41. In my environment (a linux box with a MySQL server running locally) I have:
      O$ O. u( X1 Y; ?" u' O- ?( P
  42. ---example---
    7 t# M0 M  H# z5 M7 ^. v5 M
  43. [DBEXPRESS]& ]6 A  R5 y/ I
  44. sqldir=mysql_sql
    7 v) }' |( Y) Y& r7 H( p: d8 g
  45. Drivername=mysql( x, \9 P/ c, T1 F
  46. Database=test, T! K8 O! V0 B' A  L
  47. Hostname=localhost
    ! _/ B! d& k- R; _1 P
  48. User_name=testuser1 S  q. i# B) H# p% e' D( K$ e. t
  49. Password=my_password
    : O/ P8 M) w9 ?# a- S$ H1 R: p
  50. GetDriverFunc=getSQLDriverMYSQL9 g# D2 M- n' r( o) a" |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 g2 y6 v8 K( [2 c+ Y7 N
  52. LibraryName=./libsqlmy.so
    ! p0 U  J" L8 s) c  U
  53. Active=1
    6 V) h; U* c% ]; t% W
  54. ---example---2 b) e: F7 @; L8 I

  55. . t  `1 k) z( L) J1 ~
  56. On a windows box, also running the MySQL server locally, it would be:4 q+ L6 O( ^* I) g( t0 v
  57. ---example---! }3 `3 o9 z6 o: T
  58. [DBEXPRESS]
    & |5 r: H1 C2 d
  59. sqldir=mysql_sql* K, h5 ~8 S5 S& k$ F: ]& S" V
  60. Drivername=mysql
    0 O2 J( G, M. C7 f% M
  61. Database=test
    - @* C3 {3 q0 G
  62. Hostname=127.0.0.1
    # u# n" l% ]7 z+ i
  63. User_name=testuser* R" z, }2 Q0 n  `6 N7 v
  64. Password=my_password
    * j( g" g4 U- g% A; P! n5 l
  65. GetDriverFunc=getSQLDriverMYSQL
    - e$ _( a! ~$ b) n' @) K/ N! N
  66. VendorLib=libmysql.dll
    4 [, }3 F$ r2 }% z& N& b: N6 }
  67. LibraryName=dbexpmysql.dll, c9 |7 e% o5 A
  68. Active=1
    1 j3 l# A" I6 G- U% a, @
  69. ---example----- M+ @* U% _1 e; Q2 z7 C
  70. - written 02.03.04 by pwk.linuxfan: r9 S% L: I$ h4 V# N& E
  71. % ^2 Y) t& T5 ~& c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% ]7 o% q  g9 P( R
  1. ; R6 E1 L( p2 f0 v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + q9 Q$ y# t: m! S1 F2 ~$ H' s' ?

  3. # S6 {5 }7 r5 a
  4. # # #我们所需要# # #
    : O4 E7 e* J# l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 b& A1 L! o: V0 M
  6. 不会解释如何做到这一点-也有文件存在,为" C: P; o& _5 A0 b6 r2 N4 f9 K3 p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 J' c% c; s; ~2 A* G: n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 R# ~$ h; y/ \; h4 {2 P. U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* z$ @% L9 }. `! [' X! ^1 d0 I
  10. 本地机器,这是我的MySQL安装。 9 @4 ]" [. D! n7 M, i0 ?) V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : A& ?3 ^6 O9 U* z( A! O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # T, E$ V8 ?' k3 b  }
  13. 数据库。 : Z- R1 m; S3 z) l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ b% v2 n3 T6 m" L/ t+ ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 A9 i3 \" D7 w1 E, y3 w' b' x
  16. 在teamspeak论坛,如果你有兴趣。
    ( S4 S; `! U4 k% @) a5 ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 W7 i- J$ Y3 C1 g
  18. Borland公司使用。这个司机只能界面与客户端库
    8 U' \- H0 b: P* k6 R+ X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 X$ a) y- f4 ?' P: b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" e- m9 b9 V& `  G4 B, ?# u
  21. " vendorlib " ,并解数据库连接。 & @9 ^3 X6 y* c6 T' S1 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 a: B  X% f( }1 @

  23. ; f' v0 A, O7 n5 Q2 E) i: g, u
  24. # # #做好工作# # # * m2 H# y9 L% S9 z0 Y4 i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( i7 R. Q7 F6 ?" y! d( d% \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " c% Y+ z1 \0 |9 x
  27. 结束: * E8 ^) t1 i  U
  28. ---削减这里---
    + L) e$ U6 N( T3 Y& f
  29. [ dbexpress ]
    5 C! D6 r5 P- w; V' b0 l6 h3 x& [4 @
  30. sqldir = mysql_sql
    ) I! i. q) W) f: [- P
  31. drivername = MySQL中
    7 Q0 I( M! m. c& n- N" |( B' t+ `
  32. 数据库= your_database_name_here : y! \" A8 |. Z; ~. b) V2 H
  33. 主机= the_pc_the_mysql - server_is_on 3 p+ r7 ~: L; k
  34. user_name = user_name_on_the_mysql服务器
    2 g, A& u6 x* M3 L6 ^  f
  35. 密码= password_to_go_with_above_user_name
    1 `4 u+ M, n3 o; Y# @5 P$ Y
  36. getdriverfunc = getsqldrivermysql 8 w! g2 n) o/ B5 ?$ ~' W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 R2 U& k, M. R3 z# p8 `5 G2 ?- X
  38. libraryname = path_to_libsqlmy_libary
    6 v* L8 {, q  j* Z! ]
  39. 积极= 1 4 c7 e* H9 ?: r$ w4 n+ T0 f
  40. ---削减这里---
    2 m# _+ {) j  j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 ~+ B- B( }6 l$ c
  42. ---例如--- 6 P5 s* F# N  p2 }/ U7 [& L
  43. [ dbexpress ]
    2 f3 ~7 \' H- @% Q; ?% y* Y2 c
  44. sqldir = mysql_sql
    ; [7 ]! s4 h$ P9 Z- i. l) l0 \
  45. drivername = MySQL中
    % C( q: ^$ M5 I# }& y
  46. 数据库=测试/ P4 T9 H8 ^& g0 E: [# O
  47. 主机=本地主机. \! u6 m  B% w) |: S5 _
  48. user_name = testuser ! ]& m+ U  U4 f4 u
  49. 密码= my_password + n, c, W3 [8 x/ n( d1 c' B
  50. getdriverfunc = getsqldrivermysql
    3 `$ B( Y# w4 V/ i# X3 ]! F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + ]8 l9 A1 z% T1 w4 d/ y- {7 e5 N
  52. libraryname =. / libsqlmy.so
    & Z! J, x0 G2 E3 o! ?
  53. 积极= 1 . e3 r, ~$ c( o$ |  A
  54. ---例如--- 5 @; v/ `% ~& Y
  55. 3 z' W5 ]! E/ k& f/ `' }
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) B3 N8 @3 `2 O* @* j8 t
  57. ---例如---
    , `2 V3 j- O2 Y: u
  58. [ dbexpress ]
    9 X0 q* G$ B+ T% K4 {
  59. sqldir = mysql_sql ' t/ b' l$ C( q1 @1 [2 t$ s( C
  60. drivername = MySQL中9 z; I3 E5 e  K  c7 b8 U$ B* s
  61. 数据库=测试
    ! B; g0 R, g% K2 I* i
  62. 主机= 127.0.0.1 % D# Q6 k1 I$ T% A- l
  63. user_name = testuser
    ' G6 C1 T( N  G8 V" D
  64. 密码= my_password
    0 M, O5 a- R% Q9 ~/ w6 a
  65. getdriverfunc = getsqldrivermysql 9 I- R% e& j+ B* U3 h
  66. vendorlib = libmysql.dll在
    / @; _. n: C0 {
  67. libraryname = dbexpmysql.dll
    3 }" E( b: J2 A9 J- G; r# e9 J
  68. 积极= 1
    3 m' {/ a( [) g: T0 t. m3 |! v* y
  69. ---例如---- 4 Q' `9 r$ k1 Q
  70. -写在0 2.03.04由p wk.linuxfan
    ' L3 W' i0 Z7 p) E
复制代码
发表于 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
! ]$ N" ^; v& J1 m7 B# K9 P* K7 h, U- o0 g& V' Q. a
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-25 21:42 , Processed in 0.091867 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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