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

3586 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; ^, R/ @" Z+ U

6 |2 R- c# v9 q# D+ o2 A2 z

  1. % t  u" S, O1 T8 o9 Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + f' J$ o$ p, R) V& _
  3. + j; i$ F" l# n8 q: H+ e( e  o
  4. ### What we need ###, b3 l5 v* l, q
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 [5 {1 f; r5 F( X
  6. will not explain how this can be done - there are documents out there for the
    / l, j3 _, b- a  [" T/ n7 Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( k- U- n1 ^( o' Y4 d- h
  8. and a user account (username + password) that has the permissions to do stuff
    % s5 ?7 Y7 `, `
  9. with the database. Additionally, you will need a vendor library installed on the! L) w3 \/ _7 P0 d) F
  10. local machine, this came with my MySQL install.* k3 E  d- B/ E, b6 `% V
  11. These instructions will not tell you how you might transfer your data from the
    + j7 Z" @: R2 ^5 j# q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 [4 Z& k. h' d
  13. database.: [* Y& P  m1 n! o3 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 R, K+ T8 H* ]
  15. the time of writing, there are still too many issues - check the current status0 v2 D) L. I. v# w6 G" ?8 a
  16. in the TeamSpeak forums if you are interested.
      X- k- z& \- ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      s/ k' e' S$ B# r+ V
  18. Borland was used. This driver can only interface with the client library that ' W3 y! w. _1 K" B8 {4 T3 t, @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 n+ p0 _. S1 C7 z, g
  20. client library - basically all you have to do is to use a 3.x client library as : u3 A. L8 |2 I; b! W
  21. "VendorLib" and a 4.x database to connect to.- }( Y5 t$ p- e& S8 H1 s/ c% X/ h3 Z
  22. If you need more info about dbExpress, you can contact Borland.
    $ i( [2 y7 l( s

  23. & L+ D0 x! I0 A) V. z
  24. ### Doing the work ###
    ; c+ b6 p: h- ?1 d4 D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( C) |+ E2 b7 U) V/ |3 o* s
  26. the perquisites right, just open your server.ini file, and add this section at" y8 a5 \; z8 A7 t* O. ]
  27. the end:1 r' Y  H+ A7 [6 x& C( x" D+ @
  28. ---cut here---* U" h5 }; _0 Y. M
  29. [DBEXPRESS]& P- l9 o9 M/ |# n
  30. sqldir=mysql_sql& j! A; X4 T! u, \8 S! g$ Y
  31. Drivername=mysql2 ^& j6 w+ p0 C' T, ?
  32. Database=Your_Database_Name_Here' A& [% d9 n# y7 U$ r% o
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 N5 P" g: g, U# l. q3 i/ k
  34. User_name=User_name_on_the_MySQL-Server
    4 H8 {+ w- H5 o# y2 F9 I
  35. Password=Password_to_go_with_above_user_name' \+ I) K, d, d+ A5 L9 D, B' V) h
  36. GetDriverFunc=getSQLDriverMYSQL3 F2 X; v; F3 e. r% a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 R( n$ K! w$ c# E
  38. LibraryName=path_to_libsqlmy_libary4 h# X* ?9 n& {3 R+ k, D8 |
  39. Active=1
      ^* y( |) N0 X; }1 P" l
  40. ---cut here---
      j0 z) H) ~4 B% M- U- I
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 v+ E% M" U0 T7 l  b$ `
  42. ---example---
    7 T8 }; I. H- ]6 _. v
  43. [DBEXPRESS]
    1 V0 v1 |" R  h0 U, Q; |
  44. sqldir=mysql_sql# v& Z9 j  p- ^+ R3 j
  45. Drivername=mysql1 ?) N6 M2 H, [' ^- F0 S/ N' o
  46. Database=test
    # x% o; r- z1 C7 g( ]
  47. Hostname=localhost
    $ n  u4 \; q( m1 t( g: H: V9 Y
  48. User_name=testuser! D/ P% a' _0 q* D; k
  49. Password=my_password# @* t( j: c5 Q
  50. GetDriverFunc=getSQLDriverMYSQL
    . R+ B: _, Y! J# u( \# t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 X! c5 i: O1 R4 R9 q  f& }
  52. LibraryName=./libsqlmy.so
    * y: z" m9 L5 q& y! Z2 B; N( ~
  53. Active=1
    & ~7 W! y9 b* y; }5 }
  54. ---example---
    / ]) C3 E9 @& ]) i

  55. % Q' n( h. t  B
  56. On a windows box, also running the MySQL server locally, it would be:
    7 C, `; R  o0 g9 i* W3 F
  57. ---example---6 A; Y  @' V8 h; M6 G1 h
  58. [DBEXPRESS]$ o" `- V. _3 q9 E# k
  59. sqldir=mysql_sql2 {" F, j9 W7 Y7 R# J( Z* V- R
  60. Drivername=mysql1 _3 \  R# f2 Q9 _" l; h, g8 w
  61. Database=test5 S/ Q' V- g" k1 Z/ p1 p% N
  62. Hostname=127.0.0.1- h5 S8 u9 v) w
  63. User_name=testuser3 r9 q/ r- c5 x; b
  64. Password=my_password
    4 C/ S0 {; l  H8 N3 U8 v5 H
  65. GetDriverFunc=getSQLDriverMYSQL2 \! s2 P$ N' f9 P% m3 C
  66. VendorLib=libmysql.dll
    3 o! F% A4 j6 K9 B# _7 j- r8 d0 {
  67. LibraryName=dbexpmysql.dll# Y. m/ t3 m0 M1 ?4 _. q
  68. Active=1
    ' M* \( E/ L/ Q! Y! T
  69. ---example----
    / [+ _1 O- ?0 j6 K8 `" p) n1 f
  70. - written 02.03.04 by pwk.linuxfan
    5 G( b; E" h8 E; q# b

  71. ; ~1 U( H0 |! O" w4 E1 l; O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 I: C; F2 l2 p* ~9 O

  1. / w# \, G. Y- a6 m& t$ o$ G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( w, K" E9 g) k, {' f! q# ?
  3. 0 D# S' f+ M! ^$ e3 I. b
  4. # # #我们所需要# # # 1 d$ E4 i' J  M2 ^* U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件" B- _: C* T% o' D8 x) z! U% l
  6. 不会解释如何做到这一点-也有文件存在,为
    ( ?, ^; o# j/ V" W. Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( ^) `% r. \: N3 t4 t7 D5 O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " Q6 J+ ~. ?5 I+ v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 e7 q( \+ C/ b. f& x
  10. 本地机器,这是我的MySQL安装。 0 L0 M0 j0 `7 C7 J. a5 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 a! }! a7 l" ?6 g, ]) F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % z( h; l' m4 F! e# z1 D- }
  13. 数据库。
    ) D" T8 w" k0 L. B# A9 I2 w6 [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! W" c0 q* f4 D5 N4 F5 f& m6 [
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , @# F& E$ U5 v. y' {) l, h. y
  16. 在teamspeak论坛,如果你有兴趣。 * j. N: i' V; B- H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + j1 I: s! Y0 G
  18. Borland公司使用。这个司机只能界面与客户端库
    4 `# @& P4 v9 Q. t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 q& `1 `  ?" L
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, n3 S' C2 `* R
  21. " vendorlib " ,并解数据库连接。
    6 p# [9 n7 Q. Z! ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! q& ^) @) p. w% C) u- [
  23. ! @) ?, [+ f: M3 t* C7 p/ j% x1 l
  24. # # #做好工作# # #
    * w' F/ |' H# l+ W/ Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 J7 _/ U  b  q, t7 e+ V: o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) n+ l& J- Z; q" I
  27. 结束: ' G+ Q8 B- c, k: ~" d
  28. ---削减这里---
      J& e- ?) e& U$ u" d/ g
  29. [ dbexpress ]   w# a3 D0 f4 F- @0 W3 w3 T
  30. sqldir = mysql_sql
    / `6 S5 |' s1 D$ M4 M" F
  31. drivername = MySQL中
    ! P; i1 E! B! }& V
  32. 数据库= your_database_name_here : r! L9 m8 T: v; |) F. m% W) V
  33. 主机= the_pc_the_mysql - server_is_on
    " m3 I; d9 F6 C0 u
  34. user_name = user_name_on_the_mysql服务器3 X' V1 h, ^7 i) L
  35. 密码= password_to_go_with_above_user_name
    $ u0 p9 P) |( C+ q* ~' D+ H6 Y
  36. getdriverfunc = getsqldrivermysql
    ; \( B, e/ p0 l' u% M2 k# V# A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) P. R) ?2 B3 e/ D- S
  38. libraryname = path_to_libsqlmy_libary
    % Y1 R1 t4 z  |* F! _. Q. U' d1 J
  39. 积极= 1 ( m4 b$ u0 {' U2 ?6 ]- M
  40. ---削减这里---
    " U* Q& p3 w+ D$ I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! l: B2 K& Q$ S9 [( U% }+ N0 a
  42. ---例如---
    & E) s% B0 U/ b# T
  43. [ dbexpress ]
    ' N" f: q5 h; @1 Q* i
  44. sqldir = mysql_sql
    2 g- e' L& H$ Q
  45. drivername = MySQL中
    4 w+ d' u6 W% d6 B2 Y$ h& K
  46. 数据库=测试
    ) [: P, J0 z" k+ t, Y( r: @
  47. 主机=本地主机
    ) v/ i. l$ E6 ?, |( G6 |
  48. user_name = testuser 7 h4 T2 i) C  V+ h
  49. 密码= my_password & w1 Y# Z, Y3 \% s! n- ]4 V+ E
  50. getdriverfunc = getsqldrivermysql
    # p6 i8 d5 r4 U" d8 v% A; X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , Y6 X' Z% V- \+ A+ o: Y5 k
  52. libraryname =. / libsqlmy.so / z8 [% ^7 C& |8 O& Y
  53. 积极= 1 $ N3 B# |+ S) P  n
  54. ---例如---
    . M$ D  q4 X( i
  55. # p& F, W7 D- X6 F5 B3 {* u
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 A" v$ v3 A: d8 z( D
  57. ---例如---
    ( d4 V) y9 b+ @% A9 `
  58. [ dbexpress ]
    / E; R. Y& s3 F3 ?3 l8 B- L
  59. sqldir = mysql_sql
    ' M8 E( C5 s: u% T! z# m
  60. drivername = MySQL中
    5 l' _% A. b: M5 T/ y
  61. 数据库=测试
    ' y: u' r8 `% H  O9 e( T: Z
  62. 主机= 127.0.0.1 6 n1 D7 V* s7 w  h5 S/ Q5 V
  63. user_name = testuser & c9 D9 @3 S# [0 S( o4 W  I
  64. 密码= my_password 8 D3 Q9 b# s( j- F( l
  65. getdriverfunc = getsqldrivermysql
    : K1 }' W8 {9 X  V# ]# H  u
  66. vendorlib = libmysql.dll在* l9 {% u0 t/ R) s! l
  67. libraryname = dbexpmysql.dll 0 a$ b, W/ o5 B" d' g1 K
  68. 积极= 1 0 h5 z- D4 N9 ?+ w5 }
  69. ---例如---- ; C3 k3 P) p" T( y0 Y: ^
  70. -写在0 2.03.04由p wk.linuxfan* F: k# Q* Q5 t6 d" e& M- X9 V' G
复制代码
发表于 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
) H# y, ]/ o, z0 u* u. K6 M( c9 j9 P0 H8 R! P! c! Q7 w/ J0 E; {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-29 05:09 , Processed in 0.063012 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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