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

2224 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ e3 O+ {% w) u( B6 H% S' b' D( C
6 i! |. J6 V& ~" u0 T* f+ u( _8 e
  1. 4 c' ~4 h+ B: i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % [- A0 P6 l2 K5 l+ O7 t  e, @
  3. 6 q1 C7 T. }$ W# Q
  4. ### What we need ###8 x/ o. l0 J. M! h; x7 d
  5. Naturally, we will need a MySQL server to store the data for us, this document + W) @. K* V& P$ c& X0 i8 c; I
  6. will not explain how this can be done - there are documents out there for the ( O; U; D) _/ T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 X. `3 j" O" V7 p* l( @
  8. and a user account (username + password) that has the permissions to do stuff- }) d) D3 O0 K$ f" E: d& n& F2 x
  9. with the database. Additionally, you will need a vendor library installed on the
    * H# S6 a' ]( s
  10. local machine, this came with my MySQL install.
    ! g4 I+ c1 e- T' [+ I9 ~
  11. These instructions will not tell you how you might transfer your data from the
    0 B# {- H: H  E" `- n" [/ o
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 d+ b, N# k2 B+ e# d) y
  13. database.
    * W1 s% @/ U0 K0 ?$ Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 Z! ~5 r5 y1 k' ~
  15. the time of writing, there are still too many issues - check the current status
    + E* ]+ o- ?7 V3 h+ n
  16. in the TeamSpeak forums if you are interested.
      t& T; c9 V  m+ R2 N% ]( M  A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( A" ^2 b0 W- d+ e
  18. Borland was used. This driver can only interface with the client library that   A+ n5 @7 \6 ?3 ^# Z8 i2 q- ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 L4 t4 s6 S1 k9 m/ D* T! j) K
  20. client library - basically all you have to do is to use a 3.x client library as
    ! o/ \: `$ F( Z9 P5 C% O& h
  21. "VendorLib" and a 4.x database to connect to.( F- G: ^4 V8 h) E2 A/ D
  22. If you need more info about dbExpress, you can contact Borland.
    - n1 S3 p0 B/ `* v

  23. , H2 p. q# P2 o8 u3 ]1 A# Q/ _& f
  24. ### Doing the work ###. {9 t% _  H1 H9 }/ {% M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - b5 A/ A) y' k
  26. the perquisites right, just open your server.ini file, and add this section at" L6 ?1 q  K, G4 W) a
  27. the end:0 I2 P/ r8 Z+ m2 ?( |: R! ^
  28. ---cut here---4 P" G+ r) _. u6 t( V; A# t' p
  29. [DBEXPRESS]0 r8 v; s6 B; E& Q. s' U
  30. sqldir=mysql_sql
      L, U# `  V% B' x, w7 e8 s! m# g  {$ r- g
  31. Drivername=mysql
      _3 z  W6 k! u
  32. Database=Your_Database_Name_Here
    6 V+ u, w/ p1 T$ q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - y# w% C- ]! h( N
  34. User_name=User_name_on_the_MySQL-Server
    ; M$ s( L# T3 Q7 F: y/ B' |
  35. Password=Password_to_go_with_above_user_name0 ?7 M, m( n* e( A8 [, a# J" r
  36. GetDriverFunc=getSQLDriverMYSQL- C' k6 T, |" H# ^& t+ z( _' L" @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% P9 ~9 p0 w/ i* U4 D' l* d
  38. LibraryName=path_to_libsqlmy_libary
    # h2 H! N3 R% z$ X' D3 `
  39. Active=1
    $ P8 @# ^- x. M: P, R
  40. ---cut here---
    1 x) b# Z4 _: w* ~  |* `" s8 A  g
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , O3 X' T7 w: X$ M2 M$ N( F
  42. ---example---! V/ ?! K" K5 L/ [/ N0 t! _$ o3 O
  43. [DBEXPRESS]' g; q6 ?7 w/ h5 u; q) q4 I
  44. sqldir=mysql_sql: Z: B- U8 ^0 ^' w8 x' e9 x
  45. Drivername=mysql$ m7 t5 V0 |( I6 |5 L
  46. Database=test* }9 D+ S6 N/ x' T; k. |: C! S
  47. Hostname=localhost
    " {2 B% d+ }1 ~% m
  48. User_name=testuser" ^3 x: }9 T/ {. N5 s
  49. Password=my_password7 h6 w  @) M" w6 {
  50. GetDriverFunc=getSQLDriverMYSQL
    5 q, \) r- d+ U$ o: [: U9 {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0$ J% _6 P# y% o
  52. LibraryName=./libsqlmy.so& F6 A  s: Y9 @! o$ ]# I# A. Z
  53. Active=1
    . Y" G# f! l2 Q
  54. ---example---* r5 r7 z8 X" ], s; h4 V
  55. $ e7 I0 m" E' z) X, x$ f: Q
  56. On a windows box, also running the MySQL server locally, it would be:
    : R! \- @0 W. T
  57. ---example---
    % Z/ a8 h% u% g, }
  58. [DBEXPRESS]
    . Q1 q9 |' n0 s1 g, g/ W' ]
  59. sqldir=mysql_sql
    + j. T* Z9 X* r! F, |
  60. Drivername=mysql
      Y8 G+ |) `( r; ~; i  x8 f. T, D
  61. Database=test
    ( b1 t7 f+ @# l% N$ @$ _
  62. Hostname=127.0.0.1+ _4 u. r9 H0 f' u
  63. User_name=testuser
    , ~" a& c" T4 w# T* U
  64. Password=my_password
    . y) z" @+ r0 O  u- d7 t8 Z* a- t
  65. GetDriverFunc=getSQLDriverMYSQL
    3 X. z. @! [$ F2 e' E" q
  66. VendorLib=libmysql.dll; C5 G! u2 w& y& W- U
  67. LibraryName=dbexpmysql.dll
    & O3 f& @9 w2 |6 ]& L, \
  68. Active=11 j) x$ G8 ]1 R7 r) Y2 `+ b& s; n
  69. ---example----, l7 |, R* Z1 [. K) O. `! D2 ?
  70. - written 02.03.04 by pwk.linuxfan0 S( R8 G& |9 X
  71. " V% y8 |* b4 G8 ^7 F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 X; F& t/ e- b3 i* A$ Z) v( W

  1. ( W0 O9 k# K, M" k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 |. M8 g: c. b8 s8 P$ D3 O

  3. 1 J8 v$ n& W* r/ j) S. _
  4. # # #我们所需要# # #
    ! W. f. B+ P0 s. Z& T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & z! y6 K0 D2 H5 O. s
  6. 不会解释如何做到这一点-也有文件存在,为5 U8 M9 Z  ?; T0 @( o+ t1 ^1 \; h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # r! Y; m! {, {: R8 [/ |2 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: @3 O- W1 \# v& s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( |7 ~  _- n1 J
  10. 本地机器,这是我的MySQL安装。
    * h; D# X7 A) I' q# h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : X# T+ p  K: J) d, U7 a+ o) v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 r( g! h+ E/ ^  Y1 Z
  13. 数据库。 $ c7 n1 Y6 v0 m2 I; t: [7 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * R) ~1 N# f% x; v# H, l* [9 }
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / M) m, t* l7 c
  16. 在teamspeak论坛,如果你有兴趣。
    0 G; S: I# o- b3 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ! n8 h6 B2 z7 Q5 E" [' m& l
  18. Borland公司使用。这个司机只能界面与客户端库
    9 o; A) j8 t9 L; A! K# }8 N' A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  P' E. k: Q6 n* ]0 f+ Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 D6 U, \0 d+ }) _1 L
  21. " vendorlib " ,并解数据库连接。
    5 `8 c; i4 q; {
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & G% ^( f. d7 e
  23. . O5 b1 s9 ~$ \  c) _7 b
  24. # # #做好工作# # # ' x+ d# Y6 V- [( w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 b& v+ d& Q7 s% g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* I% n8 f, P6 }  x' i
  27. 结束: ) Q+ P) A. x  {: A4 O$ G
  28. ---削减这里---
    3 o& D- L6 v* z& z( t, P
  29. [ dbexpress ]
    8 n: S7 f. f; k1 v
  30. sqldir = mysql_sql + ]( x) [; J6 e1 C. \+ n9 @
  31. drivername = MySQL中' W# L7 D( E+ X
  32. 数据库= your_database_name_here
    # C: r3 s$ R* G. d
  33. 主机= the_pc_the_mysql - server_is_on % g2 O+ U" f$ r& ]
  34. user_name = user_name_on_the_mysql服务器1 \* w- ~1 v1 M
  35. 密码= password_to_go_with_above_user_name ! w1 _5 G* l0 o- S
  36. getdriverfunc = getsqldrivermysql " F0 |; v  B- W' ~/ g9 k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; N0 C: E5 ^- D
  38. libraryname = path_to_libsqlmy_libary # q, k, a# T) x# `2 N
  39. 积极= 1 / k/ v: l9 p( J- h7 i" q5 n" r
  40. ---削减这里---
    2 h$ ~4 J( [. _- ^( l& C2 C( |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 @' s1 r) h5 f
  42. ---例如---
    , n8 A9 S! n# ^5 ~" d* `/ j
  43. [ dbexpress ]
    3 r( Z3 D  p# X/ ~
  44. sqldir = mysql_sql 6 z% O4 _, P) f7 Y6 A
  45. drivername = MySQL中
    0 k0 h1 B3 ~# d# [, [2 h+ ^
  46. 数据库=测试
    ! ~# O( r! P5 a, h
  47. 主机=本地主机
    $ P( F' o! u2 o# j/ x9 l4 K
  48. user_name = testuser
    ; z# \2 D" l. e, v' q9 F  s
  49. 密码= my_password
    : Z3 U  k! b# v$ C* K3 ]: v' A( {) E
  50. getdriverfunc = getsqldrivermysql
    & j8 t5 l1 U2 Q0 H! D7 R- e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / I  E- V, p- ~) r+ s
  52. libraryname =. / libsqlmy.so
    ! {  y, D) }1 {5 W5 k
  53. 积极= 1 ! L. k' e, Y' b
  54. ---例如---
    " B. E& a# V: @+ L* w! \5 n
  55. ; k# q6 h+ p0 ]- [8 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / w& o7 g/ v8 ]
  57. ---例如---
    ( l" V& s5 f( p( b% q* f
  58. [ dbexpress ] ) E2 @, `4 f# `( J
  59. sqldir = mysql_sql
    2 v. `% F$ C5 p* g; z5 X& O
  60. drivername = MySQL中
    ' M9 W% B5 M' U+ l  J$ f# i
  61. 数据库=测试
    + M1 b- Z5 e/ W3 w; g, y5 |
  62. 主机= 127.0.0.1 6 }6 j- V% m% u( h
  63. user_name = testuser 2 a6 H0 k: e$ p( m( [( k
  64. 密码= my_password 6 Z: t! L9 g2 [. Q7 _  Z+ u" R2 ]
  65. getdriverfunc = getsqldrivermysql
    ! P+ _: a8 R* z3 e: V! j) [# c
  66. vendorlib = libmysql.dll在; r6 A1 h9 K. \8 c
  67. libraryname = dbexpmysql.dll $ f- F" f4 p7 T  P
  68. 积极= 1
    , ^7 L, D+ c) \# S+ x* \. [& E& o) W
  69. ---例如----
    0 e$ G1 c) h9 l  ~$ |
  70. -写在0 2.03.04由p wk.linuxfan4 L5 M4 x" s/ e( f+ |
复制代码
发表于 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  V7 V) Y9 I, X7 B& H

0 ]: m+ h- H8 x! h- cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-23 12:43 , Processed in 0.106067 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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