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

3230 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 S5 v9 S' X6 w0 S9 g. C* `

* y9 x5 w. }* m9 t" h( Z* x
  1. 4 ]9 K  I/ n# F* z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* B  x# _2 A, _6 V% W3 ~7 q
  3. 3 h) O4 A3 F9 k% {
  4. ### What we need ###8 g& _: l4 f: t3 J7 e! `
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 s/ v- m  r3 r+ B- h% d; K
  6. will not explain how this can be done - there are documents out there for the
    + a$ e5 r6 {8 S; p4 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 r/ K/ |! e9 I4 D  S# q9 T; N1 B
  8. and a user account (username + password) that has the permissions to do stuff% i4 b: x6 l3 z- X& E7 n3 R: y+ I
  9. with the database. Additionally, you will need a vendor library installed on the6 W+ o/ P0 I( o
  10. local machine, this came with my MySQL install.
    , N4 E6 m5 W) p
  11. These instructions will not tell you how you might transfer your data from the
    * V! a: A- }/ v9 a5 D+ P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 ]) j( a% S9 A6 [0 C" X
  13. database.
    $ S& @9 C% A! {+ l. X
  14. Some users have reported ways to import a SQLite database into MySQL, but at8 G3 b0 r: q8 o+ V5 {# t; C! o  d
  15. the time of writing, there are still too many issues - check the current status9 U- i' h$ o; k  r$ ^
  16. in the TeamSpeak forums if you are interested.
    ' c7 b: g) e7 ]& K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ h/ [$ |7 w% g2 a- ^
  18. Borland was used. This driver can only interface with the client library that
    * r/ }* @" V& ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " y& E& Z% N, \; J% W  e. w
  20. client library - basically all you have to do is to use a 3.x client library as
    4 ~9 m, u+ U1 @# K1 V/ _0 D
  21. "VendorLib" and a 4.x database to connect to.
    ) b7 F* X1 P/ ^$ k6 e
  22. If you need more info about dbExpress, you can contact Borland.% o5 V5 x+ \- H# w" @

  23. 0 J: _3 R; ]: q( Z. G
  24. ### Doing the work ###
    & H9 @% \( q0 k" ]& z1 W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: g  A1 m* [7 G* d4 {
  26. the perquisites right, just open your server.ini file, and add this section at
    # J& u' l6 Z: @6 o; `+ N/ @* V
  27. the end:* D& Y9 ~; Z! ?4 b1 @
  28. ---cut here---
    7 g# C5 d9 O: o6 r
  29. [DBEXPRESS]( z/ U( Z% k0 i4 f9 o" @' A
  30. sqldir=mysql_sql
    + `- e0 y- o' v; r# k# |
  31. Drivername=mysql
    : S4 p) C: g+ X' O7 a* a
  32. Database=Your_Database_Name_Here
    , S7 e1 g/ q1 W1 [( V& W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . h2 H* M3 \  [# `+ E! b
  34. User_name=User_name_on_the_MySQL-Server
    0 I: Z: N  `& D! w& |+ x9 v: c
  35. Password=Password_to_go_with_above_user_name
    2 X& v. x6 H% ]: v% Y
  36. GetDriverFunc=getSQLDriverMYSQL
    2 H0 b0 A$ w5 I! J6 E: [! j; o/ E/ M8 k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* W8 b% r; r8 j' q" b
  38. LibraryName=path_to_libsqlmy_libary5 n9 U7 i8 k; I. @( b
  39. Active=1
      f" T* g7 `& {/ Q
  40. ---cut here---2 h8 A. i/ z/ z4 X. A  b. s( |
  41. In my environment (a linux box with a MySQL server running locally) I have:6 x6 ]9 h) J' t' H4 \, F
  42. ---example---  S4 o8 G* L& a& ]* E* @- I* P
  43. [DBEXPRESS]
    % Z; v+ f; N$ w0 e1 S+ G% T% \+ W
  44. sqldir=mysql_sql
    4 n( S4 p7 a9 x$ f! n, _
  45. Drivername=mysql
    / g6 M4 \4 t5 R' a8 \/ t) w9 \
  46. Database=test
    * ]/ M) k( Q1 O/ o% n* P
  47. Hostname=localhost
    , A) N1 G0 s+ [
  48. User_name=testuser
    ! j. r# E. `6 o8 V. F- k
  49. Password=my_password
    7 U; k& J" ^4 r3 F) r- f- M
  50. GetDriverFunc=getSQLDriverMYSQL
    * i; t6 h4 X- e, X. K2 Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# a% ^& W4 V+ u8 }( S. s* R
  52. LibraryName=./libsqlmy.so& `% D+ I. h/ J3 }8 t8 j+ b
  53. Active=1  V; q& }5 a! g4 E+ \  s8 N
  54. ---example---" c. {0 z  S3 e1 C8 {% \/ [  p

  55. . _# C+ T+ H' G0 N& k5 f0 ^* X
  56. On a windows box, also running the MySQL server locally, it would be:
    & m1 N1 x# i; [( d$ U) A
  57. ---example---
    % q0 w3 \8 z0 M7 K0 B
  58. [DBEXPRESS]% ^7 I1 p  F0 W- T! a+ I
  59. sqldir=mysql_sql  w( u; Q0 E2 u3 U6 u7 M- v" J
  60. Drivername=mysql' c0 [6 O! a7 e* A% Q" t7 U
  61. Database=test
      b# m9 n) ]0 L
  62. Hostname=127.0.0.12 X; h: h4 u. Y% B9 r
  63. User_name=testuser6 C4 ~+ D( A6 B& m/ ]/ w
  64. Password=my_password" z0 x' O# F$ k" p6 x
  65. GetDriverFunc=getSQLDriverMYSQL
    0 w3 p$ Z, D( W
  66. VendorLib=libmysql.dll, L6 o& Q# K: f. X1 m  q1 _$ s
  67. LibraryName=dbexpmysql.dll3 ?5 V' A) b; i- i+ u5 i! D
  68. Active=1
    6 s3 z: _( \1 q; F. d
  69. ---example----
    7 D) m) Y2 E$ }/ d! j; H/ m
  70. - written 02.03.04 by pwk.linuxfan0 q7 z6 M/ F  f

  71. : T$ x% @: j; U: N! d8 t- h1 ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 R7 L$ y4 G- b9 x# [
  1. ' E; G# l/ f% c  G. f5 ?5 U  [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! `5 g5 u. y4 @- r- |

  3. ( [. Q3 }7 ~4 ~) k9 ^% `
  4. # # #我们所需要# # #
    , D) x# U* f/ w( x' i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 _/ @9 c% `- ?% l1 k
  6. 不会解释如何做到这一点-也有文件存在,为- Q1 J* c7 x" B, {3 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: r7 B; U! S; N* ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    0 Y6 P) D7 d' X. R4 j: K, ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - O+ Q! |3 S) u7 K; H0 H& l1 {
  10. 本地机器,这是我的MySQL安装。
    - r3 T5 k7 o5 V, M: V9 S) h' ]
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . L$ ^) R3 v$ D6 Q" U$ R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " F  x0 v7 L+ [" @5 c
  13. 数据库。 ) S3 T0 p- w8 o* B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . ?* e7 p! {$ }: c2 ^. j6 B. k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! x  c5 x( C8 l" g; M1 K! X
  16. 在teamspeak论坛,如果你有兴趣。 + }% {6 H5 ?; ~  T: V( }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 D3 C( c; f" U8 ~! P# j% W
  18. Borland公司使用。这个司机只能界面与客户端库
    . n. [2 g, D1 F- U  W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 f, \+ \/ h% T* P9 w5 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! h! Q( f2 v3 G4 q( a+ L
  21. " vendorlib " ,并解数据库连接。 3 E) Q1 S- Q& d. g' _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 f! c! i% x0 i! I

  23. ; ]( _9 j8 d* x/ a* y
  24. # # #做好工作# # #
    6 i. U5 w: v1 e" X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / k4 V3 K+ p" x# N" b" d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% N& Q+ g; H# l
  27. 结束: . U* j9 t( O/ C' \$ e7 Y
  28. ---削减这里--- 3 h9 u9 u9 |' D/ [) F8 J7 o
  29. [ dbexpress ]
    # F, t0 \& w6 y9 _
  30. sqldir = mysql_sql % s1 X% _( n$ P, K( T) ]
  31. drivername = MySQL中
    " X$ P" [) i' G' m, b
  32. 数据库= your_database_name_here
    , K* J5 d0 D. I. m
  33. 主机= the_pc_the_mysql - server_is_on
    4 k+ b3 t  _" d2 a, Z) A. ~
  34. user_name = user_name_on_the_mysql服务器1 y5 i3 E1 a" P$ K) `
  35. 密码= password_to_go_with_above_user_name 9 z8 z% h' S+ q6 o- a
  36. getdriverfunc = getsqldrivermysql : M0 d% f1 u0 ~5 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' i* I* X6 K" b- S
  38. libraryname = path_to_libsqlmy_libary   \, w$ J9 E5 `/ {! z
  39. 积极= 1
    1 E- c/ U& Z; j# q2 N' G4 J
  40. ---削减这里--- % M  E1 h- Z) j5 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 X* h. V4 ]$ v' t
  42. ---例如--- 6 H4 E. h" c6 m' ]6 ?' D
  43. [ dbexpress ] + b1 w7 Y+ a0 r3 c& C
  44. sqldir = mysql_sql
    4 C3 z7 w6 M/ W1 i5 l2 k; B" V; j5 P
  45. drivername = MySQL中' o7 t- a2 V: ^
  46. 数据库=测试6 S' o' \% z' I( C6 U; a5 F2 K
  47. 主机=本地主机
    2 G- p, l2 l9 `- C5 u. i9 q& U
  48. user_name = testuser
    % b: W4 ?1 Y7 t3 m
  49. 密码= my_password   y  @9 _( y% C' b/ z% p! D! c
  50. getdriverfunc = getsqldrivermysql 9 @9 Z6 `* W# e0 z2 G' n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % }) m6 K: H  J' z
  52. libraryname =. / libsqlmy.so
    # y. X6 E( [2 ?6 p. k. u( W3 p
  53. 积极= 1
    4 r* D% I8 ]+ ^' G
  54. ---例如---
    ! g3 |; o" \; B9 t
  55. 0 K6 i3 [$ I1 |1 n1 n4 O- ?6 b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 t4 ~4 u" Y7 U! J, Y& F" }
  57. ---例如---
    2 a  _/ \: m+ [& I9 s2 o
  58. [ dbexpress ] 5 s4 z- B- K2 [  S' I5 P
  59. sqldir = mysql_sql 4 w# q# v; y, J, W
  60. drivername = MySQL中! G+ f6 K) {% i* z) [2 L- ~1 U
  61. 数据库=测试  U0 e- }' D: H+ X+ ]
  62. 主机= 127.0.0.1
    ; q( n4 o6 D1 k, _
  63. user_name = testuser * L& I, h  f9 n# o4 w* Z3 o
  64. 密码= my_password
    0 b  d' v1 N+ g; y6 e; W
  65. getdriverfunc = getsqldrivermysql 9 G4 U, z8 q# I$ A2 {0 [8 W
  66. vendorlib = libmysql.dll在( p9 t( g- r! N5 T' i! L% c
  67. libraryname = dbexpmysql.dll 7 A* }6 A5 D- I8 c
  68. 积极= 1
    % C: e# R* ]3 T0 @; y3 Z$ ~& a5 x
  69. ---例如---- ! \. O7 s& w, U8 }  Z' @) m
  70. -写在0 2.03.04由p wk.linuxfan
    8 _. r* W$ w) z$ q; e
复制代码
发表于 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
" ]5 c7 a1 t7 v& D( P& X1 i: f6 i5 y( x
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-25 21:00 , Processed in 0.105125 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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