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

3595 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; \7 j9 }# I+ c+ D. c) f

; O" X0 [) E- J- A% l5 u( Z2 m
  1. ( N- T- Z; c6 Q, u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; i0 y- x1 {6 E8 C1 D+ c" g

  3. 8 p) P: u! s) X, y- ~+ Q
  4. ### What we need ###
    1 _9 i6 S4 ?8 g8 l9 R! c5 Z" q! Z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 g, y% [! ]) I6 }% l) {4 {; R
  6. will not explain how this can be done - there are documents out there for the & [3 O: U! y& t7 x) s6 m: O
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 x5 U% d: u; I/ T3 ]5 Z
  8. and a user account (username + password) that has the permissions to do stuff
    - B* ?" {4 h. n) ^) n
  9. with the database. Additionally, you will need a vendor library installed on the
    0 g: C6 c& X4 T3 T/ ?1 T# M
  10. local machine, this came with my MySQL install.1 n& K0 V6 q  `9 b. D6 b4 H
  11. These instructions will not tell you how you might transfer your data from the
    2 k1 u+ v: n" a0 P: v- U: t$ W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% d2 N% e3 k% z# V
  13. database.4 a' [$ `9 ]' N% W4 h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( K5 r( p4 O2 }& y3 S7 ?! M" ^6 M; }
  15. the time of writing, there are still too many issues - check the current status
    5 W2 S8 @* e8 Y! j+ `
  16. in the TeamSpeak forums if you are interested.
    5 i: b4 H! t% |, @8 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 L5 }7 M4 x4 S
  18. Borland was used. This driver can only interface with the client library that
    2 k, U4 E% O3 Q. N8 K4 V+ v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 P6 T2 H( S# S" }5 {1 V
  20. client library - basically all you have to do is to use a 3.x client library as * \+ V. a* _. [5 d: q* X
  21. "VendorLib" and a 4.x database to connect to.
    , A3 O, G! ^- f8 p5 s  c
  22. If you need more info about dbExpress, you can contact Borland.- m* R6 T5 ^) j' T) E9 l, [

  23. ' c2 W# @: {+ ?
  24. ### Doing the work ###  R' Y3 {1 y" b  N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 D- ^" S) G  j# ^5 E
  26. the perquisites right, just open your server.ini file, and add this section at5 t) u2 n" A- Q
  27. the end:
    6 E7 f- x: c# V# X3 Z& n
  28. ---cut here---6 O/ g2 E& K9 l& p, V
  29. [DBEXPRESS]
    - y) K1 S+ p0 _" a* w4 P
  30. sqldir=mysql_sql6 u6 [5 R$ w* k; x6 a' ]
  31. Drivername=mysql  I6 D8 a  c2 H: W. j
  32. Database=Your_Database_Name_Here
    1 P3 c, _! }, r5 |& c* S4 q' ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & F8 G' f! D: X3 p( m
  34. User_name=User_name_on_the_MySQL-Server& z! b8 l9 y# i* y
  35. Password=Password_to_go_with_above_user_name9 R, ?5 m# c, m2 U: b
  36. GetDriverFunc=getSQLDriverMYSQL6 N& L7 f% Q' I, V) d* @9 ^# L) z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / {# L7 E; C3 o, D- K' I
  38. LibraryName=path_to_libsqlmy_libary
    , r4 _3 Z) B; \8 x- e
  39. Active=1
    ) d/ F- C; {3 ?3 h* y; B1 }, Y, O! Z
  40. ---cut here---" k' F( x0 f; f! p% v
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( K* ^0 F( j' n: L; H
  42. ---example---
    6 z. Q8 z3 e/ m" Z) H3 L
  43. [DBEXPRESS]
    & i5 e$ ^8 ^$ x
  44. sqldir=mysql_sql5 k9 M8 ^( y' X1 l) i2 G
  45. Drivername=mysql
    1 l( {2 y( `1 ?0 n
  46. Database=test
    1 v, A2 ]# [& i8 p5 M' P0 {
  47. Hostname=localhost5 ^3 Q4 z4 j- O4 }
  48. User_name=testuser8 \' H  ~5 T9 d4 w* b3 J
  49. Password=my_password
    3 R3 N5 ~5 q6 F; n9 E% U" u$ T
  50. GetDriverFunc=getSQLDriverMYSQL
    / {2 {: \  s7 T% {& n0 i, B( u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , w  Z" j: P9 t' M; r
  52. LibraryName=./libsqlmy.so2 f6 i& W9 ~  C7 |, ]/ O( h
  53. Active=19 O- p7 V2 Z  k- r* F/ w
  54. ---example---
    5 H7 d# X( P% p. u& Z' ^; K

  55. 5 y3 s5 F( W9 V9 O) Z$ S
  56. On a windows box, also running the MySQL server locally, it would be:! ~6 X! H3 K7 u- {+ _. t1 n
  57. ---example---6 L* G6 Q0 b: Q* s! T1 z& K6 E
  58. [DBEXPRESS]
    # y$ f) m3 @: o4 c
  59. sqldir=mysql_sql5 y/ t7 J" m) {! Y
  60. Drivername=mysql
    , e# R/ d+ h6 T
  61. Database=test
    ) M" t( ~5 f6 x& y  p
  62. Hostname=127.0.0.10 `3 |  x8 m! J: w+ a  i
  63. User_name=testuser
    # w. ]  R& Y% a, _% e
  64. Password=my_password7 {# {3 V$ k& l' Z9 m
  65. GetDriverFunc=getSQLDriverMYSQL2 j/ K/ |8 y% F) p" c
  66. VendorLib=libmysql.dll+ g9 f9 N. m& `* ^+ K
  67. LibraryName=dbexpmysql.dll
    ( W) E8 b$ ~( F8 u. r  Z
  68. Active=1
    & l0 r" }+ P  F) C1 z7 D3 L- L
  69. ---example----( H- t4 C2 D: V9 Z) m$ O
  70. - written 02.03.04 by pwk.linuxfan& \: p: n  p2 s, H# D- M

  71. * m1 {! t# T' |  [6 J; q# g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 e" S  j5 b5 l7 ?3 T, N( c! C
  1. , Q4 P, a& A8 r- s$ O9 O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 e, D# k" J7 U9 `9 y

  3. . a  [" z$ o1 V
  4. # # #我们所需要# # #
    * r1 Q; _+ Z/ G# r$ H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 P) a4 J- }/ D; B2 S
  6. 不会解释如何做到这一点-也有文件存在,为
    8 D& g, Y  u) ]4 Y: _+ w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 l6 g- D4 I3 |$ V) E" ?1 p8 F& L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 t) G5 }$ ?1 Q1 b" Q4 F3 _" f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 a0 d+ _# K9 N4 W% L  P% x
  10. 本地机器,这是我的MySQL安装。
    4 C# T! @' b! ~0 |  T" \* G5 L2 ~' ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; x) [0 G, r& h5 O! }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 K/ I8 n4 L& B3 Z* c' C
  13. 数据库。 8 U. T2 m* M5 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( s, D4 L1 e2 h
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ t5 d: d' R" k
  16. 在teamspeak论坛,如果你有兴趣。 & k3 T+ ]: D& Z/ u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 t3 N$ c! J6 K; [1 |! c
  18. Borland公司使用。这个司机只能界面与客户端库
    ' o  D0 Q8 c& W4 {4 v0 J9 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 {8 W$ w: [( P( Y, {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' `- H7 j4 N, {3 ]
  21. " vendorlib " ,并解数据库连接。
    2 d2 F( g1 ]8 J  p) h, t4 ^5 C) v  W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) [% P& `! A# Y- V, m% C0 R9 C

  23. 3 w& q5 U3 J3 ?
  24. # # #做好工作# # # $ Q4 F1 \1 [( X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : e" ^6 T7 @& s/ U  @' s/ t7 X/ a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 F) u" y! z( X  S: G
  27. 结束: ! E: F: S) q9 c6 r! G, z
  28. ---削减这里--- / L, i( D5 A, \0 I4 x
  29. [ dbexpress ] . C% E6 M4 }# h, T5 o  _
  30. sqldir = mysql_sql
    . `8 q0 g9 m7 A3 ~
  31. drivername = MySQL中4 a0 I4 D2 O. C8 a% b
  32. 数据库= your_database_name_here
    1 l( `+ m. j0 \( w
  33. 主机= the_pc_the_mysql - server_is_on   P$ o! M( Z! C$ U6 O
  34. user_name = user_name_on_the_mysql服务器
    ; |: E, F$ S% \- y
  35. 密码= password_to_go_with_above_user_name / }9 f* e4 U8 l' r( r+ K
  36. getdriverfunc = getsqldrivermysql 5 T& U, ^) h! U, L7 k8 C' K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * d1 p* F: q) c1 X( x  N
  38. libraryname = path_to_libsqlmy_libary # A: }8 C, P1 x! g$ v
  39. 积极= 1
    # S+ f' J7 r& A, e3 w+ O
  40. ---削减这里--- : P. m; Y; q- V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ l, n9 h8 y, \" |
  42. ---例如--- $ I- l0 u2 I( ]9 u. l  t
  43. [ dbexpress ]
    1 i9 ~. y6 q+ `$ S5 J
  44. sqldir = mysql_sql
    4 C2 G+ Q* u0 V& a( |( _4 E, n' b- @
  45. drivername = MySQL中
    : U& [( z1 h( I/ ?$ W
  46. 数据库=测试
    0 \0 a* t; l8 `/ g1 P4 i$ M2 d% a
  47. 主机=本地主机0 m; w: L" R/ @* P
  48. user_name = testuser % H) A8 n  |$ D9 g& `
  49. 密码= my_password + O8 L4 m/ @; r9 W7 z8 @) s
  50. getdriverfunc = getsqldrivermysql ; K. W/ S0 }8 p. m, n( ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " A0 V. T, Z, }5 B9 `' e' d
  52. libraryname =. / libsqlmy.so : t3 q* R0 e% P
  53. 积极= 1 5 w+ K, v( h% M3 _
  54. ---例如---
    ; \0 p. O/ p9 a! t/ p" |: `
  55. " [) Q( W% X$ J) Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & O& I* ^* C8 O  A( X
  57. ---例如---
    & f, y6 z2 r: D# J$ M2 K" l" p
  58. [ dbexpress ] $ `0 ]7 `+ P7 O
  59. sqldir = mysql_sql
    6 [' z) B* u0 ^
  60. drivername = MySQL中
    " Q6 y0 T2 m5 @1 C
  61. 数据库=测试
    ! C6 V' O3 i/ E' Q
  62. 主机= 127.0.0.1
    : O4 {, I+ |3 X# F* g6 b
  63. user_name = testuser ' D/ A8 E) ~: J$ W
  64. 密码= my_password & ?, U. q) W$ h" X" ]  I
  65. getdriverfunc = getsqldrivermysql * r% t2 \7 ?' u! @9 u7 L3 U
  66. vendorlib = libmysql.dll在
    - b7 f2 i; a3 ?* X: b/ w
  67. libraryname = dbexpmysql.dll 0 p% c  s( z  @: Z8 M7 G
  68. 积极= 1
    " e8 y; ^8 o4 @" A5 P" q  q
  69. ---例如---- : w. i+ [. D  n( y5 i5 w8 m9 p( _
  70. -写在0 2.03.04由p wk.linuxfan5 K: n1 f6 U+ Y( G/ a  ~4 B0 M8 q
复制代码
发表于 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
; s: g# m+ ^! y4 \0 \& n. y% q" [! L. j% l( }- U  W
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-30 15:22 , Processed in 0.059167 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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