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

3104 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ ]4 s% u2 b, V3 H# x' ]+ b+ d$ e5 u* r- Z$ F
  1. - C% u; l/ Q. V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ i1 e& @9 ^/ P7 x1 I
  3. + D" B! w; E! L* j$ E: e: w
  4. ### What we need ###1 y9 u. K* ^( Y& w0 C! c* D- V
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( _8 ~3 F2 l5 B. t. }
  6. will not explain how this can be done - there are documents out there for the 9 }6 H! _8 p, q: u! g
  7. interested. The requirements include a (empty) database for TeamSpeak to use( c2 m, Q9 S7 |1 R" a/ Z
  8. and a user account (username + password) that has the permissions to do stuff; Z9 X) b7 p" Y" a2 `
  9. with the database. Additionally, you will need a vendor library installed on the6 P' a0 e( ~; X. X* |% P
  10. local machine, this came with my MySQL install.  I, r) R# J( |/ W+ @
  11. These instructions will not tell you how you might transfer your data from the4 H- J! @6 _* \, F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# f) Q# z, j& q% Z; d; f5 P
  13. database.
    1 T6 j/ s5 {5 K( Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at. D% W1 p2 o5 A: v8 s4 N
  15. the time of writing, there are still too many issues - check the current status1 K8 Z8 d: I. `
  16. in the TeamSpeak forums if you are interested.
      k: r& @( V8 M! i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) m" x6 ~5 J+ {/ Y
  18. Borland was used. This driver can only interface with the client library that 5 ?5 p, W! V% C( n  I" l* b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( C! l8 ^( W' o: ]
  20. client library - basically all you have to do is to use a 3.x client library as
    2 y* `8 T% |* n- U
  21. "VendorLib" and a 4.x database to connect to.; M' \5 b& X5 N5 k2 P. i
  22. If you need more info about dbExpress, you can contact Borland.3 c5 K  z: x5 t/ O! L) {, r

  23. $ E. M) Q/ i$ D8 s0 t
  24. ### Doing the work ###/ F/ ]+ b+ o) I" b' [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    % g) Z, P' f/ c
  26. the perquisites right, just open your server.ini file, and add this section at4 x" T7 e. y4 z6 g( s4 T, `
  27. the end:
    ) ?+ C) ]. T$ a; z0 q
  28. ---cut here---: Z7 c+ X  s! G, h7 |; p* S
  29. [DBEXPRESS]
      |  L( V9 n4 ?4 I! X. U
  30. sqldir=mysql_sql
    ; a- H1 u, C0 c( O5 J/ e
  31. Drivername=mysql
    " n; m  E$ g5 d  D! u+ Z' m) Y
  32. Database=Your_Database_Name_Here
    7 T( x0 j8 Z6 K. U! Q
  33. Hostname=The_PC_the_MySQL-Server_is_on3 q% b5 n6 T8 H: w; N$ g
  34. User_name=User_name_on_the_MySQL-Server
    , H0 N/ M& Y' R0 s2 k7 _9 \
  35. Password=Password_to_go_with_above_user_name
    * P1 R1 U4 O) h: [  l1 O0 m* o1 p
  36. GetDriverFunc=getSQLDriverMYSQL4 e% A9 |, o. A) F0 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / x- d5 K1 z; r/ X0 d% U
  38. LibraryName=path_to_libsqlmy_libary
    ' I4 o( a" q4 O4 |1 S4 R
  39. Active=1
    / |% y" n1 i; i
  40. ---cut here---- \5 f4 k" t/ Z+ F! k
  41. In my environment (a linux box with a MySQL server running locally) I have:, T4 q# q% ]- f% o5 u' W
  42. ---example---
    ) M# o9 Z: W( `" R) ^  S
  43. [DBEXPRESS]
      S! C) i1 W4 u) ~# ~& W1 N
  44. sqldir=mysql_sql
    5 X3 H: _3 d1 W8 [! L9 a/ Z
  45. Drivername=mysql
      P: u* x. I) y+ T8 `
  46. Database=test
    . T4 h; s* a8 q' {
  47. Hostname=localhost
    # N- z8 H! P# ]& k# l  b
  48. User_name=testuser! T5 X  b9 b- d- K
  49. Password=my_password
    . `8 R: \  k' _. R. N$ u. i
  50. GetDriverFunc=getSQLDriverMYSQL
    : p% P4 ~+ r0 @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      ^2 Q2 [9 N6 ^  @8 f+ g
  52. LibraryName=./libsqlmy.so& d6 _; p& P" ^. ]
  53. Active=1( |  S& J' W  E5 _) P: Q; J
  54. ---example---
    ! ~% E+ W# z2 o; h) C3 u' o; l' g! S

  55. : B+ M: g, E$ p, C* u7 B( A
  56. On a windows box, also running the MySQL server locally, it would be:, z3 k# l" ?* m) j6 C" q* g* |
  57. ---example---
    ' P% [5 k! ^1 o. u7 e. L* d4 H
  58. [DBEXPRESS]: d7 x5 I) S/ a- o4 U
  59. sqldir=mysql_sql
    ; X1 Y% p( l/ Y8 ?7 b1 h
  60. Drivername=mysql# C4 w, k! Y& b
  61. Database=test2 b1 ~5 |6 X; b' Z) k
  62. Hostname=127.0.0.1/ S5 h8 e2 e3 |+ r2 j0 K
  63. User_name=testuser; ]5 ^! S* H6 L' L1 x+ w
  64. Password=my_password8 U1 g. K. j6 ^- R3 b- v
  65. GetDriverFunc=getSQLDriverMYSQL& D: G8 Q; d' J, S3 H
  66. VendorLib=libmysql.dll
    . a* F- a( c2 O. }) p
  67. LibraryName=dbexpmysql.dll$ l' Y: |* H" X2 }
  68. Active=1& V' f! f8 G4 @5 M' K  V: i
  69. ---example----
    7 Y/ t" w: U$ ?, L" G0 c, Z! }
  70. - written 02.03.04 by pwk.linuxfan* O* c  Q& {4 h6 N1 R, M) ^

  71. 4 X5 j$ g3 C  ^0 M# U; X1 l- J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# r0 J) Q' V8 _: Q+ B7 B/ ?; _
  1. ( o( u  e( t  }/ d6 j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 D; X9 L$ j* H# |8 g3 a$ m
  3. ( E# w7 {$ j5 i  M" k
  4. # # #我们所需要# # #
    5 V  \& k5 _- a; Y8 i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 q4 o, ?: {$ s. F# L
  6. 不会解释如何做到这一点-也有文件存在,为
    % @9 l8 _& T- f) g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , i2 B, {5 H' ~7 [$ ?9 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# v3 B  `+ c4 j% I- Z. d9 c0 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( J' O+ d( \4 m4 Y* f. s
  10. 本地机器,这是我的MySQL安装。
    ! a; k8 y4 ~) }4 r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! Q% A9 |) R8 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * G7 p' [/ x. q4 z6 o
  13. 数据库。 , A9 |( O  q# C" f! Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . a3 e4 R4 i( c
  15. 编写本报告的时候,仍然有太多的问题-检查现状; b, U) F1 f; K: l/ [+ @
  16. 在teamspeak论坛,如果你有兴趣。 * [; s5 N' g! T, o" c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * ?* S* H% J2 f; h& n$ r1 @
  18. Borland公司使用。这个司机只能界面与客户端库
    - f# r' F* c% f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 k- K2 c+ ?% u% B( h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 ]4 h+ n+ b9 u2 r7 T; I/ B
  21. " vendorlib " ,并解数据库连接。 2 g2 F8 V7 B. N. h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 : y; i! S. y4 Z1 |
  23. # j6 E2 A& w1 I) Z6 H" b
  24. # # #做好工作# # #
    / P9 {& Y: l0 S* W/ K0 B  H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      f/ B* L5 \" k3 O5 T% m* s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 q7 X( k. i# k* W$ i5 W$ P: ]
  27. 结束: - ^! c3 [/ v2 K! b; \) q
  28. ---削减这里--- 9 L$ V+ p; h, V$ j
  29. [ dbexpress ]
    : [* Z  E6 y" F, `9 r, ^/ s) |
  30. sqldir = mysql_sql 3 i: a: }' {1 R
  31. drivername = MySQL中
    % _: c+ W: L7 ]4 D9 b
  32. 数据库= your_database_name_here 0 F" w2 J2 b6 z$ v
  33. 主机= the_pc_the_mysql - server_is_on
    & ?* C% B2 k! }6 o$ l( R/ \
  34. user_name = user_name_on_the_mysql服务器
    % A! u- b" f( n! j
  35. 密码= password_to_go_with_above_user_name + |' s+ E& W# E6 b2 C9 }
  36. getdriverfunc = getsqldrivermysql
    " f( s0 g& L2 g7 K& U5 {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " [3 V) o7 [$ O5 x. j
  38. libraryname = path_to_libsqlmy_libary ) J/ K1 A6 Y2 T$ j8 r8 w: F
  39. 积极= 1
    ; K: p1 m& |. t+ n
  40. ---削减这里---
    # M/ Q7 u+ D, j0 v$ c5 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . ?8 v3 o) I5 l& e8 D* M3 K
  42. ---例如---
    ' _; W/ ]5 j; J) z3 T
  43. [ dbexpress ]
    7 \3 O  r% Y2 u
  44. sqldir = mysql_sql 5 r. ~  p$ \5 w7 W1 U
  45. drivername = MySQL中
    . p. Q* e/ N" L" j
  46. 数据库=测试3 n: D2 p0 ?8 U0 w1 k6 n
  47. 主机=本地主机% n7 b& [- R  `0 {9 \
  48. user_name = testuser 6 B7 M: ~# U4 @; s6 ~) p
  49. 密码= my_password # V, q3 p' k; F& o& H- L
  50. getdriverfunc = getsqldrivermysql
    * D( l) K/ L/ l% p) _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * m4 a% A  O& x( c) V  j$ k2 u# }5 b! L* ~
  52. libraryname =. / libsqlmy.so
    7 [/ U1 h4 S  Z) ^/ T; T
  53. 积极= 1 $ p9 Q( r# d' y6 U0 ]; y  p
  54. ---例如---
    5 m% g! X6 n' i
  55. 7 o% a0 m/ Z! y5 D# [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) G* ]6 u! I& X
  57. ---例如---
    - ^4 K7 L. o0 Y- [! E. g
  58. [ dbexpress ] , S+ i. X1 X4 j3 e' O- E
  59. sqldir = mysql_sql 3 c  h0 e! q& D9 p
  60. drivername = MySQL中* S7 v& i- ^- }0 }+ V
  61. 数据库=测试
    # R" U* l# t# w2 S) t1 \# H4 p
  62. 主机= 127.0.0.1
    ; s9 D. @. }; d' m% H" v% Z' s; n
  63. user_name = testuser . x! l  M/ ?: u8 _; l1 W2 C
  64. 密码= my_password
    9 j5 C0 A1 p. O+ `& g0 \) a: v
  65. getdriverfunc = getsqldrivermysql
    0 ?7 u* h- y- W% o. \: z" R
  66. vendorlib = libmysql.dll在
    , h4 [+ v0 O7 `" H# B
  67. libraryname = dbexpmysql.dll & u( j/ A6 h2 h2 T
  68. 积极= 1 / t9 j+ U; O7 Y' n1 I
  69. ---例如----
    3 y& S+ |4 S( Y: T. h: o
  70. -写在0 2.03.04由p wk.linuxfan: _- w; V* q$ N! i' n3 o! G
复制代码
发表于 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( A1 h5 c0 I+ f# e
% Q. Z  Y: z2 ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-3 02:02 , Processed in 0.088253 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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