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

2554 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: p; @! R' Y* a5 Q, b2 k% T- a2 O/ N" @& Y6 |

  1. 9 x; p) i& J! W# j* Z, v- |( g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - Q# Y2 m( E. ?# k+ p
  3. 6 D" k4 ?8 y" K* Y( \
  4. ### What we need ###
    ' ^: ~, E% y" E" ~$ k" _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + ]) X5 g$ o+ C* T9 L
  6. will not explain how this can be done - there are documents out there for the
    1 U- `7 l. h9 \1 c+ J! f( n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; D/ v. g8 E: |$ N
  8. and a user account (username + password) that has the permissions to do stuff
    : J$ @; {9 t: K0 D
  9. with the database. Additionally, you will need a vendor library installed on the9 S7 n6 l! O; |1 N! d
  10. local machine, this came with my MySQL install.
    % m  y# T5 B* y2 G; q5 ^
  11. These instructions will not tell you how you might transfer your data from the
    0 a, P, j+ b4 p  ~# ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, g3 {9 p7 o2 y: P0 F
  13. database.5 r. M7 }  F% ^* H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 e; g' E! e* V) J0 X
  15. the time of writing, there are still too many issues - check the current status+ J+ `5 D" }! ?1 Y
  16. in the TeamSpeak forums if you are interested.: D* }) S, F3 j7 E2 R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 L# [  k- _  C' Y
  18. Borland was used. This driver can only interface with the client library that ( e, |  w; h" {$ {* t7 I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this  }8 q2 n/ z0 V) T2 @9 \
  20. client library - basically all you have to do is to use a 3.x client library as 8 ^7 A5 j$ A' d1 s9 h' h* u6 S! N8 ~
  21. "VendorLib" and a 4.x database to connect to.
    1 u% p  T% t& _7 I
  22. If you need more info about dbExpress, you can contact Borland.
    7 M7 j  i: m( \' `% C

  23. ' i5 {: O8 X' x
  24. ### Doing the work ###
    9 t9 i+ h, _' C( ^0 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- ^2 o; x- q) R: }; f
  26. the perquisites right, just open your server.ini file, and add this section at& ?2 @# l5 Z: m5 K+ w9 H
  27. the end:
    " m, x$ U2 p2 g+ O( ~0 U
  28. ---cut here---
    $ t& \9 l3 R! A8 }1 S8 ?
  29. [DBEXPRESS]
    9 _, s- Q! [' Z3 G& d
  30. sqldir=mysql_sql
    / I. ]; w/ S6 }
  31. Drivername=mysql
    ' c( a5 A4 S/ L0 Y% X: ^  L7 L
  32. Database=Your_Database_Name_Here3 M( G* n' E, {. t8 C1 k1 X
  33. Hostname=The_PC_the_MySQL-Server_is_on, C" k) {* k  @
  34. User_name=User_name_on_the_MySQL-Server
    ' |# I* b8 q/ ^1 E5 _
  35. Password=Password_to_go_with_above_user_name
    % d9 L4 e( h: g* ]1 y+ }! C! [
  36. GetDriverFunc=getSQLDriverMYSQL9 R6 h. I  O. j, N$ n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( [$ {7 T: ]: B6 c
  38. LibraryName=path_to_libsqlmy_libary- U3 a: _! a" {2 t. Z5 w
  39. Active=1
    9 e% ]9 U/ i9 J  G
  40. ---cut here---
    ( T* [# ~$ ]. m4 x* U/ j
  41. In my environment (a linux box with a MySQL server running locally) I have:3 ?. c; l5 Y! j& b$ U; G, ^* `
  42. ---example---" ~* I! S" [) L! B( O
  43. [DBEXPRESS]
    4 |4 g2 Q" e% u( F. Y/ C
  44. sqldir=mysql_sql0 W  ]! q6 a3 ~" t  n& h# T1 b' T
  45. Drivername=mysql
    % w! e( U/ X) P1 F0 ~
  46. Database=test  E- o# f, a- n: V; }2 k
  47. Hostname=localhost- K/ |* c6 V  p0 z. q3 h. X
  48. User_name=testuser
    9 U" c5 X; q; v( L
  49. Password=my_password
    ) T! q3 r/ b' N: t2 k+ E, C
  50. GetDriverFunc=getSQLDriverMYSQL- ~+ S8 v: K4 Z! q6 ?1 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ `# k1 f8 t9 f2 K( \
  52. LibraryName=./libsqlmy.so! J- j  j2 `9 q3 A; h# w* ]
  53. Active=19 K. M2 R9 _5 I4 C# J
  54. ---example---
    : m0 c  Q. H/ j

  55. 2 `/ _0 Z1 D6 H! j
  56. On a windows box, also running the MySQL server locally, it would be:/ O6 n- R, x* D8 u" N
  57. ---example---
    $ g3 i: V, T0 N" Y6 q/ N$ E" m
  58. [DBEXPRESS]
    6 ?/ Q  _8 L; Q6 S6 o
  59. sqldir=mysql_sql) {) K6 r. ?% N$ \% S, _! d& {
  60. Drivername=mysql
    1 E0 p' ^5 g& M
  61. Database=test
    5 C+ ]( T" Q( [) @1 E5 }
  62. Hostname=127.0.0.1/ A. Z/ L* ]# y8 k! \
  63. User_name=testuser
    9 e2 y% m0 A1 U) Z1 i  I+ i6 D
  64. Password=my_password9 p1 ]% o% t2 d' P* c" [
  65. GetDriverFunc=getSQLDriverMYSQL
    3 [" [. x; R) i! v0 |
  66. VendorLib=libmysql.dll
    % }- Z& g5 `1 t, L" L: ^2 X
  67. LibraryName=dbexpmysql.dll5 v7 T: g, P, {; m4 R- }2 [
  68. Active=1
    , @' i* |1 @. P: E9 g0 k
  69. ---example----2 w0 N$ |8 U/ }
  70. - written 02.03.04 by pwk.linuxfan
    : S* \! n& u; r; E3 Z6 ^
  71. * x+ k  M  h& L* ]! }7 q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! L3 x. ]! `" C, G6 ~
  1. + o" f, j2 k" e7 S, N( J. N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . y% c, P( O) I# C: {
  3. * q% Z! b$ M9 N, t, R( f
  4. # # #我们所需要# # #
    9 G: e- k1 y, ?) J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 `3 o5 p" d3 r4 B
  6. 不会解释如何做到这一点-也有文件存在,为
    ( B; t  d; x! R8 X2 Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用9 Y+ C7 x/ C! D- {) N4 L' D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " S7 ?. V% n; f9 T2 p) V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) v/ ~" W6 T- `
  10. 本地机器,这是我的MySQL安装。
    8 e; @+ f0 T. {7 d. e. @  X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 {. M% O, C3 v7 K* P. X% Z7 T8 \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 j7 |1 T# H* j- F$ i- X
  13. 数据库。
    - _5 e6 g6 ^8 g1 W) W+ M) Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & K4 y% G1 B( D$ \  f  v7 D2 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状% s# a7 n1 B4 Q8 O2 b
  16. 在teamspeak论坛,如果你有兴趣。
    , `6 ]# N3 o2 d4 c( c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 D+ }! y5 ]0 f
  18. Borland公司使用。这个司机只能界面与客户端库) a( W& ^0 M7 @2 q" W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( e1 _0 |1 S8 O1 r$ p) A: ]+ D( c9 u
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 T" {- `' D8 q
  21. " vendorlib " ,并解数据库连接。 * K* e* h! I4 T5 |8 A, z2 x5 `7 E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & A( Z. e5 x0 t7 M, G8 b, q

  23. , ^5 k) N1 N$ Z- q
  24. # # #做好工作# # #
    7 D4 `- p3 W5 j" P, F3 @9 C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 v$ Q: G6 p9 x+ i: `) g. n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: H  p. E0 K0 C2 j
  27. 结束:
    * u* ~/ t* F- W' A9 o8 Q. L7 x. y
  28. ---削减这里--- : U* s. L7 z/ u1 P" B5 t) z
  29. [ dbexpress ]
    0 ]4 B* G+ [  f3 W
  30. sqldir = mysql_sql $ t: B. l" K8 l, x. |
  31. drivername = MySQL中
    3 @6 k: U) v1 Z. [# f' O; O+ N
  32. 数据库= your_database_name_here
    " B/ B, V7 D) L
  33. 主机= the_pc_the_mysql - server_is_on $ z) l/ w& ?5 L, q
  34. user_name = user_name_on_the_mysql服务器7 w! |  R* @0 [( O! P
  35. 密码= password_to_go_with_above_user_name
    $ u. |* H8 X) M0 [" w0 p5 L0 E
  36. getdriverfunc = getsqldrivermysql
    0 {/ B* `) }" ]  X. b, r) E' F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ' Y7 _8 Y5 V4 p  F" g8 p' ^
  38. libraryname = path_to_libsqlmy_libary
    + O$ O+ k4 |7 I1 F9 V8 {
  39. 积极= 1 " N0 O! f! D4 e6 U' V: v$ C
  40. ---削减这里--- " F4 R' w7 [7 X( E* j; F; _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + g; M' b( F# W  b+ J" ]( `
  42. ---例如---
    , x  x3 u9 }$ N# {& a1 t) Z3 H
  43. [ dbexpress ]
    ' [1 b/ D1 z$ W3 C
  44. sqldir = mysql_sql
    ) T; u: E; q) c  l6 I+ p* ~
  45. drivername = MySQL中
    5 i1 w8 h; y8 D7 U4 ~9 k7 K2 ]+ F
  46. 数据库=测试
    6 W# S) D$ m+ G4 s  q$ X
  47. 主机=本地主机8 R% v7 n1 N$ a* `+ E1 {& }, x
  48. user_name = testuser 9 c) m  W" i/ y- W3 v, C" J
  49. 密码= my_password
    & `4 B$ h8 ]5 C1 g  K: k# G! j+ b
  50. getdriverfunc = getsqldrivermysql
    9 b' e7 ^) w% a+ p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! B7 b' ]" z) S, f6 S* a
  52. libraryname =. / libsqlmy.so
    , B. u8 b  P0 e/ t( H: x/ h
  53. 积极= 1 3 T8 j2 h$ Z# _' [+ {
  54. ---例如---
    3 ~; |6 B" j( A0 J' ~

  55.   A/ T4 X: e/ v$ {' o) P
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / v% b' d: M9 D& ?& t
  57. ---例如--- 9 x4 E0 L( l2 Y/ O' j2 [, j6 E
  58. [ dbexpress ]
    7 y( u% [5 Z) E, S. F: I
  59. sqldir = mysql_sql - x% X$ K% b' ~: Y% j0 j
  60. drivername = MySQL中
    1 b6 U. {  ^) U& o8 ~2 D7 C. V
  61. 数据库=测试
    : u! n- v2 c) [1 v5 M
  62. 主机= 127.0.0.1
    0 F" N' z; u: D# H
  63. user_name = testuser
    5 N  a. i% j- u$ ~" z
  64. 密码= my_password ' L3 c$ I  W; ?
  65. getdriverfunc = getsqldrivermysql 3 n) A# r2 S, ?; \# ^3 ~
  66. vendorlib = libmysql.dll在4 q- T$ Y; p0 W# I* i3 r- I( S; K
  67. libraryname = dbexpmysql.dll 0 H% E% p5 E0 N/ M+ P/ m* ?0 _
  68. 积极= 1
    + @( ^; h: e8 q7 O. b
  69. ---例如---- : t& E) O3 }% z5 g
  70. -写在0 2.03.04由p wk.linuxfan
    ; Z, _# z: m) j/ U" D; i
复制代码
发表于 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
) m2 B2 }, T. J# B+ y5 w0 a" `; W* ]" _3 t7 _4 e" Q8 u
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-25 18:54 , Processed in 0.294487 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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