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

3169 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 L5 X, S9 a8 r  V* Y' j% M0 E: C. U' K  T- _/ G* l$ T

  1. ( k# Q% t% w' ~) R% x) }" [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### \" x, r! s% N, D  E# B) H

  3. ; ~/ g2 R5 K' V$ f: {4 z( R6 N) A2 R
  4. ### What we need ###" F; t5 Y" A" D/ h5 v; ~# S# U( G' C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 S  L1 j" a+ O: n+ {5 M+ e
  6. will not explain how this can be done - there are documents out there for the 6 \  H8 U# `7 A7 h! J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 d8 g& }) N6 G- q; {* n
  8. and a user account (username + password) that has the permissions to do stuff
    ' Y. s6 d9 ]$ }$ J
  9. with the database. Additionally, you will need a vendor library installed on the
    % c$ `8 }3 s5 X) q3 t% c9 C
  10. local machine, this came with my MySQL install.
    ( S: x- J- k' E( ~% o: s0 ^+ p
  11. These instructions will not tell you how you might transfer your data from the
    ( k3 ~- ?. d6 l; r& e: T) Q( n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . m/ T# F9 Z$ g/ Y2 `" I2 n* ]
  13. database.& }. Z. }$ f& l* ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 ?( D  l6 `/ J( l7 [( g
  15. the time of writing, there are still too many issues - check the current status
    ' }' g9 V1 A; J! n; p
  16. in the TeamSpeak forums if you are interested.
    8 r) W2 L( r4 E- H9 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . H, q% P* \' J) n" h
  18. Borland was used. This driver can only interface with the client library that . ]% c, ?* I( Q* v) s; i( A+ B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 |% h' x+ q/ J
  20. client library - basically all you have to do is to use a 3.x client library as $ ^# x/ D' l5 c
  21. "VendorLib" and a 4.x database to connect to.. t4 n1 V, s8 V4 V
  22. If you need more info about dbExpress, you can contact Borland.
    $ ?, ^- h, u! a% c: x

  23. 5 [) s9 N8 G9 ^, E3 ]
  24. ### Doing the work ###& x' h" T2 r* r& a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( c$ f9 }. F/ \1 U
  26. the perquisites right, just open your server.ini file, and add this section at
    # N7 a% v+ z% m/ I
  27. the end:. p# |7 z" E7 M2 W
  28. ---cut here---1 P- h9 X0 B# g8 u1 N+ Y6 N  t
  29. [DBEXPRESS]
    0 ?/ d; B* I- D2 u  _
  30. sqldir=mysql_sql
    " Z: E1 j$ B. c% n1 y3 K( n
  31. Drivername=mysql* b/ w( r, \! O2 W% k
  32. Database=Your_Database_Name_Here7 p1 W1 ^" \# ^/ ^5 H% ~4 L
  33. Hostname=The_PC_the_MySQL-Server_is_on2 e9 `3 [! K; N8 N
  34. User_name=User_name_on_the_MySQL-Server+ }/ S0 |/ n0 E* `% e0 n9 u, m
  35. Password=Password_to_go_with_above_user_name7 R8 u4 n4 b$ B. N
  36. GetDriverFunc=getSQLDriverMYSQL/ ~" `" O* n+ y7 M1 u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- T7 d: E9 J" e
  38. LibraryName=path_to_libsqlmy_libary
    / H" W" q& u! C4 K* [1 `& W0 ~* X
  39. Active=11 o/ o: k# M+ E
  40. ---cut here---1 g9 ^! @( Y% Z1 l: l3 x/ O7 i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * V- B; V; O) ^' L. x/ c
  42. ---example---
    / Y3 i5 l4 t( @, A" D
  43. [DBEXPRESS]) z% X$ o( M9 z
  44. sqldir=mysql_sql, K# E% }0 d6 p+ n8 ~3 [; W: k9 n
  45. Drivername=mysql7 N9 i3 Q2 _* B" o8 ^" D/ S
  46. Database=test# |. q6 [8 O- ~1 B# s$ \8 }5 }
  47. Hostname=localhost
    # k1 v% n' r# t& r, ~. a" E/ x8 s# m
  48. User_name=testuser  K1 i& R" H9 m# l# I
  49. Password=my_password6 Y/ |2 X( e1 O: z& d' z* n& A
  50. GetDriverFunc=getSQLDriverMYSQL- D4 b  t# K& m' J5 U" T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 u9 _/ D. v( m5 ?; `! j0 w. l  ^( A0 J
  52. LibraryName=./libsqlmy.so. b. Y2 S8 N+ g/ A  A4 b' M. L$ h
  53. Active=1
    ; ^1 y9 J0 D8 e0 J, i* \7 U
  54. ---example---0 }, @3 e4 g( J2 ~4 d5 M

  55. 2 i4 ]: b6 g9 |7 R7 Z
  56. On a windows box, also running the MySQL server locally, it would be:
    ' S, S( m3 ?" g) r
  57. ---example---5 m9 l6 k6 j5 Z3 R- y. J: V
  58. [DBEXPRESS]
    # F  S5 ~2 H( Y/ N8 y1 [8 d
  59. sqldir=mysql_sql3 c* a6 P: A/ |
  60. Drivername=mysql' O- a% \5 Z% [9 K  }9 M" Y" Y. S
  61. Database=test3 I$ \6 D+ b; R1 }( U- }
  62. Hostname=127.0.0.1
    , c5 G& U0 u$ o. b, h2 r4 }4 R
  63. User_name=testuser' @$ E, D$ t. ^2 a  e% j; d
  64. Password=my_password6 O/ q1 |9 B/ \7 H: D
  65. GetDriverFunc=getSQLDriverMYSQL
    1 B  G. C3 O  I: T: H6 G, x
  66. VendorLib=libmysql.dll
      g& N" F8 o; g9 ^  [
  67. LibraryName=dbexpmysql.dll, y% x. f- G# c- q
  68. Active=1
    4 V9 @+ ]0 ?6 \0 M, d
  69. ---example----( g# D6 K4 G' d
  70. - written 02.03.04 by pwk.linuxfan+ Z6 k" S3 K3 i  R3 [5 n6 f: W, B2 b
  71. 2 ^6 _. P4 H/ h0 X+ ?: }2 r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, Z3 v% A3 `- `: M0 |8 S1 S
  1. - K7 K6 X! ?4 n4 u/ s4 [, g: i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : h% n  t3 b; k/ ~9 [
  3. 2 s. |1 z' m# [$ t; ~3 e
  4. # # #我们所需要# # #
    7 a4 z' q' V' C, B8 M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% l3 w0 g! ^# _1 {4 c
  6. 不会解释如何做到这一点-也有文件存在,为
      a) E) O: B) J. K
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    4 n7 k/ X( y7 G/ f( q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * \7 S; ?4 M$ D& N! {2 u" d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 O0 h% W* j4 t- D5 h
  10. 本地机器,这是我的MySQL安装。 5 V6 }' l" p3 c: R4 n+ a8 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 y' T: W! x$ `) I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . Q+ W9 F" f$ W" E/ p- P
  13. 数据库。
    $ b) f# r5 Y3 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ v0 @1 {& \3 V) J& D' H
  15. 编写本报告的时候,仍然有太多的问题-检查现状' B) B" E, _4 |
  16. 在teamspeak论坛,如果你有兴趣。 4 M# ]1 `$ c0 O& Y5 f3 Q* A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - J0 e% R. w9 n  |1 R8 p0 ~: L. ^
  18. Borland公司使用。这个司机只能界面与客户端库
    " W& D5 m* u0 m$ z: _6 _' z5 ?/ q6 c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( D' \! s8 R5 c1 [4 X1 S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 y4 H( h' ]$ K* c8 ~( ?
  21. " vendorlib " ,并解数据库连接。
    , b9 u0 H1 ?+ E$ i3 r  J* w* l4 R( r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 [' L; N7 m: m9 c: w1 r% x
  23. , M( w4 v! K* ~
  24. # # #做好工作# # #
    ) x0 `& R0 ]/ P0 ^6 L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      ^( Z4 W, Y3 u6 Y' n% \& r9 O; f) Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    6 N* \4 D6 o; \1 {! W8 d
  27. 结束: 5 ]1 p: m: Y9 d% z# S! ^% Q( j
  28. ---削减这里---
    9 K7 F# R7 {8 I6 y% x- W6 \
  29. [ dbexpress ] ) a. [8 w0 L" V2 ^$ z
  30. sqldir = mysql_sql % Q+ Y* x( u4 m
  31. drivername = MySQL中
    ) d$ @% d4 M: e
  32. 数据库= your_database_name_here % u( |0 j1 s" t! q9 U
  33. 主机= the_pc_the_mysql - server_is_on : w: s( G! g2 N/ }, U) |, F, V
  34. user_name = user_name_on_the_mysql服务器
    : I. q! f8 e1 }; y
  35. 密码= password_to_go_with_above_user_name
    1 C/ p% ]4 {$ i% t
  36. getdriverfunc = getsqldrivermysql
    5 z* y0 Q+ \; E! W! g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib % e" S2 V8 X* w/ V# J: y1 K
  38. libraryname = path_to_libsqlmy_libary
    7 @7 `, P7 g1 m/ L5 F! s
  39. 积极= 1
    % @6 a: \0 X  m+ m
  40. ---削减这里---   b& V6 b/ Y5 ^4 }1 p6 F6 z% H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( y3 ^& ]3 s8 ?  Z; E
  42. ---例如---
    . U# s4 D' U4 b  R$ f( k  N& J) `
  43. [ dbexpress ] ) S: B% j8 e8 f. A4 ?
  44. sqldir = mysql_sql 1 c6 T" U2 X4 Y
  45. drivername = MySQL中
    7 D9 J( o+ j' Z! P. {9 r
  46. 数据库=测试: w/ Z* G. c! Q0 H7 L$ u9 p
  47. 主机=本地主机* y. `& z7 D- [
  48. user_name = testuser : i; {% [5 X/ n5 p" ?
  49. 密码= my_password
      p0 q, }& e! S; I" Z. X& f9 Q  s- d5 J
  50. getdriverfunc = getsqldrivermysql + h. S3 e. P% y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( m0 U. `! a+ `; K
  52. libraryname =. / libsqlmy.so 5 R/ R2 D# ~6 p+ \6 _5 C
  53. 积极= 1
    6 p2 l& v! P4 q- L
  54. ---例如--- % [0 i; V% N; f6 Y& ^
  55. * U) |$ q) s3 W$ r) _9 k, q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 H& C+ l* V, ]. e+ E, a1 D: q) l! i7 ~
  57. ---例如--- 8 k# ^$ W5 g5 K; ^: i- m" n* ^. E
  58. [ dbexpress ]
    3 R) l1 d1 X3 }0 s
  59. sqldir = mysql_sql   Z4 M; Z: z- o+ B
  60. drivername = MySQL中
    % H# g& o. c) z  ]  q8 g4 o& \# k
  61. 数据库=测试4 \) v0 L* t3 l( e) N
  62. 主机= 127.0.0.1 : u/ n* E& C! g- H
  63. user_name = testuser   v' B# [6 F6 _/ ?$ c) h
  64. 密码= my_password
    , ?7 h8 J9 h0 G- k3 L) H- p
  65. getdriverfunc = getsqldrivermysql
    , K% |' `1 I# N/ a$ {
  66. vendorlib = libmysql.dll在  }4 H+ s8 U$ e, |6 S
  67. libraryname = dbexpmysql.dll $ @, B; d( \: L) z
  68. 积极= 1 9 N- K! }1 |. H! ~% q/ Y9 m
  69. ---例如----
    ) t( b8 S; K# ^* R  P4 S& U
  70. -写在0 2.03.04由p wk.linuxfan
    0 V% E( w5 j" @$ c- _7 K! l! l
复制代码
发表于 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  p! D+ G) F  \3 y; ~4 m1 O) u

* Z4 D- w: X+ Z& p1 u8 p1 jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-16 04:54 , Processed in 0.107959 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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