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

2679 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 v' u) l; _" N. i: f' \0 I3 x! o, y: G
7 B+ X, j% I, W$ _
  1. # w5 o/ o& Y- k7 F. U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 O+ |1 _4 |3 e# q* k$ L/ c3 F
  3. & Z7 n* o' j5 @& O
  4. ### What we need ###  L) |% F0 C3 |  }+ D4 p: ]9 q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # z% k% w& t/ d2 c1 A# C- L
  6. will not explain how this can be done - there are documents out there for the $ m- r8 n  l+ J8 P
  7. interested. The requirements include a (empty) database for TeamSpeak to use) ~: }& X5 M' _. d( L1 G! T
  8. and a user account (username + password) that has the permissions to do stuff
    : i( z/ s( F, t+ z1 S. l6 `: [1 D
  9. with the database. Additionally, you will need a vendor library installed on the0 g9 ^" i; Z! S( j: q1 N
  10. local machine, this came with my MySQL install.% p" J0 q3 o8 L
  11. These instructions will not tell you how you might transfer your data from the
    & W! U# t* f0 g" ?+ E' F4 u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( g: \0 X4 l4 p
  13. database.
    6 l2 d. \& F; G
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / C9 X8 C6 T# }; a# c; f, u. t
  15. the time of writing, there are still too many issues - check the current status3 N) Y, W$ ]# ^% H( k
  16. in the TeamSpeak forums if you are interested.
    % |6 O5 P9 i9 A; Z4 Z" K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* _7 b) Y9 y4 [. R
  18. Borland was used. This driver can only interface with the client library that 2 ^3 E9 i1 l: Z- v* ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 A& s0 J; y2 @6 g
  20. client library - basically all you have to do is to use a 3.x client library as . Q$ M% `3 r5 A7 u1 ~5 J
  21. "VendorLib" and a 4.x database to connect to.; P' ]& v( q8 R; L$ X  m$ F
  22. If you need more info about dbExpress, you can contact Borland.5 `4 C$ {5 g5 Y6 R
  23. - o  U6 s2 u9 _) Q
  24. ### Doing the work ###1 B& G- D4 t* s0 Z3 ]# k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 h3 r; f4 M* p' G  j7 O; l4 x
  26. the perquisites right, just open your server.ini file, and add this section at
    5 c) b6 J- u( c* ?( g4 {, V7 f# i- k
  27. the end:
    . J3 c' X9 p: M$ d' B
  28. ---cut here---+ g& `0 m5 a' L! {4 n
  29. [DBEXPRESS]
    5 c+ u" M3 k9 y9 s0 a* O
  30. sqldir=mysql_sql8 z- n3 _4 D0 A. B" N6 T) \: B/ q
  31. Drivername=mysql
    0 p+ N" k7 W" E. N% M' X' m
  32. Database=Your_Database_Name_Here7 z5 f. P1 }% C
  33. Hostname=The_PC_the_MySQL-Server_is_on$ N9 d# \! y  o' Z2 y8 H
  34. User_name=User_name_on_the_MySQL-Server
    - K7 E9 C$ b0 v. M8 p. n0 d2 a
  35. Password=Password_to_go_with_above_user_name6 Z; d$ ]$ K% I4 P$ M; d. I
  36. GetDriverFunc=getSQLDriverMYSQL& ^: T' p) z4 q4 `# k" x8 m' I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! o9 `8 \0 q" [: \
  38. LibraryName=path_to_libsqlmy_libary  Z5 l" F5 j2 }$ ^
  39. Active=1
    9 t, D$ C6 x3 o  g" v% C; ^# y/ H
  40. ---cut here---, e& H6 f. r( Y9 _( W# ~4 W! C, e
  41. In my environment (a linux box with a MySQL server running locally) I have:/ r$ P! ^3 D' i. @  G# h
  42. ---example---
    : N% Y; T, G/ z% b% `: _. K
  43. [DBEXPRESS]6 d0 X7 q2 I' t
  44. sqldir=mysql_sql- G) o) k) n1 z0 c! E
  45. Drivername=mysql
    % Y4 n3 C5 T- d! a9 o) w* J
  46. Database=test% R: d$ h4 d& D# b2 K
  47. Hostname=localhost
    ; X+ n3 p) i. i
  48. User_name=testuser
    9 M# |" c6 F7 t+ J. d& m) E3 v
  49. Password=my_password
    + x3 {) n6 k5 `& T- c1 ~
  50. GetDriverFunc=getSQLDriverMYSQL  h* w* S6 U; t; N# L9 x/ D( p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , H0 g0 A2 h' j8 ]: p" a: Y
  52. LibraryName=./libsqlmy.so& M* ~+ b7 G) ^% d/ o
  53. Active=1$ j- K. B% ?5 O: x
  54. ---example---4 @( D6 S/ a% F% B8 E& s. k  d

  55. - G$ ]0 t# k( L5 a1 ^2 c; x3 R
  56. On a windows box, also running the MySQL server locally, it would be:
    ' O# _  @$ u9 c( `' }! q
  57. ---example---
    # e2 T# s% O! j" q1 m
  58. [DBEXPRESS]
    5 r( X9 L; s! f  B+ O* g9 E8 u
  59. sqldir=mysql_sql
    7 T* t1 p5 W2 ?; s5 a
  60. Drivername=mysql
      i1 B2 L0 \$ R7 }5 s+ N: ~' D+ B$ V& L  ^
  61. Database=test9 S( n' K" [2 e
  62. Hostname=127.0.0.1- }* g6 T! S7 e  n# r
  63. User_name=testuser. [5 h' u! X+ @, |
  64. Password=my_password% j- v  m* c  _" }+ E, J  T
  65. GetDriverFunc=getSQLDriverMYSQL
    & l7 L8 }" Y; I4 H$ ?, Q
  66. VendorLib=libmysql.dll7 a# Y5 j) p5 a, K
  67. LibraryName=dbexpmysql.dll
    8 _  A: n/ x8 M0 s
  68. Active=1
    % j6 X8 {; e  |# b0 @6 p. ]
  69. ---example----
      i6 a4 S2 F. q) l4 a. u- Z: @
  70. - written 02.03.04 by pwk.linuxfan
    ) ^& D4 l2 A6 b, u" R) ^& ?- u
  71. * i! A. R$ y! k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* e! z! @7 V6 o% U( l* v# U

  1. 8 D1 k/ J- |1 s9 f2 v% s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - m9 L" m" ]) \9 ?3 l7 M4 _; [* V# W
  3. - u8 L5 k" T3 n% o" U: D  m1 z
  4. # # #我们所需要# # #
    4 f. G, [9 x' K  _8 o' S- R
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% e" I; L, r* _. c
  6. 不会解释如何做到这一点-也有文件存在,为
    2 |( {( }3 _$ Z4 w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ J; \9 H  n% s4 |" S& C5 B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 G7 x( O9 B3 o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* h* P. r9 `$ \( s/ R& H
  10. 本地机器,这是我的MySQL安装。
    ' N: Q% T0 }$ K4 ]2 n; r0 ~! f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ [& O# k# X# W0 R+ L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 e+ Z* E2 D' A9 M3 a
  13. 数据库。 ) u3 l+ ?' S' W* _# A0 M! W
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 O: F% m1 m; i' Z! z; l
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 h  K* O9 F6 x; e# E2 w. e
  16. 在teamspeak论坛,如果你有兴趣。
    1 l/ l; W( E# W% a  ]( A4 |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 @3 b* i: p. Y( g& w) c
  18. Borland公司使用。这个司机只能界面与客户端库
    & K/ {5 D; n1 e+ n& Q( [/ y6 S! q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 o( `% c8 E# s/ `, N( \" M. q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / w  G, q! v( H+ |  p2 H+ ^
  21. " vendorlib " ,并解数据库连接。 2 W0 R5 Z; s3 V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * Z, @' m5 J6 l/ d7 }

  23. 6 M! o0 y  z5 {+ b8 d+ u0 C
  24. # # #做好工作# # # , X* E& ^" t' H- n( G; {, C  t, H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    % G3 ~- m$ a; Y1 X& I; F' B- P, r) h! V
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ ^+ U6 g# _' L9 }6 }: r  B
  27. 结束: 9 Q1 C" N4 E; h  W$ f7 h
  28. ---削减这里---
    7 ]- L1 q1 E2 F! Q( ?
  29. [ dbexpress ]
    0 `  L5 Z* q" \% g
  30. sqldir = mysql_sql
    0 [/ [& t' y5 `- \
  31. drivername = MySQL中
    * z0 \( B- ^6 s( C6 Y9 W- I
  32. 数据库= your_database_name_here
    5 P) ^9 Z! H8 A' l! v
  33. 主机= the_pc_the_mysql - server_is_on
    . r( M! W" z/ g! X6 A* K) Z. d
  34. user_name = user_name_on_the_mysql服务器
    ) i, o) z  j3 w
  35. 密码= password_to_go_with_above_user_name
    6 g& T! a% |7 w! O9 }+ {, M
  36. getdriverfunc = getsqldrivermysql & }) \1 ~9 T; `* ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 p9 D2 l" W- V" O6 N4 ]
  38. libraryname = path_to_libsqlmy_libary * ^. L' T0 A+ V6 n! S: \5 ^
  39. 积极= 1
    ( ?' a5 L% D: Y" l/ [: Z. J1 h
  40. ---削减这里---
    4 d: b  q3 p& q2 K% f, j% W$ \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   i* @8 @" ~- t$ L* [7 s, J
  42. ---例如--- ! H( H/ g/ H" Q& n
  43. [ dbexpress ] $ }+ D8 Y, u* e! u, o& P9 X
  44. sqldir = mysql_sql
    & p/ J/ k. ?/ \
  45. drivername = MySQL中
    ) ]) [! g' T, E1 f* E' N
  46. 数据库=测试
    / u/ X- v- O! [6 I
  47. 主机=本地主机
    9 f( z8 N0 n4 e- [8 z" A
  48. user_name = testuser
    6 Y1 X! v( g- x& d' O4 k3 b
  49. 密码= my_password
    4 H" n) m$ P/ g0 h4 ]1 G+ K% p" K6 L
  50. getdriverfunc = getsqldrivermysql
    3 `6 W( J' z6 n2 x; H- T4 ]
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . [; y/ u1 m8 N6 l
  52. libraryname =. / libsqlmy.so 0 W+ d3 h7 r: ^5 ]" u5 D; r
  53. 积极= 1
    * W0 X1 Y% N  f+ {
  54. ---例如---   i% Y) }$ D3 r+ F

  55. 1 q& q# m  ?' N, F& v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / `2 T+ F! U9 a% V2 P
  57. ---例如---
    1 g" K, R& c! e! d* Y
  58. [ dbexpress ] 8 I: {$ L5 I  g
  59. sqldir = mysql_sql " K  B& L. p# M8 P2 e+ F
  60. drivername = MySQL中! j- q+ A, A* S. |" N+ h5 V
  61. 数据库=测试
      f9 Y8 [0 E# e1 M# M# }
  62. 主机= 127.0.0.1 8 C# K6 o) H' `6 r( C
  63. user_name = testuser
    0 Y- M+ ~7 d1 G& Q; a. ?0 F7 y
  64. 密码= my_password
    4 i5 v* Q; h4 ^$ x" F) u- V
  65. getdriverfunc = getsqldrivermysql
    1 r" i" M" p1 `
  66. vendorlib = libmysql.dll在
    1 a, ^- ?8 |; ?" `' ]
  67. libraryname = dbexpmysql.dll
    * B. `: V( W+ a9 b" }3 ]- f- |
  68. 积极= 1
    : `6 X4 ?) y# i! y: _
  69. ---例如---- ; e# m; m5 e' |6 a1 o3 w$ y. P
  70. -写在0 2.03.04由p wk.linuxfan, g" g) E9 f) v
复制代码
发表于 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
7 Y) c$ W8 x, b8 r6 f
$ T8 ~% A/ I, c4 u# y7 {but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-28 22:11 , Processed in 0.099851 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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