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

2268 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 A" {7 A0 L, v: I; I" i& p2 o+ T& L# K6 f4 D6 c" T9 [3 r4 X

  1. 1 a' U+ C# g( Q( N! A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 r: J  `2 y  e! A- l
  3. & F( ?# i3 s" V+ u/ @
  4. ### What we need ###
    : g1 p, b; M2 g3 u7 ~- g8 J
  5. Naturally, we will need a MySQL server to store the data for us, this document . A) W# ?8 V- y7 Y' L
  6. will not explain how this can be done - there are documents out there for the
    7 L, Y0 |- ~2 d1 j+ }
  7. interested. The requirements include a (empty) database for TeamSpeak to use& _' J  q% \) R# F; m
  8. and a user account (username + password) that has the permissions to do stuff3 n# E2 Y5 ]9 w
  9. with the database. Additionally, you will need a vendor library installed on the0 ~" y) P5 e% U- L8 _0 C: J
  10. local machine, this came with my MySQL install.
    : k8 R* y( u' V6 k9 s6 w7 j% s+ u
  11. These instructions will not tell you how you might transfer your data from the
    3 j) g* K7 z, L( T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' `; N; g% {6 D) O4 [1 n+ W1 ^
  13. database.
    . l! P2 X$ f2 n6 |& b: ]; q
  14. Some users have reported ways to import a SQLite database into MySQL, but at, M7 k( r9 S" f7 b" L, ]; _4 J
  15. the time of writing, there are still too many issues - check the current status
    + K+ ]& [$ p. }$ V
  16. in the TeamSpeak forums if you are interested.
    * ?9 ]) w7 f% o9 ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) ^  L( n3 B% W8 `! J
  18. Borland was used. This driver can only interface with the client library that
    7 i# H. R' }$ H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 x. a: W  s( |0 A" X
  20. client library - basically all you have to do is to use a 3.x client library as
    3 b( [/ I* t% e' {
  21. "VendorLib" and a 4.x database to connect to.9 N1 v6 R2 H$ J
  22. If you need more info about dbExpress, you can contact Borland.2 S0 E9 h: z8 I, w$ e

  23. 8 p( d) x9 U  j- e( }9 J9 w
  24. ### Doing the work ###
    " P9 u# Q& W" d
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 w9 R+ V$ x' o) t# r2 J8 V$ n" o
  26. the perquisites right, just open your server.ini file, and add this section at
    & r0 w0 u5 H9 m! _, n4 A# J
  27. the end:
    / W& y8 A3 S* j; b6 p) n
  28. ---cut here---# w# m9 y+ E# J  g
  29. [DBEXPRESS]! I6 i5 c0 t7 Q6 }1 H7 g9 x
  30. sqldir=mysql_sql
    ' e# U% v- C6 u2 }) u" I
  31. Drivername=mysql! X3 l6 i1 T! Q% n7 F
  32. Database=Your_Database_Name_Here
    1 I. @& {4 m1 r! }. O/ `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 `; {0 t, w% X4 ^2 O* _
  34. User_name=User_name_on_the_MySQL-Server
    3 {, D( v- J" Z: @7 L4 h& U; \9 E. M
  35. Password=Password_to_go_with_above_user_name
    + n' [6 M; q! z; V6 L! y# t8 j
  36. GetDriverFunc=getSQLDriverMYSQL0 v" o1 ?' o7 u, V" T3 f% Z. v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ L2 v) @8 K( w
  38. LibraryName=path_to_libsqlmy_libary
    $ w3 n, d- q" T. g8 q
  39. Active=1
    * P( A* C6 J% }' ?0 {5 h$ w
  40. ---cut here---
    ) p0 X$ b) \' F) |, h9 ]! J
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 z/ {# q, S9 b: r1 z
  42. ---example---
    2 ?% n" \8 D; C9 s
  43. [DBEXPRESS]
    . ^, j5 b1 ]/ ~, C* |* Z) ?
  44. sqldir=mysql_sql
      l- \+ V3 W" }- E2 X
  45. Drivername=mysql1 F1 d+ n5 c" r8 U
  46. Database=test$ s, A5 a" D* \1 n5 S1 E
  47. Hostname=localhost  C1 ]$ F% r. \# j
  48. User_name=testuser
    : z  V( O8 P& h. \  Z: b
  49. Password=my_password7 g" Y" `, n; o
  50. GetDriverFunc=getSQLDriverMYSQL7 s- @! L/ d  C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0- [9 F1 q4 ^5 m* G' d) J& j. k: r' E
  52. LibraryName=./libsqlmy.so+ \; P, U- P9 s, T' \
  53. Active=1
    . H9 v* z" e. Z  @( r/ ]$ h; L. d% X
  54. ---example---" G/ `9 ~7 t) O1 I
  55. 0 c$ h& Z" _7 s, H& i
  56. On a windows box, also running the MySQL server locally, it would be:* k0 u; s/ s/ k" q
  57. ---example---) W1 s, u( r/ y0 t
  58. [DBEXPRESS]8 U& f9 X! z9 G( p* |- n3 Q
  59. sqldir=mysql_sql4 N: b6 |/ Z  ?$ u1 x
  60. Drivername=mysql
    $ n: p+ {3 n! i& k3 r. z8 O, [% q3 u
  61. Database=test( ]& q( h6 l2 y0 i& U- Z) f
  62. Hostname=127.0.0.1. W4 ~/ o2 i# q2 G1 |
  63. User_name=testuser
    1 J1 G6 U- c4 X7 q9 f1 o
  64. Password=my_password
    , ^. o# [* l) d& L5 U& J
  65. GetDriverFunc=getSQLDriverMYSQL
    ( G  b8 i9 j. Q- V% x' Y
  66. VendorLib=libmysql.dll
    ( c! t4 J! e/ M& _, D
  67. LibraryName=dbexpmysql.dll
    7 k. f) u# n: M9 v7 ^; T/ s: p( z* N
  68. Active=1
    ' F( I* |8 D! {# C8 g0 f1 @4 g
  69. ---example----
      o: Q& n. I& C- k4 X
  70. - written 02.03.04 by pwk.linuxfan
    % k6 X  A% E" W4 |: r8 k9 e

  71. 9 J# j! v( Q: e5 |6 B; I" M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 }& O2 q: v  K! }' W; G8 C
  1. 2 |7 c5 M7 Z7 t$ z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 [- ?) K) C5 D- ^
  3. 8 s2 H# z  A5 J) x+ s7 R
  4. # # #我们所需要# # #
    ) D  C1 R7 X1 u. R3 G; l: C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; P% y) W& k9 s. M5 U
  6. 不会解释如何做到这一点-也有文件存在,为
    3 E& q2 ?0 K- b3 `2 G! A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' e4 `8 [! i1 }+ K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) P& Y5 y% Q* d* i; M3 }5 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : X' K3 |$ s! G  y& U1 x( P* k( D
  10. 本地机器,这是我的MySQL安装。
    & y0 Z% n4 A4 C7 h. ]$ f8 X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从0 J1 O  C* `6 S% R& B! m% m& n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( v( {2 P4 D$ c1 }4 G
  13. 数据库。 9 |- l0 F# I9 }  ~. u* B
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 s( Y) @: E$ J# B
  15. 编写本报告的时候,仍然有太多的问题-检查现状5 {! |) x/ L; `" l
  16. 在teamspeak论坛,如果你有兴趣。 . k1 U; |+ b* _2 I3 X( R& z  j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 F2 V: X: R6 z; o
  18. Borland公司使用。这个司机只能界面与客户端库/ L( C3 E- h! j/ a/ ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 u  _4 A: ?$ ~: X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 }5 t) a) S/ z* W5 |! O( _: M6 ~
  21. " vendorlib " ,并解数据库连接。
    8 A6 }0 Z3 |; a2 E  o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 H) F( h5 j! X( d& D& {7 X, u
  23. ! v4 {1 y% R* n9 x. ]% @$ G7 z# x/ J/ L
  24. # # #做好工作# # #
    ) g! q. C8 J7 G/ F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: M4 P0 b+ i0 `! O$ U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 Y0 e: C+ ]4 |( c6 C) {% {
  27. 结束:
    , r9 K$ X6 }3 G/ {* s
  28. ---削减这里--- % g: S$ o& F) u' l! J) O3 M
  29. [ dbexpress ]
    + h# X( f4 P, @  F4 A) B  p
  30. sqldir = mysql_sql
    ) f8 m) e/ j$ n3 o2 @
  31. drivername = MySQL中
    $ W+ l0 d6 Y1 A/ R: U3 ?( C
  32. 数据库= your_database_name_here & ^. k0 w3 X2 _: H
  33. 主机= the_pc_the_mysql - server_is_on 5 ^4 ]8 L5 A* r
  34. user_name = user_name_on_the_mysql服务器
    ( S& x& ^* [' p; f
  35. 密码= password_to_go_with_above_user_name
    5 E9 k# L- J; S# ?1 r
  36. getdriverfunc = getsqldrivermysql
    ! l, U6 B6 ]: }, G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   {/ {# q6 {0 _. ?3 j- Y8 q
  38. libraryname = path_to_libsqlmy_libary $ L7 I3 K+ I2 `5 N
  39. 积极= 1   [' F+ N5 \9 Q
  40. ---削减这里---
    : N4 a; J# a2 Y1 R, k+ C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 ?& A6 I# v- @! h( a
  42. ---例如---
    ' B; y/ \# e9 ?' }# Z
  43. [ dbexpress ]
    3 y& o. a2 X: S7 w) {9 l
  44. sqldir = mysql_sql * ~. c+ l3 l# w5 ~. ~
  45. drivername = MySQL中
    ; H# ^4 B6 f' V7 {% R0 [7 u9 k; L
  46. 数据库=测试, R1 P& k  M5 Q/ ?6 F0 ]5 D
  47. 主机=本地主机
    * }4 X) C  y# x/ G2 _
  48. user_name = testuser : f) G( G/ B; i- D8 L) e3 {& _
  49. 密码= my_password 7 V; E, a9 g& P
  50. getdriverfunc = getsqldrivermysql
    2 o8 i6 \# {. l, c# E8 d! Y: I3 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - K0 L3 [5 W! c5 S
  52. libraryname =. / libsqlmy.so
    6 [3 c' ~9 Z# q2 N
  53. 积极= 1 1 E' F7 T5 K' h9 f+ F7 N: d1 y6 y
  54. ---例如--- 0 H. p, {% m: v8 a7 F+ b1 ]
  55. 9 ]# e8 M4 \! i
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . b, w. Q6 O( p1 D% ?. X. H/ m
  57. ---例如--- % H! e+ _3 M+ }- @* z8 ]
  58. [ dbexpress ]
    ) D3 K! Y' z0 s, E  \8 G* {
  59. sqldir = mysql_sql ! }7 R6 |9 ^3 R4 Q
  60. drivername = MySQL中4 E& ?# b! q% d9 P; k
  61. 数据库=测试
    6 n; J2 K& t+ D
  62. 主机= 127.0.0.1
    0 k% ^$ d& S) {! W
  63. user_name = testuser
    & `7 ]# W/ P; `, Y
  64. 密码= my_password
    . E2 W* g0 B" l
  65. getdriverfunc = getsqldrivermysql ; v8 A; Y& o( I! ]; Z
  66. vendorlib = libmysql.dll在
    8 g' R$ H' w5 S9 f$ z( ^
  67. libraryname = dbexpmysql.dll ) `1 H( q% ~( S5 L& H
  68. 积极= 1 ! g- q9 J0 N% d, x: A: W
  69. ---例如----
    6 L! m/ @; W8 n5 `. f7 `5 r& B
  70. -写在0 2.03.04由p wk.linuxfan. ^% Q" r: J+ L2 b5 r, n
复制代码
发表于 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 words9 b; O8 b" A5 I4 b. f; l

  z% K; }+ T" ?) c" Abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-6 06:21 , Processed in 0.090412 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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