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

3017 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% S) [$ N& W' u& b% w# Q6 y7 Y' d7 p2 @3 G8 a

  1. 7 A# k! k& i1 T5 {+ G& m# N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % r* z) ~9 ^( |5 Y7 {
  3. ' X6 h7 i4 Y+ {8 R% E  ]- {4 M
  4. ### What we need ###* h) R( ^/ B5 p# Q
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 ~9 I' r7 ]+ O. a- H& {: v. j6 u
  6. will not explain how this can be done - there are documents out there for the
    9 @& Z+ M, h( R* Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    # H/ r: y/ A% o, s: Z* L9 b0 Z
  8. and a user account (username + password) that has the permissions to do stuff. ?6 S* m; H( ~: o! L/ W2 E, ~  s
  9. with the database. Additionally, you will need a vendor library installed on the
    $ @, E. {6 n, c! f* I3 Y
  10. local machine, this came with my MySQL install.) W* T9 X+ i0 L% y. @+ G) n
  11. These instructions will not tell you how you might transfer your data from the# x. E: h7 _& r& L; [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% u4 T$ \* Q3 d: B5 ^) E0 O
  13. database.
    # @& ]. q  I# Z9 n  D. b2 ^2 [  p4 A
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 N9 \" G  r; C7 }8 N4 ~
  15. the time of writing, there are still too many issues - check the current status& j% U( k6 l+ J! i
  16. in the TeamSpeak forums if you are interested.
    9 {  I4 b5 Q7 \& v0 z5 `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* t. W5 q& z9 F0 f/ _, s2 g6 I
  18. Borland was used. This driver can only interface with the client library that 4 c$ f6 \: t) I/ A6 P
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : E6 ]7 ~4 O+ Q4 X' r* ?1 n# L5 y
  20. client library - basically all you have to do is to use a 3.x client library as # Q" F4 S: P! ?8 ^- j6 d! y4 r
  21. "VendorLib" and a 4.x database to connect to.0 e6 A; H; [+ ^' Q. ^5 v
  22. If you need more info about dbExpress, you can contact Borland.
    ) }7 s. k6 G7 m0 ]& \& M
  23. + x: U3 q" U5 r8 \
  24. ### Doing the work ###
    % L5 ]0 m( \1 n7 F2 j2 }) }9 g" F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , m8 s* z/ t7 |3 \
  26. the perquisites right, just open your server.ini file, and add this section at
    : _4 P1 @; y+ m) J' q
  27. the end:3 P7 m- S' x' P- J! r5 G
  28. ---cut here---
    0 K5 N- {! G8 E7 j- |" u1 x! K
  29. [DBEXPRESS]) D5 w$ D+ z) C2 \
  30. sqldir=mysql_sql. Y; c# Z  u, [9 ?/ Z9 v$ K- V
  31. Drivername=mysql" F, Y0 ]% x% S$ q# n& O. f
  32. Database=Your_Database_Name_Here
    0 C; r8 q4 B) q4 v6 Q1 g
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' ]- h$ E( m. o" n) X3 e
  34. User_name=User_name_on_the_MySQL-Server$ ^) U) R- {7 u# g) v) S' D
  35. Password=Password_to_go_with_above_user_name
    6 ]# e3 O0 D$ z
  36. GetDriverFunc=getSQLDriverMYSQL
    " A& r8 B* f1 a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! ?* ~* e4 s- M  u$ E! R0 J/ v5 s
  38. LibraryName=path_to_libsqlmy_libary
    & H1 d' A% [2 Y( f" _% r
  39. Active=1' K5 Y# l) ^/ H! w3 d8 o
  40. ---cut here---9 L9 U' j1 v+ u& c/ Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 D" Q+ I% L8 w/ S& `, R  x# t# F# W0 e, Y
  42. ---example---3 s  Z/ B2 t+ M1 d; r6 N; B/ |
  43. [DBEXPRESS]) b" e6 a* k) _0 u$ b
  44. sqldir=mysql_sql
    " p9 w/ X7 M/ `, `
  45. Drivername=mysql: {" C! W1 f! S& |& Q( u# u
  46. Database=test$ I; ]6 t9 \0 s
  47. Hostname=localhost
    ( E2 L. K% Z5 b* l
  48. User_name=testuser
    : Q. X( a' g0 v9 h
  49. Password=my_password/ B: L* v2 h2 p, C0 Z- x
  50. GetDriverFunc=getSQLDriverMYSQL! R3 W0 d  S+ z# m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( ]7 a! y1 }7 ^( Y) m5 t' }* y
  52. LibraryName=./libsqlmy.so
    2 G. ~7 q; h+ u# n) Y' A
  53. Active=1+ d. E5 p1 G- [, u
  54. ---example---
      B* B% V+ k6 O2 Q5 O

  55. / j  Y, h. E  g4 D
  56. On a windows box, also running the MySQL server locally, it would be:
    ) e0 P& X% K! A  ?: E8 t( |3 n
  57. ---example---3 h0 z3 w. [, d2 o
  58. [DBEXPRESS]
    5 Z2 V7 L7 S6 a" p  v
  59. sqldir=mysql_sql
    ! t! `/ N1 a; b  A! M" q: l
  60. Drivername=mysql) ]" s, f; ~; D! _  {& c0 t
  61. Database=test
    % D9 `8 @3 Y" N! o
  62. Hostname=127.0.0.1
    & X, w& F/ c% \4 |5 N1 F
  63. User_name=testuser
    ' e4 `; i+ x: K' n7 P/ x
  64. Password=my_password
    5 \- V  U! c, ]4 Y2 N5 f* {* f
  65. GetDriverFunc=getSQLDriverMYSQL
    & ^# g. T5 \% u5 n
  66. VendorLib=libmysql.dll' m0 w$ l9 {; F! J* L
  67. LibraryName=dbexpmysql.dll
    4 F' v3 E4 r% m: K1 I9 B6 N8 r
  68. Active=1
    5 n8 w$ [2 {# t3 h
  69. ---example----
    , w  V& y  j8 k' I3 P8 R: Z/ E3 J
  70. - written 02.03.04 by pwk.linuxfan
    9 I; D6 S0 ]% d: s* s- r
  71. ) A: d) H' W8 ^/ c; \; ?# R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& \) O/ h" t; K
  1. ( D" O5 J" ?% I* n% H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( V! m& |4 ]9 a* {6 X# T
  3. ; @- w2 w+ z. D- p; |
  4. # # #我们所需要# # # % W3 b* x6 {. x5 T; K/ W' i1 j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% @  T  t" g* E, [% a8 ~3 i% q
  6. 不会解释如何做到这一点-也有文件存在,为( |/ u6 k3 t. G  J' J2 s4 G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % q% _' E+ i& R1 K9 T  j6 q: ~, ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : ^- I+ F+ u7 |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 o( h: g+ r6 u. }+ q; x/ g# [
  10. 本地机器,这是我的MySQL安装。
    5 f, Q$ }1 G% C) d/ M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 G2 i6 {5 Q' ~5 q  L8 n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 h# S6 T0 T9 N  P
  13. 数据库。 9 q) L1 ]  }  B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : i7 L# {. P  ~+ x# f
  15. 编写本报告的时候,仍然有太多的问题-检查现状# v+ L3 ~* k) W6 N8 Q  S) J- k6 \
  16. 在teamspeak论坛,如果你有兴趣。 ; E% |. j# s4 P3 R3 l: f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: y/ w( C3 v+ U  ~  `7 x
  18. Borland公司使用。这个司机只能界面与客户端库' b2 Q3 M" X3 ]. D1 c0 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# L" o# p, r: A9 a3 e" x; Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 q) M9 q1 b3 f) D+ u
  21. " vendorlib " ,并解数据库连接。
    4 `" B: {' v: T. @" g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! v% j  W- z" Y) s6 _/ \/ x
  23. / ^* k" k3 N6 q2 W: f4 {( A# C
  24. # # #做好工作# # #
    $ o: m' N$ T: \9 H7 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , m5 e' T8 ~3 ]. |0 {$ j% u3 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ I+ u+ G2 i3 h7 @) Q
  27. 结束:
    ; J3 k+ U1 m0 S1 H! w
  28. ---削减这里--- $ N9 C+ f6 t# i: n6 p' C6 k
  29. [ dbexpress ]
    7 l* G! ], U  o9 [
  30. sqldir = mysql_sql 2 a8 B  U4 Y6 Z" G. s% M4 g
  31. drivername = MySQL中. k, X. Q) ^$ T
  32. 数据库= your_database_name_here , E7 G* V: I" d/ w4 M& L' S
  33. 主机= the_pc_the_mysql - server_is_on
    ; ~4 U+ e6 L. c" s! C
  34. user_name = user_name_on_the_mysql服务器$ x9 v( H: Z0 p# W8 Z
  35. 密码= password_to_go_with_above_user_name 9 l2 n1 @1 g2 e9 l' S
  36. getdriverfunc = getsqldrivermysql
    % v* w& Q- ~' v: C1 c! i6 G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; T2 s6 P. y6 l) f* B1 |1 a
  38. libraryname = path_to_libsqlmy_libary 9 g8 f0 R2 y1 d' R  C7 o
  39. 积极= 1
    4 g' E, [& W7 |2 _3 U% s0 j$ U8 q8 }
  40. ---削减这里---
    , S' u( i7 n; f! \( N' [- n; `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 H- `4 h8 k. V. c3 p
  42. ---例如---
    # j5 N! v/ v- P2 Y
  43. [ dbexpress ]
    8 s$ U; b, ]: I& y4 p
  44. sqldir = mysql_sql
    * I( E1 R6 g2 S* x' n
  45. drivername = MySQL中
    . v3 b7 d( G6 W2 P; }
  46. 数据库=测试
    # {! Y7 r- ?8 |' R! b5 o6 i
  47. 主机=本地主机
    . n) Q1 n: [' m; U9 F: O; {+ m. a4 F
  48. user_name = testuser
    % t/ j* H! B# A: X6 \* E6 c+ ^) u0 e
  49. 密码= my_password
    8 w0 Z/ m. E4 T' U9 _
  50. getdriverfunc = getsqldrivermysql ' L$ x# m7 j. u' I! z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 L/ c+ p5 h1 U
  52. libraryname =. / libsqlmy.so / }+ ]' S* d" l. b. ]! r
  53. 积极= 1
    6 e* W2 C% X5 l; \( Y; ^
  54. ---例如--- 6 r2 a6 R3 O. `6 c  e7 J

  55. 7 T  {+ A/ ^5 |$ [" W
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( I8 }) s' M$ H( d2 P7 ^2 i. U/ s
  57. ---例如--- , d" Q1 I% T% g( }3 y2 h
  58. [ dbexpress ]
    & O" K. c* P2 p
  59. sqldir = mysql_sql 3 E9 M) S7 c/ Q/ _9 `, ?+ s2 D7 T
  60. drivername = MySQL中1 y: X( w- n0 A# j
  61. 数据库=测试
    7 V4 j+ c3 o& ~% C/ ]7 C
  62. 主机= 127.0.0.1 " P" [8 k1 K9 E+ o( F# {
  63. user_name = testuser
    + K' X" \8 S1 x) z+ O
  64. 密码= my_password , |) t$ ?" L- o6 `1 x
  65. getdriverfunc = getsqldrivermysql + n$ S/ f% x' |$ @9 K7 L: q
  66. vendorlib = libmysql.dll在& f' T: h. E+ j( J2 ?
  67. libraryname = dbexpmysql.dll
    " j* e9 G" B/ u# n  s( v
  68. 积极= 1 3 c9 f( V: H7 l# D! G0 v# N5 y8 P
  69. ---例如----
    ' h$ f" S" @# k8 V( d% ~: t/ Z
  70. -写在0 2.03.04由p wk.linuxfan3 `5 t- I3 N! y
复制代码
发表于 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 ?( O  C: H0 R
5 N" C: j5 _9 ^, Z6 x2 F
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-13 22:53 , Processed in 0.108490 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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