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

2225 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # j1 g5 O% x% d7 o: Z9 @
% J1 s7 H: l2 |9 e1 A# ?) n5 `
  1.   c+ ~! ^& A: n0 |2 O
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 _5 q1 f- s' B9 ~* O4 Z

  3. " \8 S( R5 N7 |; {3 m# }
  4. ### What we need ###1 D2 I- z& Y  ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 E6 H. ~0 i. P2 R# |  s& x
  6. will not explain how this can be done - there are documents out there for the
    5 M& ~, A* v2 G% A+ i
  7. interested. The requirements include a (empty) database for TeamSpeak to use: R* A: D" B: J! f6 v. w# e  z* n
  8. and a user account (username + password) that has the permissions to do stuff
    & g' L8 w& h* S# c" N
  9. with the database. Additionally, you will need a vendor library installed on the
    6 Q- m% v, p; ?- q6 `- @. Z1 c1 r5 Y
  10. local machine, this came with my MySQL install.
    - Q; G, t8 c  w0 \0 O
  11. These instructions will not tell you how you might transfer your data from the
    / G% W7 ^& S. X- f% |3 e- }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ; X& R4 m9 U2 O+ `" i% z, Q
  13. database.
      c- N: v/ h/ Y: M& P4 |  i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 P, e/ \- l: F( ], D
  15. the time of writing, there are still too many issues - check the current status. c  G8 I2 T+ t" C3 c
  16. in the TeamSpeak forums if you are interested.
    ! `$ b5 \4 Y* o' r6 J( h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , `5 C6 o+ y* f( g  N
  18. Borland was used. This driver can only interface with the client library that " @/ |: t7 U# O; C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' w$ [/ s' q7 s$ s$ m. F$ H
  20. client library - basically all you have to do is to use a 3.x client library as
    ' z. S; R( X3 D7 Z
  21. "VendorLib" and a 4.x database to connect to.! n# W2 ~  @8 j( t# G) ~
  22. If you need more info about dbExpress, you can contact Borland.$ u' c6 m& ?7 m  m, D. k5 u8 }

  23. 0 Q: `) w0 S! u% U( t; p
  24. ### Doing the work ###
    0 g( [% ]7 [5 E" g7 X/ x9 M& p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# ~" g  k) A/ ]% Y
  26. the perquisites right, just open your server.ini file, and add this section at
    & a6 W8 C/ x* ^( b3 |
  27. the end:1 x5 S1 f- v; q. f# Z
  28. ---cut here---
    + M" T2 R* B; R+ D# r
  29. [DBEXPRESS]* S8 |3 w( M2 m1 v" ]
  30. sqldir=mysql_sql  k" i5 ?3 C3 j8 K
  31. Drivername=mysql3 D7 a* Z; n) F4 B! i
  32. Database=Your_Database_Name_Here
    " b& R$ l2 m7 _# k
  33. Hostname=The_PC_the_MySQL-Server_is_on, s0 f8 w7 o* t3 U: y2 l, R
  34. User_name=User_name_on_the_MySQL-Server  Y1 C: j1 ?: }; ~4 w2 a2 C4 m
  35. Password=Password_to_go_with_above_user_name
    , l( U5 K% k, L: u& Y1 q
  36. GetDriverFunc=getSQLDriverMYSQL
    ' X: K& h2 @' |" o" q, t5 B) M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % t' ~- A; i. M! n% z2 s3 b
  38. LibraryName=path_to_libsqlmy_libary: w( T) @# }0 X: U& E1 F
  39. Active=1
    $ h& f* i+ H1 S/ U
  40. ---cut here---& K+ l1 ]7 }/ ]! M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 p8 t' Z: p4 @3 U1 W
  42. ---example---- B. A' V0 \1 l$ ]; Z$ H
  43. [DBEXPRESS]
    5 t! s4 N( f( U9 J! [$ P+ _: E) b
  44. sqldir=mysql_sql8 j7 v: Z/ r$ ]
  45. Drivername=mysql  G& k$ X* J* ]; w! o
  46. Database=test) R2 _! T) p! c0 [% X9 F! B
  47. Hostname=localhost0 e* ~' f' V: T, P' L; K
  48. User_name=testuser0 p1 J7 X. s. L9 L0 e
  49. Password=my_password/ u8 [& c  Q" ?# X+ E" s! i
  50. GetDriverFunc=getSQLDriverMYSQL+ q# j! |: r1 t! x& ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : z; P# F' [& a2 p$ \+ j) c
  52. LibraryName=./libsqlmy.so# }6 r5 v6 s: }3 |, G
  53. Active=1
    ' F4 l7 n  z1 r9 ^! [# z* D+ `: }
  54. ---example---
    5 ~4 ~# l0 \) x1 }+ t& `: `
  55. 9 J+ _, z7 J/ S
  56. On a windows box, also running the MySQL server locally, it would be:
    * U, c0 @. r# i+ ]
  57. ---example---# f/ h3 @& z8 Y! K8 N. |
  58. [DBEXPRESS]
    " p% W/ R% P. Z: {8 p% G  `: y5 j! p+ c
  59. sqldir=mysql_sql
    ; H2 W  p1 m1 {: N6 s, l" {3 n
  60. Drivername=mysql
    6 o# b; a  f/ L7 j
  61. Database=test
    ! ?! _5 m' S& U* Q/ ?1 f9 O
  62. Hostname=127.0.0.1
    . [3 k7 T; D. x- H" A: D( Y4 }
  63. User_name=testuser
    1 c9 l$ `+ e6 l- t
  64. Password=my_password
    # r3 U, p8 t; T+ @8 T+ `$ J( t
  65. GetDriverFunc=getSQLDriverMYSQL& [$ w& z  l  g9 d
  66. VendorLib=libmysql.dll, ?3 M$ O  F" e7 J
  67. LibraryName=dbexpmysql.dll6 x/ N8 j. Z% H& l- k
  68. Active=1
    ) y) N7 _+ M, f$ u. s: a4 D$ L5 S
  69. ---example----
    4 D$ u* W! ?) C' g
  70. - written 02.03.04 by pwk.linuxfan
    . B3 b2 ~; M" Z! G) X* Y  ?0 X
  71. ! l, y* D  X- e! O" m9 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. f% |3 t$ {0 w3 z

  1. 8 n" S+ [: `' _5 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , f' k* q* A% F2 h4 t6 O: ?

  3. + V- m- [: C9 n5 U/ u9 w2 x+ ?
  4. # # #我们所需要# # # 4 x- i% j' X9 f- B3 `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! ~$ z, f+ [& J7 N' v2 w3 Z8 `
  6. 不会解释如何做到这一点-也有文件存在,为
    * v7 E$ x  E) @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' l+ J9 G. y1 p5 S6 W2 h, A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! P$ F; h6 Q* n$ V. D& [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ s% {9 {6 \% x; d# f
  10. 本地机器,这是我的MySQL安装。
    5 E5 |9 I- u) Q5 k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. X3 a6 [" V( T: @, U% G* u) H7 I4 U# y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 N7 u7 Z# y4 r+ A- k/ |/ ?: f" I
  13. 数据库。
    * J0 E+ ]- O) F" D. P5 `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * V, ]0 }  K( U; w, ~6 M: C5 z( X
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 B3 D" m7 D% t& i" W9 G  M& {
  16. 在teamspeak论坛,如果你有兴趣。 ! x% `5 H/ {; A: l0 B( \5 k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * R$ Q. g: x3 a. }( u
  18. Borland公司使用。这个司机只能界面与客户端库- ?4 G7 }: G( D# v" G, a( C
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + x* E1 v) h) d7 p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 U$ ~% Z# i+ \6 `
  21. " vendorlib " ,并解数据库连接。
    . D  s1 K+ c9 A7 d2 f+ ]; L! e/ q' J" [, @1 n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ q* I4 N2 H& A0 A9 Z

  23. ) x6 L2 z! ^6 R# a5 C, _: |
  24. # # #做好工作# # #
    : c$ s" x# ?$ z  j2 x3 J, c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( ?( ]; _/ }5 a* B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. ~; V* x! I+ w: o& S. G6 n3 w
  27. 结束:
    ' @$ A! g8 m9 z9 ^0 c
  28. ---削减这里---
    & W% q' U$ X6 `% |1 Y' z
  29. [ dbexpress ] / `- C& K, {2 r
  30. sqldir = mysql_sql ' z  B& k" t: F' N  i1 ?
  31. drivername = MySQL中
    - Q4 |2 t- n* l+ L$ |2 e$ T
  32. 数据库= your_database_name_here ( [. ]; G# s1 P9 W" H
  33. 主机= the_pc_the_mysql - server_is_on   q6 M7 e# [* ]1 q& N& i* R
  34. user_name = user_name_on_the_mysql服务器
    6 ]4 j& ^3 [) N" v" `" J# D- u; e
  35. 密码= password_to_go_with_above_user_name 9 `! d! s: y% m, a9 X8 U
  36. getdriverfunc = getsqldrivermysql
    + d' M, i$ p2 i. F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / B1 i0 z+ c5 V
  38. libraryname = path_to_libsqlmy_libary
    / B, s$ @5 O6 O+ d
  39. 积极= 1
    & r& v* \! v4 }) J  Y
  40. ---削减这里---
    8 A# K4 u( V" G* m6 d# I4 {
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + V2 M* z/ _3 X. }& s
  42. ---例如--- " T& c, V1 y4 [( w
  43. [ dbexpress ]
    . c9 R" s, P6 q0 P# ]. Z! B- R+ Y/ J% ^
  44. sqldir = mysql_sql
    ( U$ t$ T; Z" E5 \
  45. drivername = MySQL中
    2 Q7 ^( ?* z% ^  c  u
  46. 数据库=测试
    3 p5 P; v9 _3 k( p' z$ F% j
  47. 主机=本地主机8 l1 \$ g$ g+ E8 ?
  48. user_name = testuser : H+ Y4 H; s) {; Y' V6 V" d
  49. 密码= my_password * D" d  s4 V; i6 F9 c1 E
  50. getdriverfunc = getsqldrivermysql
    ! s* X6 g6 @- J5 K0 E0 Q# f. Y" A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; V( ^; x5 C6 c
  52. libraryname =. / libsqlmy.so ) P" t: ^3 r2 Y
  53. 积极= 1 / P9 c4 O# h& |; J
  54. ---例如--- 0 J0 Q; K# k9 s

  55. 0 d. i% t$ [% x8 F6 L9 l- e+ n& C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - h6 t$ o. I; I8 M
  57. ---例如---
    % q' h/ e2 ]7 p) d5 O. v- C& d
  58. [ dbexpress ]
    + y( c, g, b8 a7 U3 f$ R0 ^: n
  59. sqldir = mysql_sql
    " b, X( R3 K7 z
  60. drivername = MySQL中
    ! o- {$ s/ ~5 U, j% f$ j6 X
  61. 数据库=测试
    , |" G6 E9 W9 B. r6 e
  62. 主机= 127.0.0.1 - h$ s# j  t  n' r& P
  63. user_name = testuser
    ! f; |& I3 ?( O
  64. 密码= my_password 6 R5 m0 L, H8 Q2 X1 V1 g' f
  65. getdriverfunc = getsqldrivermysql ) h2 |- [7 {: m# {2 I7 u
  66. vendorlib = libmysql.dll在
    4 S* A8 O# B0 |3 C, A
  67. libraryname = dbexpmysql.dll 4 ]/ C$ Q) z# m. {" ~* q: B3 X
  68. 积极= 1 ' Z# A5 T6 e8 G! p8 {- O& F: g
  69. ---例如----
    ; v1 ?+ L, A1 ]& i2 n
  70. -写在0 2.03.04由p wk.linuxfan/ F! {; s& K( ?; C: z
复制代码
发表于 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 words4 A, [1 ?2 s5 J: u4 h# v$ ~

4 x, x' i0 a9 k9 ^; K( {& N3 Mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-24 02:20 , Processed in 0.090047 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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