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

2998 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( m4 ?1 ~0 f( q
, y3 K1 ]& K- L- S* L& B

  1. . N4 i* f& f" h+ b: w) Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # n/ q- q% A3 ^: ^$ E+ l

  3. 6 E) S) n* ]( z  _" G5 c
  4. ### What we need ###% T0 R, e( q/ W: v. p
  5. Naturally, we will need a MySQL server to store the data for us, this document
      x' G4 \+ G& W/ @
  6. will not explain how this can be done - there are documents out there for the + U) P  j9 D- k/ ]' E/ e9 o/ n% |9 Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use' X2 R9 H: a4 J& e# O% h
  8. and a user account (username + password) that has the permissions to do stuff
    : U7 E4 B, j. O/ D' d
  9. with the database. Additionally, you will need a vendor library installed on the+ ]; m) h* p4 R  n
  10. local machine, this came with my MySQL install.; v! h5 D/ @5 y- K
  11. These instructions will not tell you how you might transfer your data from the; B4 m& L) f: M5 p1 ?( I5 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL9 ]7 ^6 r5 r( y/ u
  13. database.5 |1 @, J+ P' V  k
  14. Some users have reported ways to import a SQLite database into MySQL, but at# y- f: P; E/ P2 v8 ~
  15. the time of writing, there are still too many issues - check the current status
    7 b& m* x0 U1 L
  16. in the TeamSpeak forums if you are interested.
    8 u5 C7 A# T4 J" s5 S; W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& ]; V8 i8 p, R. l6 c( h- j6 j; z
  18. Borland was used. This driver can only interface with the client library that * [! D% E" ^$ }1 F7 ?$ ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " @5 p$ T3 z& ^& f6 G& j: [
  20. client library - basically all you have to do is to use a 3.x client library as
    % ?$ s6 n* d, g0 Y8 R
  21. "VendorLib" and a 4.x database to connect to.: C" ~3 f1 u7 x7 j9 k. B3 h/ u
  22. If you need more info about dbExpress, you can contact Borland.. x' d5 B' \6 s1 {& p5 z3 p) M
  23. + @: |# V8 @" Z) |* V8 D: u
  24. ### Doing the work ###9 a" b7 K3 d% z* A3 U+ T+ }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 [- K2 d" l  y2 `7 t
  26. the perquisites right, just open your server.ini file, and add this section at% V: ]6 t/ D. ~' R! p9 a1 Y
  27. the end:: n; F) j9 K8 [' N5 n# m: o' ]8 M
  28. ---cut here---
    $ k7 A) `( j2 f1 z
  29. [DBEXPRESS]8 L$ g7 m' |: H/ P+ d1 k
  30. sqldir=mysql_sql
    5 P* F# F2 K9 k. }8 H+ c: {* i
  31. Drivername=mysql+ p1 j) u* |5 {. q6 v6 z! V- J
  32. Database=Your_Database_Name_Here$ O# t' [' R& y& k
  33. Hostname=The_PC_the_MySQL-Server_is_on' H, {6 J% r3 G) \+ v% ]6 }# n
  34. User_name=User_name_on_the_MySQL-Server
    # W8 Q" @5 ]0 }# T  U
  35. Password=Password_to_go_with_above_user_name/ A! ^* u/ t$ V* h, s
  36. GetDriverFunc=getSQLDriverMYSQL
    / v6 {6 l' S; E1 F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / z! t9 ^: l! H- Y  m: N
  38. LibraryName=path_to_libsqlmy_libary
    3 ^5 t; ^7 A: p
  39. Active=17 y( x4 b. ~  t% C, q+ A
  40. ---cut here---
    0 A& p0 H9 b0 H9 J. A' z
  41. In my environment (a linux box with a MySQL server running locally) I have:, \# |+ \, o* s6 t$ b
  42. ---example---
    . R2 b% `& I* l
  43. [DBEXPRESS]* P0 r( Z% {6 l* L; j
  44. sqldir=mysql_sql
    4 d* q! i1 N! Y. A: H
  45. Drivername=mysql2 H( Z$ C+ i! c3 R8 \" H% y# z
  46. Database=test) k% w! L1 U7 X4 W/ B, G
  47. Hostname=localhost- q0 n! i: E4 P1 V. }- t$ p* M
  48. User_name=testuser
    % i: [1 h/ q, S: x+ u2 V
  49. Password=my_password( w/ T0 ^! Q( S: f
  50. GetDriverFunc=getSQLDriverMYSQL
    6 ]" \" x4 S# U" @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) i5 r7 P1 n) v( ^4 a
  52. LibraryName=./libsqlmy.so% N/ w; g7 v4 a; s/ E
  53. Active=12 @! B1 G) u* e: a1 t6 i% Y7 c
  54. ---example---$ f2 g; I1 _! r* |

  55. + y9 |3 y) _0 N- i5 Y3 q8 `
  56. On a windows box, also running the MySQL server locally, it would be:
    5 E' V+ |( w& E6 S* ]
  57. ---example---
    . c& L$ S; W1 O- V) r3 G* E1 y6 T
  58. [DBEXPRESS]* i, s# `0 t8 M/ k
  59. sqldir=mysql_sql
    : |1 b' M3 i  G$ G  {
  60. Drivername=mysql
    9 i$ ?; _0 C2 Y% j2 |
  61. Database=test
    9 v' q4 f/ b) r+ h  `# r9 ]: @! t
  62. Hostname=127.0.0.1
      Q; E: N7 f' \" S. ~0 y
  63. User_name=testuser
    , d9 s6 o' |0 K' h6 m2 p! C) n
  64. Password=my_password! t9 Y5 W$ Y; }: h# H! G5 r7 q0 @4 q! b
  65. GetDriverFunc=getSQLDriverMYSQL
    . A8 w' Z7 T' j
  66. VendorLib=libmysql.dll7 ?+ C6 @) U( R$ e% b6 _. d
  67. LibraryName=dbexpmysql.dll0 y0 ?8 Z( l6 V0 I7 Y
  68. Active=1! e6 m- Z5 [( G4 X; {
  69. ---example----
    5 M6 u: }1 e/ f% Z6 G
  70. - written 02.03.04 by pwk.linuxfan5 Y: h8 [" U5 g6 P7 `: o) ?

  71. ( E' l! g+ ~; T. ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
5 ?/ D% ]4 p& ^( |: X

  1.   i  o& m' u  v6 y, J  K9 ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' h+ s6 s, i) x& V3 I; r) `* W
  3. % ?8 y. {( i8 V7 A, p
  4. # # #我们所需要# # #
      l# M4 r- n% u4 t/ A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 C# H+ {8 k5 \. Z8 ^5 L
  6. 不会解释如何做到这一点-也有文件存在,为; |7 B: b* O: V+ F& D' t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 G0 c0 \. d3 B' k. i3 ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' F# @! R7 S+ N+ J( U9 f" p6 @7 i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% [6 m- I: t9 j: I
  10. 本地机器,这是我的MySQL安装。 ( ?+ f' `7 y. h. z6 @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) f5 T% {" @- ]2 Z. V, X8 w+ m* `, ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " a( p! l* f2 w+ Z0 D
  13. 数据库。
    3 o- h8 [8 t6 j" M0 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " B' X% \# h6 q- |, g5 v. X
  15. 编写本报告的时候,仍然有太多的问题-检查现状, W' T- W- T' a; v- ?
  16. 在teamspeak论坛,如果你有兴趣。
    : L2 r2 b; ?6 r, \2 a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' \3 Q  O9 [' j, y) ~4 D; k
  18. Borland公司使用。这个司机只能界面与客户端库' {. R9 R+ r8 f7 m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 H% ]8 M3 \- e" B+ F0 |" e% }, B- l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , q# r4 l: ]- U; v; Y, ]4 e. H
  21. " vendorlib " ,并解数据库连接。
    - l/ |4 J9 [% T! D9 I, v4 Y0 P
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - k4 H+ p1 I+ Y7 F& n4 m) m; i

  23. 3 |; `0 ]' a0 }: g9 H/ R  ~. @
  24. # # #做好工作# # # : `0 B* R/ F3 t- H" a+ W- O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( P2 P  b  g, E+ ?$ a9 H$ i' j$ B: Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 V9 i6 d% T2 |! X' S
  27. 结束:
      p' e: w0 f% b8 q8 b6 S
  28. ---削减这里--- ' T9 X/ c/ V/ }7 a8 ~" k6 S
  29. [ dbexpress ] 6 E4 B' h7 U# j  x( `4 R  f% o% s
  30. sqldir = mysql_sql
    1 @' |3 v! L: F. f8 O
  31. drivername = MySQL中5 v2 O2 ]2 N) t; |2 p! o
  32. 数据库= your_database_name_here
    4 z9 F' `: D* \" Q
  33. 主机= the_pc_the_mysql - server_is_on 0 Z* |" y1 N# h) k2 T3 l
  34. user_name = user_name_on_the_mysql服务器
    ! S* k% z0 ^# P/ n" f: s
  35. 密码= password_to_go_with_above_user_name 3 G' y' Z) V8 p$ F# w' i' q
  36. getdriverfunc = getsqldrivermysql
    7 \  r# r8 ]! B7 ^+ Z7 C7 D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ ~# H1 x( q. w8 X3 ~2 g8 j
  38. libraryname = path_to_libsqlmy_libary 7 w$ K0 x" F2 g/ G" x' A( R
  39. 积极= 1
    - [! z+ c  v8 p8 `
  40. ---削减这里---
    " c9 z) `/ \# ~( Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) @3 Z" j5 I7 N- }. v
  42. ---例如--- . @7 g5 T4 V- }% M& Q
  43. [ dbexpress ]   ]' f9 z0 z; O. @
  44. sqldir = mysql_sql 7 }  e( I5 x( z* J
  45. drivername = MySQL中
    2 ?7 E) Z6 K( V! a& b9 K7 v3 y& M
  46. 数据库=测试
    1 _" j- U4 x! B& P# I% P$ K
  47. 主机=本地主机
    ( p: h3 t2 y6 ~0 k! ~9 g, F8 H
  48. user_name = testuser
    ) [$ W2 [# F: a
  49. 密码= my_password 3 ?" t8 [1 Y$ S. z# ]9 Y+ k: s
  50. getdriverfunc = getsqldrivermysql 5 C2 P( k2 d: q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % l6 V1 x: q' F9 o: b
  52. libraryname =. / libsqlmy.so $ g5 l" I9 l! |9 {4 q; R
  53. 积极= 1
    : f* @% w4 Q7 o# E7 ?$ e  X
  54. ---例如--- ( w$ t/ r! \# w" A

  55. 6 ~0 P" x; x  Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # O0 E" L3 K" ?* X, M
  57. ---例如--- + C6 O) d* W" t' T
  58. [ dbexpress ] ( K/ L$ l1 p* T8 l
  59. sqldir = mysql_sql
    6 D" P+ n( \: n& G7 l
  60. drivername = MySQL中/ [0 P% [8 ]) x( ?* L
  61. 数据库=测试% f6 w9 g/ N" l
  62. 主机= 127.0.0.1
    $ j7 X  k; u. {! U9 ], T
  63. user_name = testuser
    1 b" t1 ~% ^/ T% c4 i5 f4 e" w5 O
  64. 密码= my_password - ~7 ^5 Y0 Z) h% R) l; r
  65. getdriverfunc = getsqldrivermysql
    8 S! K, C8 E; \7 O
  66. vendorlib = libmysql.dll在. D5 b) |: x0 O3 N% t; w( g8 R
  67. libraryname = dbexpmysql.dll
    , H$ n# Z3 ?! d" q' R8 Y2 a: r+ E
  68. 积极= 1 9 }% {$ w% c1 o: l: t1 E
  69. ---例如----
    4 H/ H7 S6 p: M
  70. -写在0 2.03.04由p wk.linuxfan, Q. w* r6 L2 s
复制代码
发表于 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
- o1 d5 _# j- @6 Y$ o: |/ \' G8 z8 O# q1 ]; z
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-8 19:00 , Processed in 0.115265 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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