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

2674 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ; c- a* p- p; E; j! p, B2 a# x

; u4 }6 C# q) l2 i

  1. 9 r0 D* I$ c; c+ h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; [. q! d/ q/ K) n$ z* t, H2 g( l$ M3 w
  3. 4 I# Y" o$ U$ i* N
  4. ### What we need ###
    4 a3 T6 C/ g% [/ L% L
  5. Naturally, we will need a MySQL server to store the data for us, this document : A4 F$ Y8 D2 o1 }2 d$ f- ]  s" o
  6. will not explain how this can be done - there are documents out there for the 5 v* Q" j  b5 y3 @$ b$ ?% j
  7. interested. The requirements include a (empty) database for TeamSpeak to use# C# M) i: R# x; K" v. x; X0 L
  8. and a user account (username + password) that has the permissions to do stuff
    ; B* D' {' ^4 L( {
  9. with the database. Additionally, you will need a vendor library installed on the
    ( l4 f! ]7 e' q* q# V
  10. local machine, this came with my MySQL install., I- J' d8 u" f( B
  11. These instructions will not tell you how you might transfer your data from the0 k. d7 q. z( k5 w* E) O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    + \& e3 O6 K3 n9 a2 _
  13. database.- w. s$ E* }! m8 B) U% I) g
  14. Some users have reported ways to import a SQLite database into MySQL, but at! ]1 P! o7 l! w$ L$ S/ Y* j
  15. the time of writing, there are still too many issues - check the current status+ v3 z' n9 J+ d+ f+ m& p- ~* l
  16. in the TeamSpeak forums if you are interested.
    ; C! U( o: ?- N+ G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , `  |, v* f) \4 l
  18. Borland was used. This driver can only interface with the client library that 1 f  l: J. i1 S# I; i
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 r% `: J" _; A
  20. client library - basically all you have to do is to use a 3.x client library as 5 D" u+ }3 z( ~
  21. "VendorLib" and a 4.x database to connect to.
    * n1 e2 f- M  n- M
  22. If you need more info about dbExpress, you can contact Borland., ^# V+ X9 l! Q$ P: T0 f
  23. 1 ~2 C; j, W& y6 n8 u8 L
  24. ### Doing the work ###5 T* q. y# q. z  N9 i4 W& W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 Y. h# ]. ]. r/ d
  26. the perquisites right, just open your server.ini file, and add this section at
      {1 Q$ z8 M3 u) w1 A  I* w" J
  27. the end:
    / c( `+ n. S! k: l4 Q1 C2 y# G6 }- J
  28. ---cut here---
    $ m- |" n: g# v- o+ t5 A
  29. [DBEXPRESS]
    6 G) |# L- \6 y; A$ \" [- Q  s
  30. sqldir=mysql_sql
    7 R0 a' X# a1 c1 ^" N2 Z
  31. Drivername=mysql
    ; Q2 ~$ o( j( S$ }
  32. Database=Your_Database_Name_Here
    ; c+ y" t5 Z4 X! f* i" h5 n$ v$ f1 V
  33. Hostname=The_PC_the_MySQL-Server_is_on+ y) V, n$ _$ B4 O' T, _- T. o
  34. User_name=User_name_on_the_MySQL-Server/ K! _& X4 f5 R( Q+ b- Z- P
  35. Password=Password_to_go_with_above_user_name
    ) o: |" X& S5 z$ B) c
  36. GetDriverFunc=getSQLDriverMYSQL" u  J- s  y8 i: D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - G2 |7 T; Q; J$ u
  38. LibraryName=path_to_libsqlmy_libary
    ' y; ?, Y/ p0 `
  39. Active=1
    7 M8 v: j& v6 B! n0 Y( {/ O; n
  40. ---cut here---' z- K0 M3 X8 h; @9 G! w
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # u5 v% j" U1 K, P
  42. ---example---+ }" ~2 X) O; Z7 ]* A
  43. [DBEXPRESS]
    8 E. W1 m# x$ ?
  44. sqldir=mysql_sql
    ) R6 N* O* A  g' g: F. F
  45. Drivername=mysql& u& b" L5 P6 G9 c+ W/ n/ F* j7 B
  46. Database=test* h& z# p2 v& z5 h8 A+ r
  47. Hostname=localhost
    . g( R" A8 ~- h) Q# q
  48. User_name=testuser
    4 T, u$ i& a+ T  l, H* h
  49. Password=my_password& l5 [" V2 e8 ]# p3 R& z
  50. GetDriverFunc=getSQLDriverMYSQL. f1 l" a& L5 h" u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 [/ O6 J" f6 _+ J
  52. LibraryName=./libsqlmy.so( _) F" J+ M. s! T6 D. z6 k
  53. Active=1
    3 A+ T. Q" k# Y2 A
  54. ---example---
    5 x+ f+ i5 y% H/ L1 @

  55. " z9 g7 I: A, E
  56. On a windows box, also running the MySQL server locally, it would be:" Z9 x: h  K. |# v7 x
  57. ---example---3 C# ~: G% t6 _1 _  K- Q' [9 k
  58. [DBEXPRESS]6 A) l+ G$ v" ~& \1 G
  59. sqldir=mysql_sql
    6 J6 ~+ }' p4 A* G
  60. Drivername=mysql
    - ^1 h9 J9 E$ ]% D4 s7 U
  61. Database=test
    - m& f( [  F. Y) B
  62. Hostname=127.0.0.1
    ' g% a$ k3 _! B2 ~# u( X
  63. User_name=testuser
    8 T9 A3 ~8 l. Y" C; b- x  v8 W2 q
  64. Password=my_password. }0 b5 j2 K' v. d8 o
  65. GetDriverFunc=getSQLDriverMYSQL
    " n. S4 p) `+ h! }9 e1 O
  66. VendorLib=libmysql.dll
    1 T2 N. L+ f& ~) |
  67. LibraryName=dbexpmysql.dll
    1 E! }: Z, _  p& t$ F6 D
  68. Active=18 j- O, L8 q" {( J. |* P& H
  69. ---example----/ e- A, S- V5 E0 e; M1 p9 _
  70. - written 02.03.04 by pwk.linuxfan
    . x: e+ W" K7 d4 w! Q3 y

  71. ' U& c  @) e0 Y) o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! T9 |. q8 N. G* @) ?

  1. 3 R( Z& t* i7 Z4 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % I' U  C/ f1 x5 P" o
  3. ! W  H1 ]& b8 h
  4. # # #我们所需要# # # / ?9 u6 o& g) t3 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 e& V# X" M8 @  J# u- }8 Q
  6. 不会解释如何做到这一点-也有文件存在,为
    8 G7 E7 n# K- I  f, q! m; f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      Z6 p, q6 I4 G/ Y) a- a% K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : y2 J, n- u! ]* X) V$ q/ x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 S$ ~4 U0 X; F) c0 M0 o. q
  10. 本地机器,这是我的MySQL安装。 4 f6 Q' H# v) u4 U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, C& J7 `- A: K- U7 }1 a: G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . q3 u8 g6 d" i  r0 ?8 y
  13. 数据库。
    ! S; n) y. I0 d# r1 u  o( D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 @; T/ v. J# q$ c
  15. 编写本报告的时候,仍然有太多的问题-检查现状- ~' ?; S' C. K, G# d5 B  N' F& b
  16. 在teamspeak论坛,如果你有兴趣。
    2 |4 `( L: d0 r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 z. T: u' T2 u2 L& d5 w5 L
  18. Borland公司使用。这个司机只能界面与客户端库. \, T8 D9 E0 ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # g  Z  y1 l. M9 k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ N4 Z* \  u6 d3 H8 M
  21. " vendorlib " ,并解数据库连接。
    - j  _/ Y1 H3 A( @# n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 / i2 t& Y2 p3 Q& e

  23. ! j9 O; O; c$ {* I! u! }8 P
  24. # # #做好工作# # #
    " D  E8 V$ Y& M0 n2 O9 o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 N# L6 N' z/ }5 L1 @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 W+ O& I$ V! S/ u
  27. 结束:
    $ ~0 e0 @9 I* ^+ t& C3 @# q5 C# ~' M
  28. ---削减这里---
    % s. m+ k5 V9 ]$ W
  29. [ dbexpress ] 4 E5 f. O: r/ q( `  t0 a5 V8 I
  30. sqldir = mysql_sql * R$ Q: O7 K# _' A
  31. drivername = MySQL中
      h$ J7 n# K3 L. R& j
  32. 数据库= your_database_name_here $ G& k( A9 ~: ]3 B/ J  b
  33. 主机= the_pc_the_mysql - server_is_on & E( n& o7 B7 }% T3 s
  34. user_name = user_name_on_the_mysql服务器# I- S" \+ u; H' U. a- F0 g
  35. 密码= password_to_go_with_above_user_name
    3 F" w* k4 C! s; ^5 q
  36. getdriverfunc = getsqldrivermysql + Y  U0 G% N+ e. G; n7 c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 `* f$ }' Q4 ?# }/ z7 l
  38. libraryname = path_to_libsqlmy_libary
    6 J& @, w7 \* X% V% z/ K
  39. 积极= 1 * T4 M  T* I+ E# H
  40. ---削减这里--- : q$ u0 s& _+ @  f7 n! _) k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + V' \4 S$ Q" i2 z7 l- b2 ^
  42. ---例如---
    6 S1 y4 B8 {3 }" l: I2 S- z! Y/ X
  43. [ dbexpress ]
    9 Q8 [" G6 Z! A  y
  44. sqldir = mysql_sql ( m: x. I* J3 w$ {: n5 T$ p: {
  45. drivername = MySQL中
    2 T: _; z+ c% {2 K# V* ~
  46. 数据库=测试
    2 I1 R" O1 I. D" Q" v
  47. 主机=本地主机) N# t. D  a( Y6 W
  48. user_name = testuser $ w" t4 x, `- d6 b4 g, i, H! j* a
  49. 密码= my_password ! j2 |5 ~$ {% N' p( I" U9 s
  50. getdriverfunc = getsqldrivermysql
    7 X2 k: n; d- f% A5 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 d( [; X& {+ T6 A
  52. libraryname =. / libsqlmy.so
    3 `4 W' t+ P# b# e
  53. 积极= 1 1 L# t2 {  E+ e. n& E
  54. ---例如---
    6 ]2 f2 S2 G& u0 j% Z

  55. 8 t( Y1 C) P2 U0 c0 y& u! X6 W
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; E7 D+ H, @$ y5 x! L
  57. ---例如--- : i4 |. c0 b  C- U9 v( u: Y
  58. [ dbexpress ]
    , }8 [* F. p; v  J5 `
  59. sqldir = mysql_sql # Y0 y9 M% {1 f' L2 E' D% v& a
  60. drivername = MySQL中' o! A- t2 v7 l
  61. 数据库=测试
    5 \. ?4 X8 l! }/ o0 Y2 C+ g2 Z
  62. 主机= 127.0.0.1 ) r7 Z# H# |# x9 L6 O
  63. user_name = testuser
    $ K2 D* F- U8 D. N6 C
  64. 密码= my_password : ?0 H3 \+ b5 S. j& o
  65. getdriverfunc = getsqldrivermysql # S6 v. m7 Z  |5 w! \
  66. vendorlib = libmysql.dll在
    / {9 T! P- K' t' d
  67. libraryname = dbexpmysql.dll # G2 K4 [4 M% Z  ?
  68. 积极= 1
    5 X# ?7 R( E2 d+ D0 {3 ?' P
  69. ---例如----
    * }0 l0 j2 c; S# N5 q
  70. -写在0 2.03.04由p wk.linuxfan
    ; s6 J; z/ Q, c* R. }% P; c
复制代码
发表于 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+ E! }2 N1 O! F# G; ?1 T/ s2 C
9 C+ g% E8 z- x7 g0 Z/ H, o9 o
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-28 00:53 , Processed in 0.109248 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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