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

2576 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 g; y3 b; |  G

$ u0 ^8 ]1 h: w! f3 l

  1. 1 o3 B( i, B+ q% G/ J7 W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 h4 z3 d2 D2 I

  3. * j9 T5 b  ^( K& l3 P9 }! T
  4. ### What we need ###
    6 G: s' R+ j+ j* L" J  W7 a$ s
  5. Naturally, we will need a MySQL server to store the data for us, this document % g" C" y/ I+ }9 H- v
  6. will not explain how this can be done - there are documents out there for the   {* B* z7 T3 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 k% `% G' t" N* M' s" G& H
  8. and a user account (username + password) that has the permissions to do stuff
    ; K- v7 [3 M5 H9 y) d5 u4 G9 Z
  9. with the database. Additionally, you will need a vendor library installed on the; y5 M5 x& V, H) d6 I( |2 a
  10. local machine, this came with my MySQL install.
    / l5 Z( z9 B( r% k' q
  11. These instructions will not tell you how you might transfer your data from the
    / ~" |, P5 }. n) U- a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' p+ B6 _; l6 n) S$ r
  13. database.) n+ z4 Q! F7 x$ Y; L
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # q; t4 P* E) a. h0 }
  15. the time of writing, there are still too many issues - check the current status
    3 T* z  O& p' A4 ^
  16. in the TeamSpeak forums if you are interested.( b1 c9 ?: A2 L, n. K$ E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) s2 u* Z7 Y4 x2 I9 E, |1 o+ @/ Z5 ]
  18. Borland was used. This driver can only interface with the client library that ) e. [5 {# e+ J! \# A8 `% t2 W# c  S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 k" L; E+ f) U( q0 x$ ?
  20. client library - basically all you have to do is to use a 3.x client library as
    1 r! S" t* ~- u# o. Y
  21. "VendorLib" and a 4.x database to connect to.( E9 g2 w- A! ]' ]! K  [& }" o) _
  22. If you need more info about dbExpress, you can contact Borland.
    7 M3 Y0 L/ `8 H; b! I& r
  23. ) w6 i% n: S) i: e/ _
  24. ### Doing the work ###
    8 i$ p; v3 ]. Q" o+ w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( B$ n) ], ^) f0 G
  26. the perquisites right, just open your server.ini file, and add this section at
    2 Y! _3 Q9 B: B- H, A8 v3 @
  27. the end:
    7 V4 a$ a* O2 l6 l% L0 m
  28. ---cut here---
    ' R; S# F1 \; G$ b
  29. [DBEXPRESS]
    * l9 P1 H, E! i( O, A6 o2 p6 T
  30. sqldir=mysql_sql' V/ d. R( c0 \* w" W1 [4 m2 Y
  31. Drivername=mysql% [2 P: U* Q! x" @2 ?) f: `
  32. Database=Your_Database_Name_Here
    1 m3 U, U- c2 r* ]  m- F# C7 W
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 V: b+ A2 c1 n& t0 a5 W
  34. User_name=User_name_on_the_MySQL-Server& D7 V% d$ w' \7 i. F! Y
  35. Password=Password_to_go_with_above_user_name
    1 `: Q2 T1 {) M- p) Z
  36. GetDriverFunc=getSQLDriverMYSQL- I+ {7 [4 w) C/ x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. G/ @" r$ s9 V0 O0 D- b
  38. LibraryName=path_to_libsqlmy_libary' P& @6 \" [  ?6 ]* ^; g/ p
  39. Active=1
    ' C+ e$ ]# @+ K
  40. ---cut here---
    $ Y8 t9 |" L" S* ?7 `, \$ R
  41. In my environment (a linux box with a MySQL server running locally) I have:4 I2 }9 n% A) [
  42. ---example---
    7 z8 p" r7 ^2 \
  43. [DBEXPRESS]
    1 q" ^0 O% p8 B4 f1 Z
  44. sqldir=mysql_sql! ]- R" j. e  `! X8 h' p* e
  45. Drivername=mysql
    ! ~6 s; J& j" B) h! s
  46. Database=test
    $ R9 {% S& S3 K1 ~9 _8 B
  47. Hostname=localhost
    4 u4 l0 k* u9 U5 _4 @# z+ W
  48. User_name=testuser* l$ C2 P* m4 f9 A! {7 }" ?$ v
  49. Password=my_password
    0 S6 k* f1 f" \. d2 ^
  50. GetDriverFunc=getSQLDriverMYSQL
    $ ^1 @  O& u3 M+ e8 g& M# Q9 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& a- P% ^3 B7 Q/ P5 F7 G- G
  52. LibraryName=./libsqlmy.so
    4 M' ^% [7 \8 Q$ [6 w/ `
  53. Active=1& |8 P' S4 H1 N. t0 ~3 f
  54. ---example---- w: h& |* I- H$ m# ]0 ^+ f. l
  55. ) \, Y5 v: p/ c- Q/ S2 v7 [
  56. On a windows box, also running the MySQL server locally, it would be:) G# m% y' H( o$ U( C2 `/ x- O' ^
  57. ---example---3 j  ]1 D6 E8 T% W
  58. [DBEXPRESS]
    ! S# _  j% b% I  _+ Q
  59. sqldir=mysql_sql
    % X, b: N( l; \
  60. Drivername=mysql
    7 P+ a$ p. O1 w! N" e/ c
  61. Database=test
    0 o, \: o5 R8 o) x; P  d# j
  62. Hostname=127.0.0.1
    3 Q# C- O. }3 Y& {  G
  63. User_name=testuser( q4 O* O/ e2 m$ t
  64. Password=my_password' b1 V) n0 O' I% M6 y- j8 L
  65. GetDriverFunc=getSQLDriverMYSQL
    4 n9 R8 @* f! n  s  \: S" L
  66. VendorLib=libmysql.dll/ H" l$ _5 I$ X3 q0 [: Z" y8 V/ ?
  67. LibraryName=dbexpmysql.dll
    3 S' O- e  _3 ?$ X) ^  T
  68. Active=1
    0 @6 |) @" ^! N/ |) z
  69. ---example----
    % y8 u/ k6 C( ~& Q/ h
  70. - written 02.03.04 by pwk.linuxfan
    ! L# }& F$ g* T0 ]

  71. + |; j! @, p$ F! @
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' M; N1 e4 F$ |& ?6 P" g$ `" v) D( G; M

  1. 7 \0 k2 s4 y6 P9 l6 B9 R! l1 k3 C( u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . z0 {4 R3 @4 u* G8 ?3 ^" h0 B' E
  3. # _" P& z8 y2 ^
  4. # # #我们所需要# # #
    / v( h- W) L! X, y9 U2 Z8 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 E. U4 Q! Z( X5 D5 A2 V" c/ @
  6. 不会解释如何做到这一点-也有文件存在,为3 d: Q; o4 F" G! b3 P1 U7 \+ o% A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; d! m2 i1 _  D+ x; e3 z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# O, K8 Y5 K5 x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 w+ k. ^9 ]2 H
  10. 本地机器,这是我的MySQL安装。 9 M" E4 m) J9 f4 Y9 N# ]/ u: F, Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 D4 }, A1 G: z$ X0 h5 e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / C6 ~  C& Z4 P0 r
  13. 数据库。   G# i* O0 Y& u  y6 I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 @% U5 ~& ^3 C# V8 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状( i4 G1 w9 l( Z2 M6 `
  16. 在teamspeak论坛,如果你有兴趣。   T3 A0 f$ K; ]( b( L+ ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 O* z$ |+ N- g3 R0 e; ?# _
  18. Borland公司使用。这个司机只能界面与客户端库
    . a# \/ ]9 \& s: |) X+ b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 f$ P3 a9 f0 Y! _, G9 Q9 Z& Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" }8 X/ R/ J+ W9 S2 X3 W2 D4 @
  21. " vendorlib " ,并解数据库连接。 : _+ i/ [4 j- ]1 R9 f# }; C; a, ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + b* D& n" A3 D2 E. L
  23. ' ?8 F3 ?0 Q0 M+ @: r# E
  24. # # #做好工作# # #
    " I/ d% p7 h; h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 I6 E( ]9 Q& ]. p( X2 \, c- t0 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% c0 V! @8 x7 Q) i6 J% t
  27. 结束:
    3 p7 o( h: L. a
  28. ---削减这里--- / N( k+ ?0 Z+ E2 i& M) m" n2 r
  29. [ dbexpress ]
    0 E4 L2 k5 B( q# s4 h% }
  30. sqldir = mysql_sql
    5 n8 d+ u5 T) K) t% {" |3 W3 t
  31. drivername = MySQL中: A8 R, E" h3 D  B( x
  32. 数据库= your_database_name_here
    * ^' U6 s$ G% T) ]* E7 V/ F
  33. 主机= the_pc_the_mysql - server_is_on
      N% @+ I5 F/ a0 p; z% I& s" C
  34. user_name = user_name_on_the_mysql服务器
    ! ?% ^, o1 d( `% s: i
  35. 密码= password_to_go_with_above_user_name
    + e$ m1 N  [/ O! _6 w# T& I2 j! o
  36. getdriverfunc = getsqldrivermysql
    , J) Y# D3 A: f5 R* ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      {3 |: z% ]  K4 Z
  38. libraryname = path_to_libsqlmy_libary 8 E5 y8 @9 G4 h8 e/ V
  39. 积极= 1
    , O* u' l: h: K8 K3 q7 T
  40. ---削减这里--- % y+ _# h7 Q2 u& O# r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) C+ X; x1 h$ e; a
  42. ---例如---
    9 L% z4 ?, R2 t
  43. [ dbexpress ] 1 E0 _  q- I3 p0 S
  44. sqldir = mysql_sql
    . a* \  V4 j% {0 n: i! u
  45. drivername = MySQL中$ b! k- a* a2 H  I3 Q6 X3 m
  46. 数据库=测试
    7 ]# E9 V+ J" m( v
  47. 主机=本地主机
    . p/ L& @- y+ Q; I
  48. user_name = testuser
    3 r: K9 J% R0 s8 P3 w+ F/ Y
  49. 密码= my_password % h/ Y2 A' }; i5 X3 Z' n
  50. getdriverfunc = getsqldrivermysql
    * `/ I1 @* K( J: I8 q# X6 I* u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 O( m* U4 ?& x
  52. libraryname =. / libsqlmy.so * \, L6 Q# A( G) j
  53. 积极= 1 0 r, G4 z, l( _$ U6 C1 m
  54. ---例如--- + ?9 ^3 ]! R; N( p) G8 P
  55. 3 l; R' ]; w6 p  X$ `
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : a3 a6 `! B8 |! [2 Q8 \
  57. ---例如---
    1 \6 z' b' g# g
  58. [ dbexpress ]
    5 k6 r4 z% K( o6 m! i
  59. sqldir = mysql_sql
    # B/ l1 R1 F+ G" c& N7 O
  60. drivername = MySQL中
    ' I( O/ ]! C+ U) M( k% \
  61. 数据库=测试* w5 I6 l  m% t- Y
  62. 主机= 127.0.0.1
    $ J9 s& D: S9 E
  63. user_name = testuser - J* T/ c# y/ N% l* T# L
  64. 密码= my_password
    1 t0 \) w, W0 M4 |9 q) ?$ c! ^  c
  65. getdriverfunc = getsqldrivermysql 1 f+ x5 s4 L  x: d+ `6 y
  66. vendorlib = libmysql.dll在8 ~- h. g& @" G' A+ A% y% U. T
  67. libraryname = dbexpmysql.dll
    " e; p$ G# P/ I
  68. 积极= 1 2 b4 c  H# Y& C7 t0 a' k( `
  69. ---例如----
    1 O# q) Q" x: o/ a3 `
  70. -写在0 2.03.04由p wk.linuxfan
    ! {1 r; F4 @9 I1 b* c8 y
复制代码
发表于 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 Q- {9 H2 W; i" _4 y: g) z; A

9 H" x7 W( T/ v! m# B& s# kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-3 14:22 , Processed in 0.100798 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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