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

2830 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* Y! V$ ~( p1 b% v; V: P
3 v7 J8 ^, |4 P
  1. % B# U9 R! J( u, _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 P0 l0 g6 w: C4 o' k5 B% b* I5 T7 k

  3. . u3 E2 \6 o, z
  4. ### What we need ###+ q& `6 a( O2 J. a3 Q& k9 N" z
  5. Naturally, we will need a MySQL server to store the data for us, this document # o# A+ H5 o3 Q- r2 A/ y
  6. will not explain how this can be done - there are documents out there for the $ Q+ t6 ?- {7 ]& T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' [, E- E& G' x6 j  T
  8. and a user account (username + password) that has the permissions to do stuff/ i$ D8 h$ g% C
  9. with the database. Additionally, you will need a vendor library installed on the
    - J) \6 q# ~& B3 Z3 H, Y/ R+ m6 D
  10. local machine, this came with my MySQL install." |  G  _- l6 m5 a, f" o
  11. These instructions will not tell you how you might transfer your data from the
    . x% P1 ?  i2 M% ~7 Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 w1 ^+ M( I2 g
  13. database.3 o  [' R2 \, T0 f: Q( R, l& N1 q) T
  14. Some users have reported ways to import a SQLite database into MySQL, but at, X. Q9 J2 \9 a& D) O9 D3 ~
  15. the time of writing, there are still too many issues - check the current status
    5 V( P" ~' Z, X' M
  16. in the TeamSpeak forums if you are interested.
    ! \- W/ e5 ]  O8 _3 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 G8 h& @8 t8 L1 i
  18. Borland was used. This driver can only interface with the client library that
    " w6 X: R4 j6 s! Q" }3 \2 x( {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 w( A( p2 U7 ]9 Z: L4 \3 ?
  20. client library - basically all you have to do is to use a 3.x client library as ! V: n& `& @$ s& f" h6 |) a
  21. "VendorLib" and a 4.x database to connect to.  z, C7 _% R6 n
  22. If you need more info about dbExpress, you can contact Borland.; d9 M5 q8 @4 J- x) C7 j6 J7 C

  23. 3 Q: R# K" N" q% D8 m1 W
  24. ### Doing the work ###7 B* O9 e/ M$ o0 c2 e: z$ j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # {# W1 u1 u) o$ r# y  H7 E
  26. the perquisites right, just open your server.ini file, and add this section at
      D, \' A8 p4 w! f$ q0 L
  27. the end:) R9 O" ^( x4 z# D
  28. ---cut here---
    - _  j* D' n8 E: {4 Y
  29. [DBEXPRESS]7 V7 c& h# \2 J/ B  w: l* Z9 I9 i
  30. sqldir=mysql_sql
    ( ]2 f6 `2 \+ V- U5 h! a: {
  31. Drivername=mysql4 B# Q6 }- A1 |% y% `2 Z  u
  32. Database=Your_Database_Name_Here
      U5 B3 k6 j2 ~) K! g# x
  33. Hostname=The_PC_the_MySQL-Server_is_on; ]( {. J7 ~/ G" E
  34. User_name=User_name_on_the_MySQL-Server+ ]5 A! z8 X$ Y6 ]! N
  35. Password=Password_to_go_with_above_user_name- q% l5 g3 @& _& C
  36. GetDriverFunc=getSQLDriverMYSQL
    7 u- k! G7 V! O1 C& R* m# P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ Z4 U! Z0 g! D& Q: {
  38. LibraryName=path_to_libsqlmy_libary
    9 ]) f& q/ P" w/ ^* h  t$ ~
  39. Active=1
    ) b  B8 c. H" U; x; w6 F
  40. ---cut here---
    1 p  r% w$ |6 e6 z/ u6 E
  41. In my environment (a linux box with a MySQL server running locally) I have:- `& I% \) J. B9 W' R
  42. ---example---2 N; g$ E( _! t0 _$ z2 M1 Y- `$ u
  43. [DBEXPRESS]* ~- q& J0 X9 ?; K4 K! g5 e
  44. sqldir=mysql_sql
    # Z5 ^, R, F6 t& t7 ^
  45. Drivername=mysql; F+ k. ~; a) P: I; T& B" t8 f
  46. Database=test
    6 h% ~  m4 f: E$ B
  47. Hostname=localhost
    + p/ u% v& x% g, `  }. }
  48. User_name=testuser
    / J3 O& F/ w% l+ ~
  49. Password=my_password
    5 w. L( z# ]5 ^& h9 _5 z
  50. GetDriverFunc=getSQLDriverMYSQL
    0 S( B* u7 T- a5 Z, ~
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 D% s+ L/ P: V3 R
  52. LibraryName=./libsqlmy.so
    ( i" Q; F; X" V: z: }0 Q
  53. Active=1
    4 z1 i0 f  w! p+ Y; A; g8 l& r
  54. ---example---
    6 G  \5 K+ U' [
  55. " E. }* K1 N$ S/ B, N. N, y
  56. On a windows box, also running the MySQL server locally, it would be:
    2 q* G9 g7 I  {" G  B/ l" {% Q1 d
  57. ---example---- _6 n8 K0 a$ g8 c  v
  58. [DBEXPRESS]7 C$ n& J9 l( X3 }, L. [6 u  b& [
  59. sqldir=mysql_sql
    . ?: e6 W' y4 y. X. O' _1 }
  60. Drivername=mysql
    ! j. E( i7 _# Z) P7 W  u( e. o
  61. Database=test9 m  w& Y5 p  Y6 G0 t* s- c* |
  62. Hostname=127.0.0.1
      P$ n" J- v, e4 F/ W4 u! Y5 h
  63. User_name=testuser
    1 Y) d5 b. N% n) Y9 X
  64. Password=my_password  x( U) o1 i9 b( Q' _. h
  65. GetDriverFunc=getSQLDriverMYSQL% [1 P" E* t4 P
  66. VendorLib=libmysql.dll
    - v% H7 P, p1 N+ _6 ^
  67. LibraryName=dbexpmysql.dll5 h: Z9 @2 @5 v  p( S, n; H+ u: ^3 `8 X6 U
  68. Active=1
    ; s5 k# h0 t8 z) Y) x. h8 a* W
  69. ---example----
    ! b0 V6 V# {8 Y* j. ]9 u
  70. - written 02.03.04 by pwk.linuxfan" _5 d. H/ s9 R. L$ g' \0 O9 l8 h
  71. ( g3 y2 T8 @% o& g! l5 g9 \( Z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 }9 R6 Y# x! U! i$ Y3 R# @5 M

  1. + |. h9 x6 g3 |4 {, f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , z, F0 N: x0 |$ y

  3. + \% W# e9 \0 p, r( [
  4. # # #我们所需要# # #
    * ^) J0 Q/ z# n' M& A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 V7 m, S; _' {
  6. 不会解释如何做到这一点-也有文件存在,为
    0 u; F9 o( {8 V4 L2 [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ( u) F, N! j4 w+ R$ `9 ]! L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % A/ e: w9 t  v, @, D) I. |9 s- d. _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / X: m9 y& Z7 a: |% T# o
  10. 本地机器,这是我的MySQL安装。 2 V( P4 D. P5 `+ T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, Z2 @5 @, A1 j; g) _
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % U6 a! n# `. H0 {
  13. 数据库。 . o- `! y( y, `- K, i$ c) v+ s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; j; n2 C. q, e0 U( \' L
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 x6 r$ v8 k/ H
  16. 在teamspeak论坛,如果你有兴趣。
    3 X4 _5 _, X  G& n) s2 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ R) u4 p( {/ O8 _( y
  18. Borland公司使用。这个司机只能界面与客户端库
    3 m2 O2 e$ d1 X2 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + q8 p: b- X2 r( m( e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 o3 f; M2 G+ e1 G( N) O
  21. " vendorlib " ,并解数据库连接。 3 @1 c& y: k8 R/ Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! E1 X0 t& X7 U7 s, u- u
  23. $ N6 b: k/ i5 {
  24. # # #做好工作# # #
    0 S' h2 K- x, ~( z7 ^7 a+ g7 E/ p8 p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 @6 [7 B6 ]1 J( M1 }; p( l
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 E' g  a3 J  i: X2 |
  27. 结束: + C- m! E/ ]# w, G+ `/ y, O5 [
  28. ---削减这里---
    / L& I+ _4 {/ h4 z
  29. [ dbexpress ] 1 x- |3 v0 w/ l$ t1 c
  30. sqldir = mysql_sql
    ' X) y& W0 Z0 t- T$ d$ t. _
  31. drivername = MySQL中6 c  L9 S( j, ~5 _; i8 T; F; t
  32. 数据库= your_database_name_here : y" q) D: u. |! X! E
  33. 主机= the_pc_the_mysql - server_is_on
    ) k# {2 W( G) d
  34. user_name = user_name_on_the_mysql服务器
    8 S4 z8 W+ r1 p2 `
  35. 密码= password_to_go_with_above_user_name . V4 g! h/ h, M" M* w5 y# e' F2 S  Y
  36. getdriverfunc = getsqldrivermysql
    6 H/ z; H1 k7 w* R* `7 `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   {6 y5 C1 c: b! I: B  T
  38. libraryname = path_to_libsqlmy_libary
    $ [6 k( ]. ?4 k5 B0 x/ b$ r
  39. 积极= 1 3 r# w2 ^( J7 S) f; e8 H. `
  40. ---削减这里---
    # R. F) T5 w% T7 @: s5 B7 s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 Z* h  f8 N6 w5 F% o$ Q: }: r
  42. ---例如---
    ( g3 u6 Z9 H8 h! R. h
  43. [ dbexpress ] " D8 a+ R; ]$ ?# G. G% Z
  44. sqldir = mysql_sql + y. v. n6 k( j- G$ e
  45. drivername = MySQL中
    ' r0 ^8 X& m7 K# G" r
  46. 数据库=测试
    ( v1 E; }# w/ }6 I) R4 ~/ y8 s* c
  47. 主机=本地主机5 h/ z1 U( g% V" e" X$ ?# W( i
  48. user_name = testuser % z+ I: G% _5 c9 P7 n6 ]" w
  49. 密码= my_password , ]3 |+ m& S+ r7 E
  50. getdriverfunc = getsqldrivermysql
    . P9 A5 G! u/ p. e% |/ f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 k3 ^4 G. U; Z% B
  52. libraryname =. / libsqlmy.so ( o$ |6 G. e  ^
  53. 积极= 1 $ p% b$ T2 ]# R3 `; g/ q
  54. ---例如---
    7 i, K. |# `4 u' s4 b0 a
  55. ) k2 [5 A9 A7 E/ a& p4 r2 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : @. z: z9 q9 ], e. N8 X2 Q
  57. ---例如--- ( |3 e3 g3 [' L+ G: Y: @
  58. [ dbexpress ]
    3 f; b* w) P6 i% f/ z- N
  59. sqldir = mysql_sql $ o; I$ A9 D9 O- a/ z: I
  60. drivername = MySQL中
    $ M: J% X. }3 b# {
  61. 数据库=测试
    9 T3 r. Y4 \- d! ]8 S% Y5 W% x
  62. 主机= 127.0.0.1
    * a% Q( \* d8 O; Y
  63. user_name = testuser
    4 r- m+ S: ]' Q8 U
  64. 密码= my_password $ a  T1 `( `& Z3 i9 x7 ?! a
  65. getdriverfunc = getsqldrivermysql % G! a- z8 O/ b8 A7 Y8 r7 }
  66. vendorlib = libmysql.dll在
    ( m5 G$ x$ j. v9 ?. u8 D0 N
  67. libraryname = dbexpmysql.dll $ ^: n4 t# @0 c2 p" u! h
  68. 积极= 1 " d+ X- [3 B& d0 j
  69. ---例如----
    1 w1 m0 L0 B! A7 k
  70. -写在0 2.03.04由p wk.linuxfan
    + ]: l; ]5 T! ~* O8 N4 A1 r, k
复制代码
发表于 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 O/ ]0 E2 E3 i

4 t: {# \( @$ Q, O# Obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-2 03:28 , Processed in 0.124182 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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