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

3381 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; C; X  q$ T2 \: ]: A8 K1 m! H) e2 i2 l

  1. ! L+ H2 d  r0 f5 }# v  x% M. u, y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 V8 q- U0 r  Z8 y% b

  3. 6 I0 T; |# V3 T$ R: I" u
  4. ### What we need ###; q, B5 n" g/ r4 q2 c
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + y1 z0 A/ f. c2 J7 P* K7 b. `
  6. will not explain how this can be done - there are documents out there for the
    2 r- j5 I! W2 B  K+ |+ D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . ?* V& D& u. ]; e: s- q  b
  8. and a user account (username + password) that has the permissions to do stuff
    . J  p* T3 O, J% @! L
  9. with the database. Additionally, you will need a vendor library installed on the
    - O" ]" `, @& u
  10. local machine, this came with my MySQL install.' m0 b. F7 v3 A! e0 h2 T
  11. These instructions will not tell you how you might transfer your data from the
    : S, k( P* u) t: W& h0 D9 N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 M' a8 G) Y& s% A4 w& T" s
  13. database.
    7 _' I9 y  B1 d, p
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 w2 Q2 x8 F, d, A6 a. \( w; m
  15. the time of writing, there are still too many issues - check the current status  k# D! P! J  f3 F. J+ [8 W3 M- f# b
  16. in the TeamSpeak forums if you are interested.  W/ a; O- ]" r* z, d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % L  ~" {0 ^* N& T4 x
  18. Borland was used. This driver can only interface with the client library that
      Z( b2 @! y9 d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( {3 g7 k5 w. @0 W( @
  20. client library - basically all you have to do is to use a 3.x client library as
    : @5 [- }  Q% I" t
  21. "VendorLib" and a 4.x database to connect to.! z6 B! \4 A) n" Z  e: A& T
  22. If you need more info about dbExpress, you can contact Borland.% h4 [2 `6 d/ e; U; h( B: x
  23. & q; P' ?7 ?5 A1 D# D: k
  24. ### Doing the work ###& U% Q9 c' q& R, B+ k5 \' |# f% o' D+ j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ I7 w  {, s8 _$ ?- W
  26. the perquisites right, just open your server.ini file, and add this section at
    ) L# W5 O  g0 u8 ~2 P" c
  27. the end:; {' L0 x4 f/ G" q- ^8 S6 G
  28. ---cut here---1 l" p3 L! ^0 }1 |. }
  29. [DBEXPRESS]" Q8 S5 |3 x4 E) s: P
  30. sqldir=mysql_sql
    3 r% L% n6 s- E/ d, _, j  [
  31. Drivername=mysql
    3 Q7 W2 A0 j" E5 f6 b$ f3 e$ L5 w
  32. Database=Your_Database_Name_Here
    ; L4 X1 [4 f( q9 k% c7 u- V/ f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 M& Z0 U5 P( `2 W* v1 m
  34. User_name=User_name_on_the_MySQL-Server0 \& s9 V% o4 u, A6 C: `% U5 x7 {
  35. Password=Password_to_go_with_above_user_name
    : e- T) n+ X- d3 ?  C1 Y" U) L
  36. GetDriverFunc=getSQLDriverMYSQL
    ; O, ~7 i1 \- J$ D% W) h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) Q# T. F$ R( |
  38. LibraryName=path_to_libsqlmy_libary
    0 }6 ]/ U# M, b7 T5 K. }
  39. Active=17 B  w. n2 q5 c3 A
  40. ---cut here---
    # E' D8 k; y4 o& C/ g- l
  41. In my environment (a linux box with a MySQL server running locally) I have:: w/ H3 Y+ C! C- v; e
  42. ---example---
    $ I0 F/ @% t" H1 `2 f" M( j6 |
  43. [DBEXPRESS]2 I+ D+ _! X6 Y" \, ~* R
  44. sqldir=mysql_sql
      i2 B2 Q8 y3 l/ B
  45. Drivername=mysql
      V% S8 c: Z% j/ `
  46. Database=test, z; Z+ s" ~. g* H
  47. Hostname=localhost$ m* q" g/ x! H' u: J: I( ^/ D2 a
  48. User_name=testuser+ U% y) c$ r; }8 C# N" U  N
  49. Password=my_password
    + J. J% l9 h6 S/ J6 m
  50. GetDriverFunc=getSQLDriverMYSQL
    2 E; E) M- Q9 b( Q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, m2 _1 g* ^5 @5 j" ]9 }! w5 u
  52. LibraryName=./libsqlmy.so* x8 A6 P" f8 d7 _
  53. Active=1
    8 v3 _/ M! s% y9 I$ S- s* f/ J
  54. ---example---2 x+ W9 G# C& B) X0 N) [2 Y

  55. " P% b/ B$ N; b: D
  56. On a windows box, also running the MySQL server locally, it would be:
    ( W( J0 j  p' d/ {/ m
  57. ---example---
    $ x- }7 k5 D+ A4 w. Q/ U
  58. [DBEXPRESS]
    6 c2 e5 P" x& S5 J2 X4 i6 ?  v
  59. sqldir=mysql_sql9 P. [/ B" Z5 s6 S
  60. Drivername=mysql
      E: _+ i: Q. N! J% o5 ?
  61. Database=test" D& R, ~% ~1 J( G- ?( E
  62. Hostname=127.0.0.1# ]" N8 Q; ]# n( I7 q" y
  63. User_name=testuser
    $ V: p9 s- u3 ~
  64. Password=my_password
    * y/ g% K3 H' ~' `" ^
  65. GetDriverFunc=getSQLDriverMYSQL
      e5 p( @0 d4 }/ l5 n1 m$ n
  66. VendorLib=libmysql.dll
    7 c# j9 p% @& `. p  J
  67. LibraryName=dbexpmysql.dll' h3 A: g+ ]" o4 D
  68. Active=1
    ( Q6 Z) s3 i1 k. h2 I
  69. ---example----
    " k: r0 @# x7 C  h- M$ @+ R
  70. - written 02.03.04 by pwk.linuxfan( w/ f' [9 \! Z
  71. " g  W- e3 S  }$ O' F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; p1 v) z+ I1 s$ K

  1.   m% A" h1 _1 b5 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . W4 B9 }2 |8 u! L0 @

  3. / \; s% j# i7 Z/ a" i& I
  4. # # #我们所需要# # #
    ! T4 o) C; H: V3 ?) j) n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 d* }# {/ p$ s3 \) ]* k  ^
  6. 不会解释如何做到这一点-也有文件存在,为
    7 o* n7 `4 Q+ L2 h2 i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; C: r5 R% o* A5 d  I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * H! p, u9 a9 M5 M$ d" _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  @/ _/ E6 Y! f) K. y) P
  10. 本地机器,这是我的MySQL安装。
    / \& P: j) j' k0 X$ t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; r! e  ~1 l% z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / K1 X3 D* r& `3 e, s
  13. 数据库。
    5 {& p7 a5 Q9 d$ v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) D( u1 y" X* A) s$ G
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 I$ ~; o- g) I2 o# h) ?2 |
  16. 在teamspeak论坛,如果你有兴趣。 8 M3 |+ }$ b4 w! J& D$ [& f5 b
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 N2 U: S$ x- g2 e
  18. Borland公司使用。这个司机只能界面与客户端库6 o7 ?& v0 T# ^3 ^: i& `# J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      [" h! k" ]  A1 a5 Q! n! L. c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 r& F+ W4 Z8 j3 t8 `1 i6 t# M# ]' s
  21. " vendorlib " ,并解数据库连接。 ) d& N2 G& |1 Q# w  [# |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % K  K* A' B% c8 F5 O
  23. 5 K7 \& M  B2 N' `
  24. # # #做好工作# # # ! a: h1 }$ l/ {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! Q- t" g% D% L- X' b- }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : b0 m9 ^) K* _+ l
  27. 结束:
    $ \" [6 Q, G+ F/ O5 }* m/ m2 C3 }
  28. ---削减这里---
    0 v' g8 R; J. s6 h5 U3 O
  29. [ dbexpress ]
    ! o  e/ w6 N& X# V8 i. `
  30. sqldir = mysql_sql $ q8 x6 n6 W+ u) |! u
  31. drivername = MySQL中
    & B1 K& G- E/ s$ I9 L7 |* {0 |) _
  32. 数据库= your_database_name_here
    0 d6 r) o( ]  T5 `8 ?$ }$ F
  33. 主机= the_pc_the_mysql - server_is_on ; Q$ J" ]% r, g8 [/ s! b1 N% @: v8 d
  34. user_name = user_name_on_the_mysql服务器
      R3 F( h& G- G/ Q
  35. 密码= password_to_go_with_above_user_name
    # G0 X% t: F3 I+ A! P! X% D* R( p$ K
  36. getdriverfunc = getsqldrivermysql / }  ^1 `: }  {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) e+ E0 X7 m0 x1 ^, A% M: X1 U
  38. libraryname = path_to_libsqlmy_libary : u4 q/ F" ^8 p5 H& }" i6 n/ p( J/ l
  39. 积极= 1
    / `2 S2 h( t) S7 J* A
  40. ---削减这里---
    9 s5 E& ~/ k8 r0 o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ C8 P' f$ u5 T4 l9 a
  42. ---例如--- 6 x+ b) m& _+ A' G0 e4 a
  43. [ dbexpress ] 2 B/ s- C- l( r8 |3 p
  44. sqldir = mysql_sql ! F8 H* _4 B9 g4 S  i
  45. drivername = MySQL中' W7 A% p3 G: \
  46. 数据库=测试
    ) z4 o( r8 f7 [
  47. 主机=本地主机
    $ P  `7 a" B% J9 U* j  J9 t
  48. user_name = testuser
    ' l9 P- V; j# k4 M+ D7 \3 V2 x9 S5 W
  49. 密码= my_password
    ! f! o1 `/ M2 h, @$ e" M2 g3 O
  50. getdriverfunc = getsqldrivermysql
    ! ~9 O% _7 t* |9 M5 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 w( f, X% t( e% O( r! s+ s
  52. libraryname =. / libsqlmy.so   [( g: h! J) Q- l- F
  53. 积极= 1 2 ~: o( A4 i3 s. C1 q3 C% l. j! `
  54. ---例如--- + S' K0 @" N: A/ c
  55. 2 |) @  o: `7 P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 g3 G% k# ]; C7 B3 V4 S4 A) r
  57. ---例如---
    & v# U; X' B, P9 ^$ C
  58. [ dbexpress ] / p; I. i; q  N: j
  59. sqldir = mysql_sql
    $ D# i1 W' y# k2 h  O3 o, v8 S
  60. drivername = MySQL中
      f, V9 J) ^7 f: e
  61. 数据库=测试1 p. t9 k1 p$ ^8 |$ C4 f6 p
  62. 主机= 127.0.0.1 ! t, s* `6 F# r0 ?- V. i8 |
  63. user_name = testuser
    9 t0 w( k6 G2 {4 U  M2 z( ^; m' W' I
  64. 密码= my_password * R$ r) x8 @# `) s0 ]+ @7 x( w1 t
  65. getdriverfunc = getsqldrivermysql 0 n3 z) F( H/ z5 e+ e& f
  66. vendorlib = libmysql.dll在
    4 o4 s. W+ I/ Q) v. H) h$ U* q- ^
  67. libraryname = dbexpmysql.dll
    ! h6 B0 r  V' I
  68. 积极= 1 * N3 }5 z( L% p* c
  69. ---例如----
    1 s5 `( s' Y: N7 D% B" U
  70. -写在0 2.03.04由p wk.linuxfan
    6 k. I( b& y5 Y" Q  S& k
复制代码
发表于 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) a9 ?# M! n) b  K

, n1 ^  V# d; J; i: I- I2 Nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-23 23:38 , Processed in 0.111093 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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