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

2923 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. Q* l- {+ N# X' Q) w! o4 X+ g- C, P* V, A" _
  1. 5 ]! k0 f' u" ~! `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * e7 Z+ l6 R/ A. J! f( r4 W
  3. / O1 e* U# c! D" X
  4. ### What we need ###* N3 I. e$ F- R: V4 d% u
  5. Naturally, we will need a MySQL server to store the data for us, this document : g& Q9 _7 c/ r& s- C
  6. will not explain how this can be done - there are documents out there for the
    0 I/ w9 Q% L; h. k0 @
  7. interested. The requirements include a (empty) database for TeamSpeak to use- G4 J9 k3 P. ~. x2 k5 A
  8. and a user account (username + password) that has the permissions to do stuff
    . f4 A: H, S- o, D
  9. with the database. Additionally, you will need a vendor library installed on the
    9 s" b* {, U. R1 I; p
  10. local machine, this came with my MySQL install.
    ! b! {$ Y, d2 P" |: F9 @$ g
  11. These instructions will not tell you how you might transfer your data from the
    9 }5 s8 M' b! H1 z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 H/ d3 [( j3 }
  13. database.' W: |- z. c6 _/ q' y4 ~& V1 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ j! s/ U7 s2 |% a: L' ?
  15. the time of writing, there are still too many issues - check the current status
    9 B" d- }* `: u! O9 A+ j
  16. in the TeamSpeak forums if you are interested.5 _3 y0 Y7 ?: O6 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + c4 Z4 e7 q2 p: P
  18. Borland was used. This driver can only interface with the client library that
    : M$ A; O4 C1 T+ o" z9 `4 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) G6 x7 @$ i& e) h4 Q8 h
  20. client library - basically all you have to do is to use a 3.x client library as / l! b5 a3 n( S% X
  21. "VendorLib" and a 4.x database to connect to.* `( P4 ]: c4 \
  22. If you need more info about dbExpress, you can contact Borland.
    3 \0 E4 Z$ ~0 L

  23.   N# x- r8 d5 B6 l  p# i
  24. ### Doing the work ###3 N4 x0 k  a2 A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ ^" d3 k3 k; M: Y. {
  26. the perquisites right, just open your server.ini file, and add this section at3 g" R. ^  N' F  w  w; x& H% X0 ^
  27. the end:. u  {8 U2 K- x
  28. ---cut here---. f$ X1 X- D; Y" Z  z5 H
  29. [DBEXPRESS]* b& m6 y) [* ^; D( H
  30. sqldir=mysql_sql
    9 M4 u, [3 ~0 x1 I, y8 U& i
  31. Drivername=mysql
    ) N8 q9 x3 d- ~. L7 Z+ B/ P2 e
  32. Database=Your_Database_Name_Here2 S" R1 B; c8 [& X2 a4 l
  33. Hostname=The_PC_the_MySQL-Server_is_on6 H  l7 K$ Q2 a' C+ {! T
  34. User_name=User_name_on_the_MySQL-Server" U4 J) a3 @) W
  35. Password=Password_to_go_with_above_user_name
    & t( E: A/ H. S# I' o. t3 ?
  36. GetDriverFunc=getSQLDriverMYSQL6 m, F) r5 G1 y' l7 {  @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - _" O' W$ t1 d0 q& [: o
  38. LibraryName=path_to_libsqlmy_libary, _9 k8 o, y. q2 V! S9 {
  39. Active=1
    . w% @- B% \+ [- w2 Q9 |
  40. ---cut here---; U6 U2 v1 _- c1 K! ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( W8 t1 K+ s* m
  42. ---example---
    0 k3 @) r" V! P& r8 I
  43. [DBEXPRESS]$ `! J8 T  M* U+ k
  44. sqldir=mysql_sql8 x& j; w: K- R3 t! s3 k2 r
  45. Drivername=mysql( c( I* O' U+ z  N
  46. Database=test. e! J- n. ~$ T1 `' H" h
  47. Hostname=localhost0 Q' p: Q" v$ v( b7 @) z! R
  48. User_name=testuser" L$ B7 {0 s! ?/ D7 U
  49. Password=my_password8 D9 ~3 h$ R5 s$ z/ j$ P
  50. GetDriverFunc=getSQLDriverMYSQL: r2 W& y$ J0 r" P# C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; D0 [9 P/ Q( g
  52. LibraryName=./libsqlmy.so
    : `/ k' {% |5 w/ z' H
  53. Active=1
    ) ?8 o1 R& ^: s9 S0 y/ J$ L
  54. ---example---+ F5 f. P  N) e5 z) e
  55. . L  A7 i9 T7 S0 [6 i+ ?" @; c  c
  56. On a windows box, also running the MySQL server locally, it would be:
    ! L7 d7 I9 z# ^# l2 F9 Y' z
  57. ---example---
    ( [% v8 ~$ s" s2 O8 k
  58. [DBEXPRESS]
    $ F2 ?  @; }* C* n. B- V) x
  59. sqldir=mysql_sql
    $ V# [7 M$ K9 v7 z% G) O9 N
  60. Drivername=mysql% M4 I8 K3 f0 z: A
  61. Database=test
    # }( N( f$ R; C) c- ~! h1 v6 M
  62. Hostname=127.0.0.1
    ( s3 w$ ^7 g9 D3 |9 z, I; U/ L
  63. User_name=testuser
    & h6 l# Z- }0 E8 W8 z- m
  64. Password=my_password. n/ N- {* Z# V4 ]
  65. GetDriverFunc=getSQLDriverMYSQL/ w( J- k" P. B# r8 G
  66. VendorLib=libmysql.dll5 m# k9 c5 U. u+ B1 \# ^
  67. LibraryName=dbexpmysql.dll
    , i$ S" t& X- g* @) H) ^) t. ]
  68. Active=1
    # U0 [- J9 ~8 I$ m4 v/ j
  69. ---example----1 R! X- F1 X1 W- z0 ^- U
  70. - written 02.03.04 by pwk.linuxfan7 b3 ?, G  n; s$ p) U

  71. " M2 n4 f1 G4 e* N( V: J$ F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 c) z2 s7 H1 f

  1. 8 b8 j* C, [$ G! I6 @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! P5 z( S' H; e( y. r
  3. 4 U8 s! `3 W2 v% B2 p$ ]8 m, B+ B
  4. # # #我们所需要# # #
    ( k8 z, p$ [) U$ G, T. [: |7 T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 u4 D4 [6 N  Q  q/ Q! }) x+ ~: c
  6. 不会解释如何做到这一点-也有文件存在,为1 ^  @1 W6 H" `9 f& s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! M2 ~# c% z, ^+ w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - r' i4 c5 b$ m3 \' s1 V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 {3 |( l, a# @3 \; W
  10. 本地机器,这是我的MySQL安装。   v; z; d# s& K# z3 ?4 P; U" N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * }5 L5 M2 [* x$ c; J( v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' j, `1 ~& d, L/ G7 Y9 R; V" B
  13. 数据库。
      F1 X' N8 g/ @/ b% @! D& F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 y5 f! \, I! z8 G9 o6 \' y
  15. 编写本报告的时候,仍然有太多的问题-检查现状- c9 S' {  j2 y, j, k; F( _: ^
  16. 在teamspeak论坛,如果你有兴趣。
    : P: G5 ~! M! w. E$ z& n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 E% Y& n9 W& {  C2 o9 O
  18. Borland公司使用。这个司机只能界面与客户端库4 S+ m( {6 ~/ W; f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 I& H# s. F8 J% E7 L1 \* F% M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% K, j$ {+ n. S9 Q& b! }1 L. s( r
  21. " vendorlib " ,并解数据库连接。
    + E- y# H$ \* V9 r4 ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # C, c% I1 N0 x# p0 I0 C6 O5 j

  23. ( [6 v' U) y, d% E: j/ f; Q' n
  24. # # #做好工作# # #
    5 M6 n$ _# y- ~; p5 }$ ^5 T) L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都6 I$ @! M+ P" N% R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 {# f" Z! J8 W& L
  27. 结束: 1 J. {! J: a* [' g# p/ d  S3 n
  28. ---削减这里---   u& g3 k4 ~, R, l0 }8 x' G- a0 j! [
  29. [ dbexpress ]
    / v, ~. [5 L) Z7 X' s5 ^7 k
  30. sqldir = mysql_sql
    + W; `& H6 t* [: Z5 [# ^& B0 z8 \
  31. drivername = MySQL中
    8 m" [; Z4 H1 z; Q& T0 d& |
  32. 数据库= your_database_name_here + E; O( c- |+ s& v+ R" T+ f
  33. 主机= the_pc_the_mysql - server_is_on
    8 P3 R/ V' B$ _% V
  34. user_name = user_name_on_the_mysql服务器
    ) ^1 ?. u/ Z- j* m
  35. 密码= password_to_go_with_above_user_name ! P3 }( Z5 \9 d. ^8 I- x: x
  36. getdriverfunc = getsqldrivermysql 8 B  E0 ~5 c8 `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - R0 i! k9 Z- r3 [/ {8 l& F
  38. libraryname = path_to_libsqlmy_libary 1 {* x9 Q% A4 _' X# d+ K
  39. 积极= 1 " X. N1 E% b/ c& \6 P) t5 b
  40. ---削减这里---
    , F' S$ o2 {. u5 O8 S- n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - ^0 b& x7 h' g4 S! c
  42. ---例如--- ( t7 w. _  c& B& q
  43. [ dbexpress ]
    - y2 R, U- S( I+ V2 I( [
  44. sqldir = mysql_sql   N$ F4 y6 N- Q; c& N0 D4 r
  45. drivername = MySQL中% z3 u! `, ]; {) e+ n7 r4 a5 z" n) r
  46. 数据库=测试  k0 y2 M/ b0 o% J2 C
  47. 主机=本地主机1 ]8 S! a/ i: ~) |9 _( o& h
  48. user_name = testuser
    / B4 V/ s" s0 c0 f8 c* `3 K
  49. 密码= my_password ' ^$ I; @- B) _* g0 ?
  50. getdriverfunc = getsqldrivermysql
    6 {, _" `( d6 l4 X  S/ N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , }) b# O4 z4 Q8 U4 Y
  52. libraryname =. / libsqlmy.so 9 t; s5 ]+ b* E) V; V  V
  53. 积极= 1
    4 i* q: X* S0 o
  54. ---例如---
    : w3 W+ E3 x1 }5 U: L! o
  55. - b  ]3 o! g# W8 f4 q9 g) m
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / T( u: r8 P. A4 N$ e5 a( M
  57. ---例如---
    5 s3 R7 p/ U5 Y* ~" R* [
  58. [ dbexpress ]
    ! z) m/ k% T7 K! V* C2 F/ N+ z! S4 Y
  59. sqldir = mysql_sql
    4 F: r0 ]3 B5 _5 F5 ?% b1 `. `* E8 W* r
  60. drivername = MySQL中# p9 \* k3 h' ~8 b% k$ m9 {
  61. 数据库=测试
    ; t4 G( N0 `% v6 j
  62. 主机= 127.0.0.1   t/ |' ?; M& ^' s. n) \" G
  63. user_name = testuser * l. F/ x, b9 a) i& h; _: Z' q+ Z
  64. 密码= my_password
    * O4 t! n# B! W: a
  65. getdriverfunc = getsqldrivermysql ! `" }. K0 C" |- Y7 k; R6 C4 b  w
  66. vendorlib = libmysql.dll在' [, U4 B$ V% v) U# C6 Q2 O
  67. libraryname = dbexpmysql.dll
    / O/ z" \  f: T$ V
  68. 积极= 1
    - N6 Q& V6 q9 d& L$ x9 m& L
  69. ---例如---- 3 j5 Q  N2 y$ Q# T
  70. -写在0 2.03.04由p wk.linuxfan
    ! W, m, P! [6 |3 p4 }
复制代码
发表于 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 words5 m: \/ B+ ^; X' W* J

5 N" z6 l/ \% ^. J. zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-22 05:10 , Processed in 0.094955 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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