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

2990 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # H" x4 U0 y/ f1 K/ \( q1 h

& M$ c& q" @6 r
  1. . c9 m" \, W  x7 m
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 h/ |- t9 B. J5 Q; F
  3. ) R: y) A: S; m% n0 I( _
  4. ### What we need ###
    2 n/ ?3 N+ |( b% m5 a) W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    , T* p+ g: c9 K4 S. ?* v% x
  6. will not explain how this can be done - there are documents out there for the 5 q- d$ p1 o. b
  7. interested. The requirements include a (empty) database for TeamSpeak to use, h' J2 Y" m1 @: E3 ?5 j1 e
  8. and a user account (username + password) that has the permissions to do stuff
    5 p* N5 L1 S9 D' y; {
  9. with the database. Additionally, you will need a vendor library installed on the0 [, T% }  P) v7 t& E
  10. local machine, this came with my MySQL install.
    4 x, u- L( `$ L* R* R
  11. These instructions will not tell you how you might transfer your data from the" u- G% L: \/ s5 _6 m
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! l. Z6 y0 b4 a1 Q* g4 V0 @; ^
  13. database.4 J! u6 \& w; J- H) c
  14. Some users have reported ways to import a SQLite database into MySQL, but at" B+ w' O5 L! A0 v, M
  15. the time of writing, there are still too many issues - check the current status
    2 W/ [( T- H) o& d+ V
  16. in the TeamSpeak forums if you are interested.) f) U# y% X# F( u4 \0 T: ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 D! R& _3 _5 ^$ d" C3 R1 H$ j0 |
  18. Borland was used. This driver can only interface with the client library that
    - L2 a' B6 m$ ^/ l- ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) X5 M0 p5 y' ]
  20. client library - basically all you have to do is to use a 3.x client library as ! L' ?( d' |1 }+ v. I$ F, T
  21. "VendorLib" and a 4.x database to connect to.8 ]+ l  Q" L' n7 M& }$ ]$ n
  22. If you need more info about dbExpress, you can contact Borland.
    9 `* i& r0 ~$ l3 l' w/ A( f

  23. 6 ^0 Z/ p, ]7 @; F1 t1 M1 l
  24. ### Doing the work ###
    1 o$ [4 H( g3 ]% G3 w8 D5 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; Z5 Y, T( `3 ~" C/ A# E+ H+ u! t
  26. the perquisites right, just open your server.ini file, and add this section at8 K2 t, E2 H) W, E6 ~/ X$ ^
  27. the end:* a5 Q" P. u; _( u) G; E
  28. ---cut here---
    ' F  r6 R+ ~7 }
  29. [DBEXPRESS]. G$ m1 Y  [& S* Z) r8 Z
  30. sqldir=mysql_sql
    3 |5 P) v9 Y% X0 b
  31. Drivername=mysql
    5 ^) K3 u' h; e1 p" x8 u: {* V- d
  32. Database=Your_Database_Name_Here
    ; Y4 z) `) i$ G! F- U, g
  33. Hostname=The_PC_the_MySQL-Server_is_on4 p3 i) i& Y1 G# m8 O: q) s1 q
  34. User_name=User_name_on_the_MySQL-Server! z0 d9 Y3 Q5 p
  35. Password=Password_to_go_with_above_user_name
    7 ^% s0 V) B' Y- c6 _
  36. GetDriverFunc=getSQLDriverMYSQL
    & d3 v% `6 M* z" m' p- d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 [) W' W7 |8 o1 r2 L
  38. LibraryName=path_to_libsqlmy_libary
    , `" F' y1 S/ P  l
  39. Active=1( l7 C$ D# y! }4 @
  40. ---cut here---
    * S7 D" d7 M5 n2 N- O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 b& S# {; @( m& w
  42. ---example---3 c7 j3 Y4 U  r( K1 k7 i* H
  43. [DBEXPRESS]
    & B; N! Q" H+ w6 B  L
  44. sqldir=mysql_sql
    5 [8 }* u" j5 n; V8 P$ F
  45. Drivername=mysql) n" d4 G/ @# |/ Q
  46. Database=test
      e+ |8 @) D+ v0 c. o3 C
  47. Hostname=localhost2 K+ k8 [0 g& e. ?% ^: U) K
  48. User_name=testuser
    5 _7 b9 i- b1 X. g  q3 E" z
  49. Password=my_password: f+ h% M5 ~. g2 k
  50. GetDriverFunc=getSQLDriverMYSQL4 ?# m  z% \. r$ l$ R9 P) z0 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ x3 O0 @: O5 F- Z- Q) p
  52. LibraryName=./libsqlmy.so& R) V9 L- ]8 _4 R3 u3 j
  53. Active=1
    3 X; d2 r6 U. K# q, @
  54. ---example---
    0 d3 z9 c# z. X1 Y" z% g- o
  55. / l/ m1 L* r* @. k
  56. On a windows box, also running the MySQL server locally, it would be:8 f; }7 j+ ]: Z$ R( f/ o
  57. ---example---
    1 O% X5 g3 p- `7 a4 l/ F( s. w$ e9 `( \
  58. [DBEXPRESS]4 L: Y3 O! r2 r, n0 x% }2 V
  59. sqldir=mysql_sql3 \, N6 U% h8 }$ V0 `
  60. Drivername=mysql
    6 ]6 E" z# p( w+ \. T1 @5 T
  61. Database=test& |! w, m4 c4 x5 g9 F. _% [
  62. Hostname=127.0.0.13 T# `1 ~. b$ P: Z# Y
  63. User_name=testuser
    . h. o. o; i- M0 _
  64. Password=my_password
    7 f$ I3 }, r. w0 k6 c
  65. GetDriverFunc=getSQLDriverMYSQL. B4 x* @" d; k4 u# r
  66. VendorLib=libmysql.dll
    1 _! \) H" I" W6 u
  67. LibraryName=dbexpmysql.dll
    5 X) P% \+ O: c8 N
  68. Active=1
    " C- x, ]8 g' z: H
  69. ---example----) q# t8 y2 F2 h3 N9 q
  70. - written 02.03.04 by pwk.linuxfan
    ) G$ I/ ?" P5 f3 H/ N
  71. 5 v) T8 C; M. k' l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 `7 I; N0 n; Z1 _9 ^* C

  1. 0 ]2 Z5 H1 t  R0 X: ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . H' T4 e% U$ u' R) U+ L9 T7 e) u3 E# T

  3. 5 k7 K6 X  r/ {- M! B) C
  4. # # #我们所需要# # #
    ) E8 U6 }6 f5 i) f$ t4 z& h8 g- z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% q! ?. S7 \7 }5 x- j: f7 g
  6. 不会解释如何做到这一点-也有文件存在,为
    $ z0 s* ~0 r- M2 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 ?$ z% ]+ L8 S# |5 |  F, o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! i. T  u4 b0 H! c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * W0 B! U3 \1 Q* m; @
  10. 本地机器,这是我的MySQL安装。 ( c" \. `, p4 @* w# Z+ _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' B5 ]& l0 n- I( |/ `$ X2 p! I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ P0 p/ i1 x. B+ O7 V/ r
  13. 数据库。 / j7 s3 d  t8 |6 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ N5 L6 w3 b1 P# i5 K
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ v5 x: ]+ a( b) `" m
  16. 在teamspeak论坛,如果你有兴趣。 8 w6 k3 c/ u! N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      h3 v% e  f2 l% h2 `- h0 {* d
  18. Borland公司使用。这个司机只能界面与客户端库4 C( b& ~* a. M) _! \# P% a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + _, [+ `+ O, O0 ^2 B
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : ~) l& j8 S' U5 a' g+ K: r
  21. " vendorlib " ,并解数据库连接。   I/ W! X2 [) |; \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 |1 ?/ h3 [4 o# C5 M
  23. % i1 O; D8 j0 @
  24. # # #做好工作# # #
    - t5 c) ^( h/ @' }3 F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 W4 V, ~: N) E  Z( ?1 O9 F9 x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % }" ~0 p2 ~% _' V! R/ ]1 J6 Z: l
  27. 结束:
    ; @. e& s/ O9 U" K# C, ^1 S
  28. ---削减这里---
    . h# o; s3 r% b& w
  29. [ dbexpress ]
    ' v* e8 F8 ~) t; q+ Z
  30. sqldir = mysql_sql 5 [- j( ?4 ]  ~4 m( `/ V
  31. drivername = MySQL中
    " S; }% p4 R3 d6 Q1 @8 b$ \
  32. 数据库= your_database_name_here
    8 b+ x2 h" ~  B1 b# Q* a- r% T
  33. 主机= the_pc_the_mysql - server_is_on 7 g+ @. a* Q$ q% d  ]& d+ E
  34. user_name = user_name_on_the_mysql服务器/ H" [+ m  z% G: ~* D/ K
  35. 密码= password_to_go_with_above_user_name
    & [/ \0 _* h; T/ U% L2 q% S- k
  36. getdriverfunc = getsqldrivermysql
    / J8 R- [- Q. M( ~4 G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 B3 S" `  V8 L! f. x+ x1 U: V
  38. libraryname = path_to_libsqlmy_libary
    * \$ U9 v$ ~: N' l- m
  39. 积极= 1 * j" F) D- K' }4 m6 z% L; u( E
  40. ---削减这里--- / ~2 |8 E: ^  X4 R8 I# R6 c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 a' Q, d" ^( U% M5 T) ^+ v
  42. ---例如--- & C1 s6 Q9 y" v# u- L9 Y
  43. [ dbexpress ] - a+ w( K" y9 k. h9 ?- Z
  44. sqldir = mysql_sql 2 B) G. Z) c: U* B
  45. drivername = MySQL中
    4 }; h, p4 K8 n" Q" A
  46. 数据库=测试
    ! k$ ?4 t9 p+ Q( i6 }+ y8 g# H. f
  47. 主机=本地主机  n( E2 G7 O5 u" y3 ]
  48. user_name = testuser 9 O$ P( x2 L+ J" X( Y
  49. 密码= my_password
    / b( `& C& h. J7 M& d
  50. getdriverfunc = getsqldrivermysql
    ( E8 \" f" K2 V/ h# x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ u7 Y# L: v2 f  d( E8 D6 s& U
  52. libraryname =. / libsqlmy.so ) y" @$ K5 y  _! n2 S8 U" T
  53. 积极= 1
    2 }+ J( D$ }3 C+ \
  54. ---例如---
    ( K2 ?; S0 l# S4 T8 p- ^, G
  55. 9 j- H4 R3 D/ ?: b
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * L: d2 P* u8 e6 t
  57. ---例如---
      Q$ V0 }9 E1 o
  58. [ dbexpress ]
    ! V* F8 V# D& {  _2 [
  59. sqldir = mysql_sql
    ' e$ E9 n, n/ I8 q
  60. drivername = MySQL中0 R4 M/ u' w! J3 P* |
  61. 数据库=测试
    / O, j- O. j1 d; C
  62. 主机= 127.0.0.1
    8 B/ }5 m3 u# L5 y$ {3 k) W& G
  63. user_name = testuser 2 S! n, b; ]+ J7 e- ^0 t
  64. 密码= my_password ( D. z: X# N% l
  65. getdriverfunc = getsqldrivermysql
    2 v* j( Z- y/ d  r. p
  66. vendorlib = libmysql.dll在& f* j  u( o% s% l' i' o
  67. libraryname = dbexpmysql.dll
    5 G( a0 l$ c  I3 z# a
  68. 积极= 1 2 @" G. o3 m& ]' M& S; U4 P! x
  69. ---例如----
    6 y4 h: w+ o, ^  h
  70. -写在0 2.03.04由p wk.linuxfan' r1 ]5 M: |' |) 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 words2 R. f# a7 Z3 Y: U! @$ x  i
: j7 E% k4 D4 F5 b; x# @7 M) c
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-7 03:06 , Processed in 0.092678 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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