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

2621 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. F6 B7 J0 X. ^$ [7 O$ ^8 \3 ?
8 a% ~+ _) z2 |# M

  1. * l# f( Z( C8 w# j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 M5 I+ c8 z" Z$ h8 {8 h

  3. ; V( Y7 ]$ u' j3 K9 k7 e. w8 v
  4. ### What we need ###
    7 U1 o: |! E2 t. {
  5. Naturally, we will need a MySQL server to store the data for us, this document , w) s" u9 K) r: K  n9 s& f
  6. will not explain how this can be done - there are documents out there for the
    . ]& {# i( N. s* U' g/ Z% ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 P- U& B& u0 \; C. x2 I- R
  8. and a user account (username + password) that has the permissions to do stuff
    3 P4 l1 v( X) c0 E% V2 R' {- o0 l
  9. with the database. Additionally, you will need a vendor library installed on the
    9 n% x! R" I  ^
  10. local machine, this came with my MySQL install.6 w. F% i$ I6 t. U2 E
  11. These instructions will not tell you how you might transfer your data from the8 ]* L/ l& e; A
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 O* s/ K1 Y6 A$ Q5 e7 m
  13. database.
    : U  ^# Y0 Z& a- W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 X" X* ^9 G+ C7 d* @
  15. the time of writing, there are still too many issues - check the current status+ c0 h7 c  T# a% W5 I, Y( c
  16. in the TeamSpeak forums if you are interested.7 w" @1 [6 l$ m! N1 I) r: f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# ?# k' \7 O- M7 T8 Q: w
  18. Borland was used. This driver can only interface with the client library that   w$ A4 T3 v( p# w6 \- `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 [5 k- A7 A6 o( j, J- g
  20. client library - basically all you have to do is to use a 3.x client library as
    ; J, B# p. _6 i4 I3 w+ j" g9 \- W
  21. "VendorLib" and a 4.x database to connect to.8 C0 V1 N  x' ^
  22. If you need more info about dbExpress, you can contact Borland.. w) U% w$ ]* ]. q0 t; `
  23. ! T8 x6 B! U% g7 {: P  k
  24. ### Doing the work ###
    7 r0 p8 ~* ~8 o! D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 M1 x, @/ l* B3 Z& K
  26. the perquisites right, just open your server.ini file, and add this section at& `' ^2 e+ C( q1 N5 n! q+ L
  27. the end:
    0 ]9 Q7 N; y$ W: P4 m; c
  28. ---cut here---
    , A$ c0 [4 c: V2 Y) l6 r
  29. [DBEXPRESS]9 B* j1 O! B6 f# p5 o
  30. sqldir=mysql_sql+ A' o8 ]" r. |
  31. Drivername=mysql7 K" q) `0 P: u  L- s
  32. Database=Your_Database_Name_Here# V2 V) s* V; R+ z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 l0 w: s$ e0 H, |* ^
  34. User_name=User_name_on_the_MySQL-Server6 ^. k1 n, p1 l0 n9 M, o; C/ b& i
  35. Password=Password_to_go_with_above_user_name2 P- \8 n0 s: S# S# l. c- A
  36. GetDriverFunc=getSQLDriverMYSQL# y6 ]$ F! w" P( O6 E' K; T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    6 y! x) S5 m% a8 x$ p8 |6 e
  38. LibraryName=path_to_libsqlmy_libary5 K# v% |9 O( X
  39. Active=1
    7 s- I  |" d* \: w$ I: |
  40. ---cut here---
    0 h3 C$ @; z5 _0 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / u0 Y" v! s2 l# T. m( h
  42. ---example---
    . L( D; _$ T9 d- I( Y# k1 J
  43. [DBEXPRESS]
    , g; `* U) u( R( K; n% T
  44. sqldir=mysql_sql
    & l3 m! ]0 a" r; _$ E
  45. Drivername=mysql2 }$ c; N! p; X( q/ B
  46. Database=test
    / ?) g- j+ G. h$ i* f
  47. Hostname=localhost1 X3 f6 |5 D8 t. ]* x
  48. User_name=testuser0 D$ o) m5 ?  l" S% Q" }2 c
  49. Password=my_password8 S4 c7 q1 ?4 Z
  50. GetDriverFunc=getSQLDriverMYSQL
    $ b+ Y/ w+ \4 c# U% ?. D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + z# d! V- X0 J
  52. LibraryName=./libsqlmy.so
    : A, s5 ?* G1 L- ~6 ]
  53. Active=1
    : A3 c- ]) B6 n  e- h4 \8 n
  54. ---example---6 i& b3 |5 u7 O! _# B* o; P5 A1 d" p

  55. ( [- e+ q$ T$ ~, s7 x1 U  @# Z
  56. On a windows box, also running the MySQL server locally, it would be:+ \( |/ m* `% L$ p2 B0 k+ M
  57. ---example---
      e. a! I; h' C) u* k, n
  58. [DBEXPRESS]5 H. ]0 `% Y; X" |8 a9 ?
  59. sqldir=mysql_sql/ H* M7 l' p5 v( e/ X
  60. Drivername=mysql
    - r6 ]0 V2 }* A8 N0 V
  61. Database=test  d5 g2 I3 h! Y  l
  62. Hostname=127.0.0.18 ^1 N) y* E6 g8 P
  63. User_name=testuser
    3 v* X4 ~7 e- v7 ]8 c0 C
  64. Password=my_password# D# r5 y) W9 M
  65. GetDriverFunc=getSQLDriverMYSQL/ y4 C& ^7 D: N
  66. VendorLib=libmysql.dll
    5 \: `# i0 ^" V& q3 d: i5 X5 B
  67. LibraryName=dbexpmysql.dll
    ( D- z: Q# c$ K4 P  m+ F- H8 N
  68. Active=1/ S# r7 e& Q; y) u
  69. ---example----0 A4 d5 R$ O5 B, H
  70. - written 02.03.04 by pwk.linuxfan6 `5 }' j. J7 Z: e, i' G% b$ A1 d

  71. 3 s4 a+ p" N8 S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ }) D- ?/ U6 q/ H( i! t! q

  1. & l  Z! J$ r1 L
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 t% F+ R7 X7 R/ z
  3. 1 f4 B3 }/ u7 k$ v" W
  4. # # #我们所需要# # # 0 \( I$ \4 l6 N& q3 X" ], h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 `0 K, [+ H1 q7 B( Z" o6 ~
  6. 不会解释如何做到这一点-也有文件存在,为/ ]8 {* s  r" F# S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 ~# A- W  a  J5 |$ t- j8 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / q* N' Q/ V( ^7 F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 w. i: |5 h' d' V+ N
  10. 本地机器,这是我的MySQL安装。 8 \. [, r) ^( y( b- P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# {' j8 Z% F5 x2 @7 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , f  l0 h3 q2 f+ @0 u) r% F5 l  _
  13. 数据库。
    ( f+ w0 ?& E4 i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 [: h/ q/ H3 J2 `" ]$ Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状& O2 i2 \- P: Z! P8 ?
  16. 在teamspeak论坛,如果你有兴趣。 " j1 X" E- G  }7 m5 N5 U$ ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) j2 o) `" o7 W; k% f' Y: W
  18. Borland公司使用。这个司机只能界面与客户端库5 i) U, U8 R7 R3 `
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 ]/ P0 v4 r* Q- Z* r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* _$ B8 X2 D1 S+ t: Z$ i& M
  21. " vendorlib " ,并解数据库连接。 * ]0 O4 n. z# d" ]% m4 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - Y0 J$ {' P, ]4 C
  23. 8 [' e, P% F: G  F# g, r& g
  24. # # #做好工作# # #
    + ?1 T; p$ i, `- |0 Z  j0 p0 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 {. S8 k, d# p8 Y, e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  Y8 c! W# [" b3 h1 ]8 M
  27. 结束: % [* Q$ \: k, ~! F/ r
  28. ---削减这里--- 2 D0 b" v, ]3 Y1 s2 B4 `) a
  29. [ dbexpress ] " O& J$ A9 H3 C( T2 w8 F% k+ [
  30. sqldir = mysql_sql 3 j7 @- ]; k% D4 v* G: k
  31. drivername = MySQL中- l& b8 B; i! ]
  32. 数据库= your_database_name_here   i8 l' U4 e6 m" K% P& _
  33. 主机= the_pc_the_mysql - server_is_on
      c3 Q& o. }/ P8 Z# R0 o
  34. user_name = user_name_on_the_mysql服务器# X! I% M4 i1 f, H. v( `/ `' N
  35. 密码= password_to_go_with_above_user_name 2 {4 u4 P1 m4 S2 O1 S
  36. getdriverfunc = getsqldrivermysql 3 `8 Q9 U  q6 a5 F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 H4 e7 K* Y; `; k0 T
  38. libraryname = path_to_libsqlmy_libary ; o) v) s0 Q( j$ Z5 _/ Q3 }
  39. 积极= 1
    ; D0 Q5 Y2 x! J
  40. ---削减这里---
    & Y/ c; r; h+ E- ^0 A% H0 M  W
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! ]% [& D' j, g$ e- s
  42. ---例如---
    8 }9 _5 j- V$ k2 w+ I4 i1 o
  43. [ dbexpress ] $ i( D& \1 T# z2 S5 ?+ K6 x
  44. sqldir = mysql_sql
    0 l. d) E( J% t# _, B
  45. drivername = MySQL中
    5 R# t$ L! Y+ @, w
  46. 数据库=测试" a% v" Y8 t& g
  47. 主机=本地主机
    2 P+ U% i, C4 {- z* [- V& p
  48. user_name = testuser
    0 o" P" q: t7 V/ }
  49. 密码= my_password 1 p- A; H, U7 D0 n0 X% L7 k1 a
  50. getdriverfunc = getsqldrivermysql
    ( A" ]: \. t/ m/ b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 y. ~/ U' v0 s: B/ j2 {! j5 }
  52. libraryname =. / libsqlmy.so " D! ?3 J' S3 C8 w
  53. 积极= 1
    / {9 J& `$ n- R3 ]5 |8 t1 q; q* n
  54. ---例如--- # i' z9 b6 H2 H0 r- ]

  55. / X3 s8 Y! W% h# p2 b1 W
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 \" a* V5 n# \# L! G; V3 v$ E
  57. ---例如---
    + `1 @$ U8 ~' `: o$ s/ V/ Q4 z# g# B" N
  58. [ dbexpress ]
    0 E9 k# [# _( \
  59. sqldir = mysql_sql
    9 ]  ~  T7 x% R+ k
  60. drivername = MySQL中
    5 y+ X. k% W7 q
  61. 数据库=测试+ O: u* S; C# h! z: k
  62. 主机= 127.0.0.1
    5 l# s8 Y7 f& z4 ]3 S. p* K  {
  63. user_name = testuser
    9 `  r( q% L" V0 p
  64. 密码= my_password 7 ?& _4 o+ E; I! G. r( F
  65. getdriverfunc = getsqldrivermysql " {4 t; q5 L. g; Q$ l# H) P
  66. vendorlib = libmysql.dll在  u( i1 L  @' c0 P& ]6 {
  67. libraryname = dbexpmysql.dll ! k$ h4 {( k7 n3 |5 ]9 }8 U: `3 P* a
  68. 积极= 1 . `3 q6 T" K% P4 n2 r8 e2 p0 U! E
  69. ---例如---- ) u" Y- V0 ~8 L; i9 m9 [
  70. -写在0 2.03.04由p wk.linuxfan9 M$ |/ C8 d7 K; y
复制代码
发表于 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
+ D+ T6 R7 H, u' q- U
6 k+ h9 O- ?( [" Hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-14 13:20 , Processed in 0.099761 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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