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

2640 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - y( ~5 l9 O1 t1 o+ }/ U
+ ]$ ]. M. s$ ]4 h5 O. ]3 A
  1. ! e2 h: y  r! g: ~& I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. J0 A! |7 `+ b- J# R" g9 D
  3. 8 o, U& L" b) {
  4. ### What we need ###
    * x  }# j3 S/ ~# Q( v* g+ t
  5. Naturally, we will need a MySQL server to store the data for us, this document ( L5 H" h2 `; ~
  6. will not explain how this can be done - there are documents out there for the
    # G" ~" F( w2 R* d2 c' x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : h* ?6 }/ N, U% V3 Y( P6 s8 b' K, ~
  8. and a user account (username + password) that has the permissions to do stuff
    , H! O% [5 s" d( w; D
  9. with the database. Additionally, you will need a vendor library installed on the2 H0 D: S4 H" r4 [3 L; @
  10. local machine, this came with my MySQL install.
    " y* \, b% U3 U/ x$ Z  Q5 m
  11. These instructions will not tell you how you might transfer your data from the
    " N0 B; ^4 w8 ^( u5 V# P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 p& g# g3 f1 D, b5 e
  13. database.4 k- e9 l! I: P; b
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # `' O9 o0 L0 D3 V  j
  15. the time of writing, there are still too many issues - check the current status
    7 r0 b0 [$ d9 L6 f( g
  16. in the TeamSpeak forums if you are interested.
    & g/ m1 J  j7 g( u0 S9 g
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 h% J6 v& @0 r3 c6 X- L
  18. Borland was used. This driver can only interface with the client library that
    6 l+ {" {5 D2 _2 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 E3 _, ?. v) l- B& _
  20. client library - basically all you have to do is to use a 3.x client library as . o. K. \! z+ _2 c, r5 z
  21. "VendorLib" and a 4.x database to connect to.9 v% Y3 t2 o0 Z$ }" W& {
  22. If you need more info about dbExpress, you can contact Borland.$ _/ b' y, d: ^9 V3 [  a  T/ k
  23. ) d4 u# q1 m; C+ j
  24. ### Doing the work ###
    5 a, W9 H3 h4 O4 j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" s5 \  X% {5 C/ }+ N5 Z; n
  26. the perquisites right, just open your server.ini file, and add this section at  v/ K( s1 y( b3 m6 i
  27. the end:# m  x' i: z* s; P( s9 Z
  28. ---cut here---* U, }% N  T1 @, K/ @( ?
  29. [DBEXPRESS]
    8 z" u' c3 m  J- ^( R
  30. sqldir=mysql_sql0 N. t  q$ }: E0 q- o
  31. Drivername=mysql
    % ~% A9 z) R7 c
  32. Database=Your_Database_Name_Here- V6 g. A  U9 o- Z* r2 F
  33. Hostname=The_PC_the_MySQL-Server_is_on
      y% }6 j- y% ?$ S; e7 `7 Q
  34. User_name=User_name_on_the_MySQL-Server
    2 h1 _# [$ D! |3 ]9 O
  35. Password=Password_to_go_with_above_user_name
    ) @) c+ o2 t3 y$ Z
  36. GetDriverFunc=getSQLDriverMYSQL3 P/ [4 ~) N! v: W0 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 I& ^. Z9 r; `" _9 |) G
  38. LibraryName=path_to_libsqlmy_libary
    ( ]. j4 H6 J4 X( ]
  39. Active=1
    ; ?9 X; h: f* h' M9 s% u
  40. ---cut here---/ q2 ]0 R- I# V8 D& u
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) X7 U# J  g) r6 n! H
  42. ---example---
    0 c. W8 `) |- ~2 Y9 C( f5 q
  43. [DBEXPRESS]
    . k0 Y: i- T% O& r/ i9 B% N
  44. sqldir=mysql_sql
    6 u! B8 a+ w9 U) L: e8 _0 C
  45. Drivername=mysql
    4 d: X: Q4 g$ w5 P2 e& j* x
  46. Database=test7 M3 i8 w  \6 @5 Q
  47. Hostname=localhost( g9 e; e/ I: G* B& I
  48. User_name=testuser6 t6 I/ J% W3 i: {3 V( F5 o
  49. Password=my_password& m5 |! ?6 K7 X; P9 @+ _, N8 ^* W
  50. GetDriverFunc=getSQLDriverMYSQL" }1 k6 \. x! B9 [- ~6 L1 [( N/ u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & T1 C6 [7 F, i% e0 Y! w
  52. LibraryName=./libsqlmy.so
    " `! K) ^9 c8 n: l) G( u; i* g
  53. Active=16 T" Q8 F3 d$ d- o. N
  54. ---example---
    $ V( t( G; l, T- j% X4 m6 k

  55. ) u+ C( j* o) n+ `+ X) h
  56. On a windows box, also running the MySQL server locally, it would be:
    8 a5 r/ J7 b0 ?8 U
  57. ---example---
    - @# l8 m9 g. q
  58. [DBEXPRESS]
    8 l. }+ L8 f- c
  59. sqldir=mysql_sql
    & r: j, r9 `; K: L
  60. Drivername=mysql
    ' Y% I0 H9 S1 G+ n% s
  61. Database=test
    % y0 O/ t# K! Q+ ?; Z  l% f
  62. Hostname=127.0.0.11 X3 J7 B1 z! O- M
  63. User_name=testuser
    3 y% b2 C8 K% T/ b
  64. Password=my_password: U/ U5 `1 {) W2 J9 X4 Z8 U2 D
  65. GetDriverFunc=getSQLDriverMYSQL' h" D' X- V7 s9 I) U
  66. VendorLib=libmysql.dll/ m& D. ?6 X" o' r: W% E
  67. LibraryName=dbexpmysql.dll
    - Y! B- u/ f) ~% ~* s( B& E! X
  68. Active=1& [5 M  v2 C  y9 Z# j0 c4 I
  69. ---example----
    / N. S6 o5 s4 W
  70. - written 02.03.04 by pwk.linuxfan
    & ^+ w  K' W- f, u( a

  71. 4 q# t/ g% }$ R7 D2 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
; T0 `- c& i1 S8 Q8 W
  1. 9 w( B3 O7 Y4 s" _' o  E. d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / _  T8 M# w' Y& m' z
  3. 9 n; C$ u" t: f
  4. # # #我们所需要# # # 9 [- _1 o) X2 a/ J' X8 \- A: L. ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# }4 U* ?" Y2 V& M! t
  6. 不会解释如何做到这一点-也有文件存在,为
    ; ~9 m1 f, A9 q! Y# B  W7 e: M0 [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - A  f. y3 p- e# v% x. [) @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# w# `7 m1 z& E7 G5 i9 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , X6 ]' d( V, o' k, h: B- w) s
  10. 本地机器,这是我的MySQL安装。
    8 T: N3 v( r/ ]1 u; K
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* {+ U4 m6 q( m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & A  K) T$ w( F$ N7 C+ @
  13. 数据库。 9 I8 f) [& o) A* v% \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( W8 T9 m! g8 }) `: }3 h& n& [& a
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 T- A) C  S0 w
  16. 在teamspeak论坛,如果你有兴趣。 3 K5 l9 ]! m" I7 U3 r9 n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ Y8 a0 c  W: A. E: e
  18. Borland公司使用。这个司机只能界面与客户端库* C) r0 x. l9 P; W- x9 e6 C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - I& j% Y' U1 p) H- V! }9 j" P
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! {, Z  P+ i" _! J$ l0 ^7 K9 H4 _
  21. " vendorlib " ,并解数据库连接。 * D! L+ y# P  \7 o; m" d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ c  o; B" o2 N5 d! S4 n# |; x
  23.   r; b3 o% j+ T8 c7 T
  24. # # #做好工作# # #
    " S4 L! u8 V/ T; z3 d$ N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % A7 H7 v* V  D, W" Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) Q$ u# N5 ^0 o" f& B
  27. 结束: # }3 l4 w9 C' {6 b9 ?8 c9 c
  28. ---削减这里---
    6 P: q4 u+ @* \4 J* ^: `/ y
  29. [ dbexpress ] , v+ w' P! f; |7 Q1 E
  30. sqldir = mysql_sql   F9 `$ C! O9 R) ~$ X
  31. drivername = MySQL中
    2 j( Q5 ^: @, H+ l7 C) p
  32. 数据库= your_database_name_here
    0 H9 S. T2 N. V4 d1 Y% n9 h/ z
  33. 主机= the_pc_the_mysql - server_is_on " x) N3 o: N6 Y2 v' I" X  C
  34. user_name = user_name_on_the_mysql服务器
    & ?/ a# v8 R1 h- E% n4 Y. z- Y
  35. 密码= password_to_go_with_above_user_name ! ]; o1 \7 H! S1 @
  36. getdriverfunc = getsqldrivermysql
    + U% C: ?8 E$ q( b- m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 d+ V+ v* V0 G- w  D( H3 C
  38. libraryname = path_to_libsqlmy_libary
    6 f0 `1 X0 O6 c( E, N
  39. 积极= 1 # N' x- w% l, P( |
  40. ---削减这里---
    , h7 o- g7 t. O; h9 j  h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 y+ q5 h" D) \, j6 _% Q' ?. A
  42. ---例如---
    $ H* P5 p8 w- e( ]; O
  43. [ dbexpress ]   q0 H5 u" ^5 G! y
  44. sqldir = mysql_sql
    - A) ~4 S: r0 b, c  R
  45. drivername = MySQL中9 p2 R& w& T* E" b
  46. 数据库=测试% K; }( X, f: i
  47. 主机=本地主机# j/ X! `" l& x/ o' }* W9 q% o5 L
  48. user_name = testuser 9 o) _/ j, V/ Q2 H1 u. f$ B% J
  49. 密码= my_password ) H( \& D. X6 P% b5 Y3 |# u: q
  50. getdriverfunc = getsqldrivermysql 6 o* Y3 o) N3 R+ x5 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( Q. S/ ^* i8 x& t
  52. libraryname =. / libsqlmy.so " i# u1 C- E7 r: C- q
  53. 积极= 1 ! v; V. }4 @) p+ s- k& c
  54. ---例如--- 9 I. Y2 `& n! B& U4 W8 s3 g
  55. ) Y0 ~+ k. |# Y* H) \- p: J
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 W5 {8 d' r# A: ^! u! w
  57. ---例如--- 7 p' J& d: L2 {( J1 }# G
  58. [ dbexpress ]
    0 L. v, k& ^9 l" i9 g
  59. sqldir = mysql_sql
    % E# s. V) C0 _) V
  60. drivername = MySQL中* c+ Q9 k9 p. G9 V& Q4 P$ A3 N# R
  61. 数据库=测试" ~3 S. l" m9 u! O8 N' c4 v* N0 X0 B
  62. 主机= 127.0.0.1
    3 j1 N0 u5 e- g9 P$ e( _
  63. user_name = testuser
    5 L5 X* {3 E9 [( n' W! i% k
  64. 密码= my_password
    - x% J8 ^. W% ^6 j0 Z' v7 d) I
  65. getdriverfunc = getsqldrivermysql ; p  ?) R( j% w. _2 M- [
  66. vendorlib = libmysql.dll在, ^. }# n+ \, O% }0 ]* ]
  67. libraryname = dbexpmysql.dll
    9 L5 s8 t  E1 V- n# k3 ~/ Q
  68. 积极= 1 3 r# Y. g' g% U, l/ ?) {
  69. ---例如---- 4 P2 @5 m5 x) f3 T
  70. -写在0 2.03.04由p wk.linuxfan
    # D/ X' s* z) T4 o+ F2 |
复制代码
发表于 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 words2 k( C6 P( b! X, J6 O
$ }9 J) I! l3 I! n5 ?9 z- k/ _
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-19 21:10 , Processed in 0.095914 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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