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

2324 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; b- N: t% z& D- ^
+ X+ R$ v, S) n, A& y8 G2 O7 o

  1. ; U+ A$ k9 j  I9 ~9 t8 _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 L  O) R( m% D- V! ]( J
  3. ! q) H$ w7 f# k" b+ V7 x8 s) X
  4. ### What we need ###
    : D9 j. W$ F$ l/ M8 Y+ r2 E7 y
  5. Naturally, we will need a MySQL server to store the data for us, this document $ l. m- C% t6 o# o' m
  6. will not explain how this can be done - there are documents out there for the
    - n8 y, c+ l8 ~% Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 d0 a- t# ^5 W( u$ }  Z
  8. and a user account (username + password) that has the permissions to do stuff
    / }% d) j7 @, k
  9. with the database. Additionally, you will need a vendor library installed on the
    : n4 v- r0 v4 T# a
  10. local machine, this came with my MySQL install.  q% p8 y7 o" E
  11. These instructions will not tell you how you might transfer your data from the
    * z& o  g, J3 d8 M3 T  w. g2 c- K* }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) q: E4 F8 a6 V6 h$ a
  13. database.7 B* x, n. \0 `  C$ b' l  w+ M- d
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & Q  ?$ B8 W0 ^  w* e% E! c8 `" U
  15. the time of writing, there are still too many issues - check the current status: N0 k2 V* Q+ |9 U) S! k
  16. in the TeamSpeak forums if you are interested.
    / w/ y" `- K4 f2 u) ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& ?" Q; q; \6 i. a
  18. Borland was used. This driver can only interface with the client library that
    , W/ ]2 w" a  y/ }! N; Q; h# h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, F$ u' z3 o" t! B
  20. client library - basically all you have to do is to use a 3.x client library as / u7 c7 A+ J/ ^- H" e7 g
  21. "VendorLib" and a 4.x database to connect to.5 S( k. n) s0 N" I8 O2 e
  22. If you need more info about dbExpress, you can contact Borland.
    : O) b$ Q" B' y; f! F2 e

  23. ) R, b# ]0 b4 f, x
  24. ### Doing the work ###2 s% z/ A% P" F" ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # f0 f  f5 n: X! ]- x6 p' C. s/ u
  26. the perquisites right, just open your server.ini file, and add this section at
    ( X, a  ]2 `  V3 F0 S/ h4 o- b
  27. the end:
    7 i0 X3 a, b- O2 w9 b5 |% d% G
  28. ---cut here---
    . N. v: D7 m6 p! D3 v
  29. [DBEXPRESS]
    ; G+ E3 ?- I7 {8 x5 V4 J2 Z
  30. sqldir=mysql_sql
    $ L7 @) z! w+ _6 i, o4 Q
  31. Drivername=mysql
    ! H7 L" b2 ~5 o2 ~
  32. Database=Your_Database_Name_Here
    ' B! P- J0 n7 K( Y. E: u
  33. Hostname=The_PC_the_MySQL-Server_is_on3 A- H' E& y0 _) H( y2 ^6 u4 K
  34. User_name=User_name_on_the_MySQL-Server5 E: h0 O- e6 s0 K
  35. Password=Password_to_go_with_above_user_name
    . {" T* V, l, V. g
  36. GetDriverFunc=getSQLDriverMYSQL# s2 j( b0 s0 [- R& Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , K) F8 I" v0 a' r$ p/ p* ]
  38. LibraryName=path_to_libsqlmy_libary5 Y: O7 R2 V& c7 P8 w2 ?
  39. Active=1. h6 L* `+ W% K$ {/ k
  40. ---cut here---
    # \9 v0 I+ X+ a( X9 g( x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' |6 S4 |3 u# j3 F
  42. ---example---: Z7 t7 f% S% T2 J: A4 \  o' S9 ^
  43. [DBEXPRESS]
    " O" J2 q: `5 w! R9 d1 i
  44. sqldir=mysql_sql
    ; L; f# e2 Y- f4 z9 n
  45. Drivername=mysql& h1 [8 L0 `/ a; t* A
  46. Database=test2 I9 S1 m1 J! ~& t  x  s
  47. Hostname=localhost
    1 S  [1 T) ^5 s9 Z7 G  [
  48. User_name=testuser
    " |6 `9 x/ ?/ A: E1 @' N
  49. Password=my_password
    . X+ T9 W  s1 r# \" v
  50. GetDriverFunc=getSQLDriverMYSQL: }* s" r& f7 K. I$ G& s" l# S0 w: `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: E  D7 J. ^" K
  52. LibraryName=./libsqlmy.so
    5 [9 K0 c* H- x! U  j* E" ?
  53. Active=1
    ! e: t6 M& ~& o/ S) J% e
  54. ---example---: b' s1 H( }( ~
  55. , y1 ]) `7 ]9 |
  56. On a windows box, also running the MySQL server locally, it would be:
    3 m% R% T* C$ \% Y9 r
  57. ---example---- E5 J  d  r- r; M5 S3 T$ i4 \
  58. [DBEXPRESS], p# m% `1 d6 ^# o9 C
  59. sqldir=mysql_sql; J8 B6 L/ P" b; m
  60. Drivername=mysql
    9 a( X7 B" t1 w
  61. Database=test+ R# f5 P' z- S  G5 ?
  62. Hostname=127.0.0.1
    8 |5 t0 k- l/ D
  63. User_name=testuser7 m; M2 F4 M" B. T" Q/ ]; v
  64. Password=my_password
    9 K4 w3 B4 ], C, B
  65. GetDriverFunc=getSQLDriverMYSQL& r$ T6 Z4 o2 `( C; ~5 Z
  66. VendorLib=libmysql.dll- ^  |0 A# J+ X- V) r
  67. LibraryName=dbexpmysql.dll
    6 V5 T* M, v4 h5 H: k* h- u! Y
  68. Active=1
    , B0 v! P! z: ]$ [: G6 C
  69. ---example----2 h' N, b1 d  C+ [* k8 ~" i2 z
  70. - written 02.03.04 by pwk.linuxfan
    & P6 F# y6 c; w6 i2 s
  71. 6 \% P. B' }& t- L6 S6 {( y& d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% n7 f6 |4 H+ s* \" r: X
  1. % q7 z. a0 ?' X" E+ Q% {8 d0 V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 c; Y" Q- ?. r! z

  3. % g& d( V) M( f6 B& s7 S7 A! q
  4. # # #我们所需要# # # ; e. d2 j/ d$ E0 ?( O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! D9 Y2 b# U. i- M0 d
  6. 不会解释如何做到这一点-也有文件存在,为4 _* A' n0 I: t# M7 M% h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' w8 I" Q) E+ H" P: E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  F' K6 \" k0 j* C5 m# G. Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * ]* L" V& z3 i- o7 O: b
  10. 本地机器,这是我的MySQL安装。 8 U' ~8 G9 ^+ x% U/ H4 H1 e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; A3 ?. W) N9 _0 V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    5 l6 N' v, ~/ Y. `; e! q- p% e
  13. 数据库。
    6 z# y: E9 K) W' O6 u7 s7 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 e( f0 d) _1 `( A. {! C& Z. W3 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状" D' H, s* J* N" ?1 x) G
  16. 在teamspeak论坛,如果你有兴趣。 6 g: L% Z& C3 T* @1 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' ~& c4 w4 W* B! t3 k
  18. Borland公司使用。这个司机只能界面与客户端库2 M; s+ S5 Y- Z; N5 N' ^- |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    1 j$ L1 W9 O1 O2 {4 a8 t. ~" z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! n  a- ]; Z$ \
  21. " vendorlib " ,并解数据库连接。
    9 X. ]3 s4 q1 U& z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , F, V; R- Y  o! i3 u* v

  23. # E9 U; X) K6 D: j
  24. # # #做好工作# # #
    4 ^' z  ~5 k, ]! X. c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( G# ?* V5 ~$ C9 u, M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 ^$ P! S* x7 N- U7 S
  27. 结束: - Y( M2 J7 e2 T5 J
  28. ---削减这里--- / I# G, R% V$ d$ I5 ?2 i. `
  29. [ dbexpress ]
    1 |3 q/ w5 h, e$ G% o# j: y9 J
  30. sqldir = mysql_sql
    " I" `( c6 C, i( a, I
  31. drivername = MySQL中
    7 p! d) S, |% K1 ]0 V
  32. 数据库= your_database_name_here $ L% @# X/ o, x: C" ~
  33. 主机= the_pc_the_mysql - server_is_on
    + H7 Y* n. s3 O
  34. user_name = user_name_on_the_mysql服务器2 k. u$ ?+ V" v
  35. 密码= password_to_go_with_above_user_name
    ) r* x+ ]; K, @; q5 d* b
  36. getdriverfunc = getsqldrivermysql
    1 B* D9 |" x  X% Y# ]1 S# q% w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 R# u+ e9 a  y8 x& c: U2 l9 T
  38. libraryname = path_to_libsqlmy_libary . V# [7 w; y( `1 q  [  o, L
  39. 积极= 1 " `; Z5 O# Y$ k4 {& b
  40. ---削减这里---
    ) ]" e: Y7 V+ O' X3 M& F0 H
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % ]* d- \( T. E! T! p& s! ~6 b! K% ]
  42. ---例如--- + {8 l# I) }, ~) `. Y
  43. [ dbexpress ]
    , u1 V+ w! p4 t. Q
  44. sqldir = mysql_sql
      L* E4 X( V4 I
  45. drivername = MySQL中( V9 |+ T3 z4 T4 Q: x8 M: f* A9 x. P
  46. 数据库=测试+ O8 i9 T6 s5 _0 B9 Z
  47. 主机=本地主机, x' q  f6 n! I( @
  48. user_name = testuser
    3 o. y8 D  l+ k& k5 K) Z, p7 ^' f4 X
  49. 密码= my_password : V; R4 A8 L2 G" ^9 Q
  50. getdriverfunc = getsqldrivermysql 3 [6 D( e% O$ d  e7 Q# V  C0 ^8 e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 r$ h9 Y: {6 ?! |! \8 S
  52. libraryname =. / libsqlmy.so
    , @1 S9 y/ d" V9 Q! o! o. {
  53. 积极= 1
    9 u5 S% z' v" X5 g7 _4 Q" c: m: ?( `4 F
  54. ---例如---
    9 d9 Q  j2 g* d

  55. ' o/ ]& ~$ R+ ~2 c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * l; ?' R3 u& L& {
  57. ---例如---
    ) j  g! w. R& P1 ^) k5 C9 o
  58. [ dbexpress ] 7 R; ^+ O2 C: f/ {3 B# ^( p
  59. sqldir = mysql_sql " J6 Z2 G6 O$ V3 l, G1 x  I8 s- q
  60. drivername = MySQL中; z$ r( p" i' ^( c2 W- h! D; _
  61. 数据库=测试) K  i/ r( S) z( H
  62. 主机= 127.0.0.1
    9 X( Y- T6 f: w' B  b+ s& P2 q* y% X, L  {
  63. user_name = testuser
    ' {3 y, p2 y: \2 r8 U2 s; Q5 W  h
  64. 密码= my_password
      f( I0 y% Y2 }7 s% k7 ?& Q5 x
  65. getdriverfunc = getsqldrivermysql
    ! Z  G6 C8 N9 \6 F, X
  66. vendorlib = libmysql.dll在& _6 q$ j. V8 _4 \1 W3 Q
  67. libraryname = dbexpmysql.dll : O1 x+ J& x% E! C/ d( h( [6 E) j
  68. 积极= 1 % u1 r, w0 K3 E+ b# ^: l$ Q0 z( H
  69. ---例如----   j3 u8 C1 [& w* L2 Y
  70. -写在0 2.03.04由p wk.linuxfan6 Z% e) K8 J! _9 G. ~
复制代码
发表于 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 words0 e9 }/ t1 a! a5 J5 I! s9 [

7 P7 ~$ H6 f) [/ h8 L, @: wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-21 16:46 , Processed in 0.109828 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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