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

2321 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : g0 o  G" v7 V2 l- r5 [4 z
; x* P! Y9 F7 W9 T4 y  R
  1. ) b4 E9 c. s2 @2 a- s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* t. w  P3 B: A4 i; v
  3. 9 Z% ]% N1 y5 E( ?/ [' r: j
  4. ### What we need ###6 c# I2 _# K6 `- |
  5. Naturally, we will need a MySQL server to store the data for us, this document ! l' R0 K' u+ f; ]8 H4 g2 {
  6. will not explain how this can be done - there are documents out there for the & e! s3 B& |3 d. X' L
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 o+ o4 J. C& B4 _9 f/ ?
  8. and a user account (username + password) that has the permissions to do stuff5 M+ n- b7 a' L% A
  9. with the database. Additionally, you will need a vendor library installed on the6 _: Z. g9 b) D' l2 G6 y
  10. local machine, this came with my MySQL install.$ a. P: v' T- {' r
  11. These instructions will not tell you how you might transfer your data from the/ P( X; l- ?& P1 P$ U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) u/ |# a2 w1 q3 B
  13. database.! L* R' |+ q' O$ f9 e
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % G  _, {1 J& w# K8 W5 L0 a8 y
  15. the time of writing, there are still too many issues - check the current status
    2 _8 }$ Q5 O4 V
  16. in the TeamSpeak forums if you are interested.
    , c0 B+ _& j- n* u- x( A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ `6 {* `$ {) F; r. L. i+ d& n
  18. Borland was used. This driver can only interface with the client library that - }: Q9 L3 C0 {* ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % E% R( x: z5 S0 J2 S
  20. client library - basically all you have to do is to use a 3.x client library as 9 p/ j# Q+ ~3 H+ p$ G8 Y+ l& v. h
  21. "VendorLib" and a 4.x database to connect to.+ _5 o$ \# ]" t! {$ T; H: w; ^1 i
  22. If you need more info about dbExpress, you can contact Borland.
    7 p$ `6 X& S3 ?1 b8 f

  23. ( j/ F( E+ T; T" T  X5 `
  24. ### Doing the work ###
    - z$ B! |* o1 D1 Z& ]# Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : Y- E/ A' v* `0 q( u1 r
  26. the perquisites right, just open your server.ini file, and add this section at' l/ D6 o5 g+ ^" ^( {
  27. the end:
    : k1 b% C: _6 n
  28. ---cut here---
    4 r3 A; }- d1 k( d9 F5 B, q
  29. [DBEXPRESS]
    3 m1 r$ j; o, s$ v2 |! h& U  ~
  30. sqldir=mysql_sql9 ^7 J3 t9 |! h5 v
  31. Drivername=mysql  M7 E; o" J9 Z: S
  32. Database=Your_Database_Name_Here
    ; L& ]7 o  W, J! [* f) p
  33. Hostname=The_PC_the_MySQL-Server_is_on; ^: W% l7 ~5 B
  34. User_name=User_name_on_the_MySQL-Server
    ( q# ?+ Q9 ]: J& r0 `
  35. Password=Password_to_go_with_above_user_name# ~/ T. Z5 p& a) k3 h
  36. GetDriverFunc=getSQLDriverMYSQL
    $ P" P3 a9 _, ~4 \5 s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# B, h! w2 p% R7 N" Q6 ]: K
  38. LibraryName=path_to_libsqlmy_libary
    1 `0 r2 `7 E* D$ r" S9 K5 h
  39. Active=14 Q& v2 s* E; `# V7 j
  40. ---cut here---
    7 {" h$ T- G4 \( S5 v% W
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 p( H) M9 @- a6 F& o
  42. ---example---
    & a" A4 g- @, z# x( b- K' h4 c
  43. [DBEXPRESS]9 t5 }- c' a2 N( w* W& O( c
  44. sqldir=mysql_sql
    ) ]# w8 X# v# i( z  d4 N
  45. Drivername=mysql
    * |4 W7 N' ^8 S
  46. Database=test
    ; B1 m( P6 A5 E0 x& \( N+ d
  47. Hostname=localhost
    % |# w4 L4 S& e7 P  T, Z, h
  48. User_name=testuser$ C' t$ a" m) X1 e' `
  49. Password=my_password' a! F& l4 S! A1 v% O
  50. GetDriverFunc=getSQLDriverMYSQL6 t6 U' G! R0 O# i2 L& `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  ^  \5 U; J8 T4 w; P9 `$ v9 F* x
  52. LibraryName=./libsqlmy.so9 z% T& T  i, y
  53. Active=1
    7 J( O! U2 l" |' W6 y# @
  54. ---example---
    # G6 p8 N) w6 t* t# }# L$ _: K
  55. ! y% N) [: V& J/ Z$ `! m' {- R
  56. On a windows box, also running the MySQL server locally, it would be:; D" A/ g+ K& w
  57. ---example---: D7 K$ w% t: @1 p. m4 \
  58. [DBEXPRESS]: w* ], f+ N6 \7 W5 a
  59. sqldir=mysql_sql; q$ h5 U# s/ E/ T# m
  60. Drivername=mysql9 j# G' X# W  V  ]- S0 ^
  61. Database=test: H) D* z+ G3 s" a3 c0 L
  62. Hostname=127.0.0.1+ J# g% ^. a7 P! j9 w
  63. User_name=testuser
    % G1 x; K( G; \5 n3 o: ^& y
  64. Password=my_password
    ' ^! p+ x7 o; L: ~& L) G) n
  65. GetDriverFunc=getSQLDriverMYSQL
    / Q3 I  y+ i, p7 W7 z& V+ h5 x
  66. VendorLib=libmysql.dll
    % x- ?( A4 _5 l8 X5 B
  67. LibraryName=dbexpmysql.dll
    . A* g/ U/ ], @0 Q
  68. Active=1
    + C& k; f! a8 X$ i
  69. ---example----9 H3 r" R$ K7 F. C1 Y% g% g
  70. - written 02.03.04 by pwk.linuxfan# d# `# B  ^8 v

  71. . x, ^! V9 w) z' a# Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. [! H7 m( w5 }+ o2 ^* u

  1. - }! f% O( T) \/ M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! T& k7 s2 ]  D' T3 v
  3. . n# g2 ~7 ]" ]  d" S
  4. # # #我们所需要# # #
    + C3 p/ r5 p) H8 |- P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; A# N6 ^. {, K. U0 H/ o: H! s
  6. 不会解释如何做到这一点-也有文件存在,为
    ( n- ]$ `! N; B# ^/ q+ i# v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( _. l& Y( @9 I, V4 C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 _6 P" C7 @& S6 f$ _& Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于2 J: V1 o0 `0 I+ `
  10. 本地机器,这是我的MySQL安装。
    ' Y3 K1 c- P) Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 Q" I4 M6 _! F9 ^
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % h8 P) R* v" k' S
  13. 数据库。
    4 V! S( M4 P6 y5 T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 t8 F7 o/ Y0 }
  15. 编写本报告的时候,仍然有太多的问题-检查现状' u1 v1 C/ B, y% g2 Z& L$ J- f
  16. 在teamspeak论坛,如果你有兴趣。
    9 k. Z" f3 |) U% w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 ~' O7 N; b4 o7 f
  18. Borland公司使用。这个司机只能界面与客户端库3 O2 i1 q0 j* A" f4 T& {
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这3 y: A1 g( {7 D% q) g; L" i, a$ @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - O+ V$ r3 B+ e7 u. {2 C
  21. " vendorlib " ,并解数据库连接。
    2 Q9 u4 z  F) Z8 `8 Y* v8 w; ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( [" \$ |6 s2 y8 _' n- f4 S

  23. + }  _8 z0 m5 B# `/ K( P
  24. # # #做好工作# # # & z! U( a# O; X" m
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 k9 t! G' n4 i% |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ i4 c6 L5 Y& l% T
  27. 结束:
    7 i. e# C$ n) }1 X  U' [6 o% `2 e
  28. ---削减这里---
    & B" R' v; a. a, c, J4 A) K
  29. [ dbexpress ] 4 ?; h$ E* ]8 E2 L# g5 g& K
  30. sqldir = mysql_sql : _9 i0 B6 h# Z5 j. H2 k  i2 M5 K* P
  31. drivername = MySQL中
    4 U3 D$ N, P, t" |  T! i6 S# ^
  32. 数据库= your_database_name_here
    3 H/ P" j6 \. z# b6 A4 K
  33. 主机= the_pc_the_mysql - server_is_on
    ' h: N! ^9 a/ I0 J* N
  34. user_name = user_name_on_the_mysql服务器1 l! W8 I7 _! k6 c- v
  35. 密码= password_to_go_with_above_user_name 9 V  V; E, {. ?+ ]2 R/ h% @
  36. getdriverfunc = getsqldrivermysql
    # U$ E, _$ D; t- \  @0 T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 }4 C7 ^1 v1 l$ a/ B1 @# `
  38. libraryname = path_to_libsqlmy_libary
    8 V1 t$ {3 p9 K6 H
  39. 积极= 1 8 k6 T$ b" h$ x" U% O
  40. ---削减这里---
    3 U; @7 _  Z5 p* u& @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 f+ m% `% ]5 [6 ]3 B
  42. ---例如---
    ' `6 X- X6 h/ H  y0 D4 ]! o
  43. [ dbexpress ] + w+ ?5 @; b2 v6 p
  44. sqldir = mysql_sql % T  A! o7 R7 i
  45. drivername = MySQL中
    ' G5 j0 ]: c6 V) t( r& v
  46. 数据库=测试
    8 h( l" f8 g9 d2 W8 \1 N
  47. 主机=本地主机" x# ]' m5 T# \0 j9 v
  48. user_name = testuser ; S! j' B, q; y7 E, r# P
  49. 密码= my_password
    ; L0 p* s2 X6 L7 T2 |! W
  50. getdriverfunc = getsqldrivermysql
    2 v' z* g; S$ d( v4 r( k! g# C, x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ v8 [5 Z7 o5 E0 B
  52. libraryname =. / libsqlmy.so
    1 A, o1 ]7 A, m# i
  53. 积极= 1 8 u% y6 ~$ }% e  e
  54. ---例如---
    8 J! P3 z/ \) L: G

  55. ; T4 K4 |% ~' z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " P3 C  t. ^1 @& s' b* B) d8 {
  57. ---例如---
    - t! F' w8 k4 D7 A
  58. [ dbexpress ] - G9 Z; W$ U9 N* ]- d1 o6 y
  59. sqldir = mysql_sql   w& a, I0 f' u" \( V
  60. drivername = MySQL中. U* k6 o8 N. c* u4 N* P7 o; c
  61. 数据库=测试
    $ _& \6 B, u1 x! _
  62. 主机= 127.0.0.1
    ) T. ^2 [( f  d/ g* ~8 M% A
  63. user_name = testuser
    5 K* d  ~7 p- |- l
  64. 密码= my_password
    1 u6 B, ~6 n5 O. R0 {- n
  65. getdriverfunc = getsqldrivermysql 1 f3 H; l  y9 c0 w- H
  66. vendorlib = libmysql.dll在
    ! G$ B" d" X8 W: k7 l
  67. libraryname = dbexpmysql.dll / @- c& T+ V/ r8 }+ j
  68. 积极= 1
      [- @# }1 c0 U: m, h
  69. ---例如----
    3 Q% I; s, R7 o  X" _2 z+ r' R
  70. -写在0 2.03.04由p wk.linuxfan
    / [) @6 N; |7 _6 x
复制代码
发表于 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 words0 H: ~) `! x/ J4 K( u) ~+ }

' A; f9 E' K# s% j) ~+ Qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-20 14:12 , Processed in 0.122307 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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