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

2807 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( P. q* u  }4 @# w2 K- M3 U3 h

8 l, c. v0 ~# w
  1. ( X' Z. n3 B- u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* n3 Z% m) N0 r: T( o& Q( j

  3. 9 {! `- L& [" F7 `0 s  B' J2 A
  4. ### What we need ###* b& \, @7 t3 J9 ^9 d
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 y+ y- C9 J7 y9 |- F7 L3 R
  6. will not explain how this can be done - there are documents out there for the
    3 g1 Z2 E1 e5 ~1 y" Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & t0 M* h+ w3 q) R
  8. and a user account (username + password) that has the permissions to do stuff8 e' `; ]8 a' J! ]& g0 S
  9. with the database. Additionally, you will need a vendor library installed on the
    ; H$ c# o0 o) |' j
  10. local machine, this came with my MySQL install.
    $ d# x' x" o7 s( j8 r- K6 J
  11. These instructions will not tell you how you might transfer your data from the
    . m2 _3 q* p  K8 B* @5 V; M( q- z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 w0 o! z9 h. J% T
  13. database.8 i5 M0 C$ k( A& r5 v) W9 `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & L7 A2 Z8 {  U1 L& ^4 N4 m) E
  15. the time of writing, there are still too many issues - check the current status
    0 X( \  }& ?; h2 _
  16. in the TeamSpeak forums if you are interested.
    $ F$ S' d6 S6 e. T0 I5 o/ b& x+ f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 V2 i5 l& f: X( x9 \# S
  18. Borland was used. This driver can only interface with the client library that 9 X8 \: j) K! k+ F/ S3 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ K% d$ x9 e$ x7 y# }
  20. client library - basically all you have to do is to use a 3.x client library as " b. K; L! c" A: @
  21. "VendorLib" and a 4.x database to connect to.
      z% `' W" v) u, t5 a% O0 o9 Q8 H
  22. If you need more info about dbExpress, you can contact Borland.9 R1 G" |# y. d# x8 M2 q+ ?) Z

  23. 3 w: A& {) L( k
  24. ### Doing the work ###
    ! q8 A0 [3 h5 n, I  p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 ^. R  J) h$ Z: c) w" \! |5 F% D% ~
  26. the perquisites right, just open your server.ini file, and add this section at! r' p0 J! c: j3 {
  27. the end:
    $ K" z& M0 N/ X6 A* f  ]
  28. ---cut here---  `, R) b3 D6 L: ~. C% e- {
  29. [DBEXPRESS]
    5 G: e) Z! _1 e  ^* k2 i! \
  30. sqldir=mysql_sql
    : u& T6 H& i/ O
  31. Drivername=mysql: k1 Q+ z6 y% I- W
  32. Database=Your_Database_Name_Here
    : i  Q& t' E  E% \
  33. Hostname=The_PC_the_MySQL-Server_is_on, p; k  B' P/ W0 z8 t$ G. z; y
  34. User_name=User_name_on_the_MySQL-Server( u2 y9 n/ W3 S& L9 Z
  35. Password=Password_to_go_with_above_user_name
    ! B& |% ?: l( ]7 A* R- @: a9 s
  36. GetDriverFunc=getSQLDriverMYSQL% o0 Z. g+ S! n" j3 z% v, ?5 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; ]5 X' i% q$ U. c- I4 E" t
  38. LibraryName=path_to_libsqlmy_libary
    , z4 Y; d7 K% G! ]) L: y
  39. Active=1
    ) I: J! F% x# z' q$ A
  40. ---cut here---# ?. c; H1 T2 p* C& W3 \# p: O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # x7 W$ S5 `0 P( h# M0 |; A7 ^
  42. ---example---% g" Z# B/ J3 r
  43. [DBEXPRESS]
    1 v* i; z1 T' ?, {8 H
  44. sqldir=mysql_sql4 k9 n" Y/ v6 v( s& i# M/ l( i
  45. Drivername=mysql
    ) J7 _, |- w1 v. P( H- r1 L3 m( S
  46. Database=test
    6 q/ [, ?* H" H5 W
  47. Hostname=localhost
    ' M1 W  t* v% H! I
  48. User_name=testuser
    8 A" z% H4 {5 x* D6 R% w; @$ S
  49. Password=my_password
    0 _1 `: m  I7 F) F$ O" B$ _
  50. GetDriverFunc=getSQLDriverMYSQL* j5 V3 |8 H! C6 H. k! ]) ?' V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 {- w* Y; l0 r' X
  52. LibraryName=./libsqlmy.so5 Y' A# P. _" w, a, c8 p
  53. Active=1
    8 m: ~& o( K. y) e6 R( N
  54. ---example---' X! `- Z" S$ e( w, }: t: |( t
  55. ) t+ ]" D7 A4 v5 ]
  56. On a windows box, also running the MySQL server locally, it would be:& u# b( c, S6 a6 d" J8 `
  57. ---example---
      N* ~  L; ?5 P! f9 P
  58. [DBEXPRESS]: V9 B5 ]- m1 w3 |. z
  59. sqldir=mysql_sql
    0 z, l% `0 u7 i) P$ [! z2 E
  60. Drivername=mysql
    + U1 ^3 v* X! w& T$ Z1 D
  61. Database=test
    , B) d1 r% R+ e2 w# W+ \
  62. Hostname=127.0.0.1  L1 P) z4 Z) n! b
  63. User_name=testuser# p+ F* ~0 P3 r
  64. Password=my_password5 ]9 B5 ]' `3 z( u
  65. GetDriverFunc=getSQLDriverMYSQL
    / s$ j% K9 T0 M: H" y: U6 |6 |' p% u$ r
  66. VendorLib=libmysql.dll
    4 B- b2 t" \4 n) W, ?/ w/ U8 z+ y+ x
  67. LibraryName=dbexpmysql.dll
    0 M  C% {4 D7 Q3 c6 s' C5 _: R
  68. Active=13 s1 c7 R2 {5 D( s7 R' g" \
  69. ---example----4 X- l' S6 c& Z) m' Y
  70. - written 02.03.04 by pwk.linuxfan
    5 G; y" a0 h# y# G1 [/ c( Y- [0 n( |
  71. 3 N, V# |! O7 V& }, v9 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 x" ^, y' H9 r& P- U

  1.   @: O8 A9 c, |: a% D
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      y" E. x8 u6 |( V$ Z" q5 l+ ^
  3. ' E  X* c9 F- i" {) d; E5 J3 P
  4. # # #我们所需要# # # 8 V/ V2 ^, Q1 q3 Y' [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( b9 W0 I3 }, a/ h
  6. 不会解释如何做到这一点-也有文件存在,为
    2 N* L& H( ^5 q6 d" r3 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 O' ^9 n) y/ N3 o
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. d+ j! E( B% M# t. A4 m' ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ k5 A- f- F4 ?8 e  X4 G1 T
  10. 本地机器,这是我的MySQL安装。 ; |' u- G3 f$ i6 r' o( ~1 }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - ]* j6 N- K* P+ n8 R  O0 `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " s( {- l4 D2 U0 q2 Z0 ]  J4 j
  13. 数据库。
    % r3 p1 b; P! p& d: ?/ S7 u8 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: V1 q3 J0 @2 ~7 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 ^, z' w4 \% w1 K6 P5 n, M
  16. 在teamspeak论坛,如果你有兴趣。 - m! W: s4 p) V$ |# D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , ?7 n8 ?, K7 \: f
  18. Borland公司使用。这个司机只能界面与客户端库
    : e( Z* R" `/ s9 I% f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& N0 k0 V" t5 T0 y4 a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# I: t6 p) E7 k6 J2 d& z. z$ |4 `
  21. " vendorlib " ,并解数据库连接。 & M! U  p* P: _* z. n$ R# |( B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % a6 Y1 b/ g, v: l* O# c' L

  23. * E, I) c% v+ T
  24. # # #做好工作# # # ! b# l% |9 K) c( ^. z0 w  z$ V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; j; ?- x- n3 o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 z. l4 j. K, h
  27. 结束: 2 N/ y- u! x: t1 g9 Q& s) M% F: I
  28. ---削减这里---
    ( e& Q- s5 E$ @$ G6 F
  29. [ dbexpress ]
    ) \' W* c& T, z, w: B# r/ M+ e
  30. sqldir = mysql_sql
    ! ~( y9 B9 I0 Z% ^4 [4 z
  31. drivername = MySQL中- i3 |% \6 [# L$ z- L, w
  32. 数据库= your_database_name_here 6 u9 O( M- o9 k6 z
  33. 主机= the_pc_the_mysql - server_is_on
    ( f- ^/ }1 i8 }. t+ L
  34. user_name = user_name_on_the_mysql服务器) m/ q6 J( O6 a8 v3 h" p
  35. 密码= password_to_go_with_above_user_name
    $ e9 @! p; y- O- _6 k* r
  36. getdriverfunc = getsqldrivermysql 2 I  `3 f# |9 U( Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 O/ Z& X  b5 M
  38. libraryname = path_to_libsqlmy_libary 0 W$ [9 O5 K$ |' U* v
  39. 积极= 1
    / a0 h7 R/ q% s1 U6 w6 h* T) d2 r0 t
  40. ---削减这里---
    ( R3 I: j  \6 f4 r* i9 g' X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 N- x7 d5 `- V8 K
  42. ---例如--- # @* C8 f  x0 W6 J* X  a, A( w
  43. [ dbexpress ] 4 |% A- r2 c0 J5 d! F
  44. sqldir = mysql_sql
    . N! B  \7 Q' S' ^
  45. drivername = MySQL中
    & K. X# F" U$ e& d9 K" k8 f
  46. 数据库=测试
    7 \& n1 n- [( J/ q- u  Q
  47. 主机=本地主机
    . \( V' `, V+ l, b
  48. user_name = testuser   P" O/ i* G) u, {
  49. 密码= my_password # N& B+ l- B, J  p
  50. getdriverfunc = getsqldrivermysql
    5 Z- D, E; _4 w9 p' W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 e% b! c4 O' C- i
  52. libraryname =. / libsqlmy.so
    % |4 k2 a" `7 W8 p; c# J
  53. 积极= 1 4 b  G/ E8 ]( e& f, I$ j
  54. ---例如--- * Q; l7 V, m7 X; `. [
  55. - j1 `& R' y. E$ ^" |5 }7 ?2 S2 x) t4 r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - p$ I+ }# m5 K" @" B
  57. ---例如--- 4 Q9 Z, ^' s  P7 ~6 [1 D
  58. [ dbexpress ] % E) _( H4 m8 i8 b: x8 |' D0 ~
  59. sqldir = mysql_sql
    / _  n& u% r* o3 S0 y- k  I6 N
  60. drivername = MySQL中
    / W+ m/ c9 C' U
  61. 数据库=测试6 U6 N4 l* l2 X) e  V; c9 z
  62. 主机= 127.0.0.1
    % j# D% S9 u5 q2 `; T6 P- ]
  63. user_name = testuser
    ( E+ P2 Y. l* o  S9 g1 y4 o
  64. 密码= my_password 1 Z4 k1 D4 z6 a* I" s
  65. getdriverfunc = getsqldrivermysql
    : O! w. Y' F. ~$ \7 @, B
  66. vendorlib = libmysql.dll在
    0 J, b0 y) b6 Y/ d5 X5 u
  67. libraryname = dbexpmysql.dll   p8 h. a# L1 ]/ }
  68. 积极= 1
    0 u7 t4 ]2 d( i1 I) k! u
  69. ---例如---- + e' w+ Z& T* ~- J6 ?
  70. -写在0 2.03.04由p wk.linuxfan
    % G7 ^1 z/ s0 ^* b/ E& q# w9 ~( n) W( X
复制代码
发表于 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
- m" _2 n! i* R3 ~4 A: ~; K( R+ d2 N8 \- k
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-26 07:21 , Processed in 0.089155 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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