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

2951 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) {) z# ~. g! F) }

* P& t! B  J0 r! g

  1. ! ^0 D. Q, \( w* m1 t) j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ v& d) F4 s8 E' H, m( S
  3. * e8 l* V! M3 s( k. F: h# U
  4. ### What we need ###
    3 g+ _3 r" }: R  P, |- }- @; V
  5. Naturally, we will need a MySQL server to store the data for us, this document $ j3 C& P+ w$ K; J
  6. will not explain how this can be done - there are documents out there for the & H' Z8 s; G9 u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( v: G  O2 `3 c* `9 J' F; w* w
  8. and a user account (username + password) that has the permissions to do stuff
    - B' i3 T6 K# W# l6 \  T  O" X7 v  ]
  9. with the database. Additionally, you will need a vendor library installed on the
    " _) @  O* e8 v1 t( e
  10. local machine, this came with my MySQL install.
    5 E7 x/ j/ L! X# B) @8 |  g
  11. These instructions will not tell you how you might transfer your data from the
    3 s" A- `6 b* l1 m& z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* l# \  b- b0 S& ]
  13. database.
    & Q& w& j- c; [) s: z& ^  {3 Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ {- }) K; N, G+ a
  15. the time of writing, there are still too many issues - check the current status4 _& I9 j4 w! \( C6 a. y
  16. in the TeamSpeak forums if you are interested.: Q  v0 h3 t+ u6 {6 ]# |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . {2 B/ [8 b2 }& \  _
  18. Borland was used. This driver can only interface with the client library that
    ! Y; T# }2 u6 N. `% N
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      J3 ^6 v7 _1 K4 `
  20. client library - basically all you have to do is to use a 3.x client library as 6 X# K8 h+ V( N* Z; p2 e* v
  21. "VendorLib" and a 4.x database to connect to.
    & P) }" a& C; l$ J% }0 p
  22. If you need more info about dbExpress, you can contact Borland.- [1 P$ n$ H+ `. i6 O. Y

  23. " }9 Z9 v  k4 ~
  24. ### Doing the work ###
    % [$ F+ y' [) O4 l9 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    . v0 H* y. [$ {& E4 Y# N
  26. the perquisites right, just open your server.ini file, and add this section at
    ( Z$ o" X- }; k/ t( V, Y( P  H
  27. the end:5 u+ Q2 Y4 G1 h2 P+ h& t
  28. ---cut here---
    $ N" n! N6 x/ T) n& d
  29. [DBEXPRESS]/ F; f% A8 q9 a! c# w% b& S
  30. sqldir=mysql_sql
    * R, X, G& j3 e# w/ o7 v# `
  31. Drivername=mysql. ?! k* P0 z9 \: e. s; d1 @( j0 R
  32. Database=Your_Database_Name_Here
    6 S: R$ n! ]. C  v+ K
  33. Hostname=The_PC_the_MySQL-Server_is_on' ^% F4 G8 p7 _0 K/ e/ p; J; B
  34. User_name=User_name_on_the_MySQL-Server
    ' c1 }" [3 ^' K- L% d2 b) H- R
  35. Password=Password_to_go_with_above_user_name
    . I7 \; d9 v7 |  n0 f3 Y
  36. GetDriverFunc=getSQLDriverMYSQL
    3 G+ Z" r/ d7 u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  r" p* ~( a! G+ U
  38. LibraryName=path_to_libsqlmy_libary' H% s* `2 G" s# u" F7 b! L6 j
  39. Active=1( R& \2 z' g$ D3 `0 m1 f6 O
  40. ---cut here---7 E+ _6 G" \2 H
  41. In my environment (a linux box with a MySQL server running locally) I have:
      L' E( O8 G( ]' M6 W) M( Y3 N2 z; W1 x7 n
  42. ---example---3 X3 Y' y- E) m, L' X
  43. [DBEXPRESS]6 j9 s9 h. Z7 i8 q0 L1 d
  44. sqldir=mysql_sql+ W  Q+ H* B: d4 j1 Z' ^( i
  45. Drivername=mysql& Z$ P: d) X$ U$ j6 Q
  46. Database=test! G% A  o9 [5 q& J+ H
  47. Hostname=localhost2 j* y  c3 H6 U0 c+ z$ S, L
  48. User_name=testuser
    ; ~- t$ g, w' ?, ^; T
  49. Password=my_password4 M& @2 h7 x% _, W# ~. a9 F7 G
  50. GetDriverFunc=getSQLDriverMYSQL" ~" _5 }  S2 `* b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      W$ \" S8 L! w; W% g& J0 E
  52. LibraryName=./libsqlmy.so
    + r/ Z; L; Q  r% }5 Y) [2 p
  53. Active=1* ~8 u. x" [5 a9 {/ b
  54. ---example---
    # p: M) ^# B1 v& [+ |

  55.   K* L+ A5 `5 x% o, g: q, j; L
  56. On a windows box, also running the MySQL server locally, it would be:
    3 d" E$ k# K( _
  57. ---example---* j6 x' \2 M& k# K) e
  58. [DBEXPRESS]; j9 q+ h+ f# X
  59. sqldir=mysql_sql6 x. W: ^  \) V$ i
  60. Drivername=mysql7 [9 }4 t- j; T& D, i
  61. Database=test
    " [0 k2 e$ Z% V7 b1 @
  62. Hostname=127.0.0.1
    7 c; p* e+ ^0 X# N
  63. User_name=testuser8 `, n" |: \! Y1 C) H2 n
  64. Password=my_password1 f% c( e1 O+ z8 {; T
  65. GetDriverFunc=getSQLDriverMYSQL1 ?$ ~3 O8 C. ^5 R
  66. VendorLib=libmysql.dll  k# c+ q* M! \  m" Q, v4 r
  67. LibraryName=dbexpmysql.dll0 Q3 R' Z' ]3 q
  68. Active=13 s% ], Q- D1 X+ d1 [# V
  69. ---example----% Q3 l8 T# j- y; |, s
  70. - written 02.03.04 by pwk.linuxfan
    " H2 f, _4 l& \, ?$ l

  71. " Y. b( X6 N  y9 z: l3 ?. g) s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, B9 \* N: V. C. [$ P  F$ R9 z

  1. " g3 s1 r' c1 E, h' W0 L5 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 Y5 J2 V( c: w/ K: \. j

  3. 6 y4 t* i" @: b# ~) |6 H4 V7 V
  4. # # #我们所需要# # #
    " y1 |. u# v( `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 v$ s5 O1 n; _/ t
  6. 不会解释如何做到这一点-也有文件存在,为$ q: x! {# o, U' e* S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 t7 U1 Q$ I- g3 D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; ?; I# ~% I4 @$ \' v4 l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * c* `' p/ H: {; j( W
  10. 本地机器,这是我的MySQL安装。 1 A# G. k+ V2 t! V/ W5 @- Y5 u8 e( Y: d8 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 Z: c$ }8 m" ?% d6 b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ( g7 c5 s. |/ [$ S) c
  13. 数据库。
    8 ?% X/ Y1 g# X& w& o: Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 c0 T* M. U" i' H  B' E
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    + L6 o2 [# |, V' n: E
  16. 在teamspeak论坛,如果你有兴趣。
    7 w( F" I4 p5 D$ c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ e' b* a. M, T$ v! y& |
  18. Borland公司使用。这个司机只能界面与客户端库
    / G1 _9 j" ^& X' ?% P  r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / L& b  m1 g0 y) H: H( z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # e2 j# c3 E% k$ g' j, ]
  21. " vendorlib " ,并解数据库连接。
    % S/ s3 U. U9 g( _% N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! O9 V7 j8 p/ k/ o

  23. 1 b; g4 Q6 x. [3 Q4 \
  24. # # #做好工作# # #
    ) \! D) L& N/ g$ t9 d: t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 G7 u3 u) t/ W: M+ r: I( u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 p7 D( ]  C6 |0 w; C' G# j) m5 }
  27. 结束:
    0 [. {- K& W6 g
  28. ---削减这里---
    9 |0 R9 A3 P( z; X/ m- [8 O8 J6 Q
  29. [ dbexpress ]
      T4 _$ V7 b: y8 P2 ]
  30. sqldir = mysql_sql
    : F9 T/ n& Z% O8 K# B# d  }' [1 r% @
  31. drivername = MySQL中
    ' r# v+ j$ P+ A2 `0 X( g& R
  32. 数据库= your_database_name_here
    5 e- a8 q- m7 L6 D* b" U/ _
  33. 主机= the_pc_the_mysql - server_is_on
    - I5 k# I  Q5 R
  34. user_name = user_name_on_the_mysql服务器
    " R+ u. S$ P3 X; C
  35. 密码= password_to_go_with_above_user_name
    8 S: Z3 b  S, Z' v
  36. getdriverfunc = getsqldrivermysql
    . w* i& b& h- f. r) H2 t7 f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 L8 k: j" G5 ]
  38. libraryname = path_to_libsqlmy_libary 0 |  M1 T5 W3 B5 [; p  L
  39. 积极= 1
    . @- W2 ]( l4 r7 F) i2 C: Q* B
  40. ---削减这里---
    1 i& L# x  \) a3 O- v' [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 K( c+ u. B: t0 C' A: ]
  42. ---例如--- 6 @1 O* M( k- A8 z1 d4 u
  43. [ dbexpress ]
    * ]; K1 o$ W0 A. J
  44. sqldir = mysql_sql
    * N8 z: V' `1 i% ~
  45. drivername = MySQL中
    : R* d  c. S. v) W  _8 P
  46. 数据库=测试% S6 w( w) T$ D' n3 Y* v, k
  47. 主机=本地主机
    ( P, H+ T# _4 M3 o$ ?' Z
  48. user_name = testuser   y/ v% \( w# R" a1 e
  49. 密码= my_password ) A( y; ?0 @" v
  50. getdriverfunc = getsqldrivermysql ! Y$ g2 l$ D/ P0 E3 e1 M. g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / N2 k' C0 z- b6 e. E% f5 r' }: G
  52. libraryname =. / libsqlmy.so
    8 e; q& K( ~5 a% O
  53. 积极= 1
    * s' G4 a2 D# T! K% F+ q0 D
  54. ---例如--- * L( @$ G7 D+ c* `+ w  j
  55. ' p! K2 m' w" M% q! C' D
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # F' c3 p1 I8 x# e/ \, V' j
  57. ---例如--- " }+ U6 w, q  n: k) H$ ^# L7 v
  58. [ dbexpress ] - }# r* W7 v0 b! \
  59. sqldir = mysql_sql
    4 s6 C$ O4 M- R4 D$ u
  60. drivername = MySQL中
    ' d$ X( N. Y8 ?: g: P- ?+ O1 G
  61. 数据库=测试
    . N+ U. v2 A7 F8 C4 y9 {
  62. 主机= 127.0.0.1
    3 _8 w/ _; ^* j, ^
  63. user_name = testuser
    ' n) n4 W# u) j5 e' {5 u. [# P
  64. 密码= my_password 6 i( n4 w: i# Q
  65. getdriverfunc = getsqldrivermysql - q& o! l5 i; y, K2 t( m( T$ P5 O
  66. vendorlib = libmysql.dll在
    ; M$ y; n! H" J" i2 ]; t: @
  67. libraryname = dbexpmysql.dll
    0 A9 z8 x4 E' X5 b
  68. 积极= 1
    : t3 ~1 Y& Z, p) l
  69. ---例如----
    . k6 ?4 F, B, L. ^
  70. -写在0 2.03.04由p wk.linuxfan! y2 C3 j" d; h; E4 m; d$ Z% S
复制代码
发表于 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
0 ~* L2 m+ b* w1 m
6 s# A6 @- K/ ]4 J1 ^+ M8 P/ rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-29 16:16 , Processed in 0.093947 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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