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

2192 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# h0 G& O- a5 ?" O
( f- R, }9 ]. l- L* U2 y  R4 g4 j
  1. . v: v3 W- ]  I. P" H7 V( V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 [4 M) M  N3 o# @7 P2 }8 W

  3. ! X7 f1 b. X9 l& Y6 V" W* h
  4. ### What we need ###* A% I  }( e$ a: E
  5. Naturally, we will need a MySQL server to store the data for us, this document 4 s. x5 J& A6 o8 K
  6. will not explain how this can be done - there are documents out there for the
    0 g- O7 F" K  Z3 D
  7. interested. The requirements include a (empty) database for TeamSpeak to use* @: b3 Q+ h/ P+ o
  8. and a user account (username + password) that has the permissions to do stuff
    2 C  i  i- B; a  R. |8 Z
  9. with the database. Additionally, you will need a vendor library installed on the& h+ _2 G& c% t: \$ M
  10. local machine, this came with my MySQL install.
    - b: y: q6 H' T' c, Y  V
  11. These instructions will not tell you how you might transfer your data from the) C0 D) q+ O& ^' y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , M- d' c$ Z4 Y; T/ w# K; g8 i! H0 q
  13. database.: s* A7 E% h( B$ k) R5 N
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ }" J) Z3 s3 K" C2 R
  15. the time of writing, there are still too many issues - check the current status1 O1 D9 i9 o, y( a
  16. in the TeamSpeak forums if you are interested.& ]. p1 s" {, K, v1 u, }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 w( ]5 z  J5 S7 i& u5 [
  18. Borland was used. This driver can only interface with the client library that
    / L" ?, W) b' h7 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. ^  _$ J) Z7 c
  20. client library - basically all you have to do is to use a 3.x client library as : I' Y; i( r7 O& i5 l
  21. "VendorLib" and a 4.x database to connect to.8 d0 d/ M( G& P. d
  22. If you need more info about dbExpress, you can contact Borland./ Q7 ^: P, G6 q. l) y% P6 Y

  23. / j, z% y7 l  k( u# p9 T
  24. ### Doing the work ###4 d3 h6 V  l9 p1 V$ B6 C7 T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : l8 R2 |: |8 Z8 D
  26. the perquisites right, just open your server.ini file, and add this section at# u$ s& q+ ^  ~2 ?8 [/ t
  27. the end:- `( m& R; l. J4 F; K
  28. ---cut here---
      m/ L- i3 l$ O9 {
  29. [DBEXPRESS]; V$ }! ?. d9 _6 R4 p
  30. sqldir=mysql_sql. n+ n/ @3 v# z
  31. Drivername=mysql4 v+ \' d1 ?) F
  32. Database=Your_Database_Name_Here
    " K. K: H# X6 I, ?' o% M
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 {, L9 d: [/ z  J1 @+ M
  34. User_name=User_name_on_the_MySQL-Server
    5 B4 H+ ]- t9 i
  35. Password=Password_to_go_with_above_user_name2 j% \: a. B! z" y4 t" b
  36. GetDriverFunc=getSQLDriverMYSQL* k6 Z/ D9 J! ]8 V$ t. s/ U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& n$ z1 I' x; V% l2 [' |
  38. LibraryName=path_to_libsqlmy_libary$ ]; i" _' E. ]0 z, w. X& p- L
  39. Active=1
      K' x6 m0 }; A4 t$ D( p3 i2 K8 ~
  40. ---cut here---+ L0 G8 k1 W" _0 V( }* b+ `
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : [0 h$ n" \4 x. |
  42. ---example---7 a7 M: ?  I  ]/ E- h  O
  43. [DBEXPRESS]( b  |/ b0 Z/ }. d
  44. sqldir=mysql_sql/ {2 N/ C& H7 B
  45. Drivername=mysql( H0 s  N# e7 v2 z
  46. Database=test
    / u4 B+ V1 v/ _( V" J1 E1 s/ f' k
  47. Hostname=localhost( C4 t, R2 a4 {! n& Z* C0 W6 V
  48. User_name=testuser2 o7 f" D1 }0 F" M5 r9 y
  49. Password=my_password* E  {+ C+ T/ c$ i. M! D2 g
  50. GetDriverFunc=getSQLDriverMYSQL. m% K7 T& r7 {9 L& ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- n8 @/ O2 y4 ]) \) J3 d; X  G( I
  52. LibraryName=./libsqlmy.so
    & V+ P6 q% S, K/ J
  53. Active=11 K6 _; d: W: `0 ^1 |
  54. ---example---
    % A' Q# ~) q8 P$ ^+ Z( f# O

  55. 5 w8 R5 `/ G$ g' n0 c0 Z
  56. On a windows box, also running the MySQL server locally, it would be:, v4 z, ^6 }6 d/ ?( E5 T  L
  57. ---example---
    3 ?- Z' M! u8 q, j
  58. [DBEXPRESS]
    * y( l7 ]( i! A3 Y
  59. sqldir=mysql_sql1 {+ Q: r; D) Y5 y# A4 T4 ?
  60. Drivername=mysql- `$ _1 q/ l5 `3 N
  61. Database=test8 h% A, B) Q/ K* u% S" l) [; D
  62. Hostname=127.0.0.1! k4 ]: w% ~7 o: |3 c, Z
  63. User_name=testuser3 {1 e$ O$ w$ k' X
  64. Password=my_password# d1 t& d8 V; c2 s" s5 w% ]
  65. GetDriverFunc=getSQLDriverMYSQL
    6 J0 x' K; X* h! A; Y
  66. VendorLib=libmysql.dll  i4 |% J) U6 q: b
  67. LibraryName=dbexpmysql.dll: ?3 ]( [$ c* p
  68. Active=1
    ! }, D# ]$ q  _! ^* ]; \
  69. ---example----- P# e* n) r" }  N/ `6 Q6 ?
  70. - written 02.03.04 by pwk.linuxfan
    3 s8 x6 N- v/ f
  71. - a) a1 T) ^( V$ P& M* {
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 y4 u" {! F# a; P4 \  r2 o: @

  1. ! n1 y  }* \: S0 h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) Z4 z- {% j7 ^" W% D/ G/ ~' p; ^
  3. . Q; v3 g+ K; l
  4. # # #我们所需要# # # : R5 h2 |  ?# L/ w6 |( \- t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( l: T1 w6 f+ r
  6. 不会解释如何做到这一点-也有文件存在,为# {1 d2 n1 D6 k4 U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . l5 q4 j' B4 ?: r5 K& J4 }* b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 T/ r, w6 \8 O' T; |1 ?' N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; J6 G3 w, y& S7 |
  10. 本地机器,这是我的MySQL安装。
      R  N" f' N" ]( s4 a) b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ s: C- j9 @* d+ ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " T6 T2 T5 _/ o# g1 |$ u
  13. 数据库。
    0 [" ?( q& E/ a# E; ]7 E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, V$ F8 V; c  V. N7 L
  15. 编写本报告的时候,仍然有太多的问题-检查现状( Z. C9 u- g$ X4 X( h* f' L% i! ~
  16. 在teamspeak论坛,如果你有兴趣。
    ; r3 h% I/ p# l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 @9 b1 Q$ f# I, I) \; R
  18. Borland公司使用。这个司机只能界面与客户端库6 E+ G. v2 r, l6 c9 w+ G, E5 k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 x! R# H6 j, m$ [6 C5 z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! r  r, E4 ]: q/ \( r4 }6 X
  21. " vendorlib " ,并解数据库连接。
    # e! N& m; A5 r, l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 s+ B' H! `6 P) K' {/ J

  23. * D; a% V- h- G/ m: O& F
  24. # # #做好工作# # #
    4 c! T& P$ _2 I8 k2 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都7 h9 H' N+ Z  g2 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' J+ c$ m! S, @4 l( S0 z
  27. 结束:
    0 E# e' s5 z" i0 n7 F9 ]2 Q
  28. ---削减这里--- ; L+ w1 @2 f! P0 N# E& W
  29. [ dbexpress ]
    ; _* q$ O( v8 s7 D% ~
  30. sqldir = mysql_sql
    4 u, y* t5 g# ?6 I
  31. drivername = MySQL中
    " Y. a6 N7 c' W9 ?* J6 M& p6 c
  32. 数据库= your_database_name_here 3 O" t# A+ I/ s, {0 S
  33. 主机= the_pc_the_mysql - server_is_on # t- H! B  ]& X# {* M# r7 X4 h4 c
  34. user_name = user_name_on_the_mysql服务器1 z# D8 J9 R( ?! m( U7 `9 ]
  35. 密码= password_to_go_with_above_user_name 7 b3 W' I4 k' x
  36. getdriverfunc = getsqldrivermysql 9 b- V1 j2 B# c( [; r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & S, f) q+ S+ g
  38. libraryname = path_to_libsqlmy_libary 5 H. n" `, J1 N5 y) F, D. o9 u
  39. 积极= 1 0 }/ H/ }9 P1 }* l( a6 S- }8 {
  40. ---削减这里--- 5 E) t& q; X4 Z" G! r0 [$ {( B4 D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) s: e9 @0 _$ z  |7 g$ `
  42. ---例如--- # t, ~& L) S4 I2 ~4 a+ v
  43. [ dbexpress ] % x* }7 l) }  ~' K- [7 n+ ~4 [4 [
  44. sqldir = mysql_sql
    & M4 I, x1 z* e8 i: X
  45. drivername = MySQL中9 E* w- S/ }& l; Y, x
  46. 数据库=测试
    ; f+ D' R: m( m; Z$ e
  47. 主机=本地主机! @; Q2 z, ~3 |; g" g: b
  48. user_name = testuser
    1 h" @- ?5 {2 E! P8 t2 Z% L: j
  49. 密码= my_password
    ( n; D5 u9 ?3 W5 b' J: Z- K% z4 T
  50. getdriverfunc = getsqldrivermysql
    9 h+ Q' p- X5 P- J5 d" Q7 d$ Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % g! p" D& s" |7 h& a/ V
  52. libraryname =. / libsqlmy.so $ r0 U2 S4 x! n* M9 K+ R
  53. 积极= 1 7 P% q+ m+ h7 \$ u+ O* C- u6 e
  54. ---例如--- & }8 \) }1 X( n# Z7 U

  55. ( J- {- \5 u9 W# U  U& V- ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , _. {! o2 D( n7 B1 g1 N- v
  57. ---例如--- $ m" ]5 c3 y2 _+ d
  58. [ dbexpress ] 4 Q5 r6 t) }2 w) ]
  59. sqldir = mysql_sql : G1 @, Z0 n$ X9 G3 D1 g
  60. drivername = MySQL中, i. O# e& |6 q9 L9 ]
  61. 数据库=测试( K' m& {1 L1 p; F4 d; N
  62. 主机= 127.0.0.1 " m* M6 y. \  Y$ s0 w
  63. user_name = testuser # `7 ^( k9 N& X" i) S1 M
  64. 密码= my_password & I& C3 ~7 l) h$ O) h* M9 i& p# m
  65. getdriverfunc = getsqldrivermysql % u* T0 R6 o! ~2 N4 p$ b1 P& u
  66. vendorlib = libmysql.dll在4 |  Z/ _4 Y" f/ A% B) o
  67. libraryname = dbexpmysql.dll
    / o, C. G7 b# H$ N4 g
  68. 积极= 1 . P" ^6 ~+ U! A- P1 X6 o" [
  69. ---例如---- 7 h5 k6 h" f( ?" Z3 f/ X/ t: Y5 d
  70. -写在0 2.03.04由p wk.linuxfan
    " B: z( [$ @4 {1 @' z1 ]# l: \4 L& H9 M
复制代码
发表于 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
+ G3 f! t2 h; }2 Y
4 r8 U8 [. A" f4 Z, l4 Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-9 02:44 , Processed in 0.109621 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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