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

2307 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 k* B3 ]9 `& b2 [" i" V8 f

+ G2 G1 O7 m# E4 [, ~

  1. + G  Q( A. L6 r3 Q) Y" [9 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* U4 m7 y7 }$ a$ K4 k& g

  3. ( l( b' ~, `3 ^' Z: R% _
  4. ### What we need ###
    8 X' a) o. R; ?9 X
  5. Naturally, we will need a MySQL server to store the data for us, this document * J. `( b. {- I1 N1 o. X* g
  6. will not explain how this can be done - there are documents out there for the
    / e7 ~" S5 a; B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 @; W: R$ O- w9 M' Q
  8. and a user account (username + password) that has the permissions to do stuff6 b+ n% E- e) D( N1 O. e( z/ q
  9. with the database. Additionally, you will need a vendor library installed on the% @) t- ]' }0 m. ?$ ~; |
  10. local machine, this came with my MySQL install.; u$ Y  Z! V2 b2 w
  11. These instructions will not tell you how you might transfer your data from the- p! A/ O1 v2 [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& U& e/ i, s( n4 U
  13. database.
    4 X! r" t; i7 z$ ^0 N/ ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ C! l2 R4 L8 b: Z
  15. the time of writing, there are still too many issues - check the current status
    6 s; q5 w+ i+ e, b
  16. in the TeamSpeak forums if you are interested.
    ' H( B/ L/ F9 r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 ]8 s6 l0 G( G- J5 Y
  18. Borland was used. This driver can only interface with the client library that 9 ~- \1 Y* s; r% t0 |" a# M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % C, G/ Z6 d4 d/ t' b# j
  20. client library - basically all you have to do is to use a 3.x client library as % N; |& c% ~& |0 P1 W0 O
  21. "VendorLib" and a 4.x database to connect to.9 a9 ?. H  w& e& B$ \! a% @  b
  22. If you need more info about dbExpress, you can contact Borland.+ W% m) x: y: }/ ]# ]

  23. ) e% ]% Y! Y. D  F! d
  24. ### Doing the work ###% b6 C) l; ]! c) K9 o% ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( ~; D) m* |% J& f6 L& f$ x3 o# e
  26. the perquisites right, just open your server.ini file, and add this section at
    ' g# o, F+ u, F: `" w
  27. the end:
    - H6 ~" w9 ~3 k( E4 U
  28. ---cut here---
    6 K$ s: u" ?, c9 z) T. n
  29. [DBEXPRESS]
    ! i- m5 H; U$ I; G2 Z0 |0 @! p
  30. sqldir=mysql_sql
    9 S5 T$ h+ H3 |
  31. Drivername=mysql
    & F# w. _5 Z$ G- U8 Z
  32. Database=Your_Database_Name_Here4 q0 E. z; J" k3 F2 n6 y. g8 T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , C: N3 E, a2 L4 V# M
  34. User_name=User_name_on_the_MySQL-Server& a5 Y- _( P6 `0 u
  35. Password=Password_to_go_with_above_user_name- a/ K( X6 h  ?& T
  36. GetDriverFunc=getSQLDriverMYSQL9 `; d1 o* c; I0 c2 O6 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 {  P* C) A" v" e/ y0 N9 _
  38. LibraryName=path_to_libsqlmy_libary
    3 ]/ P+ G1 j8 @0 j( z5 r# X6 S' J
  39. Active=1
    , x. Y5 ?2 F4 W! M, a& ~
  40. ---cut here---5 u- z" k4 M1 d( _/ i6 l
  41. In my environment (a linux box with a MySQL server running locally) I have:% @7 n3 @* _& \( C9 `
  42. ---example---4 l$ V6 ^5 w$ t1 m( l! s4 B* F
  43. [DBEXPRESS]
    * p  k1 N) k. A2 {0 [, \& w
  44. sqldir=mysql_sql
    & b7 }( y9 X$ L2 v
  45. Drivername=mysql/ \9 p# X1 F- w. \0 K+ c
  46. Database=test
    ! X2 j- G* R/ r" M6 n5 k% @+ x$ K
  47. Hostname=localhost
    ( n9 P- n, f3 {0 x% {0 U
  48. User_name=testuser, F* S  C4 Q. v
  49. Password=my_password! n$ n; A9 d) N/ e: C& d8 a3 @
  50. GetDriverFunc=getSQLDriverMYSQL
    % h7 M# f4 K4 W; G; u: V0 E3 v( V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ N. `2 A: I) {8 c9 m5 j! D5 K
  52. LibraryName=./libsqlmy.so) g8 X# N5 h0 x( l0 s0 C) \: r0 V
  53. Active=1
    1 R( W9 V" k3 [6 @$ `& o
  54. ---example---
    , |; Z7 p6 m  A/ d) i

  55. 2 Y2 s$ r" @- G% j  Y1 D, c7 [
  56. On a windows box, also running the MySQL server locally, it would be:8 W4 d% A* R1 }, E; r
  57. ---example---
    1 i2 |2 O  h% j) P- C; ~
  58. [DBEXPRESS]( q% `' J9 ^: _
  59. sqldir=mysql_sql2 q/ |1 v; L' d0 Y- ~; x; B1 i
  60. Drivername=mysql) A9 ?7 n: Z9 o. h4 P. c) v; B
  61. Database=test
    5 m2 r  J" u* a
  62. Hostname=127.0.0.1
    , e- [- t! y) z/ X
  63. User_name=testuser
    7 _$ E& |+ }0 n; R7 d
  64. Password=my_password; F$ n) f% q2 I
  65. GetDriverFunc=getSQLDriverMYSQL
    # ]0 h' X/ \* G% N% a7 G
  66. VendorLib=libmysql.dll
    ; O+ Q! n+ j8 u8 a2 l0 k( J0 k
  67. LibraryName=dbexpmysql.dll( l$ X% _4 y$ t/ \
  68. Active=1* I7 k0 r1 D6 M, z1 t% K2 f
  69. ---example----
    - j2 A7 @1 V$ Q) {4 K
  70. - written 02.03.04 by pwk.linuxfan
    ! G5 u+ M3 ?* f0 E4 H( H' ?
  71. ) _4 q8 G4 h# L% f& \, K
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ A; Z& C% Z) u* w" J7 }
  1. / v4 s- A4 Q  {  h, j6 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 d" I( Z" c8 C' B: _8 T
  3. ( T+ z5 U2 |; X
  4. # # #我们所需要# # # . X7 H3 i* v8 ^+ Y; v( N3 l6 }! M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      t% C2 K- F- E# K: _
  6. 不会解释如何做到这一点-也有文件存在,为1 V2 Z" k* |; e- X$ B! G  F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! D! g2 Z8 V% L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , V! o& G! A) h" _# Y. @" g2 Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; a# ^, B+ q# w' v* T* j
  10. 本地机器,这是我的MySQL安装。
    6 ^, B  d0 }) ]/ T; ^" R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ @; p- `$ z9 q0 j0 `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # T, G. h) Q: i4 }' z. r5 j8 \
  13. 数据库。 / A2 a# Y9 z& k$ H4 t. z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 X- u5 v6 E! s+ m9 Z& {
  15. 编写本报告的时候,仍然有太多的问题-检查现状, _) z$ \; B0 Q2 r. j! W
  16. 在teamspeak论坛,如果你有兴趣。 ( g* a* V9 O# c' e. S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 `, X6 W' M( L0 U" A$ }8 m
  18. Borland公司使用。这个司机只能界面与客户端库
    7 O) y5 C: _% o" P0 n# G5 x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    " ?; E% A% j0 ]6 t) l7 R# [
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / o; ?! J  H% q7 U& ]' ?
  21. " vendorlib " ,并解数据库连接。 2 |6 i$ z. J9 k1 Q# A% O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) p; K, _+ ~2 R' P* j# l5 C# [

  23. 6 F2 l8 M; |/ T) C: R
  24. # # #做好工作# # #
    9 n+ D2 s& v2 `9 i# ]; F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ d8 Y2 z& p& R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  R6 y4 P  K# |1 X/ ~0 U% L
  27. 结束: - w/ @* c7 C9 W( d. u
  28. ---削减这里--- 4 O! j( _+ f3 S0 |
  29. [ dbexpress ]
    ; P2 c+ e# G9 G  D7 d: E" k3 j! Y
  30. sqldir = mysql_sql
    / s4 b2 [* f3 `: r- i$ s
  31. drivername = MySQL中
    3 ?1 e! U8 T( z' j" T
  32. 数据库= your_database_name_here 9 |; F- ?: @1 ]: e7 F& ?
  33. 主机= the_pc_the_mysql - server_is_on
    $ @" J  _! Z2 ~! Y3 [8 c1 T- J
  34. user_name = user_name_on_the_mysql服务器
    7 w8 Z% z. h# r3 T0 i
  35. 密码= password_to_go_with_above_user_name
    ) }0 ?% O0 N( `6 J7 m8 X
  36. getdriverfunc = getsqldrivermysql
    ! [2 L6 T& O4 M- k( o8 Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " [, G: a4 H+ e) [- ]4 I7 m
  38. libraryname = path_to_libsqlmy_libary
    4 X8 w7 P' b% R
  39. 积极= 1
    % a' [# I/ h' O9 S& v. C+ {/ Z
  40. ---削减这里--- - X# K/ v1 }$ `8 C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 G& r4 s- n; Q  [  ?/ l
  42. ---例如--- 1 v1 t' S* i  m0 ^+ M
  43. [ dbexpress ] - D* t7 g6 X% |- e
  44. sqldir = mysql_sql
    1 o3 w) A8 u4 w, f. @
  45. drivername = MySQL中
    7 T6 C4 q3 u; D; w( j9 J1 s9 c/ i' Q
  46. 数据库=测试0 r9 y2 Z# `% E: ?* s* T0 n- E
  47. 主机=本地主机
    + r- Q2 r% l+ Q  j, I* u
  48. user_name = testuser % D5 h; g+ L3 H- @8 y
  49. 密码= my_password ; _* Q, l* A! m8 b+ ~
  50. getdriverfunc = getsqldrivermysql ! Q" S" }% u( e9 q/ }. y/ B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 m' o: M% @9 K/ l
  52. libraryname =. / libsqlmy.so
    - J$ b' c/ x8 x2 X7 G5 C
  53. 积极= 1
    6 p. \7 l+ ^: x2 O: N
  54. ---例如--- ! ?8 ?! A! R% C" H5 q

  55. 3 H% ~' C% i1 \4 B) ~) I  W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 b& F4 Y5 X: p4 Y/ f* \3 S
  57. ---例如---
    . |2 r4 n2 m! [8 `) E4 w
  58. [ dbexpress ] 9 b* w$ A! m& j$ p/ R
  59. sqldir = mysql_sql
    % B! j8 X$ w( J  |/ p* K9 ~: L
  60. drivername = MySQL中+ m  `- i+ E( x$ S7 E
  61. 数据库=测试; m) E2 e: w1 T
  62. 主机= 127.0.0.1 * v7 b- b0 Q# n! H2 F8 @0 d
  63. user_name = testuser ' F% w5 ]2 R6 ~# f
  64. 密码= my_password 5 n, M5 h* ?0 k, D+ O4 G
  65. getdriverfunc = getsqldrivermysql + J& |. K- d7 [& U* x
  66. vendorlib = libmysql.dll在, `  F" P2 L, b
  67. libraryname = dbexpmysql.dll
    2 W0 s1 }! y3 V2 z! L
  68. 积极= 1 6 K3 n. z1 _# L+ o3 ~& P+ O
  69. ---例如---- ' l0 ^) x5 z1 D
  70. -写在0 2.03.04由p wk.linuxfan- J9 g. W6 `+ @1 i0 q/ h5 W
复制代码
发表于 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
* X5 q+ B5 s/ w+ i: c" w$ e+ i8 ]" S, `% \  c$ \  L; F+ c- V: v
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-17 18:58 , Processed in 0.109892 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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