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

2410 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 t4 ?3 [' H/ B* Q5 ~: B
6 v5 q4 s/ Z; l' ?# C2 U: H* Y

  1. % g. J6 A, d0 U6 @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 v8 x5 U( \- u% A$ W- C
  3. % ^. [9 ]2 R0 l6 b& r
  4. ### What we need ###. [5 v$ K5 k& [& T( c
  5. Naturally, we will need a MySQL server to store the data for us, this document + O" s# f5 k3 D! w1 B3 D$ k7 e5 a
  6. will not explain how this can be done - there are documents out there for the
    % \: K& |! e, Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 ^5 y3 S8 O" l: t
  8. and a user account (username + password) that has the permissions to do stuff; \; R8 A* U# k: y. {
  9. with the database. Additionally, you will need a vendor library installed on the3 z+ |) f6 Y, h
  10. local machine, this came with my MySQL install.
    " g/ A) ~3 d/ h& w6 `6 a8 j
  11. These instructions will not tell you how you might transfer your data from the4 y" R9 A" A! Y6 x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# z$ d1 ~. _% u+ Q
  13. database.  r6 h5 Z) U' U0 r6 S5 m( c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % d" ]. r( k( ~- A
  15. the time of writing, there are still too many issues - check the current status
    4 ~8 h/ D$ g( X# X2 m1 I( {, n5 G8 `
  16. in the TeamSpeak forums if you are interested.! _0 _5 {5 m6 {4 U6 Z, g3 C/ X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / j3 ?/ A5 v- J8 o& z" [
  18. Borland was used. This driver can only interface with the client library that - \" v; o# F$ [1 ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ M  F, |0 s+ [# O  N/ \
  20. client library - basically all you have to do is to use a 3.x client library as " f2 h' T3 C7 \' @7 M
  21. "VendorLib" and a 4.x database to connect to.% {. u* r+ R" |' A, J% k
  22. If you need more info about dbExpress, you can contact Borland.; F- q- k3 u9 @
  23. . Y% R. ~! j# e. |6 u+ Z
  24. ### Doing the work ###
    ! w& [, B+ p9 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. g0 I/ R: L, I+ N- I
  26. the perquisites right, just open your server.ini file, and add this section at
    4 S% Q2 O" X; g9 \% p+ G. J8 ~3 @
  27. the end:
    ' e" n- P2 U& J- N) [& G& z* L; g
  28. ---cut here---
    # I5 R) ~4 t8 y/ ?
  29. [DBEXPRESS]/ p5 e* m" X1 t
  30. sqldir=mysql_sql1 Y! [& _( Z) j* ], D0 N
  31. Drivername=mysql0 C, u: y, s% N! s" t4 u: N: R
  32. Database=Your_Database_Name_Here% X8 e4 z! _5 R8 V; a
  33. Hostname=The_PC_the_MySQL-Server_is_on/ r  D' i' @1 \% w/ u1 T
  34. User_name=User_name_on_the_MySQL-Server+ T2 W- O: Q# @; [+ q
  35. Password=Password_to_go_with_above_user_name7 p5 H+ b& [+ F& u2 u2 t6 d  X/ c
  36. GetDriverFunc=getSQLDriverMYSQL6 Y. D  e  C+ C7 i0 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 _  q, k: r, o" h! p
  38. LibraryName=path_to_libsqlmy_libary
    " s) A  H# b7 a& h
  39. Active=1) R2 R. h& d2 _) t( _9 m
  40. ---cut here---! X: D0 z+ r, M9 k+ ?3 e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    2 K! \+ C" J- X) y( c3 M
  42. ---example---" F. h9 p  H9 C8 f7 K1 V& }  D
  43. [DBEXPRESS]8 s  |, e1 @# o4 Y- z
  44. sqldir=mysql_sql; Q" R6 s4 b) [8 I: ~
  45. Drivername=mysql
    8 f# D, F( G/ H5 _  y# T6 P
  46. Database=test
    " n9 M& [" I5 g
  47. Hostname=localhost8 o/ w1 O2 |1 n
  48. User_name=testuser
    . w  ]. F: x" G: C$ r
  49. Password=my_password. @; |, o- }; G$ h
  50. GetDriverFunc=getSQLDriverMYSQL
    ! i2 a3 |- _4 D2 r. ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 B1 o. \5 ?2 y% }9 p: b- a' }
  52. LibraryName=./libsqlmy.so
    % E  Y+ u$ {3 x3 R* C, _+ v% |
  53. Active=1
    * m; x6 N! C" u0 `6 @( @! e
  54. ---example---
    ' u; C5 r8 i3 d  M- \  H% \
  55. . x# [, H, j  r1 s, ~8 x/ D
  56. On a windows box, also running the MySQL server locally, it would be:
    , s1 H% h1 f+ T8 ~
  57. ---example---% Q  s) J+ {. H" w2 q
  58. [DBEXPRESS]; ^4 B" j$ I4 m. X
  59. sqldir=mysql_sql
    ( T8 R7 F) \! I
  60. Drivername=mysql
    ' d0 @- y' S# e
  61. Database=test
    ( R6 }' e% ^, O
  62. Hostname=127.0.0.1& z& U( s) @& G8 b* E
  63. User_name=testuser2 h, {- U( \# ~% a1 O
  64. Password=my_password6 x" D2 q% d: ]7 _' Q6 R
  65. GetDriverFunc=getSQLDriverMYSQL  d0 \8 q+ l% s& N9 q
  66. VendorLib=libmysql.dll- W$ X  T* i4 i- u+ d$ Y7 u
  67. LibraryName=dbexpmysql.dll
    ' l: p+ k- j9 n+ ~% b/ u
  68. Active=1
    - H  O- H: f0 l0 k
  69. ---example----
    - q" o7 P5 J2 K
  70. - written 02.03.04 by pwk.linuxfan1 O" L0 n8 A# x- ?1 [

  71. * m: c" ~* A1 C* Y) w/ Y2 x& ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  D) ]0 [1 U' K+ Q

  1. , C+ m, X1 y& V- W5 p. Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # _# m7 x) U1 E. N, h" B
  3. 1 M- K! B9 V+ J8 I, }6 P6 y
  4. # # #我们所需要# # # ) }( @0 t. i9 O9 l  `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! s& d6 X' |  E  x
  6. 不会解释如何做到这一点-也有文件存在,为" I  ]+ S" z1 I; }9 P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. w9 i4 T4 t0 c7 x7 U9 x8 w8 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & a; J( U- Y. l/ _7 D# U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 [6 B& M& c/ N5 S# p' |+ e: B* H4 Y
  10. 本地机器,这是我的MySQL安装。 / r' \: |; `! h" }, R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ O( v4 r3 N0 A) j4 u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( L3 q. n5 [0 I8 q
  13. 数据库。
    , Y9 B/ x( t! S3 n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! V- x% X; M  R7 c6 X
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! B' ^* N8 W  i; n
  16. 在teamspeak论坛,如果你有兴趣。
    - b* t: k1 ~: L% m
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 N+ R; ]& [4 L3 w' K
  18. Borland公司使用。这个司机只能界面与客户端库
    6 d! L+ a4 M+ ~' k% ?0 C9 B4 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. Y& N( y$ n3 _1 S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ V5 O! r! r/ _. {% O( k( t
  21. " vendorlib " ,并解数据库连接。
    5 R! t" V& T2 P9 _. A$ X2 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . O) n$ B1 }( }$ [0 V. s
  23. 6 A1 n  A9 d$ E' k
  24. # # #做好工作# # # - b  M& N+ Q; `, F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% v; |- ?, d8 k: M6 `! n" X/ Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 y# C! i- B6 J! C# [# A$ h+ \3 B2 b* g9 k
  27. 结束: 8 m. N! V. `$ K4 \. u( P
  28. ---削减这里---
    . n8 K/ u' X6 ~# L9 ^7 k$ E) V. v
  29. [ dbexpress ]
    ; A0 p$ `( p# Y# {. X6 o+ S; U4 E
  30. sqldir = mysql_sql
    8 P; f- X, B, I4 _+ k# G+ M
  31. drivername = MySQL中
    ; U4 _  _0 [3 L' I: _) J2 b5 @
  32. 数据库= your_database_name_here + u8 c" o6 f' X6 T: G
  33. 主机= the_pc_the_mysql - server_is_on ! e7 e/ ]3 x- L9 R
  34. user_name = user_name_on_the_mysql服务器' j5 S6 L, H& A- D8 E9 I% t
  35. 密码= password_to_go_with_above_user_name
    2 M+ \7 @0 g4 F4 I. K# E# l; B
  36. getdriverfunc = getsqldrivermysql
    ' G+ {2 q0 l0 W( \9 ^2 n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : M: m( I6 N; |5 {% B& p+ r
  38. libraryname = path_to_libsqlmy_libary
    + ~5 ~" |: j- g
  39. 积极= 1
    % L- G2 n) Z% B+ x$ g3 z' _
  40. ---削减这里---
    7 C% H3 E: k. Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 x( q/ Y, j/ R  n
  42. ---例如---
    , i, c1 B+ d- I0 N! X
  43. [ dbexpress ] 6 r1 P/ B' `8 |. t5 K3 i2 I% q; h' Z1 e  A
  44. sqldir = mysql_sql & P0 L. X* Q3 d. ?- O2 n; T; G8 T3 t. B
  45. drivername = MySQL中3 t5 l9 r) N  Y* R
  46. 数据库=测试6 s& f' h  }0 v/ W3 g+ ]
  47. 主机=本地主机. R, S- u5 H, k! {: B/ y
  48. user_name = testuser
    4 n' j: U4 j# J! }) }7 C
  49. 密码= my_password : y8 X% M: c- u' v: H4 f  u
  50. getdriverfunc = getsqldrivermysql - {  g+ E1 @& n  L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & Z4 g9 h8 L+ A
  52. libraryname =. / libsqlmy.so ' ?# u/ H/ K0 i8 Q/ O) E9 C  c
  53. 积极= 1 * t+ Q/ j5 t0 L( y, i
  54. ---例如--- 0 ]3 J& {( {4 d& I3 _" F# z
  55. 4 ]8 S$ U( m# r: d4 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / d! y. i/ u& Q  ]1 J) T
  57. ---例如--- , t' Q6 a+ l( S* Y6 a9 I6 j
  58. [ dbexpress ] ' C+ H! }3 H. D2 W2 Y
  59. sqldir = mysql_sql
    6 _+ [( y. s& o6 e7 f4 _
  60. drivername = MySQL中
    . W9 ]% ]' a2 x3 [* N
  61. 数据库=测试
    ; z6 s3 h4 ~: W6 P4 R: Q: c
  62. 主机= 127.0.0.1 ! n* n6 ?- }$ Y* [( Q
  63. user_name = testuser ( J; Y+ p( F& @& E( i3 N
  64. 密码= my_password
    & k! [$ b! \& T
  65. getdriverfunc = getsqldrivermysql
    ! w( Q$ ^' h7 Y: R. \# ~
  66. vendorlib = libmysql.dll在* `9 Z( N( b, l  o
  67. libraryname = dbexpmysql.dll
    $ T* q4 ]) H: [- e5 \7 ?$ [% M4 l
  68. 积极= 1
    ! }7 e- }9 [& e6 R7 Y7 A
  69. ---例如----
    " I6 j1 a' z  }/ }
  70. -写在0 2.03.04由p wk.linuxfan/ Z6 h+ {5 Z+ A& @6 e5 i8 x
复制代码
发表于 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% m" J' m2 [7 t; m; R4 Q

9 R/ `" k" x# T4 I1 ~3 U+ ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-26 17:33 , Processed in 0.093886 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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