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

2413 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- _3 i1 i0 B0 \8 z2 @: k" v
3 i& c) X  ^$ ?. X2 Y. ?$ \
  1. / y9 s! a0 w6 f) U2 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & E( O0 t, d: ?: c. l/ l% w8 M; l
  3. $ ~5 x8 J$ u" S" x0 g
  4. ### What we need ###2 p7 a& G* K) ]) Y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 F4 y. K! J# W. F0 R
  6. will not explain how this can be done - there are documents out there for the 7 `+ j  @; F( I, `4 b
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 `) P3 f$ C* p! v/ o: B: i+ x
  8. and a user account (username + password) that has the permissions to do stuff7 Z5 b5 O# m; `4 W4 l: {
  9. with the database. Additionally, you will need a vendor library installed on the$ z) o8 U; L3 _
  10. local machine, this came with my MySQL install.
    % c' K/ Z8 w! ]" Y
  11. These instructions will not tell you how you might transfer your data from the
    6 }" m3 j2 s! z+ E; s% D9 i  g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , ?# L& y, c8 O
  13. database.6 A/ |' a, b+ a
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + ^7 K3 q% ]: L2 {* o, p5 v
  15. the time of writing, there are still too many issues - check the current status
    8 Q  R, ^$ n2 M8 G: t9 f$ b
  16. in the TeamSpeak forums if you are interested.
    $ c( W' k9 U2 z) i3 k% Y' O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ `5 o2 U$ Q9 O% e1 ^
  18. Borland was used. This driver can only interface with the client library that 0 d2 E  ]0 @& n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 g# N- J- v; a* L5 m- e1 }  q
  20. client library - basically all you have to do is to use a 3.x client library as
    2 _, p. g4 F" }/ m: q
  21. "VendorLib" and a 4.x database to connect to.
    . {2 ]+ J, O! |5 C
  22. If you need more info about dbExpress, you can contact Borland.
    9 @9 I; _9 o( j, E

  23. 6 h+ k8 z% G  y: T6 @( r
  24. ### Doing the work ###
    2 ]# D$ |& c+ l4 U) b: r5 G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all# i- {8 _( ~7 r
  26. the perquisites right, just open your server.ini file, and add this section at
    . `& c* w: y% v4 U
  27. the end:
    3 d- G# G, d- n" v( }3 x' C
  28. ---cut here---( L5 ^' f, C9 e5 l
  29. [DBEXPRESS]& o2 S  x- e' j7 Q
  30. sqldir=mysql_sql
    4 \  x5 h+ Q, A3 n/ Q
  31. Drivername=mysql# T) z: s. Q7 y5 Z
  32. Database=Your_Database_Name_Here! t* q6 M: {% N* p$ W8 e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - u/ k2 Y. R9 R3 G# B8 Q! m5 T
  34. User_name=User_name_on_the_MySQL-Server5 ^; Z  c/ y; G; g" y* T
  35. Password=Password_to_go_with_above_user_name4 K/ {; y( @& ]
  36. GetDriverFunc=getSQLDriverMYSQL
    " O3 l7 @; H. I, P5 F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( h# v5 g3 k6 T* p. T7 t- p
  38. LibraryName=path_to_libsqlmy_libary
    ! i9 {$ o) Z! W
  39. Active=15 |. I: {( E+ x) Z4 L. h$ L0 K" a
  40. ---cut here---
    $ Q& h! q8 f( s3 @, h1 w6 m5 }9 w
  41. In my environment (a linux box with a MySQL server running locally) I have:8 `# C+ S: c5 G3 x' X3 p  S) P
  42. ---example---
    # g4 j& D* ~4 F9 `; D$ Y8 X! w; H
  43. [DBEXPRESS]- Q; u) m* a1 M
  44. sqldir=mysql_sql* y& R& o( w; m* O
  45. Drivername=mysql6 N% C$ J2 l5 Z$ Z5 V4 M! _
  46. Database=test
    . v- O  o- s4 S1 Z! |
  47. Hostname=localhost
    ! M) G9 A* F) `
  48. User_name=testuser5 e" _* O  ?1 i5 H( d
  49. Password=my_password- L7 n2 v$ t+ t1 O) P6 Y
  50. GetDriverFunc=getSQLDriverMYSQL, Q$ c, ]" l, e( W9 f, }) ?' ?  n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) ]1 m1 U" t1 [% }
  52. LibraryName=./libsqlmy.so5 I( j6 O# P0 h& B: G
  53. Active=1
    ) T7 J' I) Z% P5 ^: f
  54. ---example---; |1 t8 i4 J5 B* _8 y' C
  55. ! l( w. r6 f& @6 h0 r% T
  56. On a windows box, also running the MySQL server locally, it would be:' _9 t# q! p* y6 y
  57. ---example---
    9 \2 n% Q4 W2 v" O( S- N: l! c
  58. [DBEXPRESS]" a8 ~# v- V5 |7 A! v
  59. sqldir=mysql_sql4 V6 P, k! x* E. B' Q2 j
  60. Drivername=mysql5 Y2 Z. n; V5 f" }% b! {3 {1 a) Z8 a
  61. Database=test
    8 q0 F: P3 H9 g+ M/ P* z
  62. Hostname=127.0.0.1
    ) F' }; L7 u5 X& p3 ^' t
  63. User_name=testuser
    4 z1 Q( o* O" e# f& l
  64. Password=my_password1 R) c! Y( u6 C( }2 s+ |
  65. GetDriverFunc=getSQLDriverMYSQL
    4 o- ]5 U8 |: O# U+ G
  66. VendorLib=libmysql.dll
    8 O# n# w+ f5 Q4 L, r7 @
  67. LibraryName=dbexpmysql.dll
    * i* W& T/ V, c
  68. Active=14 o* Q5 b/ c8 m) t/ o) j7 ]0 B
  69. ---example----
    ! n/ k/ \) R  Q* M
  70. - written 02.03.04 by pwk.linuxfan; G* v  K3 |( W4 ^. T
  71. 5 n$ O7 V1 I* D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; c1 A! T7 a7 R5 I  `$ C5 k! p: [
  1. * e. z* l; ]) F' S7 z) E/ ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 Z- n4 t0 S4 s0 a1 G

  3. ! L3 r9 a9 L- l: P5 s* `6 `
  4. # # #我们所需要# # #
    1 P9 l6 Q3 t3 X$ C  Q, C/ i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / U& h0 ?  z2 h
  6. 不会解释如何做到这一点-也有文件存在,为
    ; Z, U+ b, Z  o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 O0 q$ _& G, c, l3 j; Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 K. |5 C; W8 h0 v2 U; G  E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ o* c7 ?! F1 q0 ~% a2 V$ L8 K& x
  10. 本地机器,这是我的MySQL安装。
    ! y! E) v" t! Y; l, M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: G; @( k$ D3 _4 j% ~5 ]2 g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 O4 ^; l% x0 }
  13. 数据库。
    & Z. |. z9 A4 D' _" y6 j. e# X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ T* F3 |+ c3 ~9 m: k1 w" y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / X" q0 r9 F$ }* T/ E; C" q
  16. 在teamspeak论坛,如果你有兴趣。 : ?$ d+ j+ Q8 I, O3 k; X' O- s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " `/ p) {4 l1 v- x  H
  18. Borland公司使用。这个司机只能界面与客户端库. s7 z+ q3 i. x, X) y! E, C1 r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 a+ I2 G5 x, K! w7 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 q- _3 ?! z; o" `+ H8 P/ B3 S( K
  21. " vendorlib " ,并解数据库连接。
    # d  w8 _! L3 S# q+ q" g/ Y1 \) L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / |( d+ s6 n& F
  23. : p& {$ R, g5 r1 a: f
  24. # # #做好工作# # #
    3 \% \: K5 [. j2 j/ V5 A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    # x, d- J' q: }; y# Z( \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , S6 J+ k. }4 I0 @% G$ g
  27. 结束:
    . e% z; T' ]1 i" t( J
  28. ---削减这里---
    $ l$ F5 [" o3 W' o0 [% T
  29. [ dbexpress ] 6 w: C+ W( L6 H" M# ~
  30. sqldir = mysql_sql
    9 g' d6 A: o% `7 M/ L. N1 |) x
  31. drivername = MySQL中
    2 R) {8 ]* H: u& h
  32. 数据库= your_database_name_here
    2 k- E- P2 h+ K: @2 {
  33. 主机= the_pc_the_mysql - server_is_on
    % F$ U) T; i/ R! w$ t. L0 W
  34. user_name = user_name_on_the_mysql服务器% ~9 g2 c: u2 N# g7 R2 }6 T+ {
  35. 密码= password_to_go_with_above_user_name ; C: r% H2 o8 |. u4 ]( V
  36. getdriverfunc = getsqldrivermysql
    . v- [  o: c; M' K# j
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; b' c- H. p6 A. g/ N
  38. libraryname = path_to_libsqlmy_libary
    . A6 ?1 K3 P9 j+ j% E
  39. 积极= 1
    / O9 \* `+ }" X9 N+ B( T* d
  40. ---削减这里---
    + z0 Y- u/ [' \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , t7 _5 T5 `% ]9 k* Y' V  p6 A! z
  42. ---例如---
    9 {3 `" R8 J6 @
  43. [ dbexpress ] # ?4 L( a) o! K* a7 n+ c- X
  44. sqldir = mysql_sql
    2 ?: r1 T4 h7 v. ~4 V
  45. drivername = MySQL中
    & B2 |* S' K& R2 W
  46. 数据库=测试! T& H& f8 N  e% G) h7 l4 F
  47. 主机=本地主机3 ]/ v: I: G2 \, v, \; r+ q4 Y
  48. user_name = testuser 1 m; q( M6 L3 D5 V  H5 \* Z
  49. 密码= my_password " }5 H* J( f( u
  50. getdriverfunc = getsqldrivermysql # y" l8 V' @2 ~# @" m0 R5 Q1 L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 }& A& M! D! F& b
  52. libraryname =. / libsqlmy.so
    $ Q5 h# {$ j; a
  53. 积极= 1
    3 L. o8 `( _( W
  54. ---例如--- $ z  R, [6 F. ^1 v8 [

  55. ! P, ?. d: Y& ~; }9 b7 B2 e
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , W" e: T* q7 a; W3 }$ J+ i' {
  57. ---例如---
    / I( U" a; y) V
  58. [ dbexpress ]
    / l+ z  ?1 R* i4 w$ w- J' r- }: C
  59. sqldir = mysql_sql
    0 ^( j& [; G& _% E( c3 k
  60. drivername = MySQL中
    ( U  p! F- S+ _0 p% l- [1 L
  61. 数据库=测试
    " X/ L6 ~* F# g
  62. 主机= 127.0.0.1
    8 [2 q' u- X2 N' t, W; @9 R6 ]1 u
  63. user_name = testuser
    & @4 o2 m- C! Q9 a
  64. 密码= my_password 8 T. D$ d% h7 d9 Z. O9 b& P: G
  65. getdriverfunc = getsqldrivermysql
    % f# n& L0 u5 c. K
  66. vendorlib = libmysql.dll在
    . A; U* o0 W1 b9 K  v* z
  67. libraryname = dbexpmysql.dll
    ; Q7 ^) p, A4 h2 |$ r
  68. 积极= 1 ) d3 L4 @) V5 K" b, d9 Z9 A
  69. ---例如----
    ; {' H8 E, g. `  k
  70. -写在0 2.03.04由p wk.linuxfan5 d- J2 Y' r( d- A1 Y
复制代码
发表于 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% ^! |, B" m" q# D& T  I
2 \1 {9 L- ~+ r/ ?  b* e" d
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-27 18:47 , Processed in 0.103178 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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