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

2264 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # @! s# B$ g4 K( d( J) A7 Y
6 W9 @- F$ n0 G

  1. - N& m9 _  }) P, c; s5 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 \$ Y; d( \/ c% U" \* f' m6 p
  3. ; y" u7 Q; v! t' E8 f# U
  4. ### What we need ###0 r3 E$ |# ^* V/ h5 l) D/ A
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ d6 v& o5 X( D7 Z# m) d
  6. will not explain how this can be done - there are documents out there for the
    4 x# T+ S; m; O
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 f) q$ Y  L; i5 [/ i3 k" }
  8. and a user account (username + password) that has the permissions to do stuff4 F; P; ?! E  m8 G  ~1 O8 t
  9. with the database. Additionally, you will need a vendor library installed on the0 K7 D0 I! O0 y7 s; M* q  ?
  10. local machine, this came with my MySQL install.: V2 e+ I- q" u! G6 k/ }
  11. These instructions will not tell you how you might transfer your data from the" W' l- ?. J1 S9 j4 S" k5 N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . a0 s  _" K& p/ \  v
  13. database.
    ! R  }5 ^7 s0 `; q9 D
  14. Some users have reported ways to import a SQLite database into MySQL, but at) E, W8 U: d* i+ y% [% N
  15. the time of writing, there are still too many issues - check the current status3 {  k0 ~$ @4 K; _% W5 f* _
  16. in the TeamSpeak forums if you are interested.
    # n4 _1 m% D* d& H. x" T7 s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( b- c/ R$ r$ C' ?; {
  18. Borland was used. This driver can only interface with the client library that + G% r0 D! ]; \) n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      }/ N% l  S7 L) Q! v
  20. client library - basically all you have to do is to use a 3.x client library as
    ( J2 `7 E4 n2 U- g9 q3 O
  21. "VendorLib" and a 4.x database to connect to.6 P- t' f5 Z/ i6 Z$ i
  22. If you need more info about dbExpress, you can contact Borland.
    ) v, D# e8 F0 g* E0 Q! v2 `0 ?

  23. $ ~* m6 @3 o, S
  24. ### Doing the work ###- I6 m  n, N1 p, ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 D- `! f2 C) k( n: j  ?
  26. the perquisites right, just open your server.ini file, and add this section at
    ; q. j1 [; K4 m5 m3 E
  27. the end:
    6 j& t6 h2 p5 v/ C" V2 ?' F" O6 |
  28. ---cut here---
    . V0 w1 Z$ l3 u9 u" I6 S
  29. [DBEXPRESS]4 @( z! L- U  R, W! n
  30. sqldir=mysql_sql4 j! ]7 U$ x" k! \. L& A
  31. Drivername=mysql
    ( R! R9 P+ N1 w5 {6 U
  32. Database=Your_Database_Name_Here
    * R% C! Y3 S6 Z( Y7 F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + s! C0 _( z7 h2 K4 M6 K4 Q
  34. User_name=User_name_on_the_MySQL-Server
    ; t' }/ [5 w0 [4 E
  35. Password=Password_to_go_with_above_user_name+ |, @. w7 R, v) r: Z% Q
  36. GetDriverFunc=getSQLDriverMYSQL
    & x5 u; P7 S1 G2 l  g- e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 T) ^; y2 R/ ^0 E! u/ Z
  38. LibraryName=path_to_libsqlmy_libary6 Y9 X' L! A: s
  39. Active=14 ]# c1 Z9 a0 x8 L3 ~
  40. ---cut here---7 i2 u' D- z: W% Q# a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! r! c; \9 n( i7 Y4 u
  42. ---example---
    # A5 @" m( Q2 U# @( e8 {
  43. [DBEXPRESS]$ h' H' k7 I& e# ~: N+ @
  44. sqldir=mysql_sql
    1 q3 ?3 ^8 U+ X9 h) \/ ]  r
  45. Drivername=mysql2 Z6 V) j9 p2 I9 P9 Y5 H- @0 }6 D# ^
  46. Database=test6 t; r$ p2 A2 I: x; z9 _5 q
  47. Hostname=localhost
    $ L, A- G9 X2 ?# d! N
  48. User_name=testuser
    - i. {+ M5 ^* l, Y7 E# N+ Y- Y
  49. Password=my_password# s0 v/ h- c& @+ a* j. d
  50. GetDriverFunc=getSQLDriverMYSQL' d/ Y; N2 g  p% q9 e- H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + c/ K- M5 `- d' e5 l
  52. LibraryName=./libsqlmy.so
    ; t6 i+ ^; `, t. t0 C9 `& e. N7 x* K
  53. Active=10 D3 H, N4 s7 H
  54. ---example---6 e  e4 W$ N% n. L- j

  55. & S( M2 k- r8 y& ~! R
  56. On a windows box, also running the MySQL server locally, it would be:& _  [6 G. f9 V: i, z
  57. ---example---6 I' {7 ]' A5 z6 n
  58. [DBEXPRESS]: V2 k# \+ E5 W9 o) I5 ]! D; j
  59. sqldir=mysql_sql
    ! w0 a+ G# x0 g* E
  60. Drivername=mysql* @6 x$ \; {+ h6 A0 `; [
  61. Database=test/ b/ g/ r' |" c$ ]/ O
  62. Hostname=127.0.0.15 c1 C9 S2 e, v: K; m/ ~
  63. User_name=testuser+ O/ @6 R! G$ u! x3 N
  64. Password=my_password
    # K( t% {, j- _3 [& _" a6 P
  65. GetDriverFunc=getSQLDriverMYSQL
    0 [; M) p$ R: }* D% [* _  X
  66. VendorLib=libmysql.dll- _2 k' P; r+ V4 P9 w. F9 E
  67. LibraryName=dbexpmysql.dll
      X( \" m  r) F% f2 ~; E
  68. Active=1
    ' l( Z  G) \5 p' l7 [
  69. ---example----4 y+ o: }/ u9 N& T
  70. - written 02.03.04 by pwk.linuxfan
    # Z0 G! J; r) O9 }  ~: M

  71. 5 ?% r, B9 h. x( |" @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 R9 F% e: W9 n
  1. 9 ~- v7 t$ L! _- p& Y1 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   D( Y8 [0 N: ~. x+ j, [# D4 |

  3. 1 F7 a0 Q0 [: D) w& y) O
  4. # # #我们所需要# # #
    0 f" [8 ]( q7 J+ D( b: l4 w8 a" W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # h9 l2 V1 @8 _8 _) }& l' ?9 a% H
  6. 不会解释如何做到这一点-也有文件存在,为
    . ^$ y5 g1 B/ }$ @0 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 i1 r* R5 I$ L+ S! J4 z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西1 G; D# Y; M; N5 ^. q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . E  |3 P. a0 H. ?8 R
  10. 本地机器,这是我的MySQL安装。 # {1 n; y* H4 f6 I. d. r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + c( S$ W+ d  A$ s) k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - P- g1 f( j) j7 q, K5 ^
  13. 数据库。 $ N+ V* _5 o* J& K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 |1 u1 ]2 r" T1 K2 `& s
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 T" w& H7 g- B* X- y: [
  16. 在teamspeak论坛,如果你有兴趣。 . I- {% q, [/ q' v+ Z- _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - C. {+ N, F! m/ u) r" R- p, H
  18. Borland公司使用。这个司机只能界面与客户端库* |5 F& j/ v/ H' }" y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 `& ~7 G" c% O+ u' b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - G( B) W, ~# ~
  21. " vendorlib " ,并解数据库连接。 # v- Z( |- P- @' O* [- y3 k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * H6 v, Z) v+ T; b; J

  23. 0 c( O3 _" }) V, d
  24. # # #做好工作# # # , j8 y; g2 t: m" F7 G6 q3 f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# t- P( q% d5 h, Y  ]( W* e0 o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 k: S  v+ [, [# V3 }1 _  D
  27. 结束:
    " _- ^& {% `7 _& ~6 t5 A
  28. ---削减这里--- 4 @, ]2 t# b1 j; d
  29. [ dbexpress ]
    * a# a# u8 J3 B0 `
  30. sqldir = mysql_sql 4 F0 R/ ~% e$ v! a* J, V
  31. drivername = MySQL中
    / S8 Q6 G& O# X# K0 d3 N0 P
  32. 数据库= your_database_name_here ! w* E2 |- P4 G/ F% p
  33. 主机= the_pc_the_mysql - server_is_on ( n$ u3 n! V  e( c9 G* f" C
  34. user_name = user_name_on_the_mysql服务器1 e4 T: H: Z/ E- \1 T
  35. 密码= password_to_go_with_above_user_name
    , Y* K- n! H5 C( a% n% ^
  36. getdriverfunc = getsqldrivermysql
    6 f  D, ]; X+ j5 o  |+ r/ F/ H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! o. F# T: \6 l  A$ i6 ?
  38. libraryname = path_to_libsqlmy_libary ) }: ]- H5 c+ U7 y0 M
  39. 积极= 1
    ! Q* O, d3 l5 H8 H1 e* U
  40. ---削减这里---
    " c3 t, b1 d  `1 N# O6 c- g' z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " I8 V" N/ w9 `7 I$ Z$ S- d6 U
  42. ---例如--- - H1 B) n  ]5 _- i6 {: X
  43. [ dbexpress ]
    ' X6 n' E7 r- @9 S( h6 @
  44. sqldir = mysql_sql 9 P0 C. l) P1 ~4 b. n8 v
  45. drivername = MySQL中
    7 h: n8 p( ]' B7 y
  46. 数据库=测试; N! k+ z5 ^  r, }% w
  47. 主机=本地主机
    ' V# W; R9 C3 q. {6 ^
  48. user_name = testuser
    2 \2 n1 o5 Y$ v' c4 \0 l
  49. 密码= my_password 7 a! }5 U& w& }! H
  50. getdriverfunc = getsqldrivermysql 7 X4 ]. \% _( |" u& S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # Y5 Q9 k/ F: E% i8 v
  52. libraryname =. / libsqlmy.so
    ) m. |7 H5 g" Z" j
  53. 积极= 1
    2 L% o1 b0 [& r
  54. ---例如--- . L4 \" U0 G) q8 ?9 m+ e8 I7 J
  55. 9 ~$ t' D2 v$ G0 R. M3 ]) q/ w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! v8 o- M% q, ~; D4 R
  57. ---例如---
    + V/ P/ c4 _# O" A4 `
  58. [ dbexpress ]
    / u3 Q. w, s; a  `1 w# v2 ]
  59. sqldir = mysql_sql 0 L1 K& A+ F! _
  60. drivername = MySQL中1 W- A% N# s& Q) y5 V+ f5 p
  61. 数据库=测试2 e! ]# g$ `1 k* n6 z
  62. 主机= 127.0.0.1
    : ]2 X, r( S' e3 ^/ q
  63. user_name = testuser % u3 y! }" ?0 o* z( p
  64. 密码= my_password 2 a$ w: W8 ~4 n  r1 |
  65. getdriverfunc = getsqldrivermysql " O2 Q& x9 m5 n
  66. vendorlib = libmysql.dll在4 p) u4 \. d6 ~+ G
  67. libraryname = dbexpmysql.dll
    + w& f6 K" \3 E' ^4 r
  68. 积极= 1
    / l" a0 `2 {) _3 M- _
  69. ---例如----
    8 Y; i+ y. e! {' h* \
  70. -写在0 2.03.04由p wk.linuxfan
    & n- E) }0 L/ E) T+ p% D
复制代码
发表于 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" |" c) ]& B* ^! D

) C/ d7 Y' J8 Y% Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-5 01:49 , Processed in 0.097647 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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