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

2749 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" K2 ~8 C/ L5 C% J
7 @) z& k6 S: g* W- d5 X& o: [5 H

  1. 6 L& z! E3 c! r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + l& f9 Y: ~% p- {2 k
  3. ) T0 ~3 ]% H1 k/ K
  4. ### What we need ###& g9 t" I4 v) G* H% f5 R
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 {: z/ p" x# g* }7 _
  6. will not explain how this can be done - there are documents out there for the
    9 e4 g0 M! C$ w! i
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' W8 ?* \! Q0 t" F. r
  8. and a user account (username + password) that has the permissions to do stuff$ p( K, g' v7 d% s5 Y
  9. with the database. Additionally, you will need a vendor library installed on the2 [6 A% I9 w! Z& w& @8 }3 u
  10. local machine, this came with my MySQL install.
    / H2 t% V( Q0 d3 z: e6 ~$ Y% {
  11. These instructions will not tell you how you might transfer your data from the7 T- G; I2 i( g" Z0 ~, e4 G( P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 ^6 `. L; }' s/ Y# D
  13. database./ ]' ?1 j8 J. F% l- h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 h! H) `, N: k# H* K
  15. the time of writing, there are still too many issues - check the current status; l3 J! B+ O' P* s
  16. in the TeamSpeak forums if you are interested.. q) j# Q8 z4 y, x' D1 ~) O/ I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    9 H3 O! B7 _! C6 r; J
  18. Borland was used. This driver can only interface with the client library that 6 @6 @, Q% U$ Y7 n: y$ U5 A' [3 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + L8 X% r+ v) n' W( C
  20. client library - basically all you have to do is to use a 3.x client library as   x2 R" }; G) K, n6 y0 A9 s
  21. "VendorLib" and a 4.x database to connect to.& k1 l/ p5 a0 W: }+ y) G* {
  22. If you need more info about dbExpress, you can contact Borland.
    ' s% r/ L0 [  d/ t. x7 W" h
  23. 4 Z7 ^4 t7 \* }- }5 J- n$ e' E
  24. ### Doing the work ###
    . [) h8 T$ |* @8 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! s; B' [% u% f. e% H
  26. the perquisites right, just open your server.ini file, and add this section at
    ; q* N0 V( J; p: B
  27. the end:
    ( ?) K- q4 h, r( X" O. ?6 |2 I# z
  28. ---cut here---
    & z& P/ @+ y8 c0 `  i; }
  29. [DBEXPRESS]3 `, H$ |; p+ M6 {
  30. sqldir=mysql_sql
    7 e+ V0 g8 y' W+ m# j3 {. q
  31. Drivername=mysql* y: W# U0 ^8 B# ]
  32. Database=Your_Database_Name_Here
    . A( n, e9 ^7 i( o! }1 E6 z
  33. Hostname=The_PC_the_MySQL-Server_is_on) e6 H+ W5 j- T
  34. User_name=User_name_on_the_MySQL-Server
    4 I3 A1 N( ~1 w) \( r' `& v. G
  35. Password=Password_to_go_with_above_user_name1 U) n4 U+ N: l3 ~
  36. GetDriverFunc=getSQLDriverMYSQL
      X) T& V. G# `4 M8 K' i0 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% g) J% Z/ i. R  e2 u  o
  38. LibraryName=path_to_libsqlmy_libary' R3 Z9 [1 H9 G. p- X& W
  39. Active=18 ~) A5 w0 S) M
  40. ---cut here---
    3 S" m& h! }# v1 Q4 d* O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / J( \( b: S) F' C8 ?
  42. ---example---
    % l) Q! T, K' Y: D0 P' n0 ^) Z
  43. [DBEXPRESS]" D. c8 M3 Y! J1 l
  44. sqldir=mysql_sql
    # v( z6 ^. c7 w3 R1 N3 D2 z; o- n! A
  45. Drivername=mysql0 u! _( ?/ }1 J6 j) K* b' w
  46. Database=test" Q) W; p. z+ `
  47. Hostname=localhost& n: e. u; X9 B; F1 D: J' D" {
  48. User_name=testuser9 P& d6 N6 q: Y6 U7 m' X$ Q
  49. Password=my_password
    8 `3 x. q" n" R. B
  50. GetDriverFunc=getSQLDriverMYSQL+ ^0 K0 q* b, g# w) A. @& Z# ^9 X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % t" f1 Q! H5 a/ g+ P8 Q/ |
  52. LibraryName=./libsqlmy.so
    4 _# k7 D1 Z0 ~% D
  53. Active=1
    2 ?: ]8 Y) S) i7 R, ~; u4 v
  54. ---example---3 k2 q. v1 f; c& K
  55. 5 K/ J, m( d4 H" k2 ?" V. ?
  56. On a windows box, also running the MySQL server locally, it would be:
    % {% k4 v* u3 L% |# R
  57. ---example---5 O4 o. K! ~. [$ K9 W' J
  58. [DBEXPRESS]
    5 q# {+ P1 j* G
  59. sqldir=mysql_sql
    8 z' v) z9 z" H) Y. H0 R
  60. Drivername=mysql
    / C- \- `6 M( g+ k( l5 g2 @% N
  61. Database=test4 I5 P( m  U5 m, z3 X
  62. Hostname=127.0.0.10 y# P5 }/ c3 S( B/ c2 H/ ?! x
  63. User_name=testuser$ j( V& c  Z8 t+ [3 a) u
  64. Password=my_password
    5 j& Z; Z+ W$ V1 \- g8 Y
  65. GetDriverFunc=getSQLDriverMYSQL* v& u! u7 P) ]: o* V/ d# a
  66. VendorLib=libmysql.dll
    ) Y- }: G: M' x3 ~7 Z3 Q4 l
  67. LibraryName=dbexpmysql.dll2 ^9 u9 n4 {, J  N! l
  68. Active=12 @/ v5 k$ t3 j) N* p. F  R" y6 d
  69. ---example----+ F: ^7 p9 ^6 M6 D
  70. - written 02.03.04 by pwk.linuxfan; I6 }1 v% A$ ~' j: w- S/ x9 C

  71. + G. U$ D6 F$ z- U' i# r( f2 Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 p; n9 y* x* Y+ g8 W4 ?9 m
  1. ( |; P. F- [' [6 K. b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , X  y! j: |, v0 n# s

  3. . J$ o8 e5 ^1 A$ ?! }' h  |
  4. # # #我们所需要# # # ' R8 a4 Y; h/ o4 S1 j: ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      Q5 H# K8 x4 ]6 F7 M: J) x0 u
  6. 不会解释如何做到这一点-也有文件存在,为
    $ L) T! K$ ]& t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. S" C( G; c: }; m+ C! _# \3 ~% A0 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) ]4 c, q- K0 E  E, f$ Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / j- G  Q$ S4 L
  10. 本地机器,这是我的MySQL安装。 ; `0 _% h9 y9 O/ J1 ]* O" q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; j/ ]* S4 J9 e; U4 y# E$ A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & y6 ^! s& U2 m9 W0 d
  13. 数据库。 / p4 z) I% @- {( L. y' a4 d& }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; \+ F/ T( u: f) M
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) z: i1 k5 S4 w$ ~) w2 ?% o3 G
  16. 在teamspeak论坛,如果你有兴趣。
    : g  c% _2 a9 y' m3 U: A. B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . X9 K3 I' _2 L
  18. Borland公司使用。这个司机只能界面与客户端库
    * f8 n4 q; N* `/ d. X& T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( m" O) k. h% V) p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 s, y( g& |$ M' o9 G: @
  21. " vendorlib " ,并解数据库连接。
    6 \) q' h' ]* k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 c8 k. z" z/ h, n. [( A0 w& i/ d9 m

  23. ( R* L" A1 p# x' d- X$ k
  24. # # #做好工作# # # ) t: ^: s/ t* }4 S% q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 B: v+ e) y' `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( K2 R" H4 ~# Q1 [$ s
  27. 结束:
    $ S8 ~7 j9 }4 x
  28. ---削减这里---
    & N4 V$ v/ z/ a' |# F, M
  29. [ dbexpress ]
    # \1 V  |+ v- [( b6 r
  30. sqldir = mysql_sql
    , l; _2 e' |+ Z" j& T" p
  31. drivername = MySQL中1 }  m# I; C& g8 M6 D! g
  32. 数据库= your_database_name_here
    6 y2 w5 ^8 G' t
  33. 主机= the_pc_the_mysql - server_is_on & {  ~2 n4 Y2 \; ~; [! f  j% ^
  34. user_name = user_name_on_the_mysql服务器. K  E) k* z6 }
  35. 密码= password_to_go_with_above_user_name
    ) F; M! E& W3 M4 S( a
  36. getdriverfunc = getsqldrivermysql
    " D' Q' N: [# d2 G3 P9 R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) w0 C0 u! d. g% k3 ~1 U5 u
  38. libraryname = path_to_libsqlmy_libary " b: \; p; F( g* @% ~
  39. 积极= 1
    # L* }1 T% j5 a$ T$ L: Q
  40. ---削减这里---
    * c7 G; X1 ]  K6 R" s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : q4 c: l; {. P/ p8 g
  42. ---例如---
    : C3 ]0 {$ d' r
  43. [ dbexpress ]
    + g8 A/ b' w. @9 X5 j2 W* Q
  44. sqldir = mysql_sql ; e5 _) l5 A1 _
  45. drivername = MySQL中/ ^% h' n' y1 R2 p( u. p4 c) ?$ Y0 s6 f7 m
  46. 数据库=测试3 Y1 P  v+ w4 i
  47. 主机=本地主机/ c4 j( i! ~! s; ~7 X) X; L
  48. user_name = testuser ! ~; V  S- ?9 d6 s$ [
  49. 密码= my_password
    ; D$ T3 j) }1 X8 ~9 A& N0 s7 I
  50. getdriverfunc = getsqldrivermysql 9 [9 }/ [; E8 u3 U7 ]& L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 H( o$ @. y8 y/ ~
  52. libraryname =. / libsqlmy.so   b: Q+ f% c7 _4 [. k! y& c
  53. 积极= 1
    3 T8 Y& R9 W6 b, P
  54. ---例如---
    ) T) g+ l' W* y$ e) A1 w

  55. % ~& P8 \3 w) L4 r3 K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , H8 M* s; q, C$ L/ I( d# T
  57. ---例如---
    , J, w$ T0 `3 z
  58. [ dbexpress ]
    : f( c* H7 x! O2 b
  59. sqldir = mysql_sql ; B3 n! Y8 _6 b8 Q3 G
  60. drivername = MySQL中
    4 s7 m1 I% u4 ?; f/ v# ?
  61. 数据库=测试" p$ L- T5 x- f" o- `
  62. 主机= 127.0.0.1 2 f" Y4 w& G& T  B+ t2 X
  63. user_name = testuser
    ! r2 h  J/ o9 G4 \1 c  z1 k5 G# O" H7 c
  64. 密码= my_password 7 @: J8 x) l8 x5 u6 k
  65. getdriverfunc = getsqldrivermysql
    ( j1 {% Y( j) ?5 [
  66. vendorlib = libmysql.dll在
    4 k. K7 T3 P0 y: q7 i
  67. libraryname = dbexpmysql.dll ) X0 w& B; T- q5 A% n$ R
  68. 积极= 1
    ! O  k+ U* ~9 r: {2 t6 ~
  69. ---例如----
    % \; d2 l& h, I! e, p1 }
  70. -写在0 2.03.04由p wk.linuxfan
    4 _' M( |# ]+ N
复制代码
发表于 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
/ g9 z& h% s$ z" U& L( u0 K# B4 e$ ^$ |' U) L
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-11 22:21 , Processed in 0.113022 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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