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

2855 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% ^+ F9 ^- f+ e+ X) i7 M
3 K2 R* d/ G# P" P! P& `

  1. 3 F, m  l7 Z, S( P+ i
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 I, Q$ G5 L) c" j  G# v
  3. + a) F9 x. D% \$ t( h- O1 f
  4. ### What we need ###8 w3 Q" b7 x, c3 C1 D) C$ Q! f
  5. Naturally, we will need a MySQL server to store the data for us, this document $ H% T. P; Q: g9 C: F3 @
  6. will not explain how this can be done - there are documents out there for the   R* M! r" U5 c& k1 S0 r  s
  7. interested. The requirements include a (empty) database for TeamSpeak to use) f) Q4 _* u4 y( m2 T6 q
  8. and a user account (username + password) that has the permissions to do stuff
    , D+ S4 w& s' G: [
  9. with the database. Additionally, you will need a vendor library installed on the
    2 B& K) k  W- a$ M5 D+ K0 ?, k3 T
  10. local machine, this came with my MySQL install.' J' Y. _3 ~* N2 K3 r& X7 m1 s
  11. These instructions will not tell you how you might transfer your data from the: N+ ?& W# \. X1 }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( W# j' Z6 l" C* @
  13. database.9 [7 g) `- H0 u6 f
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 ]3 a- J, e( F: G5 P' H
  15. the time of writing, there are still too many issues - check the current status: s# {/ a5 r' D4 }$ e
  16. in the TeamSpeak forums if you are interested.1 `  j' Q" c) O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . L" X: r- \8 B6 ]
  18. Borland was used. This driver can only interface with the client library that % a: x) ?& L2 h7 K- Q% T4 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 g2 B! @1 R" Z2 ]4 E* w4 |
  20. client library - basically all you have to do is to use a 3.x client library as
    * p) r8 Q- O4 v2 _& s5 [. J
  21. "VendorLib" and a 4.x database to connect to./ C" v+ v' h/ G
  22. If you need more info about dbExpress, you can contact Borland.9 L, [" r( y" v0 p% g% j
  23. : s  [" s9 _6 ]) B" w7 L
  24. ### Doing the work ###
    : h- j% f2 I9 e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 e. T4 N( t, B! R: t- i5 Q
  26. the perquisites right, just open your server.ini file, and add this section at
    8 _# e" \* |, A# @3 y" K: t
  27. the end:
    . D" Q' F2 t2 n0 e3 ]! n
  28. ---cut here---: d" c; P$ l9 H5 e: n- s# ]
  29. [DBEXPRESS]" j7 L, M6 l( b! U8 b- Y
  30. sqldir=mysql_sql4 b7 g9 Q: u( [1 W6 f' D
  31. Drivername=mysql
    - A0 O: N3 @% t) _9 P
  32. Database=Your_Database_Name_Here( N2 x6 T/ j. ~1 X6 v6 K
  33. Hostname=The_PC_the_MySQL-Server_is_on+ F$ I  J; s: `! M2 ^, T8 m
  34. User_name=User_name_on_the_MySQL-Server# L8 U* _; R( g9 `+ ?. a
  35. Password=Password_to_go_with_above_user_name3 k  P$ f2 `7 o
  36. GetDriverFunc=getSQLDriverMYSQL
    * l- \  P) l& ^# y% w$ x! ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 K) p: C& |/ h. w. x
  38. LibraryName=path_to_libsqlmy_libary
    - L$ [9 ]0 V! [$ }
  39. Active=1% [+ S4 p' [9 b) U  X, L) ^
  40. ---cut here---
    . n) Z" B, X; M, E0 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 E- f" [" A) B" X2 l( _6 S
  42. ---example---% q$ Q% {# G" u+ z' f3 @4 J
  43. [DBEXPRESS]
    : [; T( w' ]7 N8 H
  44. sqldir=mysql_sql
    : F" H4 r. ^5 s
  45. Drivername=mysql% O( H; w5 g2 H0 C
  46. Database=test
    / N3 c; Q1 M# K: E
  47. Hostname=localhost
    ! Q: d6 \  Y7 N
  48. User_name=testuser9 M) }- r* @  i% ^* I3 c
  49. Password=my_password
    ! ?+ V3 L% F, ~3 M% K
  50. GetDriverFunc=getSQLDriverMYSQL. N6 o" x: H9 E, H
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ J1 s. p4 @7 u& |$ I
  52. LibraryName=./libsqlmy.so
    2 d" j- W. {- _# O! t
  53. Active=1
    & f# M  T) S+ ~6 P, |, Y( O  A
  54. ---example---
    - B* {8 S4 X9 v( `$ c' s9 F8 ~
  55. 7 Z$ H9 N* z3 z$ y+ b4 P8 ~. G
  56. On a windows box, also running the MySQL server locally, it would be:
    + I1 s) v5 |# m) f- F3 \! y
  57. ---example---" ~; k, o2 q' j8 S/ ~" E/ y: x( Y
  58. [DBEXPRESS]# r" I, w9 }$ q7 \" b
  59. sqldir=mysql_sql+ b9 ~/ p/ G8 z7 }9 Y- h  X
  60. Drivername=mysql$ J5 i7 B$ a. b' p2 ^
  61. Database=test& y9 m/ ?  S  S3 S4 H0 d' |8 i
  62. Hostname=127.0.0.19 X1 A1 P! w' L4 {
  63. User_name=testuser
    3 C: A. Q3 X  f  [2 [0 O
  64. Password=my_password) P* u+ Q( b8 h# @) U1 ~/ q
  65. GetDriverFunc=getSQLDriverMYSQL( w+ Z1 Y, }1 w4 j$ ?# X( k; S. l
  66. VendorLib=libmysql.dll
    8 I( N) @3 d' M, h, W
  67. LibraryName=dbexpmysql.dll& M4 i) b2 r3 A
  68. Active=1
    5 [- L' X4 i" M3 Y1 j* Q: ^  I
  69. ---example----
    $ F4 M+ S! N' L, g3 C
  70. - written 02.03.04 by pwk.linuxfan
    ' I0 @# p" w  T; i5 T  S
  71. 2 U3 G6 U! ~$ `  C( L, Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 Q) \$ e) @1 E, B3 n9 Q3 q

  1. , \4 O, `  d. ~2 _8 M3 B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      P! q* e( Q* S+ a8 A( w
  3. % |2 D: E6 N$ x% y
  4. # # #我们所需要# # #
    # L. E- ^9 v. X# }2 s& H) o0 @8 p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : _2 }  v* A6 Z0 z0 |
  6. 不会解释如何做到这一点-也有文件存在,为
    0 e' W7 ]; F! K& \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用! i5 P1 R# S; Q/ B4 r6 |! [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% {# f, X6 _2 m" s" v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    / H+ @+ ]" i. a1 f
  10. 本地机器,这是我的MySQL安装。 / P. L/ N: \7 x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . C! b$ }( F* {# e$ |$ }+ U3 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      F9 K  g3 h+ P7 E
  13. 数据库。
    7 ?1 m/ M: h1 B3 O! h; \4 Y( \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " \- S1 k! D% e5 v0 [9 N/ d
  15. 编写本报告的时候,仍然有太多的问题-检查现状( I. I7 N3 p5 d5 c
  16. 在teamspeak论坛,如果你有兴趣。 " A, c* p. @! H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , H/ E- v( b% G2 L3 R
  18. Borland公司使用。这个司机只能界面与客户端库
    ( N. o2 L; o; ~4 X. O6 e! c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 h- {* z+ \' o4 `( M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 K$ j- b& ]- f, [- ~
  21. " vendorlib " ,并解数据库连接。 , z+ z6 B& }) n0 z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 l1 i; `! U5 k% I, {2 A

  23. . _# C5 V" p4 K# g7 F6 ~$ X$ a
  24. # # #做好工作# # #
    6 ^: Q3 P5 f8 `8 ~+ }8 F3 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& J# Z6 q" I/ t# @: G- r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / s/ J- ^8 Z; b4 X
  27. 结束:
    , ^# I, g' U+ J* N5 ?/ E# @
  28. ---削减这里--- 5 I# V% a7 H; ]( t' f! L6 O
  29. [ dbexpress ]
    & i4 `& d* D$ u$ N7 C6 s
  30. sqldir = mysql_sql * L; d% u7 R# ~  C) K
  31. drivername = MySQL中7 }7 q' g6 i8 q! I1 a7 Q2 [; O
  32. 数据库= your_database_name_here
    4 M2 M0 B) l1 x! Z  _; r4 m5 V
  33. 主机= the_pc_the_mysql - server_is_on
    ; o% J; {; n# w! q
  34. user_name = user_name_on_the_mysql服务器, Q+ I5 w9 W: b* t/ j. @9 N( `
  35. 密码= password_to_go_with_above_user_name 4 g. s2 D/ w1 r, d8 B* x; r; i
  36. getdriverfunc = getsqldrivermysql
    ' c' v3 O  }. O' ^0 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : S* {/ p( d4 j8 j
  38. libraryname = path_to_libsqlmy_libary
    ! g. M! r' i' U, `9 y* X
  39. 积极= 1 1 R3 q, p- u) q/ g4 |5 s5 B
  40. ---削减这里--- " Q9 L) I3 D) n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( s4 n: D5 H4 w4 t
  42. ---例如--- . ?. d# Y0 |; ?5 t: x. `
  43. [ dbexpress ] * y1 p& C1 j! m9 `6 e+ W, q) n
  44. sqldir = mysql_sql
    4 \8 s1 a$ }5 e% V  Z6 d5 z0 Y0 R
  45. drivername = MySQL中
    0 b2 X! u# I( L+ F2 Y
  46. 数据库=测试
    / _4 K! c4 P7 j$ E, y
  47. 主机=本地主机
    2 ~/ ?3 h5 H. @& C: c, H9 u- Y' Q
  48. user_name = testuser - v8 X, [4 J" Z
  49. 密码= my_password
    . B9 J7 X+ Y( t% [
  50. getdriverfunc = getsqldrivermysql
    5 O' ]5 a5 D( o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , a. H, F( g* T! N+ u/ f3 B6 d& u+ S
  52. libraryname =. / libsqlmy.so
    : D: D# v' M+ V% W
  53. 积极= 1
    ' `6 `. v0 w+ D9 e6 L- }. t, G
  54. ---例如---
    # U$ D5 J# k! ?

  55. : l( F! }- c% Z7 j1 M% _
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # ]1 ~) s; e" B
  57. ---例如--- ; m& p: r. e/ f% `  O8 `
  58. [ dbexpress ]
    # ^% X( C" a* ^+ Z! e  c
  59. sqldir = mysql_sql + g9 f* J* c% _. J( F7 @
  60. drivername = MySQL中
    : [% [9 j* k! O4 ~" M5 L5 n! I' f
  61. 数据库=测试' w6 h1 ^- {" h& A
  62. 主机= 127.0.0.1
    7 {8 ~- G' \, I
  63. user_name = testuser & _1 k0 f5 t1 F
  64. 密码= my_password * |, U6 S! l' z& e' e9 r7 ]
  65. getdriverfunc = getsqldrivermysql 4 z) V! T# d6 L4 L. c! A
  66. vendorlib = libmysql.dll在
    3 u' B( @( i" q( K% f% K2 m
  67. libraryname = dbexpmysql.dll ) j# L: S7 a. {
  68. 积极= 1 + L' p" v! Y0 {( w3 c8 I. Y& ~
  69. ---例如----
    3 ~7 I/ y0 C0 t6 f) g6 t- N+ O
  70. -写在0 2.03.04由p wk.linuxfan
    $ b% ]0 I6 g8 n8 E/ }  J! w
复制代码
发表于 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 words7 w4 Y) c2 ]" R4 P) K4 V

' X" _4 G2 X5 ~but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-7 16:15 , Processed in 0.103417 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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