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

3487 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , Z& M1 u+ [. n

8 L$ b0 D0 H- h/ w

  1. 9 @0 H# ^0 r3 o  t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 |: \+ p& J5 u5 _8 f. g) ?

  3. 5 E$ k% s4 \6 l% e/ x; @# c; ^
  4. ### What we need ###
    7 K8 z% i% D6 E9 w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' A) R, Z7 i% i: x  ?5 Y
  6. will not explain how this can be done - there are documents out there for the 9 H) s& u8 [, W: N1 a- g" |6 @; `, I$ R  i
  7. interested. The requirements include a (empty) database for TeamSpeak to use) n: D+ r: y% j& {
  8. and a user account (username + password) that has the permissions to do stuff7 A# J4 p& W3 @  I% a6 v: F1 n
  9. with the database. Additionally, you will need a vendor library installed on the; D) h# Z! L  u4 y! D5 H; s5 _& M. G5 s
  10. local machine, this came with my MySQL install.
    , [* l, S1 T. ]7 F: s
  11. These instructions will not tell you how you might transfer your data from the
    ( u9 h$ s0 E3 _) m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) K5 f# Q+ O5 X
  13. database.6 i0 D- X/ ^$ U) `0 g, X
  14. Some users have reported ways to import a SQLite database into MySQL, but at( L3 E8 N/ m- u$ b. L" {
  15. the time of writing, there are still too many issues - check the current status
    4 }& @3 K7 R% W8 Z. k+ U
  16. in the TeamSpeak forums if you are interested.
    # B; L+ |( ^# w; @: I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' h: p0 C2 ?8 w: d& k, r
  18. Borland was used. This driver can only interface with the client library that % s; `* j* B* {2 J) N  s# U3 D& s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: T* m5 G7 x2 m0 z2 t
  20. client library - basically all you have to do is to use a 3.x client library as
    6 ~$ i" _: Z5 r8 E, E
  21. "VendorLib" and a 4.x database to connect to.
    1 n6 F# _3 [1 \: @3 `2 N
  22. If you need more info about dbExpress, you can contact Borland.
    " C& n: p* s. W  D
  23. 1 h2 O1 v% [6 c, v5 h* P7 n+ r
  24. ### Doing the work ###
    9 ?" R2 i+ i( r0 q* T# T; F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, C2 I# U5 H# i5 X' y
  26. the perquisites right, just open your server.ini file, and add this section at; S  ]' @$ E9 c) a5 [6 n+ n
  27. the end:' _6 [' t# A' C; h9 h
  28. ---cut here---
    ; g3 d# |" N: a
  29. [DBEXPRESS]
    * ^- n' @  y; \3 c9 f  {
  30. sqldir=mysql_sql$ k% I- E! L* q4 {* ~/ h  E
  31. Drivername=mysql
    2 q% B5 H4 D6 K1 \  W" }
  32. Database=Your_Database_Name_Here
    3 U. \  j0 Y- A# ~
  33. Hostname=The_PC_the_MySQL-Server_is_on" ]0 T% \# H, a
  34. User_name=User_name_on_the_MySQL-Server
    $ g2 {' ]% t0 T( {" B& J, H
  35. Password=Password_to_go_with_above_user_name
    # @0 r; `: k) e, V0 z. t3 a
  36. GetDriverFunc=getSQLDriverMYSQL: r( a' J9 m7 x* B- e$ T( u! F  \) d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) W& ^* }. M3 `* g1 |
  38. LibraryName=path_to_libsqlmy_libary
    6 N# f/ ]4 Q8 D
  39. Active=1
    2 F9 j2 N3 \9 f( C/ u
  40. ---cut here---% B3 [! [4 w7 S
  41. In my environment (a linux box with a MySQL server running locally) I have:7 U' `% Y( q4 B& ^: _
  42. ---example---
    ' r* ]! O/ O- x7 _3 Y8 Q
  43. [DBEXPRESS]- L, e: R0 M3 W" E- v
  44. sqldir=mysql_sql
    ! b: q# L3 @4 z' k9 V
  45. Drivername=mysql6 |- A3 J- T+ r) y% l& W9 O
  46. Database=test
    ; \- I% L$ z  ^! k# W6 ]/ T
  47. Hostname=localhost9 ^- ~/ S2 f$ a
  48. User_name=testuser
    1 r# X6 d( P# W9 r. |: d
  49. Password=my_password
    " c  f# H; c' R. `$ J/ V* u! K
  50. GetDriverFunc=getSQLDriverMYSQL  ]( V5 o6 A! t0 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 O4 q4 z: u5 O* r4 p5 W
  52. LibraryName=./libsqlmy.so' P# x/ ], y; M; A' c% Q* x) u
  53. Active=1: j# X7 h% [& Y8 z+ Z3 C+ R9 b
  54. ---example---/ w# S* E8 C2 i3 o6 E9 p
  55. ; Y0 o0 X; _2 w. V% i$ B
  56. On a windows box, also running the MySQL server locally, it would be:
    : P1 U0 G% F3 _
  57. ---example---$ `0 T& D+ G1 T
  58. [DBEXPRESS]
    9 q% {- ?( O- @/ Z' n# Y/ k, `
  59. sqldir=mysql_sql
    ! S2 e5 l+ ]4 c2 M/ L
  60. Drivername=mysql
    ! Q9 s7 e3 _6 Z5 G- c8 s" V
  61. Database=test7 b" Q2 h2 G- ~- t
  62. Hostname=127.0.0.15 W- `- r2 ]9 }( A" W6 m5 b
  63. User_name=testuser
    - |5 X6 q4 d; f6 J6 \" ?% ~1 B& F8 G( k
  64. Password=my_password, e3 ?, @" |$ l5 X
  65. GetDriverFunc=getSQLDriverMYSQL9 ~7 E& L% n2 L
  66. VendorLib=libmysql.dll
    3 S/ N8 m1 ?3 ~, L1 r/ d
  67. LibraryName=dbexpmysql.dll
      h# n6 ^/ Z  K7 ^
  68. Active=1
    $ p; V' ~0 j/ G$ r
  69. ---example----# h  U* ]+ x" @( i4 }6 o; J+ b
  70. - written 02.03.04 by pwk.linuxfan5 I' V# w# K) i' F% G

  71. ! H. l8 ?" H8 F$ l% [9 L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 n7 \' T% x6 f9 t" z

  1. : s$ t; P; d: L$ z( \/ g0 W, D+ H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " P. H* M/ h! B1 i* L& D; k

  3. 9 B2 m; x7 N3 O4 k
  4. # # #我们所需要# # #
    8 T7 l4 W, }" C$ ^) @. S. x! ~+ K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ ]5 q' L4 Q5 @" w$ }
  6. 不会解释如何做到这一点-也有文件存在,为) W% G% @; M0 {* L" }3 c0 G) K8 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ @$ E# P* V& }2 ^  Y' M4 B2 r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# O+ h7 h; r( e" n; H8 s& _! b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 N3 N- d" L3 g  r0 D
  10. 本地机器,这是我的MySQL安装。
    8 Z, S1 Z) h3 s0 Q6 G3 {, i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 J8 v' p8 B' X' d* C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( x& y4 p& d8 ]: s. \
  13. 数据库。
    2 K0 Z7 B9 C$ b0 j; K0 b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 N  H* d( ^) b! |, x! H
  15. 编写本报告的时候,仍然有太多的问题-检查现状" I9 N. I6 o7 p
  16. 在teamspeak论坛,如果你有兴趣。 2 K0 ~6 z/ t7 h& z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 V1 j+ K% k$ X% N  J: Y. V" U; H
  18. Borland公司使用。这个司机只能界面与客户端库
    8 X  S1 J) T5 f9 N  e0 q& ]3 g
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 n9 a5 A8 ]3 L( o6 q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 r) O3 Z: {+ B) G6 I+ W4 R0 L& _' u
  21. " vendorlib " ,并解数据库连接。 & w# {$ r6 c8 S. c. t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ D% M. n* H- J( N% D, \

  23. ; x  ]9 {0 V; G$ P9 Y
  24. # # #做好工作# # # 6 X7 v3 ~# F- o0 c) ~- o. _
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 ^$ J9 ]% ]$ t( d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ T! @1 X* s1 P, R$ G' s0 Z2 G0 P4 ^3 L
  27. 结束: % S8 a% h- K/ p' J, A6 e
  28. ---削减这里---
    7 e* m: v( c& N  m( X) z
  29. [ dbexpress ]   c6 Q$ r; _6 k+ E! G7 U% D. a+ U! M
  30. sqldir = mysql_sql
    # m/ v. N6 _2 s4 E
  31. drivername = MySQL中/ Y7 i0 p2 }, R+ k+ D" A. X) t
  32. 数据库= your_database_name_here 0 i: Y. l1 Y! i; a
  33. 主机= the_pc_the_mysql - server_is_on
    5 q( l7 Y* \5 |1 ~# X4 A' @& t
  34. user_name = user_name_on_the_mysql服务器
    ' V: U' R; R. x( v
  35. 密码= password_to_go_with_above_user_name
    . O5 C* Y0 m+ W5 t
  36. getdriverfunc = getsqldrivermysql
    2 l+ O9 T6 J7 |: W* v3 W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / o- u) C( z+ d7 }* X$ t
  38. libraryname = path_to_libsqlmy_libary
    , m" N0 L( Z9 W$ g
  39. 积极= 1 & w8 h2 h  H. y+ N: y! r% @
  40. ---削减这里--- " x5 [4 Z9 ?9 ?4 u% ?/ j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * a, {: v0 d3 G. T  }
  42. ---例如--- 4 ?3 ?; i- u8 y7 x
  43. [ dbexpress ]
    % k3 A  O+ ]0 I, v' o+ o
  44. sqldir = mysql_sql ' ?, m0 a' e  A" J' V- f
  45. drivername = MySQL中2 j- D% {) z" X3 ~$ q6 p
  46. 数据库=测试
    6 O8 H9 e) U) \! ]3 h  Y# p
  47. 主机=本地主机! f# ^6 d( ~  R$ N; x
  48. user_name = testuser 4 l2 P2 @8 y, d  V5 v# h
  49. 密码= my_password
    0 I0 ^8 `) a8 \
  50. getdriverfunc = getsqldrivermysql
    + q0 p3 w$ y2 a8 r6 ^) P# ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " S6 ~* I5 M% B$ x. Q
  52. libraryname =. / libsqlmy.so
    7 j. F0 R7 W! l# h: _$ V
  53. 积极= 1 1 c0 W- a2 V4 [, k
  54. ---例如--- 2 `8 b" T/ ^) D/ C

  55. " C* R$ R$ ]3 F+ F2 J2 x0 b8 F) h
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . d& D! T: q' t( h0 ^% D5 [5 M
  57. ---例如---
    : h/ a0 \% ~, B- n$ _/ Z9 g
  58. [ dbexpress ]
    ' r% T, Y* G( [/ t0 @3 z
  59. sqldir = mysql_sql
    # T+ @5 \: |$ Q+ E1 f" ?
  60. drivername = MySQL中
    ( M8 @0 u0 n8 ]+ G* P7 w+ R
  61. 数据库=测试- f8 s6 o' a; d" K1 T
  62. 主机= 127.0.0.1
    - b3 A/ H) m, q
  63. user_name = testuser # t8 Y4 m5 s0 f2 o' d
  64. 密码= my_password
    8 i/ g9 V3 p) r) K/ W
  65. getdriverfunc = getsqldrivermysql
    , n) H4 _- h( c8 p$ I. ^8 m
  66. vendorlib = libmysql.dll在4 {: w1 O" [2 d' M0 z6 C
  67. libraryname = dbexpmysql.dll   g9 p" a3 H4 M/ u0 I7 A
  68. 积极= 1
    $ a+ \- W$ {. g2 A. J
  69. ---例如----
    ) i4 s* Q/ u. j* j2 R
  70. -写在0 2.03.04由p wk.linuxfan
    9 l6 K! q2 p1 W+ J, M+ w& l  y+ A2 n
复制代码
发表于 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, G" l4 ?) T, o. Q- A0 N2 _0 D

: p0 W1 x, v/ L+ K4 {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-7 23:19 , Processed in 0.055250 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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