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

3061 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; {1 Y+ y9 z' u2 I5 x8 Y
2 I& Y/ U8 O$ x% m
  1. : ?6 U: n: q* [5 R* i/ g: N0 q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, \* F5 w, p0 x" s" e

  3. 0 v8 O3 u3 V: C
  4. ### What we need ###
    # E7 r  v, _6 E- Q9 R5 s! Q
  5. Naturally, we will need a MySQL server to store the data for us, this document + W2 @! T% \8 k3 K  B' z4 T% n6 B
  6. will not explain how this can be done - there are documents out there for the
    ) x6 x2 C, }( s8 n+ [- p1 w( J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + C/ d' F: b# O
  8. and a user account (username + password) that has the permissions to do stuff7 Y. d1 \" ~  |) J+ ^
  9. with the database. Additionally, you will need a vendor library installed on the
    ' [( {; \% p! z: z" l
  10. local machine, this came with my MySQL install.
    0 k/ U6 m" h# r( r
  11. These instructions will not tell you how you might transfer your data from the
    1 S, `! s' V  \: z% t4 }8 a" W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% o6 @: d3 H+ o2 |: R( D8 p! @
  13. database.
    2 U( @4 O( w6 ?
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 |+ S  p3 @6 Q5 _7 X
  15. the time of writing, there are still too many issues - check the current status
    ' _% z! R$ V* g+ T
  16. in the TeamSpeak forums if you are interested.
    + A. n# n/ n! D. j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; H, Q# g* u- [/ y, [2 h
  18. Borland was used. This driver can only interface with the client library that ' {/ ~6 o& R/ j( @) l9 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 [/ T5 W# V, Q6 R
  20. client library - basically all you have to do is to use a 3.x client library as
      x+ m+ p$ i$ H9 ^7 x1 W% c
  21. "VendorLib" and a 4.x database to connect to.* c  ]$ z% w  A4 h  t- l8 b: m) R
  22. If you need more info about dbExpress, you can contact Borland.& N- E, U( L3 Q  l3 ?1 J7 f
  23. 1 B! E, K# }0 s- Y! P
  24. ### Doing the work ###
    - r. f; O5 X& ]8 |4 K' u; f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  X: j2 E: s) o4 n' Z8 `! o
  26. the perquisites right, just open your server.ini file, and add this section at7 Y& E% z& C" ~, m+ N. V
  27. the end:
    0 Y3 @5 j4 m# K' T! S
  28. ---cut here---- I  M9 d% _1 n3 \- s3 @5 z
  29. [DBEXPRESS]
    * j& t6 R* D4 g% c
  30. sqldir=mysql_sql9 o/ L9 W, g. Z
  31. Drivername=mysql
    * k" |- J; E. l
  32. Database=Your_Database_Name_Here
    1 Z/ z9 ?3 y8 W- y) D  Z
  33. Hostname=The_PC_the_MySQL-Server_is_on5 F# _( A" q: r( f+ V3 I7 s9 f' H7 L
  34. User_name=User_name_on_the_MySQL-Server8 _6 M. l' q5 g. W8 I5 E! Q
  35. Password=Password_to_go_with_above_user_name0 q4 j" \* `1 V6 A, P
  36. GetDriverFunc=getSQLDriverMYSQL
    2 J* D- {1 F' ?: \( n, j% ^/ p5 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, f' s* u0 K, u9 ^
  38. LibraryName=path_to_libsqlmy_libary
      f: {0 K& z4 i5 V# g: K7 L
  39. Active=1: ?+ _+ @7 Q, `  Y$ f9 a2 U# ?
  40. ---cut here---( l4 m0 j" t. N$ S. M" N
  41. In my environment (a linux box with a MySQL server running locally) I have:- O3 b; \! C4 S
  42. ---example---& k9 ^: b4 z& ]6 `' [
  43. [DBEXPRESS]
    9 S/ ^# z3 j/ ?- Y9 S
  44. sqldir=mysql_sql
    . ~. {* |* Q+ C  h1 q; ^
  45. Drivername=mysql
    & r/ R* a# Q% W  @6 ?# k+ j8 D
  46. Database=test$ u" d& s0 f2 a3 P9 Q0 S. c
  47. Hostname=localhost! v* J; N; `. m; {+ f2 B
  48. User_name=testuser) k3 n- P! q, d6 B
  49. Password=my_password& \4 v8 ]; I2 U& c/ h
  50. GetDriverFunc=getSQLDriverMYSQL- s+ Z/ _0 |# E2 [3 q8 ^5 V1 \+ }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " x4 l# g! ~# O( w: b
  52. LibraryName=./libsqlmy.so
    5 _+ q: E- _2 g0 Y3 q3 c
  53. Active=1% f5 [1 F0 C! s) B4 d8 o- I
  54. ---example---6 [3 c  t$ I. @4 f- o7 s8 L
  55. & u9 b! F5 y! g; u6 G6 j
  56. On a windows box, also running the MySQL server locally, it would be:! G* b4 c. W8 j) [: ^# [
  57. ---example---% T$ Y% Z8 f, K0 |' ]
  58. [DBEXPRESS]
    ( M7 _& G5 l3 |7 E- s
  59. sqldir=mysql_sql6 X6 o5 L9 {3 M7 ?" n. Y
  60. Drivername=mysql7 g) ]0 N1 |$ c* f" y( h' V
  61. Database=test. v, z( y1 ^) E
  62. Hostname=127.0.0.1% J/ N; b9 `/ v" E( e% E6 p- t+ |
  63. User_name=testuser- h% W) a4 N5 u8 O
  64. Password=my_password
    . M; }$ @9 @6 A. [9 p' s
  65. GetDriverFunc=getSQLDriverMYSQL
      [* c! w' k( c5 w4 z
  66. VendorLib=libmysql.dll* a! c0 I5 ]- G( |, I1 w% r
  67. LibraryName=dbexpmysql.dll" V1 i( `! Y$ K
  68. Active=1
    8 c+ o) S+ V5 n) C4 }
  69. ---example----' @" {4 D. ?$ C5 U2 c
  70. - written 02.03.04 by pwk.linuxfan: F* N5 L3 G; ^5 `+ G, B' r4 R) _* `& r
  71. ( K; j; u9 T0 n2 }9 o$ }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ p8 v# i. }6 D4 O
  1. . V2 U9 i5 V: {, k( G( D4 g) I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . Y( m' A- d/ K, C8 b, U

  3. ) \# j* u% Q) M3 T: F8 d! [
  4. # # #我们所需要# # #
    8 @, P1 K& @( ?: \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: b7 L# A6 @* ~) X/ v' a$ n8 h
  6. 不会解释如何做到这一点-也有文件存在,为1 n; Z# M( x- ^! g" |! w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 a$ A# M: U6 p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) V( L) G( ]8 k; q/ F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% G1 b3 t3 H# c8 [, b7 P; d
  10. 本地机器,这是我的MySQL安装。 + e: b( j* s6 j# R, b2 |1 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 a, J5 [+ E5 g9 e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 \. M, l2 P  E7 H" k& c$ x# B- x
  13. 数据库。
    $ V% `* G9 f; X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " C1 _6 N5 i! K! R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 ^6 I+ l, j, m! P) @8 a  ^
  16. 在teamspeak论坛,如果你有兴趣。
    - w$ K& |5 U# Z) L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# Q4 I1 s, ^2 ^
  18. Borland公司使用。这个司机只能界面与客户端库- L; Q. H7 }$ w+ ]+ ~; z% J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 s5 ^% N4 Z! z/ J2 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 F  j, p9 e& w3 [. S6 B
  21. " vendorlib " ,并解数据库连接。 4 ]& x  Q  v" k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 b( G$ U) J9 D7 S' Y8 }
  23. 1 F, D) y) _9 W
  24. # # #做好工作# # #
    1 a3 g' f6 M+ D9 k  y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 d  H, P) g- ]; z9 u" u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - l( I: C+ f+ k0 g3 r
  27. 结束: 6 d5 V5 @, F( a+ U7 h6 R4 s. G( C# p
  28. ---削减这里--- ) N3 Q3 V- L+ Y0 j4 h6 G; \. \
  29. [ dbexpress ] ' z* G9 ^1 Q: y# @' @
  30. sqldir = mysql_sql
    5 n0 f" i+ f' l2 V7 e4 y
  31. drivername = MySQL中
    9 I1 Q5 @1 K* O+ ?
  32. 数据库= your_database_name_here $ _# W; w1 F- I- I  I+ s
  33. 主机= the_pc_the_mysql - server_is_on   u* Q* Y; t* w) Q4 C9 o
  34. user_name = user_name_on_the_mysql服务器1 z7 p& Z. E, a  g' U1 @
  35. 密码= password_to_go_with_above_user_name 7 U9 {* b0 @. a; n4 I
  36. getdriverfunc = getsqldrivermysql 2 S  T1 @' u! v" a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . j& [  _2 R$ Z. K8 x# p
  38. libraryname = path_to_libsqlmy_libary
    1 g: n' Y' _! |- I
  39. 积极= 1
    7 J# k$ \/ l- V( K8 S
  40. ---削减这里---
    - e4 y. q/ n3 Y% g7 ]/ Q( ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 L9 N" z& ~  T+ z" X
  42. ---例如---
    8 k) t1 d( M& H
  43. [ dbexpress ] 6 m  k0 v* @4 U5 r7 J8 v. b. U
  44. sqldir = mysql_sql - n0 q& P' c8 F% `
  45. drivername = MySQL中& G0 U6 m5 ]! X( p/ o( m
  46. 数据库=测试
    5 I% c( ]( _5 G4 K5 R! K
  47. 主机=本地主机% G1 Y6 G! r# F1 ?! E' p
  48. user_name = testuser
    ! O# B9 t- ?7 |2 ~9 M8 y" G
  49. 密码= my_password
    ) z# m7 k8 m! Y) k0 d* F0 e# G
  50. getdriverfunc = getsqldrivermysql
    . T; \; F4 @% {) Z# i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , U0 B8 }8 M' Y2 c
  52. libraryname =. / libsqlmy.so . o$ @+ m* a" \0 m5 B9 L
  53. 积极= 1 * c8 g2 ]1 l, _  @& Q1 |
  54. ---例如--- + a  H" [: y! p7 ?

  55. ; R, A0 [4 `( A) X9 ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ ?# J# A1 y3 R4 F
  57. ---例如---
    - n# W5 |: j5 F5 z! d
  58. [ dbexpress ] & ~3 e3 I( G* d$ t
  59. sqldir = mysql_sql , ^; S' X* `* X$ e3 W) K. w
  60. drivername = MySQL中
    8 _4 e/ r- Z; k6 Z  n7 a
  61. 数据库=测试
    0 v- S: r9 A7 I6 s5 \
  62. 主机= 127.0.0.1
    4 |1 B" u/ A. j4 i' A
  63. user_name = testuser % b* y% P6 Q+ N& @, J
  64. 密码= my_password
    ( R( u0 M2 [+ r( j+ E
  65. getdriverfunc = getsqldrivermysql $ @- M1 L' F; j* C8 l+ i
  66. vendorlib = libmysql.dll在+ o  U% S+ Z/ D  d
  67. libraryname = dbexpmysql.dll , e# s2 [# D7 ^0 b9 R8 k: K" t
  68. 积极= 1 * v6 l5 s  I2 N5 K
  69. ---例如----
    6 V$ t- o. I& \4 m9 U( O6 l
  70. -写在0 2.03.04由p wk.linuxfan  K; c! w# @6 R; \  W/ V
复制代码
发表于 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" y' O+ l; r( l- j

" Y8 e" m! {( nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-23 18:18 , Processed in 0.090675 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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