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

2451 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# T: T+ d) S3 A9 O& F+ e+ p+ u( I  f0 y# ?1 S9 X2 h0 s
  1. 9 A6 C! J, D4 g+ Q: X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######! B) n2 _+ N9 v
  3. : N; ~- M4 s" T
  4. ### What we need ###+ a0 @1 F& p3 Z
  5. Naturally, we will need a MySQL server to store the data for us, this document " u0 p( j" ~  }: p" Y
  6. will not explain how this can be done - there are documents out there for the
    5 y- V- B0 |) a5 ^# [2 y( C! H
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 N5 r. g0 H9 r: r4 o
  8. and a user account (username + password) that has the permissions to do stuff
    7 M" N) p! ^. R$ X. s* F
  9. with the database. Additionally, you will need a vendor library installed on the
    ' \" H: }. ~2 R1 l( I/ d; p
  10. local machine, this came with my MySQL install.5 A: C$ ~5 a: V" d9 A' O6 i. ~
  11. These instructions will not tell you how you might transfer your data from the# T" T4 q+ q. s& N: t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  u. K7 f8 I$ B% p) O% G# e
  13. database.3 C9 \& V* @5 Z; t
  14. Some users have reported ways to import a SQLite database into MySQL, but at* W; J; K) q7 A
  15. the time of writing, there are still too many issues - check the current status
    * J1 {+ J5 D2 e( Y+ H, e
  16. in the TeamSpeak forums if you are interested.
    - G, t* O* G" ?# D- L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& r. ]9 E+ A. C/ A7 g
  18. Borland was used. This driver can only interface with the client library that * T. L8 E' P/ |$ S) o* |
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 `2 }+ A" Z, m9 Q: F
  20. client library - basically all you have to do is to use a 3.x client library as
    * y* d, N2 j4 a% s# ^$ |) `8 I6 n
  21. "VendorLib" and a 4.x database to connect to.
    ) s6 K  X3 u. N; T3 ?
  22. If you need more info about dbExpress, you can contact Borland.
    5 j! H8 \) H# ^$ o

  23. / v; x1 R5 |) C0 ?4 R( n! x
  24. ### Doing the work ###. j# |. V7 [! l% [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- }  o& A  n  r6 f! A+ x- a
  26. the perquisites right, just open your server.ini file, and add this section at, d( |2 [8 Q7 V# y6 ]1 x, C. {
  27. the end:2 s- Z  p+ S2 K- w. f( `- q% f3 n  Y+ h
  28. ---cut here---
    ( Z+ x5 o1 S! z
  29. [DBEXPRESS]) R% H$ c: _' h- u/ u
  30. sqldir=mysql_sql
    . w6 ]$ d+ J' |' m( ~4 A: C8 l+ Q
  31. Drivername=mysql9 e* H/ l9 v& P& E( e# e3 V
  32. Database=Your_Database_Name_Here# ~, Z  w) ^8 P/ W. H# E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ J& w- M+ J/ }3 S
  34. User_name=User_name_on_the_MySQL-Server
    + O3 \' G. l0 W0 ?8 n
  35. Password=Password_to_go_with_above_user_name
    8 N  e7 ?; U. e5 P8 v
  36. GetDriverFunc=getSQLDriverMYSQL1 d, L* ]; Z6 e0 x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: A7 S  i3 f% g: S# ~. q: R' I
  38. LibraryName=path_to_libsqlmy_libary
    6 b' g* n5 I2 [
  39. Active=1& ]% X2 m/ S% ]% z' x7 n& N# a
  40. ---cut here---
    - W0 x9 |# v4 t5 k5 J5 \6 r! z
  41. In my environment (a linux box with a MySQL server running locally) I have:' B9 d  c- c/ }4 x6 X; B
  42. ---example---8 _% J. s- P  [& t3 t/ Q- f0 @( t
  43. [DBEXPRESS]
    # P& _& A# [8 ^5 v5 _  j8 d
  44. sqldir=mysql_sql
    / B8 ~+ M8 f9 Z8 l
  45. Drivername=mysql. e& Z9 x- h+ Z) k- X* B! T+ c
  46. Database=test
    7 Z9 P1 c3 a7 X: R: K; n
  47. Hostname=localhost0 B* U# H& m. a4 C
  48. User_name=testuser; B. G7 P# V) K! I
  49. Password=my_password
    ! \, M) M5 u' f8 _$ J, N
  50. GetDriverFunc=getSQLDriverMYSQL8 R9 W1 k7 k, X+ A3 R! d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , B& b% T7 o  J& j% A' B' E
  52. LibraryName=./libsqlmy.so/ c8 P! n) B- S0 j) q
  53. Active=1
    # N3 B1 m2 ?  }5 g
  54. ---example---
    2 k: U& w7 H1 |- e' X* i

  55. 4 h3 o2 Q5 N9 [; Q4 j
  56. On a windows box, also running the MySQL server locally, it would be:, s  Z" j+ T  m0 ?
  57. ---example---
    5 u+ R& f' U& I
  58. [DBEXPRESS]
    % S; t# _3 _3 }1 h3 M) a
  59. sqldir=mysql_sql- Z1 \0 Q+ g; d" z% m. ]9 c
  60. Drivername=mysql8 L$ b0 \0 d- [' S1 t" y+ D$ \* T
  61. Database=test6 l) q* Y2 q4 v: ]
  62. Hostname=127.0.0.1
    * o* \+ T/ f! v( _" t4 H$ o
  63. User_name=testuser
    ) a1 a0 \; w# @; _& J% m
  64. Password=my_password
    9 l' |- @' W0 M% S3 U( |
  65. GetDriverFunc=getSQLDriverMYSQL, p4 |: M/ j0 [5 J& p& r! x5 `
  66. VendorLib=libmysql.dll
    8 ], ~8 s/ ^$ |$ y
  67. LibraryName=dbexpmysql.dll
    ( e3 Q9 i) G& g% H9 p  F# ^
  68. Active=1/ U( w% ]3 J" n( r
  69. ---example----! a/ j2 w! F- y2 F; S- J! r
  70. - written 02.03.04 by pwk.linuxfan
    & Y! N- z, t2 }' [; O# ?. x7 \( V# B
  71. 0 Y8 h2 e, ?9 I6 i, q$ E( e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  ]# m$ Z; V/ Q$ l/ V- x. M7 H, y
  1. ( t) I8 G* D; M$ N( r4 S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ! W8 s& n7 m7 C# _* G

  3. , [  j4 f$ r& `! N! i7 h
  4. # # #我们所需要# # #
    " T1 X. x8 g7 ^$ p+ Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " `. H/ c  f+ d: L% t' t- n
  6. 不会解释如何做到这一点-也有文件存在,为
      k/ ]# V& l. [
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 d6 @' H( m2 x
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + @0 U! }$ ?  H" [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于9 Q7 l4 _7 J) }8 |4 K
  10. 本地机器,这是我的MySQL安装。
    ' C! V) D; F, M' G" w0 I1 g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 e4 ~; @) j) ?1 t: D' F! g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      A' F1 U' f. S' v4 q1 b; I, o
  13. 数据库。 # [" \8 Y2 d7 ?4 _0 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 s0 ?4 J# T" G$ ]0 ^% b1 c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 P. B6 T; V& ]& A
  16. 在teamspeak论坛,如果你有兴趣。
    3 s- ?& ?# t2 j. O6 j  I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 V0 z2 Z7 H( b7 ~# y1 g
  18. Borland公司使用。这个司机只能界面与客户端库; i; N; V& M* ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! i9 c  Y$ O' g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! ^* c2 L% K/ p4 c
  21. " vendorlib " ,并解数据库连接。 : v: {9 S8 [" o( G3 V& L" }2 F3 s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + n' Q; d* E. O* A

  23. # w# j" ]: [1 e! }
  24. # # #做好工作# # #
    $ }7 ~% ^0 _0 Z2 D* W; S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ c6 [' e9 Y3 s9 R( O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, e' A: E( F, A1 a4 Q
  27. 结束: + E. e  [$ T5 }% \- P0 ?
  28. ---削减这里--- 4 @/ h* W8 F) Y. J8 L4 M
  29. [ dbexpress ]
    4 H# k3 l" d% X3 n& Z
  30. sqldir = mysql_sql : p& ^1 E2 `! E+ b
  31. drivername = MySQL中0 S- D4 ~! _6 h
  32. 数据库= your_database_name_here 3 C& n! `: l& ~' @
  33. 主机= the_pc_the_mysql - server_is_on
    6 c3 d8 `! @2 n* S2 R- U
  34. user_name = user_name_on_the_mysql服务器
    , O1 [. X$ f  }5 N' w& Z
  35. 密码= password_to_go_with_above_user_name 1 F9 a6 T2 S) K
  36. getdriverfunc = getsqldrivermysql ) x6 Q, p4 K/ s* I# O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( P* [9 l# d2 `! R8 e. h, [
  38. libraryname = path_to_libsqlmy_libary & s- l2 o% b  q8 |7 K) E
  39. 积极= 1 / L7 B: c' S4 Q4 Y7 {6 v
  40. ---削减这里---
    ' C  |' x% y; U2 t/ g/ Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 q  h2 m+ j9 p" i$ @
  42. ---例如---
      P( w# G6 G! ~! R7 M1 b5 X3 C8 ~
  43. [ dbexpress ] ) Q% j; J5 Y5 @! S3 ^
  44. sqldir = mysql_sql
    - j. w: ]  }, u3 g3 T
  45. drivername = MySQL中0 d$ x, }( X1 y8 y/ W- D- d
  46. 数据库=测试
    1 E4 B5 F' M; p( a# s
  47. 主机=本地主机
    8 Z+ B  v, L6 U6 w- m
  48. user_name = testuser 6 O6 {8 F" S! _. U4 j
  49. 密码= my_password
    ; d* F4 i8 O8 q& F7 r9 W; T& x
  50. getdriverfunc = getsqldrivermysql
    8 A. B8 e- ^) Y1 m! ^* P9 D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; Y# E3 m0 }7 F* j# g$ z9 M
  52. libraryname =. / libsqlmy.so
    . t( Y1 I2 U& Q( N/ M
  53. 积极= 1
      b" {& A+ M8 P6 L+ S; x3 p5 o
  54. ---例如--- " f! q! K0 I7 W9 s
  55. ; N5 {* R- d3 |$ y/ y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : K( G* N" ?# K/ v1 t, Y
  57. ---例如--- ! y, F. o; R) c  p; B
  58. [ dbexpress ]
    3 |5 c0 Z& K$ N  p5 r7 g! Y
  59. sqldir = mysql_sql
      _5 k2 \- I/ D& ]
  60. drivername = MySQL中: B" F) ?" N3 f$ ^
  61. 数据库=测试
    & L9 l2 f. }) I3 z! s
  62. 主机= 127.0.0.1 : ]  c! ~: \& [0 H; w' M( |% U  x2 z
  63. user_name = testuser . J; p5 l1 l8 h9 L7 U
  64. 密码= my_password
    / v* n8 }, g( ^9 C/ x- l, |) d4 S
  65. getdriverfunc = getsqldrivermysql
    * k/ X; |- o6 u* U" D  J1 ]% r
  66. vendorlib = libmysql.dll在3 i/ f6 L9 J' I% p; O& s
  67. libraryname = dbexpmysql.dll , h2 S& t- u+ ?& p" c6 u6 ]4 i" U
  68. 积极= 1 $ C1 i5 `7 q+ n
  69. ---例如---- : t- b" N: a3 H& f0 Q& g4 }* N, t
  70. -写在0 2.03.04由p wk.linuxfan" i  p6 _, |% W! H2 Z
复制代码
发表于 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 words3 {  f% Q- R/ q! L( C5 E1 `
  S+ e9 Z( Q1 ?2 L5 ]- a$ s
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-6 13:14 , Processed in 0.086319 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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