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

2896 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  |- P3 y, a$ \8 I8 n
8 C" g8 i$ m' N8 G

  1. 2 B  G5 Z+ E% [+ F5 P. {/ G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! {, A: R5 T- D, G8 y; s$ D: \
  3. 4 h- C& E2 m$ A: A/ I1 a: f; p
  4. ### What we need ###0 k  V9 ?; T2 |+ x, W0 P. J
  5. Naturally, we will need a MySQL server to store the data for us, this document $ G* n0 x* H& [' }+ V4 I
  6. will not explain how this can be done - there are documents out there for the & \" e" l/ A6 U7 B' L
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ y1 J, q  O4 y" J; V3 o3 c8 x0 Z
  8. and a user account (username + password) that has the permissions to do stuff- \. j! V- o1 \- e* p
  9. with the database. Additionally, you will need a vendor library installed on the
    . h+ S8 M  l2 U1 w
  10. local machine, this came with my MySQL install.
    4 Y7 n* ]- |9 E( [. M! s+ X5 \
  11. These instructions will not tell you how you might transfer your data from the1 O1 U  c+ E' {+ q6 [  a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% ?2 g! }5 {1 A4 U0 F5 N; C, c4 |! J* t
  13. database.- p: c& L* a% h5 ^( _
  14. Some users have reported ways to import a SQLite database into MySQL, but at  g9 m3 E5 E! O. e
  15. the time of writing, there are still too many issues - check the current status
    9 a8 g- L/ M. p
  16. in the TeamSpeak forums if you are interested.
    5 G/ S6 y9 O0 |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ `) d: b7 j2 H, ~. Q; F" L3 t0 ]9 k
  18. Borland was used. This driver can only interface with the client library that
    ! n! p) x8 ?; k& q1 d- {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & O; g, C: K! Y  _5 {8 R6 W' L& _
  20. client library - basically all you have to do is to use a 3.x client library as
    ! [. J0 ^0 C  C8 O/ `8 M' b
  21. "VendorLib" and a 4.x database to connect to.$ O" P* x. T2 D- q5 A
  22. If you need more info about dbExpress, you can contact Borland.
    - i1 `1 }, V$ m! [9 R% s2 b- W+ P
  23. $ n) e' v5 K8 ]. X( ?2 f' s% {
  24. ### Doing the work ###
    1 |8 x& C: k1 M4 `
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " u. M/ C/ c* F9 J
  26. the perquisites right, just open your server.ini file, and add this section at
      m! ?& E" P( u
  27. the end:) J. n9 ^3 |3 _/ o
  28. ---cut here---) i( y' Z' p7 w1 U# j
  29. [DBEXPRESS]( K: J; l3 p9 T: T) O. G$ z* F) Z
  30. sqldir=mysql_sql. ]6 F' b1 a8 L9 z, d
  31. Drivername=mysql
    8 B& m7 `% b6 ?5 \) @
  32. Database=Your_Database_Name_Here# o+ T) o& y# v+ O1 w/ ?: Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 Q+ R& U  ~; k) }9 T" _. [$ x
  34. User_name=User_name_on_the_MySQL-Server
    0 D' U) G+ N! q; p" J
  35. Password=Password_to_go_with_above_user_name: q: {1 s9 d5 V9 b0 }" l
  36. GetDriverFunc=getSQLDriverMYSQL/ q8 B8 f6 i- H. _6 j) i( [2 M+ S. [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 |3 S5 {. N/ V/ X, u" E
  38. LibraryName=path_to_libsqlmy_libary
    ) T7 w6 y" u: t$ V$ X
  39. Active=13 ^8 o- |2 [  v" t9 w
  40. ---cut here---
    / }3 G$ S% d" J6 m9 g  H- D
  41. In my environment (a linux box with a MySQL server running locally) I have:4 Q0 C: [5 h6 q. L/ ]
  42. ---example---
    : J) S8 P1 h/ w# U/ g. P1 v/ [
  43. [DBEXPRESS]. o( g. Q: Z  X* v) X) i
  44. sqldir=mysql_sql
    6 V- p- P, |& |  ~3 Q  }  D
  45. Drivername=mysql
    - a1 I8 p3 D% P+ u3 e* C- A
  46. Database=test
    , Q  u% N8 h+ T7 e
  47. Hostname=localhost3 \/ \9 x* O: F$ X: u% T
  48. User_name=testuser
    ( |4 ]8 c7 k, n1 ~
  49. Password=my_password( T% I1 g& D5 ^, N8 \( U- |
  50. GetDriverFunc=getSQLDriverMYSQL# V4 L. m0 o* \+ d+ S$ M( F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 y9 f6 B" H( @! m
  52. LibraryName=./libsqlmy.so' G) P" X* a3 o
  53. Active=1. I, q5 x& u3 e3 k) L" M
  54. ---example---; ?4 j8 V6 R, X( I4 P
  55. 0 c. O% d8 s8 {1 `
  56. On a windows box, also running the MySQL server locally, it would be:3 E& a0 F( x! N3 e6 D" z# T
  57. ---example---
    : N  o) @" }7 s6 N- U
  58. [DBEXPRESS]' y, a" j2 }+ C
  59. sqldir=mysql_sql
    ' w8 _0 r: Z, l8 p
  60. Drivername=mysql/ w: |! E0 [$ ~9 C1 \7 Y
  61. Database=test
    $ a) {+ ]0 H: h! U5 ^$ d7 \
  62. Hostname=127.0.0.1
    4 d2 Z9 Q; g" o8 U5 D$ s6 |/ j
  63. User_name=testuser
    $ H2 y8 |  M! |) M
  64. Password=my_password
      M) C1 s4 Q. h8 w
  65. GetDriverFunc=getSQLDriverMYSQL: s# a, ^. I- j$ n/ Y' p
  66. VendorLib=libmysql.dll
    ) V# ~- p& N7 q: N/ u& K2 t
  67. LibraryName=dbexpmysql.dll
    . `! L0 d5 R1 B2 l
  68. Active=1
    ) n5 Y% R$ u+ l/ S6 t& g, t
  69. ---example----
    9 a" ^# U2 V4 G# C% t( S- f
  70. - written 02.03.04 by pwk.linuxfan
    " N( F# X; A+ F4 p0 }, V: N- f
  71. ' u1 r, Z7 x- r) w1 |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 C. Z, Q% a! Q) _0 r6 r7 J
  1. , d' t1 J% y4 {
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - W2 {( t' e7 Y' [& F
  3. ; J! [4 f* S/ r% N9 _
  4. # # #我们所需要# # #
    * @# i8 w: k; z$ `' }& E; g
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 d  r6 [: `0 b8 n% b
  6. 不会解释如何做到这一点-也有文件存在,为
    , @  N  \6 J, c& g4 ]. h" I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    0 {. U4 d( ?0 b; ?! r; K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " L$ E( T4 x8 r" F& q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  {9 y! U1 E: t! r1 C
  10. 本地机器,这是我的MySQL安装。
    " y& W0 f+ E7 f4 b9 ]5 p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      M$ m; {1 F/ ^5 A% T& y' u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " t: c- k2 Y- h9 P
  13. 数据库。
    ( w; y$ l# l0 C$ L1 D! t! q7 u! @9 F) d0 f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& I1 U6 p/ h/ R: X$ o; ]" E: R& F0 Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 h% N# K/ g7 |
  16. 在teamspeak论坛,如果你有兴趣。
    ( h: z( K+ F: M* m" E1 U. E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % d6 Y+ C3 P( R! v
  18. Borland公司使用。这个司机只能界面与客户端库: S! }% b( M4 F' G+ D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 r) i4 x; `) O, _7 k/ S6 |, s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 ~, @4 }2 d5 q9 K. H+ N. \2 |; f
  21. " vendorlib " ,并解数据库连接。 ' C- g- l  ~# T3 w" [# e) b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 ?5 i3 _/ L* y0 \( ]
  23. , D- J7 z) _! h0 s0 A6 w& p
  24. # # #做好工作# # #
    3 r! h. \7 U7 P6 a  _& y# c  Q* O7 F1 O" x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 Q5 X) L1 {, F
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * Q0 U. m7 D1 ]8 p$ U7 O3 i
  27. 结束:
    " ^' o0 B# p: {! E
  28. ---削减这里---
    ) Y5 y7 {& o* ]. @
  29. [ dbexpress ]
    9 Z5 f2 p! P4 c; F2 G, m# f6 F
  30. sqldir = mysql_sql 5 j' X) ^7 _# s8 _
  31. drivername = MySQL中
    , i0 f4 d  d: W- y. w4 B2 }
  32. 数据库= your_database_name_here
    8 `$ o8 T7 c' K. H% t, R: R& N1 D: F
  33. 主机= the_pc_the_mysql - server_is_on
    8 ]# p! ^( H% }, `; M; _' j
  34. user_name = user_name_on_the_mysql服务器
    6 {1 h% o  u7 H
  35. 密码= password_to_go_with_above_user_name
    & K" i5 v. o' o( ~% E7 W
  36. getdriverfunc = getsqldrivermysql
    8 v& `* L# v0 D* b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 B8 e0 D, S; }" k1 x( |5 V
  38. libraryname = path_to_libsqlmy_libary , |7 D8 O5 T: R
  39. 积极= 1 8 h  D/ i. d- P" j/ u
  40. ---削减这里---
    ( N& z/ g9 }6 t  G. s3 |! Q& J7 a5 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . n* d0 b2 `' b2 ?: v9 i& t
  42. ---例如---
    & H$ y; m* j  u+ s8 [; G) H% U
  43. [ dbexpress ]
    " L8 \) W( v2 I9 N( q& y  x3 e; {
  44. sqldir = mysql_sql / ?* I4 [$ @8 M$ t9 Z2 E" W6 k- c
  45. drivername = MySQL中5 O* f5 O6 B& k0 C
  46. 数据库=测试
    / i! \  C: l) s4 c6 c* O+ H9 b* _; w8 `
  47. 主机=本地主机3 n* M- O. K2 Q; i6 j5 M4 r
  48. user_name = testuser
    + O. |4 F9 s! J4 T; N7 U
  49. 密码= my_password + Q5 |4 D8 q+ Q; M' d, {9 Z% J
  50. getdriverfunc = getsqldrivermysql
    % C2 t4 o3 s$ K* J( ]1 u  Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ K" P- X: Y  J/ ]/ r) ~. h1 ~/ H* h( B
  52. libraryname =. / libsqlmy.so
    / C) X: @' u$ ~4 q1 `5 e
  53. 积极= 1
    3 d8 f! R* i. [9 J; @
  54. ---例如---
    - _* l# t0 M: R3 g0 ]! }; O/ Y+ U5 w1 i

  55. 6 \, \5 n+ o4 O" r* k
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - A& U0 o( H( W' x: n7 a
  57. ---例如--- ( h0 k& B& z' }# _9 Y
  58. [ dbexpress ]
    1 h9 ?/ O* j* @5 m) o1 y# K' m6 \
  59. sqldir = mysql_sql
    - S) J) N' I* N
  60. drivername = MySQL中, W0 a9 [: e, y$ f6 S. v
  61. 数据库=测试
    ' b( O2 p% E1 O
  62. 主机= 127.0.0.1 ; V0 U7 q' `4 g$ e, W( B
  63. user_name = testuser
    + B# q  |9 z/ H0 E3 Z; [' ]+ Y1 }1 y
  64. 密码= my_password
    : L0 l8 R% W/ G6 C
  65. getdriverfunc = getsqldrivermysql * T1 u& s3 z( T$ Q) P& e5 T
  66. vendorlib = libmysql.dll在% V) I& a1 {2 E/ @3 s( @2 @7 Y
  67. libraryname = dbexpmysql.dll
    : g6 l/ T2 I  K, C5 y+ A0 x9 ]$ \
  68. 积极= 1
    2 p9 r! P' K6 T; @7 x/ X7 y
  69. ---例如----
    8 F& F' w) u# l2 d" C2 b* V( k+ Q
  70. -写在0 2.03.04由p wk.linuxfan
    " P0 h' V* l. K. H2 f
复制代码
发表于 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$ c# e! \0 o9 U, @# A) w% N

* h: k$ ]- {" l" Gbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-14 18:59 , Processed in 0.116141 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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