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

2992 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , s) _; X" S+ @: o- |3 i& o4 E$ v# c

+ F0 V# p' e% J$ H: A
  1. 7 i5 x% Q( {/ _& s0 w+ Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  z# O1 t+ c6 E- P: d9 V
  3. % B+ ~* L. e6 o) V; f
  4. ### What we need ###+ R  f% |, |6 p' `( ^0 O7 {
  5. Naturally, we will need a MySQL server to store the data for us, this document ( }; W/ b3 Q' y: a: r
  6. will not explain how this can be done - there are documents out there for the
    5 D7 T# E& Y0 j2 D! y
  7. interested. The requirements include a (empty) database for TeamSpeak to use# H4 _$ w3 b" N! g& T* I& ^# e/ c7 d
  8. and a user account (username + password) that has the permissions to do stuff
    6 l3 Z1 N8 g4 g8 c5 G% v
  9. with the database. Additionally, you will need a vendor library installed on the( G% x. Y; _8 j1 U
  10. local machine, this came with my MySQL install.
    9 d6 f, A3 D" r) E: D3 D' b
  11. These instructions will not tell you how you might transfer your data from the6 ~$ N3 g4 j6 I2 l" V6 n, |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 d) j; w/ k3 J5 I
  13. database.$ k( L, }2 M" H) S+ [# H4 I  E
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; j* c, ]+ d9 i# B5 a5 Y! O! R
  15. the time of writing, there are still too many issues - check the current status& ?5 F% R+ L8 H/ R6 ?; v  p
  16. in the TeamSpeak forums if you are interested.
    ; v$ _' ^, L8 w4 J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : V- s3 a  R: w
  18. Borland was used. This driver can only interface with the client library that ( p' w3 d- y6 p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 ^2 d6 q$ i8 y9 f; [0 M) ?5 h/ m
  20. client library - basically all you have to do is to use a 3.x client library as 5 l- b' U# H) J7 j( I2 J
  21. "VendorLib" and a 4.x database to connect to.& L( ~# D, F4 L' q
  22. If you need more info about dbExpress, you can contact Borland.
    : X8 E8 _$ X  w5 q# A
  23. ' ]3 k1 m$ }  {! Z% L0 e- s5 `
  24. ### Doing the work ###
    7 q3 S5 `! N9 a: E. v1 t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 e: z- b" }+ M
  26. the perquisites right, just open your server.ini file, and add this section at# \& S1 E; Y/ j0 N
  27. the end:. H5 e0 o- N$ s
  28. ---cut here---0 O( @  k  t& O( n( z
  29. [DBEXPRESS]3 J2 K) H4 a+ b, h3 Y
  30. sqldir=mysql_sql
    , {% `8 y4 m: x3 ~
  31. Drivername=mysql
    9 f! W% A. S& J8 j3 M+ Z
  32. Database=Your_Database_Name_Here& z8 Z9 C, t: I# q6 g0 D4 `4 D
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; G9 `% v4 k* A
  34. User_name=User_name_on_the_MySQL-Server1 T& D$ _4 X: o* A5 j( ~0 l
  35. Password=Password_to_go_with_above_user_name
    8 b1 A) b( {1 @3 o5 |8 a
  36. GetDriverFunc=getSQLDriverMYSQL
    " i- j/ S- Q" Y% z4 l' i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 a% {4 ]( z+ l  J! L/ T0 ^
  38. LibraryName=path_to_libsqlmy_libary; w; w! z) {, Z" j# V
  39. Active=1, ~* l( G! t9 p1 Q2 u
  40. ---cut here---
    + n: p4 b9 H$ W. C9 g
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 e8 T* t  v0 o( l
  42. ---example---
    0 j! Z: _. k5 x. j- |: m6 I; X. ]
  43. [DBEXPRESS]
    9 \% O" a3 Z  I1 F3 `9 r$ E
  44. sqldir=mysql_sql
    * U3 p+ Z3 R+ j
  45. Drivername=mysql
    " X. S6 j9 x9 b" p# k
  46. Database=test5 N: W) k1 ], b$ o
  47. Hostname=localhost) }- G9 `+ y& I3 x% Z
  48. User_name=testuser8 w& i9 f& ]+ i
  49. Password=my_password( D0 t7 z! ~7 q2 B7 |# E* ^7 t
  50. GetDriverFunc=getSQLDriverMYSQL
    : t+ h8 G, f+ v. i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ T% s0 i) @5 G: c6 G
  52. LibraryName=./libsqlmy.so! O- j! i; u, g: u) s# R: K
  53. Active=1
    8 g& l3 ~& ~5 j+ O+ X0 O
  54. ---example---
    * C( D9 F; C8 s6 J5 S, }

  55. ! Q/ f9 a5 ]' ?4 H) S
  56. On a windows box, also running the MySQL server locally, it would be:; q& A% a* e! b4 m. A
  57. ---example---
    * J8 }, I2 M! p1 Q  H( G
  58. [DBEXPRESS], T9 }0 a. x8 M' y
  59. sqldir=mysql_sql0 H/ M# ^! A2 \% C
  60. Drivername=mysql- `9 Z  ]7 P' U$ M6 B
  61. Database=test
    , s6 O$ p6 f$ L, X3 i
  62. Hostname=127.0.0.18 W3 D% m4 B- h" p. w9 d- g
  63. User_name=testuser. [) N5 N: H& }
  64. Password=my_password5 N- Y1 N5 Y) Q% p  p% n4 g, L
  65. GetDriverFunc=getSQLDriverMYSQL
    4 J; W" w/ v+ C+ f6 W, n
  66. VendorLib=libmysql.dll. f  B) D' n/ Z( F, E
  67. LibraryName=dbexpmysql.dll3 ^" s7 z2 s$ N3 _, F9 d% `
  68. Active=10 |; N+ d1 c5 k" a8 n, L' O1 q8 f
  69. ---example----6 Z8 u; H5 j' G, l$ ^# N  v. f
  70. - written 02.03.04 by pwk.linuxfan
    - F# q" p4 t. [% i9 m4 f' X/ |

  71. 2 S: |- R0 ^0 l# r0 r) T' }
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( n0 T' h$ L0 L3 C

  1. 8 A1 p- @, K# W" A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 W: V: P  I" @; q" B2 I

  3. - ^, w: {% r4 g% l' e5 ^: Z
  4. # # #我们所需要# # #
    2 `* P- U& H" J/ ~9 S* T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! a% D; U4 o* f
  6. 不会解释如何做到这一点-也有文件存在,为
    3 \: p, Z3 a) N& z; i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  P& f  l+ H  v) V6 ?) b% J8 p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 |2 k/ j8 L: E" d9 h2 l! V6 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * w# h. g1 T8 [! T5 P# l+ ?+ }
  10. 本地机器,这是我的MySQL安装。
    , h2 x& O, N) |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # E3 R) X9 r# B3 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 p6 a6 {) O: M* t
  13. 数据库。
    8 q% G, e( z0 X0 p8 P" k/ e3 _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # ?/ H, x# Q& g/ D% \( |5 }
  15. 编写本报告的时候,仍然有太多的问题-检查现状* d. \% J; b% D7 U1 E
  16. 在teamspeak论坛,如果你有兴趣。
    0 h8 M+ m! z1 V! q4 T5 E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 J4 Z& O- V# }! ]- G8 |; J
  18. Borland公司使用。这个司机只能界面与客户端库
    ; I6 s4 ?- W9 L5 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) g7 x6 P" E' Q9 {: m3 S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 ?' v- K4 p" \! c
  21. " vendorlib " ,并解数据库连接。 % X3 u4 k7 q' `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # U6 x" R: g0 j

  23. . e& V. h( Y9 e& r
  24. # # #做好工作# # # ' m2 V  D/ [. Q" u. X( U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% b% C* `1 w& d' ]7 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ u8 ^3 o; I1 q( Z: i! c8 e
  27. 结束: " F  E) s+ O2 e. ^4 O
  28. ---削减这里--- ( g4 S& O" v+ l6 A( L9 I, M
  29. [ dbexpress ]
    7 `- {& K5 F  S) u7 F3 [: n+ R
  30. sqldir = mysql_sql 4 J6 b& a) {- [) l& J" Q4 G* ~
  31. drivername = MySQL中
    1 c& ~1 ]3 ]1 @* |! n( l5 n$ |, L
  32. 数据库= your_database_name_here 3 `/ j! E. j1 @- n+ }/ P: p
  33. 主机= the_pc_the_mysql - server_is_on
    3 e& X5 t0 N& w9 R  l2 q7 f- X
  34. user_name = user_name_on_the_mysql服务器+ A. K! ?6 E, d4 c- u# Q$ C3 J7 D
  35. 密码= password_to_go_with_above_user_name * {7 ]' l7 T. H0 P4 p
  36. getdriverfunc = getsqldrivermysql
    ; @2 B, c" L5 F" [6 k: E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   Z: n5 C6 g# j+ n" k
  38. libraryname = path_to_libsqlmy_libary ( j  O9 e9 g) [1 v9 n
  39. 积极= 1
    & R" S5 Q; Q  d6 ^! K
  40. ---削减这里--- 8 ]7 ~5 j1 d0 }2 l& l, W9 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ X, ^  x4 ]- z" i* ]. U
  42. ---例如---
    * h9 @" [, U+ {( o- \
  43. [ dbexpress ]
    3 x7 Z* {, l0 x( S4 ^. {, R
  44. sqldir = mysql_sql
    * }$ a' G$ T0 d2 |0 D
  45. drivername = MySQL中
    . K' Q5 G; n# p  o9 R( Y
  46. 数据库=测试/ i" ]' g. M0 q- Q" L
  47. 主机=本地主机/ R" i8 B# Y5 L8 n4 |
  48. user_name = testuser
    ) F# I8 W% p; G' [$ L
  49. 密码= my_password
    ! n6 H$ O/ \* }4 |2 z' D' l
  50. getdriverfunc = getsqldrivermysql # n% L, F9 Z5 M1 Z( t) @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , C. M* d4 Z, X3 h4 q5 V8 K( Y0 h
  52. libraryname =. / libsqlmy.so
    ; J$ B+ G( J, f
  53. 积极= 1
    / \' W3 z2 ~  }( a, }0 V
  54. ---例如--- ! M2 ^5 E% s' P0 A3 w; t/ c

  55. ; f1 M) l$ O  e( H* ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ) D0 R1 j; m9 @. N& y2 C- A
  57. ---例如--- 8 X8 j- g  n% D9 {; M
  58. [ dbexpress ] ; o5 g$ N1 G9 c5 Q$ b
  59. sqldir = mysql_sql % t3 f; C" l1 g2 _: ?. m* K
  60. drivername = MySQL中/ d  C$ g* {. f0 z8 \; B- U5 v5 X
  61. 数据库=测试
    1 n0 a' c% \7 F
  62. 主机= 127.0.0.1
    ! `1 N' i% l) n: Q4 i8 b/ |8 C
  63. user_name = testuser 0 ~' P7 g6 }- ?* w0 t! `' L- E
  64. 密码= my_password
    & z% b4 _4 f- b* M
  65. getdriverfunc = getsqldrivermysql
    ; F: q3 Z& c3 Z$ }6 o: i% E
  66. vendorlib = libmysql.dll在
    ) K: J9 N3 d) Y5 W3 }
  67. libraryname = dbexpmysql.dll 9 \! Z2 q' h% D' D- G
  68. 积极= 1 8 c4 T9 D! `& R& |( V
  69. ---例如---- 2 d& }+ W  ]9 P) Y: z
  70. -写在0 2.03.04由p wk.linuxfan) b& g, Z' i- x1 \
复制代码
发表于 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 words4 a( \; X) L6 t( p) `9 j
' z6 w* x( J" G3 c$ ]* P) X
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 17:07 , Processed in 0.094477 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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