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

2885 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 X" m$ T/ x5 H' F! d" U5 M& q. ^3 W) \" b1 ?- q
  1. 7 O+ w. l2 \/ q4 u( U3 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 a# G; N5 M& f( b! v; F3 R, s! h

  3. 6 |9 @5 F7 ]4 \! ]+ o
  4. ### What we need ###- C7 c! f: e  x. ^; A
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 p" L# _4 p" u* b) c5 L! g7 K, c
  6. will not explain how this can be done - there are documents out there for the
    4 o: h  P! l5 ^# p# u# g8 S  `
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : g. `4 Z! x9 r
  8. and a user account (username + password) that has the permissions to do stuff
    2 n5 t3 b& T+ z( I% b, c( w
  9. with the database. Additionally, you will need a vendor library installed on the
    , n! A1 L/ a) ^* O
  10. local machine, this came with my MySQL install.5 l" q4 L& R7 n5 _
  11. These instructions will not tell you how you might transfer your data from the$ o1 B. ~( X& a; ]5 g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + N  A  D6 Y& t
  13. database.+ W2 z) [$ v) d7 r9 o4 A
  14. Some users have reported ways to import a SQLite database into MySQL, but at- a2 _& [  I) d  i9 _
  15. the time of writing, there are still too many issues - check the current status
    ; B1 T& d1 j5 w' j
  16. in the TeamSpeak forums if you are interested.
    3 p) e9 q2 p# Q4 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) _, ]+ o. |5 G( x5 S- {/ z
  18. Borland was used. This driver can only interface with the client library that
      }0 V+ I' Q2 ?' N+ N8 i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 T" t3 }5 c  A9 ^5 l# [3 V
  20. client library - basically all you have to do is to use a 3.x client library as 6 f1 Q, A9 H0 R9 k  G' L
  21. "VendorLib" and a 4.x database to connect to.
    ; X9 v6 e+ g2 r  G" z) g7 t' g) y
  22. If you need more info about dbExpress, you can contact Borland.
    ! _+ a3 t" z& N. B& ^' |

  23. 3 G: O$ @* Z1 e" o, K
  24. ### Doing the work ###
    . ]& |' ?, b! v8 r) I. D3 u) q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ K9 n! P) ^1 \  c) W4 P" U
  26. the perquisites right, just open your server.ini file, and add this section at
    / V: b# v$ q. |" M2 ]
  27. the end:( J3 S+ E8 T( ^' d! E- B+ o
  28. ---cut here---
    % E2 ^0 E  }8 J5 {2 h
  29. [DBEXPRESS]" J) d/ S  p. x& E, I( U
  30. sqldir=mysql_sql2 k5 z( ^3 l3 A  l% w- K
  31. Drivername=mysql
    " b  T( T$ O+ s9 E( M7 i
  32. Database=Your_Database_Name_Here' r3 [* T3 \8 @' n2 J* e! [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 M: _% ~" W; P( r/ A- e
  34. User_name=User_name_on_the_MySQL-Server
    " J- E2 l* `1 D5 L& I0 o
  35. Password=Password_to_go_with_above_user_name
    2 R# Z  c; y+ k
  36. GetDriverFunc=getSQLDriverMYSQL
      ?4 h" }/ d  X* s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; v" A3 z  v" B- {* X
  38. LibraryName=path_to_libsqlmy_libary
    ! a: \( L- [$ m& g
  39. Active=1
    ) j& t+ @$ [0 v& Q# c+ Z
  40. ---cut here---/ ]8 e* v- x* ^
  41. In my environment (a linux box with a MySQL server running locally) I have:7 c# F" W8 t( R
  42. ---example---& Q( d; B) w/ `# h) B0 P7 C
  43. [DBEXPRESS]* ?( A$ g5 _+ |) b4 Q
  44. sqldir=mysql_sql. T5 q  X) G- f
  45. Drivername=mysql
    - ^% N+ d, N' P7 P# X& D( m7 R3 p
  46. Database=test! A# w# ^0 ~; ]$ W: l3 ]$ G0 s+ P
  47. Hostname=localhost% U* J9 ]- \3 x- n/ Q
  48. User_name=testuser
    + a/ T$ h7 \  H& c3 M) e1 Q$ ~! P
  49. Password=my_password
    2 v% z9 Q) B6 }, ?0 N
  50. GetDriverFunc=getSQLDriverMYSQL
    ! I7 @: C  L9 w" o8 v! }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, _, {, Y- E( Z/ H/ S) I' ^
  52. LibraryName=./libsqlmy.so+ g  c) A5 r' r$ X/ ~( t3 H
  53. Active=1) j. j1 A# n6 p/ a
  54. ---example---
    $ A4 u7 q) W0 X' ~& w+ n9 }
  55. : b* w, z9 c) Q9 ^: G
  56. On a windows box, also running the MySQL server locally, it would be:4 l6 z; ~4 j0 z% j% Q' ]
  57. ---example---
    ; I8 z$ C. v+ Z( M
  58. [DBEXPRESS]
    $ k8 g' _+ [4 u7 P0 x7 A
  59. sqldir=mysql_sql
    6 p% d* L2 N% e5 \+ h
  60. Drivername=mysql6 i- o- l- E* j7 H' W. _$ c" x1 L. A3 |
  61. Database=test
    " a  ^! ]1 R& |3 L2 F( N& K4 O
  62. Hostname=127.0.0.1
    9 D  e& l0 A; F, }1 r
  63. User_name=testuser) y! k( {0 h% H
  64. Password=my_password
    8 T, g5 p4 f) U% Y, ?3 ^: U' q6 A
  65. GetDriverFunc=getSQLDriverMYSQL
    ! P1 _$ l6 q0 Q$ u  ?
  66. VendorLib=libmysql.dll& w+ ]: E/ U  F/ @/ i5 h0 F
  67. LibraryName=dbexpmysql.dll
      {5 F9 [. o' O5 ]" d: l
  68. Active=1* `0 Y+ K/ G* d; \3 s
  69. ---example----4 h/ B. O4 `8 l& M# A+ C1 e
  70. - written 02.03.04 by pwk.linuxfan1 b+ R" ?+ q- C- {( ?3 x

  71. " u- t' g; `& |6 J) A" C
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% S. M) g0 e) I3 ^

  1. 3 Y. t; \* E5 y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : O$ N# _1 z3 v9 A4 g$ K8 Q' }
  3. 9 c' Q6 u4 {6 w# y3 m* j
  4. # # #我们所需要# # # ! j+ `7 m9 O+ |5 h" H6 k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    - G( ?3 m! G* o2 X# o9 S$ n: P/ g
  6. 不会解释如何做到这一点-也有文件存在,为2 L8 Y: y4 b" @% z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# |8 c1 b8 z7 c' a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ S  {( L) |2 c: i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; {. M8 ~3 q" k' S/ y
  10. 本地机器,这是我的MySQL安装。
    0 C4 e& t; Y) k) d- {
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) R0 R) I, o/ W$ q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & X$ S1 Z5 l. S: \5 r. r5 c
  13. 数据库。
    2 y! Q7 y3 Z% `& q8 X% T5 E3 ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . [: _% \  G+ ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 Y+ Z6 g* {$ y2 Y
  16. 在teamspeak论坛,如果你有兴趣。 , p4 c- g" c  y9 v, [4 p
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 T7 H& j9 `; D1 S" Q% e$ C1 M7 c- C
  18. Borland公司使用。这个司机只能界面与客户端库
    3 P" ~4 f& k8 O8 \/ U6 t
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 S* B1 H) O4 N& y" q- o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 _) m8 ?: {: u8 b4 x
  21. " vendorlib " ,并解数据库连接。
    , q4 \- {5 f1 C5 H" D( J0 L* P+ E& p' i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 j; Y, H' [5 I- X. o+ P/ g! w
  23. + ?5 J- i# m$ m' W8 |, u3 n8 Q
  24. # # #做好工作# # #
    % g" @, Q0 Z5 w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ F( ~0 w: t( B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# I0 O' }" H  T" s
  27. 结束: 3 a' z9 f: A- I
  28. ---削减这里---
    ! W/ y6 b5 @/ J+ J" H
  29. [ dbexpress ]
    # Z5 N7 h! a' {" ^5 J1 v
  30. sqldir = mysql_sql 0 ?, {% |6 @8 X# A6 Y" O) s
  31. drivername = MySQL中% U3 v) c9 C* A4 h% ^7 }0 r
  32. 数据库= your_database_name_here
    1 `$ l9 S- N" y. ^9 ?
  33. 主机= the_pc_the_mysql - server_is_on 9 q! W$ B% ~, Y! m0 F
  34. user_name = user_name_on_the_mysql服务器
    ) Q; |8 J  T, W
  35. 密码= password_to_go_with_above_user_name
    ) ?- t) z- }$ I) f! P0 \6 ^
  36. getdriverfunc = getsqldrivermysql
    " g+ f: I1 P4 @' P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # Y3 f: \$ q4 H
  38. libraryname = path_to_libsqlmy_libary
    . b8 P1 M% P6 C' J: ]
  39. 积极= 1 2 ^2 d3 D2 X  i) g
  40. ---削减这里---
    ( c# I& {3 E; j5 b* o7 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . H8 w8 @1 M5 {4 w( S7 h6 z
  42. ---例如---
    + X3 n+ r2 C( B$ Q- G/ L* m1 r# ?
  43. [ dbexpress ]
    8 u6 _# O$ g$ L  ^- Y$ ^( \  l
  44. sqldir = mysql_sql
    6 _- ^7 W- k+ Z2 c; i# J9 e
  45. drivername = MySQL中
    ( Q/ o* I6 i# x+ E
  46. 数据库=测试0 {* T8 d% s8 x
  47. 主机=本地主机
    / P2 z; q+ D( y- s% n0 \! ?
  48. user_name = testuser
    # \" Z( K' ^, i: [, a- A
  49. 密码= my_password 4 o( F5 Y" n5 }3 J/ r* K& [
  50. getdriverfunc = getsqldrivermysql 8 V' P- B- e1 U6 ~! v: @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 ]$ s* q5 P0 d! Q  Q) {3 r4 s
  52. libraryname =. / libsqlmy.so
      c8 A: S! G; ?
  53. 积极= 1 $ w9 o* Y! n1 Z& w( a7 b& T5 {
  54. ---例如---
    5 `" R, Z8 w, {8 z. m8 f3 r
  55. 9 G6 N* P, N$ u4 g8 {* {& s' X5 x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' J* V* F4 ?3 u+ D" P* C
  57. ---例如---
    " t, H$ E1 }; E7 [
  58. [ dbexpress ]
    ( u+ g5 f, B* y9 l& O
  59. sqldir = mysql_sql * l7 F& z+ E; r7 d
  60. drivername = MySQL中
    : X  s  ~* n% P
  61. 数据库=测试, C0 y* [/ W) K5 L
  62. 主机= 127.0.0.1 * n& K! E9 x& Y, n9 H  c
  63. user_name = testuser 0 o8 c) f5 z4 n4 B& c1 s  p6 g. P
  64. 密码= my_password 1 r0 _& z$ O# f6 ], y1 t
  65. getdriverfunc = getsqldrivermysql
    + D1 e" K, g4 X* f6 l* S, ^
  66. vendorlib = libmysql.dll在3 e! m9 s  U6 W+ y
  67. libraryname = dbexpmysql.dll 0 X: n2 e2 R# n+ w
  68. 积极= 1
    4 _+ g/ f! j9 X% c: d) g. ]
  69. ---例如---- 9 ?% |7 @. C9 _5 d( p% J9 j- T
  70. -写在0 2.03.04由p wk.linuxfan
    ; [( n5 z* P, S4 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
/ H1 w* O4 R2 f$ w! }
- _- r) p7 _' j6 f( A: kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-13 08:34 , Processed in 0.089470 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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