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

2616 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& I" v: T& }6 x+ `, n+ O' A/ |
. Z# Y$ z* U; i
  1. . ]) n. J9 Y5 q5 M. J& N8 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + A  p' i9 @- R  V6 o
  3. $ M9 Z% t& s! G0 I% g3 B
  4. ### What we need ###2 F; B$ u/ e9 `* }% g7 ~4 E+ e5 V
  5. Naturally, we will need a MySQL server to store the data for us, this document + V. d. I5 \' I! r% D
  6. will not explain how this can be done - there are documents out there for the
    9 e' N/ l0 z$ J$ w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % d  G$ j& e! a& Y, ?6 W- D! w
  8. and a user account (username + password) that has the permissions to do stuff- ]6 K0 O# |; ^) Y. Y8 t% v
  9. with the database. Additionally, you will need a vendor library installed on the
    " j4 U' i5 N' D3 h
  10. local machine, this came with my MySQL install.
    # I$ I+ y8 v/ o# L% V" Z" M
  11. These instructions will not tell you how you might transfer your data from the
      s+ F$ ?3 z# D/ K; Y* Z: f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 r: y; [- w. ~7 f* B$ p
  13. database.
    5 D' V% P$ {# o) Z; |7 t
  14. Some users have reported ways to import a SQLite database into MySQL, but at, v5 }1 E$ C+ ^; A
  15. the time of writing, there are still too many issues - check the current status; i5 c1 F& S1 v4 F6 p& c
  16. in the TeamSpeak forums if you are interested.
    . J7 ?2 c7 u' O" I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 s, `6 A' s1 f8 J! G* C
  18. Borland was used. This driver can only interface with the client library that . C5 Q  y9 ^4 K3 j  ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) j( n9 K7 ]+ `
  20. client library - basically all you have to do is to use a 3.x client library as * K0 }  _4 M  K* `5 P! Q7 J$ ]
  21. "VendorLib" and a 4.x database to connect to.! \, {: h2 ^* U" `# k# i
  22. If you need more info about dbExpress, you can contact Borland.
    $ |9 C4 N+ b, q) k! s7 K

  23. 2 D$ W3 F5 o+ \% h) l
  24. ### Doing the work ###
    $ Y/ t8 o! @+ {2 H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, K. d4 [$ ~- A) v+ g: A  r% h+ K
  26. the perquisites right, just open your server.ini file, and add this section at
    8 O' l) a% [& k7 L  A2 E/ y* N' s- z8 {
  27. the end:
    . v1 P3 t$ p2 d+ l6 V% M" L' @# v
  28. ---cut here---
    7 S( S: O1 U" ]1 @0 t
  29. [DBEXPRESS]
    ! W( Q3 r( C* ^+ j
  30. sqldir=mysql_sql
    : f1 g" S3 |8 H$ A# o; z
  31. Drivername=mysql. |& G; a. z! \! \$ \
  32. Database=Your_Database_Name_Here7 j8 f6 j3 X+ ^) Q- Z1 i
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; {- d  B8 E8 O- i  E; @
  34. User_name=User_name_on_the_MySQL-Server. Z; ]8 ]! Q- ]6 ^( l
  35. Password=Password_to_go_with_above_user_name
    + Q0 C, C$ w8 E+ q1 e
  36. GetDriverFunc=getSQLDriverMYSQL
    ' Y) H' x: z) F) G# c. h/ G
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - R0 J( @5 L1 f
  38. LibraryName=path_to_libsqlmy_libary9 G# A( S+ V: h5 K  S( k7 Y- l
  39. Active=1  R, P3 r$ I* Z( j, v+ o
  40. ---cut here---
    $ I4 ]9 t; H% i. V& ~
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # Y. g( r# q$ Q, h* W/ y/ u8 F
  42. ---example---
    " ^9 ?: Y& e+ H  f* B- N9 \3 m3 U
  43. [DBEXPRESS]
    & F% x. G  f/ i8 g# [# O
  44. sqldir=mysql_sql
    4 Z/ Q# m; W9 f) S
  45. Drivername=mysql
      S$ a& \% Q8 F3 {" A
  46. Database=test
    ! n  W# j1 J4 g7 d. {5 M7 |: K  |
  47. Hostname=localhost( {- Z& O1 T: e5 S$ L/ U
  48. User_name=testuser
    . i0 X/ N6 A' b. T. h
  49. Password=my_password6 x: a  l. {8 h: ]
  50. GetDriverFunc=getSQLDriverMYSQL
    5 Y' ^- h. x  [% X1 C1 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " x5 k; H4 v2 p6 Z3 h, {
  52. LibraryName=./libsqlmy.so7 Z5 Q2 \3 e: K8 Z# o; S
  53. Active=1; q4 ]( ?8 O, r
  54. ---example---$ G9 G( P: M. n; a  z& G0 y) [' v% `
  55. + z% z) D+ l/ Z  @: K; c
  56. On a windows box, also running the MySQL server locally, it would be:, p' c& ?8 A: ?7 S
  57. ---example---$ v; O( ?* Q6 n% h$ J1 ~# Q
  58. [DBEXPRESS]
    ! C' ^4 J0 w* t" U) _
  59. sqldir=mysql_sql1 P, H/ b7 k' c% ?9 Y7 J
  60. Drivername=mysql9 o9 i% F' J4 E8 a7 n3 {% _. u
  61. Database=test
    ; h( v3 \3 P3 b$ _6 `, {
  62. Hostname=127.0.0.1) o0 |/ {% G& z, e- x* u
  63. User_name=testuser' B9 q. f: N7 k" e! ?% e
  64. Password=my_password' a0 U2 ]0 `5 ^# C. Q" n
  65. GetDriverFunc=getSQLDriverMYSQL& u3 \4 G( k$ D, ?
  66. VendorLib=libmysql.dll
    ; j' f+ x; Q/ z+ x
  67. LibraryName=dbexpmysql.dll+ e" k( o! c& R8 \5 c, _
  68. Active=1$ f) t; s8 p/ r# q6 K0 [2 ?
  69. ---example----6 B- Z+ D6 R( O7 Z' o9 `1 P
  70. - written 02.03.04 by pwk.linuxfan! d# r; j' S. J: h
  71. # k# H# d/ ?: ]  A1 L2 q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' k5 B' L+ X! R! }! o9 q" J+ C( Q' H

  1. * _, R; X; I5 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % ]% v7 m* o' l/ ]! E

  3. : N, T$ p, O( d
  4. # # #我们所需要# # #
    / c1 K* J8 F4 Z( z) N6 e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " t$ d" ?! J8 N* B( l8 ~
  6. 不会解释如何做到这一点-也有文件存在,为
    % p- u* q7 I. |1 G: P/ B9 V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " T+ t* S9 A  O' M* ?$ C( Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 u; F% A& p! w$ _- W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! Q4 A. K) w) M5 K9 T
  10. 本地机器,这是我的MySQL安装。
    + [) r2 U/ V8 e: s; b0 n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 ^, U% x2 D! m9 t/ a0 z1 ]! H+ }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! \% k& V$ P" l; X
  13. 数据库。
    4 |+ l) X' V" n5 q: \! f8 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 q# p# m/ R" w8 h) K  N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , c+ L) p; O+ G  t% D/ H& w
  16. 在teamspeak论坛,如果你有兴趣。
    " [  Q+ v6 H* `) T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; [7 R$ b' k" g3 c( z7 ]
  18. Borland公司使用。这个司机只能界面与客户端库& T$ \& H9 b* }  e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : h7 U" S1 ^, q0 _( s. E3 X" G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      G1 |" }' Q2 ?' o( T
  21. " vendorlib " ,并解数据库连接。 ! R7 _! i4 I, {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . Q3 P9 y+ p/ w  I
  23. 2 K, W0 I! W# w! j
  24. # # #做好工作# # #
    1 x9 ^. r  `5 w( e$ m5 l/ S/ b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. r9 ^/ z; ^& q) I" c/ _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- j# j6 j' J% j. a, G: D* b% q
  27. 结束:
    $ U( j. T5 Y- Z7 O* H. w/ u9 k
  28. ---削减这里---
    . m0 V/ J# F; f) U' r+ F+ n* g
  29. [ dbexpress ]
    6 V, J& V; ]( l9 Q% v' Y7 l; G: r
  30. sqldir = mysql_sql $ Z% ], }! u# d3 D
  31. drivername = MySQL中
    ; W/ E7 a, V. Q1 M8 O. w- f
  32. 数据库= your_database_name_here
    6 b. w, w2 i! R, y
  33. 主机= the_pc_the_mysql - server_is_on ( v- C  a8 Z! n& F
  34. user_name = user_name_on_the_mysql服务器3 w5 B- d& g/ ?
  35. 密码= password_to_go_with_above_user_name
    4 i% G" R( o  ]; d4 L" s
  36. getdriverfunc = getsqldrivermysql
    ) c" I! N6 Y: g* o0 m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 x; ^* a& w4 V" X$ a' A$ ?/ U
  38. libraryname = path_to_libsqlmy_libary
    . \0 c: X" I2 J2 T, I
  39. 积极= 1
    ' [3 m' r$ p% ~! @8 V$ P+ I; ^: ]
  40. ---削减这里---
    $ c0 b2 K4 j, A0 m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; y3 {. W5 L  ]" z
  42. ---例如--- , `  w1 b) l3 j& J* a, R! _
  43. [ dbexpress ] ( P1 L5 i" e, U9 }
  44. sqldir = mysql_sql # W* I1 Z- ]: i
  45. drivername = MySQL中
    & l6 x: A2 r4 P. N5 I4 ]9 {
  46. 数据库=测试7 T, o7 i6 z8 ~# T  s: Y+ C4 ^
  47. 主机=本地主机. n3 k$ Y, @  E3 l
  48. user_name = testuser
    $ `0 T, B# w( P, Q$ m
  49. 密码= my_password
    1 x! S9 h+ M! Z3 r( Z  u  I: J
  50. getdriverfunc = getsqldrivermysql , |5 W. _  x( ?6 ~, V) o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 K3 ]' w3 b7 B/ T
  52. libraryname =. / libsqlmy.so
    4 \6 k" H9 Z+ c1 [4 `
  53. 积极= 1 # B; P3 Z, O/ u1 P) n
  54. ---例如--- ; v$ |8 j0 [6 Y2 p& V

  55. ! \7 [/ L& L$ ?8 G0 q% o* j( ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 L6 r9 y" C9 g% V7 k6 I: ^4 v
  57. ---例如---
    # r# ]& E% m- t- c' C2 I9 h" Y8 h4 I
  58. [ dbexpress ] / ^) Z  v& q) r: h
  59. sqldir = mysql_sql
    9 O. _5 B3 |/ Z. C* q
  60. drivername = MySQL中
    9 s. P8 F7 M) a- z% p3 l! `
  61. 数据库=测试2 d# h  s2 o  d% g; r
  62. 主机= 127.0.0.1 8 E+ X7 b9 _+ W% V0 c( C. ~) I
  63. user_name = testuser
    $ P* i2 N8 k, m/ j/ \$ F
  64. 密码= my_password
    ; Y1 B) u3 R) Y$ r" Y. b- s3 S
  65. getdriverfunc = getsqldrivermysql
    2 Q; U# h0 m( o/ @9 O& {0 `- C
  66. vendorlib = libmysql.dll在
    $ W" Z& L9 D8 X  J7 t1 X9 s; ?
  67. libraryname = dbexpmysql.dll
    % A3 t3 T6 F7 B" ~
  68. 积极= 1 3 z6 K. [5 ^+ t6 L
  69. ---例如---- 1 Z  ?7 d: E" b* A) H
  70. -写在0 2.03.04由p wk.linuxfan
    # ^/ r1 n! q' t0 F/ U
复制代码
发表于 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
3 ^# V. B& u- L: _8 s; }# x0 Y, ?: l" G) V0 Q
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-13 03:46 , Processed in 0.099491 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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