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

2801 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 |" j, F9 e* P

$ d' Q1 d( k: @

  1. 3 O, Y4 u5 L+ ~+ m# V2 [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 I+ ^' V' m  D4 z/ d

  3. * o% `& n0 v8 D7 O" m& @
  4. ### What we need ###4 q2 H6 j1 Z* c  k) _6 F. }
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 O! ~. x5 H' M5 \& o9 O( d
  6. will not explain how this can be done - there are documents out there for the
    1 C: |9 U3 z( B; I9 C( r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - _' x0 m" \1 A" T2 Y0 y% H
  8. and a user account (username + password) that has the permissions to do stuff' z3 J! A; s. {; P5 T
  9. with the database. Additionally, you will need a vendor library installed on the4 F' Z  c$ u2 `- H
  10. local machine, this came with my MySQL install.$ d3 |9 j0 z' ]+ [- o4 @
  11. These instructions will not tell you how you might transfer your data from the
    ' U% L0 g! d& w0 U  f- Z# d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! s" O9 w' _- F
  13. database.% Z5 W" S. I5 n$ I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 N  D1 Z5 m2 Z3 o$ A
  15. the time of writing, there are still too many issues - check the current status( _; t9 `2 s" P1 N2 d6 s# f) m6 l
  16. in the TeamSpeak forums if you are interested.
    . s  G! ^, Z( r2 p$ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 p. ~% y2 |2 }# }; Z
  18. Borland was used. This driver can only interface with the client library that * [' T; `) T7 H0 `8 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . B: g- t8 h" I8 i7 i
  20. client library - basically all you have to do is to use a 3.x client library as - {6 e2 p* ]2 \
  21. "VendorLib" and a 4.x database to connect to.8 q$ b& i/ r% `7 f  @6 b) H
  22. If you need more info about dbExpress, you can contact Borland.
    3 P4 P* D* b% H% w

  23.   t  \" N$ T) [, F! F5 F* b
  24. ### Doing the work ###; x' O8 g/ h" A, l" q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 o& U# C. W2 L. N2 A; D
  26. the perquisites right, just open your server.ini file, and add this section at8 M3 v2 a" |# ]; X3 I$ T/ V
  27. the end:
    7 F8 B- d0 g3 k. Q* Y* ^, P
  28. ---cut here---. L8 m# \0 Y" }  u& h
  29. [DBEXPRESS]) O. b$ C6 \5 Z4 {% T0 j2 k
  30. sqldir=mysql_sql, g+ R- X6 D; a$ r2 M! g
  31. Drivername=mysql
    4 k& J5 y, Z$ c
  32. Database=Your_Database_Name_Here
    3 q7 A" R0 q; d! v! r; l( ?
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 ^( T3 s9 h6 R9 A+ }4 G. ]
  34. User_name=User_name_on_the_MySQL-Server  i  r, L: |  a/ P
  35. Password=Password_to_go_with_above_user_name
    4 W2 V. z  i1 j6 ]6 g6 j: h4 W
  36. GetDriverFunc=getSQLDriverMYSQL! y; |; }! T% {3 F( M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 S' f  B# J0 F5 G/ ~4 j
  38. LibraryName=path_to_libsqlmy_libary3 S/ s- n$ l) o# s0 T
  39. Active=1
    3 L9 O" e9 \: w& E
  40. ---cut here---* R- Y4 K/ Z. |' U
  41. In my environment (a linux box with a MySQL server running locally) I have:/ O, J" x9 R& U' v1 X
  42. ---example---
    6 s# i; D+ P+ p4 D
  43. [DBEXPRESS]
    ; p: Q9 X0 j( S( m# t+ ]6 D
  44. sqldir=mysql_sql
    0 m# U! f  D4 j: L' X0 {
  45. Drivername=mysql' |; w& a) t5 ?! G
  46. Database=test
    / U1 A8 p* ^2 b- ~2 X
  47. Hostname=localhost
    % i& b  N- q. r! x
  48. User_name=testuser: h: C( O& V+ U( R+ B
  49. Password=my_password
    ! C, j# f, z: V/ R* G' _8 {2 X& H
  50. GetDriverFunc=getSQLDriverMYSQL2 z/ |. P9 s4 Z  ?
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.09 y# x  z0 |, z# d  h  P! q
  52. LibraryName=./libsqlmy.so
    ( C2 L. ]5 W; n! v+ h
  53. Active=1/ z8 h. Y' S7 _
  54. ---example---
    * J# ?. N+ H6 ^, X% b

  55. " }$ M* w1 p3 [# Y0 A5 j! y4 U% f
  56. On a windows box, also running the MySQL server locally, it would be:. Q/ L3 `. P) R+ q' Q/ Y
  57. ---example---$ ^/ G/ _% J3 L. O* B8 A9 ?
  58. [DBEXPRESS]& g6 I3 w' A2 p, E
  59. sqldir=mysql_sql8 E* J. }% A4 J
  60. Drivername=mysql" i' q  g! D% T) G9 Y/ v
  61. Database=test
    4 d6 J# S# r* i. X" I
  62. Hostname=127.0.0.1
    : ]+ ^' b% `8 k1 q! ^1 f
  63. User_name=testuser
    * g9 Y) F& C1 J5 Z7 `* j; Q
  64. Password=my_password( M& ^# C9 f6 d* }* U8 R- }2 d, C
  65. GetDriverFunc=getSQLDriverMYSQL
    1 O1 j! q1 M8 `2 t" C' N$ T+ e
  66. VendorLib=libmysql.dll7 h' z$ Z. i3 y7 ?% R' ?1 @$ t- A
  67. LibraryName=dbexpmysql.dll
      }4 i7 l9 g9 B
  68. Active=1( \0 D$ t. h. k6 `0 u5 S( G
  69. ---example----
    % o$ N9 u$ N7 ^3 ]  j0 [. Z* O
  70. - written 02.03.04 by pwk.linuxfan
    ) [& L( h9 w6 k" S( s
  71. # ~1 M" L* L9 _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, z% i+ M& B; P, |  ?( X
  1. 3 R2 ]5 [% d% E8 `. c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   d8 n* t/ x' Q) u. v: U# E

  3. 1 `: [0 v2 a1 g' E. `* ~; u
  4. # # #我们所需要# # # + W) \- ?. p# \  z5 A9 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % w/ L1 j. H! R# f
  6. 不会解释如何做到这一点-也有文件存在,为$ z* b$ z, ~6 c+ }5 j/ l* r, T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 ?1 f1 `# E% Q5 l* \1 V" A+ d2 G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 h0 R2 r7 s3 E7 @! h4 s. L& W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! h) i5 t9 ]8 S
  10. 本地机器,这是我的MySQL安装。 . a3 l- l" x9 i5 V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 S8 t4 `8 a1 S; g0 K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! |& |" z( B9 \! x1 \0 @9 P
  13. 数据库。 " d( o3 p) p6 q/ n9 e7 n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; b# f+ T4 L: C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - W: x. s$ j6 W2 d2 J* w
  16. 在teamspeak论坛,如果你有兴趣。
    9 d- N  A" K: y6 P" q; l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / z. v7 M, J- I) ^' X) `! G+ K
  18. Borland公司使用。这个司机只能界面与客户端库) a* F8 ]5 l* A- d  K/ V/ T: F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % ~8 v, N- o5 q; N8 h( p, L" I% U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( T4 P& _# Z" i; l! D/ \
  21. " vendorlib " ,并解数据库连接。
    ) M7 {. d6 @$ G% S; j5 v4 C9 Z& S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - L2 `; m+ _' z* t3 T

  23. 9 v+ R; n9 ?" J
  24. # # #做好工作# # #
    $ h; d7 O6 B; w! v' H7 k* l  Z) r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- d& S+ B  v1 |3 {
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! m/ P  U* P- V
  27. 结束:
    8 Z7 I- D8 E- N% V
  28. ---削减这里---
    * T' F; [% e: h
  29. [ dbexpress ] 7 p$ a/ y! L9 q4 e2 g# Z9 c! i
  30. sqldir = mysql_sql
    1 J7 i- w# ]) |
  31. drivername = MySQL中
    % z5 |3 P9 x$ [. u
  32. 数据库= your_database_name_here 3 \! y* z. l& N& ?  x7 b' A
  33. 主机= the_pc_the_mysql - server_is_on
    5 P: v& A5 L5 r5 @" |* }9 F
  34. user_name = user_name_on_the_mysql服务器. q" E1 z% h/ h( k
  35. 密码= password_to_go_with_above_user_name
    * w3 G1 j- T$ M  d
  36. getdriverfunc = getsqldrivermysql
    $ P, j% [: x! K% D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : J. b5 d$ X( d" C2 W& b3 U
  38. libraryname = path_to_libsqlmy_libary
    ; h% }# m/ p, u, e' T, Q
  39. 积极= 1 ) j  G8 U' e4 b$ |
  40. ---削减这里--- 7 M4 m/ S$ Q3 ^3 \/ e. T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    6 u# U7 j6 [7 K. K5 O
  42. ---例如---
    5 `3 C7 O# ]  A; z5 F9 W7 M
  43. [ dbexpress ]
    8 _8 s: {  C# W) g
  44. sqldir = mysql_sql 0 ]0 g% s5 K* m3 V
  45. drivername = MySQL中
    & G) }" I  p& V$ R7 n9 x2 P& Y
  46. 数据库=测试
    $ |& g" f/ O) N
  47. 主机=本地主机8 K) Z2 |) J+ B1 P) B8 q8 ^
  48. user_name = testuser / Q( X1 x" U; n; U1 M
  49. 密码= my_password
    ' k  C8 I. t4 a1 X* r/ M+ ^
  50. getdriverfunc = getsqldrivermysql
    2 b# J2 `; h% K  L  D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " S$ I0 m. `5 ?! f/ Z
  52. libraryname =. / libsqlmy.so " [  M3 R$ x' L2 Q1 k0 p) b' L. Y+ t
  53. 积极= 1
    : @! \1 W3 _4 E5 Y7 C
  54. ---例如--- 8 j, }0 A5 {3 c% H2 p8 o& M3 h

  55. 4 s; ~. b1 b% p& d3 D- @; P
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! ]( Y; S- D  [6 |0 Y" N
  57. ---例如---
    3 M5 C. A/ b8 x6 y
  58. [ dbexpress ]
    : I& D5 K. d% X4 i/ V
  59. sqldir = mysql_sql 7 S% j6 k$ o/ s9 V
  60. drivername = MySQL中8 Q8 x" L% |; g9 d4 a. a* P8 q3 X
  61. 数据库=测试
    8 Q6 r* Q; U; {6 X9 i0 f
  62. 主机= 127.0.0.1
    , y/ b1 _6 U: k
  63. user_name = testuser
    * ~: t4 E: f9 w/ l
  64. 密码= my_password 0 R$ K% D0 k! F5 z& ?
  65. getdriverfunc = getsqldrivermysql 0 m$ j5 S' P' N+ y( j- b
  66. vendorlib = libmysql.dll在" h( k; K5 L  j- z$ S
  67. libraryname = dbexpmysql.dll , Y8 F! x, H3 ^" c6 t
  68. 积极= 1
    / v$ N+ g, I9 Z! v; Z8 p* k
  69. ---例如----
    # w( Z; h1 l' s0 o% r' ^
  70. -写在0 2.03.04由p wk.linuxfan' H" Y& e1 w1 V% v  i! e
复制代码
发表于 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
$ ^; G9 D  w! O* m& h( S4 K3 v/ t! @! K2 a( ?7 b" f  x0 _
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-24 19:00 , Processed in 0.106726 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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