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

2564 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + {& Y( r* h9 P7 u2 ?$ n  l' y
' j* x& ~6 X, {% v

  1. 2 c. h3 a( q! k0 S- F# q# o; I  b/ z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 j/ {% o9 ?1 W# P3 B) K

  3. . w/ d1 n$ ~8 a3 Z) y
  4. ### What we need ###
    ' |; ], Y6 A7 G; K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' u& f- ~$ |7 C# i, |7 ?+ U$ ]
  6. will not explain how this can be done - there are documents out there for the   Z( X- H4 u2 I  Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & g9 ]2 D! E( p: @) t
  8. and a user account (username + password) that has the permissions to do stuff/ H2 Z( F4 q% n% ~
  9. with the database. Additionally, you will need a vendor library installed on the; n4 F! m9 P$ \& h4 y: M! B
  10. local machine, this came with my MySQL install.
    ! b1 N8 {1 h' Y  w; I
  11. These instructions will not tell you how you might transfer your data from the
    : @* ^4 t& e0 b) R' u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ ^& r1 J* k- h4 c! y2 j6 R
  13. database.
    4 {1 ^+ g7 k$ W' V. k1 r3 D
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 ^" b! o5 V6 O: ^+ m# J
  15. the time of writing, there are still too many issues - check the current status( N  i+ F( M4 X& A  ~
  16. in the TeamSpeak forums if you are interested.
    3 Z. Y( w( r" y8 }( L/ b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " g4 u( I' d2 g- R; f* D
  18. Borland was used. This driver can only interface with the client library that
    / x+ m. ~% d2 S3 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & \* {6 v, C5 D- s
  20. client library - basically all you have to do is to use a 3.x client library as ! @0 o3 ]+ h& v& F# m
  21. "VendorLib" and a 4.x database to connect to., D+ n& z8 A) o4 Y
  22. If you need more info about dbExpress, you can contact Borland.
    + \4 h- q/ x0 x! {* a( z
  23. % M4 P  o0 x# r
  24. ### Doing the work ###
    . H0 c; R0 D! y* ^' a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    8 t4 Y/ G- @4 W. A% H
  26. the perquisites right, just open your server.ini file, and add this section at
    2 f( m% `; E6 o$ u8 t4 U" p
  27. the end:
    4 k; u: I2 d" ^0 T1 u- t
  28. ---cut here---
    7 X3 j/ J1 u, s
  29. [DBEXPRESS]
    8 j2 h9 i( T0 D8 I8 w1 q- ]5 N
  30. sqldir=mysql_sql; ~& d; i4 m2 }
  31. Drivername=mysql* j, O3 O: p3 b6 j( w
  32. Database=Your_Database_Name_Here
    7 n) E6 J3 d) a/ {" N
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - s  R8 C9 {% S( j
  34. User_name=User_name_on_the_MySQL-Server( u: ~4 x9 K" p, Q+ ~) J; L
  35. Password=Password_to_go_with_above_user_name  F% @/ y' _+ M8 U' ^# v5 k
  36. GetDriverFunc=getSQLDriverMYSQL: \1 F3 F1 q+ [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 V: m: d% }7 d1 E8 P$ P  I" {
  38. LibraryName=path_to_libsqlmy_libary
      K0 x# P) d: F( a
  39. Active=1
    ' i7 f; N% o  r6 K0 I+ ]. q% n
  40. ---cut here---" L. U; _9 f: W* Z+ H6 Z6 O
  41. In my environment (a linux box with a MySQL server running locally) I have:* v" f; e/ M$ T. k' d1 w
  42. ---example---
    , Q! w5 t  h$ U* N+ H3 c
  43. [DBEXPRESS]
    + I+ _2 E8 @% W2 ]2 V4 I  B& P
  44. sqldir=mysql_sql7 u  p$ U  j$ T' P" `; Y- @$ T% R
  45. Drivername=mysql
    - }) k& ^/ R" \8 Z9 {8 a7 e& |
  46. Database=test' x6 z' W. z7 R) H" o/ V* @
  47. Hostname=localhost
    4 v; J7 v3 U- r5 s$ a# F
  48. User_name=testuser
    3 P' K3 t6 ]* o$ X3 O7 T- e
  49. Password=my_password6 j0 g1 o& h. y4 J3 O
  50. GetDriverFunc=getSQLDriverMYSQL& D; E: T  d- H9 m5 P" D
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. t# T& g6 j7 S6 B' L9 p. N! Z
  52. LibraryName=./libsqlmy.so
    0 `" T8 t  u2 \( p/ \- w. M
  53. Active=1
      _* C8 Z9 ?7 i, O0 z1 r- E9 c  Y0 I1 c
  54. ---example---( r6 A' Z, ~. }: ]
  55. . `& r9 i% P$ v2 Q, B% Y
  56. On a windows box, also running the MySQL server locally, it would be:
    + P5 w  f9 }6 o/ Q" j. M
  57. ---example---3 y/ |: ~% E+ \7 }1 J4 w3 A/ `' Z
  58. [DBEXPRESS]
      K' W/ ^3 `! ~7 p. o3 g; ]' _
  59. sqldir=mysql_sql
    , @( e2 V! [4 X+ O$ S
  60. Drivername=mysql: M  I+ ?9 i8 o+ b9 e& T
  61. Database=test
    / F) C# D7 _! F+ K
  62. Hostname=127.0.0.1
    7 J0 x5 n) F7 f: P
  63. User_name=testuser) U8 r9 S$ [" U2 k3 Y3 |8 J
  64. Password=my_password: E9 ~9 v; L  L* K
  65. GetDriverFunc=getSQLDriverMYSQL. Y: Z' K5 O1 J1 ~& }6 x& V! s
  66. VendorLib=libmysql.dll
    - a3 c  L9 I( S
  67. LibraryName=dbexpmysql.dll
    , A' P1 `# `+ W3 r' l
  68. Active=1
    ( r4 B3 g% v9 T+ I2 n/ V) S& H
  69. ---example----
    , O# {: [& ^% M% _1 R4 x9 W
  70. - written 02.03.04 by pwk.linuxfan
    3 n; E; p' ^# ^% A0 z3 u( t! a: `$ J
  71. 6 [3 k  G' v1 b, k9 H$ s& F" D- h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( j: m# _- G# f: {# M7 `
  1. 2 w2 }0 |. N; b
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! a8 l3 G! x" \5 P; a

  3. $ I+ n* y$ A: P* s# C# E
  4. # # #我们所需要# # #
    6 E/ I  i# L* |+ R! Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- p  H3 _) u: A; D7 X9 j
  6. 不会解释如何做到这一点-也有文件存在,为/ z3 |. W4 b3 y: o, e9 d/ l( G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, \. [  K. |. w2 M4 m$ Z, I: ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 w1 R. Y# K$ b" o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 S5 N: `8 ?4 f. @7 |& y
  10. 本地机器,这是我的MySQL安装。
    % s; Q6 o$ ^1 _# a0 Z+ }# }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" E+ ~  A6 S" G0 {0 x( T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 L) t" j8 Z$ L+ S: @- ^: d6 Z0 v+ s
  13. 数据库。 % ^' o' ]) o6 ?6 h8 I
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 Q4 I* x5 j+ W: R# h' r
  15. 编写本报告的时候,仍然有太多的问题-检查现状* D9 Q, ~! @/ ]3 d$ F9 q
  16. 在teamspeak论坛,如果你有兴趣。
    1 R3 P: \8 Q, J8 S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& ~# i$ i0 }0 K3 l: \& G5 |
  18. Borland公司使用。这个司机只能界面与客户端库" W/ O5 U6 `( ?. m" `; [9 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& h- t1 S( A  K7 f, D
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 e3 `2 A$ s" G" g1 O# t
  21. " vendorlib " ,并解数据库连接。 3 i5 j4 g6 A- x. |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 y* o+ D6 U+ F& A

  23. ( V" x- B! }; i1 a/ _+ J2 V8 I
  24. # # #做好工作# # #
    : c% R* _7 _. b, ?4 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 V# s( ~. }" l# e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 m" u7 `! [) ]: K
  27. 结束:
    9 j+ Y% {  X! A$ h# w
  28. ---削减这里---
    6 q9 [- J4 w, [* d+ x8 L1 N3 t( [
  29. [ dbexpress ]
    0 g8 _. b9 l/ b, T
  30. sqldir = mysql_sql 2 b* N$ L1 c6 G6 f7 A' x/ i6 ?, P
  31. drivername = MySQL中
    , F: M- y" \+ f/ h: d, p
  32. 数据库= your_database_name_here
    ) E+ b6 c- n9 c; y' O. q
  33. 主机= the_pc_the_mysql - server_is_on + D. m! T" L( c7 C
  34. user_name = user_name_on_the_mysql服务器; W! F! {+ H) U
  35. 密码= password_to_go_with_above_user_name 1 U6 O1 H* E" X" a. q; }$ f
  36. getdriverfunc = getsqldrivermysql + E7 x: x, K% H; r0 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # E2 B6 r" x/ G  W  \) A2 p0 x4 E) T
  38. libraryname = path_to_libsqlmy_libary , L# _, t& i- }: K
  39. 积极= 1 " q9 J! S* v; a: ?
  40. ---削减这里--- , j1 q( `+ ^3 q$ Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + A) w8 c* m3 E- v$ R
  42. ---例如--- 4 C0 Q& U  j# `  |* F
  43. [ dbexpress ]
    2 n2 `+ W" E. H
  44. sqldir = mysql_sql . `5 B+ c# `! l1 P+ }
  45. drivername = MySQL中# u: d6 h; K* U/ J! i
  46. 数据库=测试- Q5 n) U3 m% ^3 I1 U1 j0 `6 C
  47. 主机=本地主机5 H; ]. ?: Y, q. U
  48. user_name = testuser
    # X7 C5 H5 Y8 {7 D2 P) O6 z
  49. 密码= my_password
    ( G3 E& ]# P6 Y. |% [! {% ?
  50. getdriverfunc = getsqldrivermysql 1 ?% ]6 Q# l. @$ Y" f; g' R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      f, Z( p5 i* C  q3 h
  52. libraryname =. / libsqlmy.so 3 `# h' c; P4 X  E  E
  53. 积极= 1 7 @2 {0 M. g/ {4 a- L2 F$ U
  54. ---例如--- ! P; J) j2 t7 `( g2 K

  55. & a. n! ]4 ]2 p9 N3 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 k" O* |, s& A
  57. ---例如---
    : t  x+ D, G: E+ b- [
  58. [ dbexpress ]
    ; j( w2 Z; i4 \7 d7 z' Y  u
  59. sqldir = mysql_sql
    ! m- i8 A0 F6 c- S1 o# e7 j7 F, k
  60. drivername = MySQL中
    ; N, b, ]/ b/ i2 Q+ S6 M1 e
  61. 数据库=测试1 a7 }( x7 I- x" X' A+ D
  62. 主机= 127.0.0.1 $ ^, t0 s( X3 b! R$ b
  63. user_name = testuser 0 _9 U' x$ p4 x3 B7 s
  64. 密码= my_password . l* J9 G! F* j
  65. getdriverfunc = getsqldrivermysql
    5 G$ j9 r" p: G& A+ O1 {1 @
  66. vendorlib = libmysql.dll在8 S4 z& z; _) v+ T' z2 n
  67. libraryname = dbexpmysql.dll : }' l4 Z: E8 k
  68. 积极= 1 ' p2 `" C9 Z! }% H5 u5 ~
  69. ---例如---- 1 l+ j# ^+ u; {2 y
  70. -写在0 2.03.04由p wk.linuxfan2 |* o- S9 H# i- t! o3 z) T
复制代码
发表于 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, t! i0 B+ [. B0 W6 `
* Q" s( c5 q0 Z7 y
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-29 13:27 , Processed in 0.105120 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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