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

2440 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' D+ d. ^# b0 F! Q; \5 p( l8 K# y. M  T8 x6 ^/ w: Q

  1. 8 U6 u$ q8 L6 l" L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    + [! S) c6 w1 e7 Q

  3. 7 R% X# L" _! ~4 z0 x) p
  4. ### What we need ###
    ( V# @5 _, N/ J, m* J# R8 t
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 E4 c; K% N( q0 u3 F
  6. will not explain how this can be done - there are documents out there for the
    + r3 ~9 O6 k2 {# g' O
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' n3 Y  d9 U* P& g% W+ q
  8. and a user account (username + password) that has the permissions to do stuff
    0 x6 t) q4 a' i" f# @( x0 d4 y
  9. with the database. Additionally, you will need a vendor library installed on the
      M3 s% e" r6 K
  10. local machine, this came with my MySQL install.
    . X3 m$ ~; |- N# s0 [- U
  11. These instructions will not tell you how you might transfer your data from the+ e  R5 L* ?, }6 ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- T* i: W3 b) c" F" T" e  {  r' K) D
  13. database.
    - I6 x* R, S( f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 G4 ~- O$ a7 n
  15. the time of writing, there are still too many issues - check the current status7 T7 c$ h/ y( ?5 ]
  16. in the TeamSpeak forums if you are interested.0 w4 b; u; E" y& s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 d! Q' z0 q2 u$ ]) n# y, B
  18. Borland was used. This driver can only interface with the client library that " |9 L& f0 J. J6 c: G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: r$ N* N0 j, Q6 T6 i" e. w0 r$ ]
  20. client library - basically all you have to do is to use a 3.x client library as
    , J% ~5 P0 i2 y# n$ x) ~
  21. "VendorLib" and a 4.x database to connect to.- Y) |5 l5 }6 X  K% m3 H
  22. If you need more info about dbExpress, you can contact Borland.( Y# Q' D7 T( S3 a5 C

  23. 0 ]' ^$ e$ I0 @; p$ d+ a5 z
  24. ### Doing the work ###
    $ O/ ?1 \5 ]! f, q% ]! z8 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: a, T1 s& V9 Y
  26. the perquisites right, just open your server.ini file, and add this section at
    ! `7 n5 M8 {$ k/ y: m5 u9 K
  27. the end:* d- v" ^( `; [# @; f
  28. ---cut here---
    $ W. j! C+ h6 B; t+ k
  29. [DBEXPRESS]# b+ y- j4 z% Y" f: ]8 m/ f
  30. sqldir=mysql_sql2 f, H1 l; U0 @7 v& a7 z" {7 m! \
  31. Drivername=mysql
    0 q  c8 n& l, K1 L6 c* l, P& F
  32. Database=Your_Database_Name_Here3 l2 l+ a( r  @8 A
  33. Hostname=The_PC_the_MySQL-Server_is_on0 h3 ^" x7 G- j/ i
  34. User_name=User_name_on_the_MySQL-Server
    $ B1 Q2 y; f0 s" h7 \7 {) H' [
  35. Password=Password_to_go_with_above_user_name
    , o8 z0 k( j* |% F! q, [
  36. GetDriverFunc=getSQLDriverMYSQL9 Z! P3 v0 x% C* K. P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # W3 a9 \) h8 ^# R9 v& M) |
  38. LibraryName=path_to_libsqlmy_libary( z% s6 E6 {( ?0 Q/ i, ^- H: {/ P/ I
  39. Active=11 _- e, [2 Z9 k, e
  40. ---cut here---. [8 c' T: Q) L9 \/ j. @$ @! h& }
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & q  k! D% Q3 U) M. w
  42. ---example---% l4 t0 Q* F+ a/ Z5 y+ @1 V2 c
  43. [DBEXPRESS]4 z/ W2 Z+ m9 `7 Z! E* |
  44. sqldir=mysql_sql
    % o- x- j( d; W$ U( j
  45. Drivername=mysql/ n) A2 K( y. S3 J
  46. Database=test7 `6 M. ~# ]& @" Z% T
  47. Hostname=localhost
    - C# q$ x. N1 }' ]
  48. User_name=testuser. q8 q! a6 u* S
  49. Password=my_password
    0 q3 W) b  v, t- g
  50. GetDriverFunc=getSQLDriverMYSQL! J7 M3 n  u' W, \2 G, l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; z$ T1 X% q7 V! D8 O" Q: g0 N1 k
  52. LibraryName=./libsqlmy.so# v) m. Y& _" m# Q" X
  53. Active=1
    7 j' |! d0 Y- o) y. {: n
  54. ---example---
    ' j$ R  B" S, A  ?

  55. 5 w3 {+ g; Z7 s
  56. On a windows box, also running the MySQL server locally, it would be:3 d; {' o4 w6 h, e6 c% D1 t
  57. ---example---
    ; ^5 e7 k0 y% I; f
  58. [DBEXPRESS]) v4 @' Y; i3 u, v; ]1 o7 l6 q
  59. sqldir=mysql_sql
    & g$ ?. p: q& S: s3 U8 H
  60. Drivername=mysql3 J, C+ [7 B3 d% v
  61. Database=test
    ! M( A" n  Q) k. P! `) ^% g
  62. Hostname=127.0.0.1
    1 A* w" f0 s+ d, Z
  63. User_name=testuser
    3 |) T7 W0 X. G7 f0 e( r. y
  64. Password=my_password; E1 n7 [" J& Q/ V% N2 g
  65. GetDriverFunc=getSQLDriverMYSQL
    - E2 J( Y6 w# L7 u! `  L" m( R. b
  66. VendorLib=libmysql.dll. I5 a% {) O0 l  g) K
  67. LibraryName=dbexpmysql.dll
    , n3 d$ u3 D' a, I
  68. Active=1& V$ U6 i( v+ r, X7 m
  69. ---example----( T/ N9 P" F/ p. ?
  70. - written 02.03.04 by pwk.linuxfan* ^6 B$ {. G2 `. N8 y
  71. * z- q% k+ z8 S: }/ v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# o' P" X3 j4 d9 t

  1. & }9 \# _0 h8 Q+ I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    0 e4 n* C. `  o( K
  3. * p6 S& D/ p, p) J; c( v$ p6 `* U
  4. # # #我们所需要# # #
    0 b( a, D" x- N, @+ s# P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; m8 c2 I: M+ n/ {8 x
  6. 不会解释如何做到这一点-也有文件存在,为- T, x+ w' z% f' f  z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " L9 w4 I# m/ L4 `1 O$ f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , y  x5 {$ @! Z9 t4 E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 I6 I2 R  e$ V& ^& \4 ^
  10. 本地机器,这是我的MySQL安装。
    ) B4 s- H! `5 B+ e* }) r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) m8 N* R- L) V* @) f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 K# k7 ~" f7 E
  13. 数据库。
    ; o" O: Z0 X3 o4 v& s/ |- j
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . g+ V; j( l0 x: Y2 s  ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 L* ^! f0 r- }& W$ J1 `
  16. 在teamspeak论坛,如果你有兴趣。 : X+ J+ X1 U0 s) {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 p* ^  G! H& K3 E9 t+ F
  18. Borland公司使用。这个司机只能界面与客户端库
    " H3 G# V! o! J9 q8 C4 N: }6 r6 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 y/ x2 m8 ~" J) a8 v# ?' v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " t: J7 o; A( f  l; `8 f
  21. " vendorlib " ,并解数据库连接。 $ p+ A: f8 a5 R; X- a8 o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 V# {1 F" x( {0 e, G( h' v  f8 `5 Z
  23. 2 }' |  w, z0 M; W$ _/ h8 h! E
  24. # # #做好工作# # # - l( K! K. d7 _7 n& }1 O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, l4 ^* X- Z6 K( K. g2 L  P1 X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / c2 J6 \& t5 L
  27. 结束: . Z/ t+ g3 s% i& X* ?% j/ S
  28. ---削减这里---
    + l* R- L- j, @2 E
  29. [ dbexpress ]
    ; L- ~3 y. b5 N( D
  30. sqldir = mysql_sql 3 b! Y' J  d8 m7 `! M, i
  31. drivername = MySQL中; d* ^/ n( y. g& q; t2 K
  32. 数据库= your_database_name_here * {6 x# c& V# Q( r9 Y% ~
  33. 主机= the_pc_the_mysql - server_is_on - ], r1 @* G& j' n0 o7 S5 M6 q
  34. user_name = user_name_on_the_mysql服务器
    6 ]7 \; |0 ~! w0 Z
  35. 密码= password_to_go_with_above_user_name
    8 C- a) W3 L) |2 M6 x
  36. getdriverfunc = getsqldrivermysql
    : }1 [. n  j0 X- o: w8 Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 }, V6 j# w1 [/ k) j& X, o( D
  38. libraryname = path_to_libsqlmy_libary " k1 m9 Z3 d6 v
  39. 积极= 1 ' |2 U7 y4 X5 T) E4 M' g+ l3 k
  40. ---削减这里--- 0 c$ |. j; s0 |. Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 |2 \- Y. g$ d4 u% r
  42. ---例如---
    6 J7 a9 R# t0 O- B1 e6 g$ O
  43. [ dbexpress ]
    5 K9 i0 E6 h3 l% l( k# p% Y
  44. sqldir = mysql_sql
    + @4 E- L" t, a# M4 }
  45. drivername = MySQL中
    ' P6 O* x! F  H# Z  d7 ]4 e
  46. 数据库=测试
    ' m0 A$ U! X  L. f# S/ B9 D
  47. 主机=本地主机3 ^# ~7 w: M' C
  48. user_name = testuser . Q4 }) z% o) I+ ~, c) S0 N5 ]
  49. 密码= my_password
    " ~) h) p8 U- G5 |1 J
  50. getdriverfunc = getsqldrivermysql ( F/ F( }4 ~! H6 U. O8 _8 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; W" K( T5 P" ^2 J, e
  52. libraryname =. / libsqlmy.so . t: ?' d) G2 r+ _- ^9 N
  53. 积极= 1
    # w2 s1 v) P" F
  54. ---例如---
    8 W0 d, e2 ^8 j- O$ o& U6 ]

  55.   l4 E+ Z) I( X. P3 w* B* X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & m" e! S9 P) A. F
  57. ---例如--- $ U/ u8 Q3 b; u6 |) e; W+ `0 E
  58. [ dbexpress ]
      _; O' X6 ^* N& w- {. b  Z
  59. sqldir = mysql_sql
    ) g+ p2 `3 v9 g' n# T; V! x2 O# `
  60. drivername = MySQL中( _, A6 `3 \' Z  x- K. Y' l
  61. 数据库=测试
    ! c- b( R: K7 N8 z/ N+ m
  62. 主机= 127.0.0.1
    7 [7 H$ U" q; X5 \7 K
  63. user_name = testuser # h' |7 V: _3 S, X8 c2 Y
  64. 密码= my_password
    ; |( v7 _5 y' R1 y) A2 u5 |" |
  65. getdriverfunc = getsqldrivermysql 3 ~0 u0 [  X: i  r0 P1 U% Z1 a) i
  66. vendorlib = libmysql.dll在
    ) e& H3 X: V1 y  ?/ O( b0 F( H4 D
  67. libraryname = dbexpmysql.dll
    . H9 X7 V) H6 p- {
  68. 积极= 1
    / }2 H( Y5 W; u3 e
  69. ---例如---- 8 h- m1 W2 i* g7 w
  70. -写在0 2.03.04由p wk.linuxfan
    * N3 j6 y0 p+ Z3 o
复制代码
发表于 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 words6 _/ R7 p# j4 Q! s5 _" h
5 ?$ C, J  i% p5 K  l& K( x
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-3 03:04 , Processed in 0.109619 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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