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

3611 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 z4 J. i, u# O( }0 g/ {7 [
" |& M) @# H: J7 m% I

  1. - Q( i/ ~7 S) i! m& i0 M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 M, S3 T( W! X- r( I: Y0 ^: @
  3. ' `; H9 |( i7 K7 [2 e) H0 Y& w
  4. ### What we need ###4 g1 P% ]# c% @$ O1 e6 K- w% [9 g
  5. Naturally, we will need a MySQL server to store the data for us, this document ( E* M: C( y+ O6 B4 c  }( h2 {
  6. will not explain how this can be done - there are documents out there for the
    ' _* Y* X3 m# D" R% ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' x0 i, K0 N7 N+ c" F! I
  8. and a user account (username + password) that has the permissions to do stuff
    / z( y8 j9 H' t8 O
  9. with the database. Additionally, you will need a vendor library installed on the0 Z1 |" d1 c6 E# D
  10. local machine, this came with my MySQL install.
    0 D" i4 W/ x' Z5 q: O/ @9 A( z
  11. These instructions will not tell you how you might transfer your data from the6 G/ r' e! G' G7 R9 `: a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - `6 b4 U1 N; w
  13. database.
    # Z) F' K% n, }) |) Z2 |+ e! ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 e5 M' q' K/ K/ Z4 L2 G( c
  15. the time of writing, there are still too many issues - check the current status$ C# b" D9 I4 B7 _7 M: x# d
  16. in the TeamSpeak forums if you are interested.8 }2 s# e. n- `, ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 t1 X" d4 R& K
  18. Borland was used. This driver can only interface with the client library that " J. O/ |4 s5 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 E  n2 e1 U. w* t
  20. client library - basically all you have to do is to use a 3.x client library as
    4 I4 s' r& d: j( f) v4 h$ r
  21. "VendorLib" and a 4.x database to connect to.7 l, ?+ y- v- Y/ F" k( o4 {8 k1 P
  22. If you need more info about dbExpress, you can contact Borland./ L8 k# I( ~  u5 Y0 X# L8 m+ \

  23. 2 S# E; ]9 M3 y' H) `( ~1 Z) Y
  24. ### Doing the work ###  r5 w3 F: a7 `: D. A( y; h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ g6 G7 J+ A; Z! ^" Q! Q+ r2 u
  26. the perquisites right, just open your server.ini file, and add this section at
    4 k4 ]6 q0 |: S
  27. the end:6 a0 D, b- ]& |' h0 k2 l
  28. ---cut here---
    7 e9 N1 k2 t5 ~; k, q
  29. [DBEXPRESS]7 @& m2 @( ?5 q5 R: Q9 U; k- n
  30. sqldir=mysql_sql
    : j) G8 R* ?' h- U  L
  31. Drivername=mysql
    0 W2 b9 a0 V3 d
  32. Database=Your_Database_Name_Here
    # |, {* f5 ?$ _; S
  33. Hostname=The_PC_the_MySQL-Server_is_on/ k" k" M5 z( J- L' J
  34. User_name=User_name_on_the_MySQL-Server
    8 ~) w' A2 f$ V! D8 ^( p
  35. Password=Password_to_go_with_above_user_name/ K! Q) c4 \( i- t
  36. GetDriverFunc=getSQLDriverMYSQL, E1 ~- L% U: u2 ^% n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 @) z6 w* v+ Q. v# x: c2 @
  38. LibraryName=path_to_libsqlmy_libary, t: m* a5 j7 C+ T! r# z) G: z3 W$ B
  39. Active=1
    5 I1 k8 |8 J, D8 M
  40. ---cut here---
    ! v! ]' o2 `4 ]- D' ]
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 ^; x, f( d9 g) k
  42. ---example---
      K' H4 F( T5 d
  43. [DBEXPRESS], ]. E- m4 H! x7 B1 {$ E& r! k
  44. sqldir=mysql_sql
    ! V) ?/ q8 s$ }- }9 F" P
  45. Drivername=mysql0 P, t: b( p; u! f8 G7 [5 Q& J: ^
  46. Database=test& g5 ^$ i* k, ~8 A" m
  47. Hostname=localhost4 i9 o" v0 t, F
  48. User_name=testuser
    / s" r7 ?( Q! [2 k, }9 q# Z
  49. Password=my_password/ p+ k3 `5 \$ y4 H' q
  50. GetDriverFunc=getSQLDriverMYSQL: p$ u7 `! S6 [& r  W: X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- [9 C5 v$ q: K/ r, t) U/ v0 G
  52. LibraryName=./libsqlmy.so& T% q( u/ c  X  M0 t
  53. Active=1: n' i1 p4 J  a) @9 S
  54. ---example---
    - B$ h, h6 I' W( @/ h3 Z; j
  55. 8 @- g9 b4 f; V' ?; e
  56. On a windows box, also running the MySQL server locally, it would be:
    ! i. I) ~9 W. A7 D8 f9 W
  57. ---example---
    ! l* _0 U) Z0 A' K
  58. [DBEXPRESS]& L, Y  f) Z4 C% w( O) L' J4 Q' d/ F
  59. sqldir=mysql_sql( L. ?& N' H$ S6 L: j4 y5 ?
  60. Drivername=mysql  [0 F- }4 T# ?2 X+ [% {
  61. Database=test
    % X: ^8 ?3 D1 Q% h( a! q
  62. Hostname=127.0.0.17 I+ u: F5 j8 L8 d: }
  63. User_name=testuser
    % f* j0 F# V$ C# C  C
  64. Password=my_password
    " O" T8 v- O/ \' z0 s" |) K
  65. GetDriverFunc=getSQLDriverMYSQL& u+ u. l! Q  @; {" S" j  H
  66. VendorLib=libmysql.dll
    7 {: J: c- v2 }$ q$ n% e" i
  67. LibraryName=dbexpmysql.dll% ^: v  w6 Y3 {, X
  68. Active=1& A/ t8 G' L' ^3 e/ _( X& k
  69. ---example----) ^' b# [4 f9 D% K# C8 O+ @4 ]& d
  70. - written 02.03.04 by pwk.linuxfan! _8 `8 ?" N  \# t
  71. * \% Z- A1 _" |0 V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ J; ~; E5 z# J$ z
  1. + l1 n5 _( w( q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   p2 A8 F; E( M& S
  3. 0 M/ p7 X6 X  S! Z
  4. # # #我们所需要# # #
    0 i) Y1 U" R3 x8 f0 U1 n8 G1 R/ y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 ~! C  v5 B2 v6 w" V$ f: [
  6. 不会解释如何做到这一点-也有文件存在,为  _7 G4 U/ J8 b9 i. Q, G7 Y$ L, b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      P" T4 t  o- P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& }7 |0 G( ], K# [( E6 p5 l( S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 t9 J$ `5 R0 a) P- Q: S! P7 t& ?
  10. 本地机器,这是我的MySQL安装。
    6 j: r8 Z1 L4 `% u, m0 h
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' g- E3 a& p4 ~* X. D! E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 V, B" |% g% `$ e' W: M3 N+ U
  13. 数据库。
    3 t' L, u4 [8 u3 G+ f5 R, g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 N7 O( @# q! `' C' `$ e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    & |1 E; @; h* @, d! ]3 y% E  I
  16. 在teamspeak论坛,如果你有兴趣。
    : S0 Y3 C" w. c2 \8 @  A, ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) z( c3 k4 b1 n. q$ _
  18. Borland公司使用。这个司机只能界面与客户端库8 O3 u, P  w$ [/ z2 G/ ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ G/ M3 T' Y; Z/ |$ T% U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; T) }8 _0 M8 z$ B  Z7 N0 U
  21. " vendorlib " ,并解数据库连接。
    ' f# T2 v: `# ~% V8 s- E* l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' ?% ~. c& I: P6 h7 r+ i
  23. $ ~; V6 W) a6 S* ?
  24. # # #做好工作# # #
    9 [& [2 Z& V- i; N; d: r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都( M; L. {0 E/ x& g' G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# k5 B: q; [0 N; |2 [; {9 }( y0 O
  27. 结束: 9 g( X, ]) a! Q- z  m. P7 t" v& U! |
  28. ---削减这里--- 8 j8 R) {; z' c, \& k4 C
  29. [ dbexpress ]
    - I- Y7 w  A5 d( \# m3 B8 B# `% K
  30. sqldir = mysql_sql
    9 r) f7 q8 X" k& W6 i! B
  31. drivername = MySQL中
    ) q: l" t. E2 v% V1 p/ e" m
  32. 数据库= your_database_name_here # A: k7 h. \) Y  N7 i4 C& k
  33. 主机= the_pc_the_mysql - server_is_on
    & ^' U1 Z3 Z* p0 G: H
  34. user_name = user_name_on_the_mysql服务器
    ) g1 W4 w. R& W" {3 \$ d( i
  35. 密码= password_to_go_with_above_user_name
    ; j6 ]* M. I2 }- ?  F7 d
  36. getdriverfunc = getsqldrivermysql * W( K+ k7 }; s! F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    + J* K1 ^0 \- d, q- r% f9 v- h6 W
  38. libraryname = path_to_libsqlmy_libary ( z# @0 X5 Y9 n: H2 A
  39. 积极= 1
    ' F' d% U8 x7 v% q. |* }
  40. ---削减这里--- , D7 c) L: t& g* C  a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 O! n, i, J. [& v3 x  H
  42. ---例如---
    / D, n3 v! ?9 m6 ?+ ~4 Z) j! N
  43. [ dbexpress ] ' e: W" M. N! m3 L
  44. sqldir = mysql_sql " c, ~% e3 p3 \+ P0 _8 c; d8 Q
  45. drivername = MySQL中
    ( m3 x8 R2 x" ~% b
  46. 数据库=测试
    : v; f+ x3 i, T6 ~$ a7 b
  47. 主机=本地主机
    . E- a: Y) L: K/ t8 d. c' j
  48. user_name = testuser 7 A: \3 k3 r- i; Q
  49. 密码= my_password
    & y' L# }4 n' l4 e# t
  50. getdriverfunc = getsqldrivermysql
    ) x# Z% t. ~4 f' u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - _+ s* v9 K( x8 x
  52. libraryname =. / libsqlmy.so
    9 Z* N0 X4 I" t: t8 z9 ^
  53. 积极= 1 - a& [6 f9 f) z7 E3 T7 g' a
  54. ---例如---
    / j9 n3 \, L1 q% F, p/ K: t
  55. ) f' k% P5 d$ \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " U" A2 L3 @& J; |$ `  E
  57. ---例如---
    / x& ~9 _& c: W; }3 a
  58. [ dbexpress ]
    ! H* l5 ~: z% {6 x$ z, v- f
  59. sqldir = mysql_sql
    . s. S6 v8 y4 w  |: ?! y+ Q8 m/ z
  60. drivername = MySQL中
    $ w' P* x2 w. z( D
  61. 数据库=测试8 a8 l2 T$ |5 m' {
  62. 主机= 127.0.0.1 & Q' u4 l+ |& f, T
  63. user_name = testuser
    6 e5 f( `% ?% T: x  \
  64. 密码= my_password - u2 P0 _& f5 u3 [6 Y3 ?8 }* I
  65. getdriverfunc = getsqldrivermysql
    * G! {! b; _' b# [3 a% j4 T  y
  66. vendorlib = libmysql.dll在7 U8 l' J# B* h: ?5 [, L  J0 \
  67. libraryname = dbexpmysql.dll
    6 E" b% C& t# W# I+ q8 D
  68. 积极= 1
    8 T5 E- B% K4 \0 l8 I) \- g, q3 V
  69. ---例如---- / x3 m* Y5 ~0 s) o
  70. -写在0 2.03.04由p wk.linuxfan7 w  \2 p; V9 }& ^$ r
复制代码
发表于 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
  J5 D" F* ~5 I+ x; W. w4 v1 U5 D  p- r" `; k- 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-12-4 06:41 , Processed in 0.063407 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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