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

2523 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 ^8 {/ N$ P1 |# F  X3 Y! }. \' r

) z' k. t  u  R2 [5 T

  1. / S; [% n7 \! O% o& U. B. W: }0 r7 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% P1 P( Q4 g  p# f) f( ~

  3. . f; ]- r% q+ J# O) V
  4. ### What we need ###6 l$ E$ r: R; Z: V, k
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 S" j; r, p, @: i
  6. will not explain how this can be done - there are documents out there for the - N- t# o' @. u/ T! Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 v6 ?) w& Z- S% d4 A* B! f6 H) ~
  8. and a user account (username + password) that has the permissions to do stuff
    ( g2 |2 u1 w( ?. {. ]0 Q- O: a
  9. with the database. Additionally, you will need a vendor library installed on the
    5 Y7 j0 p; W, t0 ~6 {
  10. local machine, this came with my MySQL install.
    & Y" Q0 l3 @, s
  11. These instructions will not tell you how you might transfer your data from the2 `; ?. N; @7 B: k7 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ H4 |6 B5 T9 n
  13. database.
    # u! V& O0 Z/ m9 q1 r$ q2 L# B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % ?( u7 v9 G$ p: n% e7 X
  15. the time of writing, there are still too many issues - check the current status7 F- ^8 s+ q" |& R
  16. in the TeamSpeak forums if you are interested.
    0 g# q( s! V* Y+ `, V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % g* V$ y2 g* N6 u+ g$ q8 f
  18. Borland was used. This driver can only interface with the client library that $ ?( l. z, S- v2 E8 f+ c
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 h+ s. T, l. ?0 Q
  20. client library - basically all you have to do is to use a 3.x client library as
    ! T* t% f1 ]) c, {/ B0 c, q) \* k
  21. "VendorLib" and a 4.x database to connect to.
    , b( g' l6 }2 O5 B
  22. If you need more info about dbExpress, you can contact Borland.+ w- T2 m, Z1 c1 T* ?, E: |+ N
  23. 6 X7 u/ j* M) X+ o. W
  24. ### Doing the work ###9 X9 P. X9 D, a# a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all. e/ K5 F7 M. `) C$ T
  26. the perquisites right, just open your server.ini file, and add this section at$ W" X. G( M0 P7 `) p. E
  27. the end:( a* x% F  N2 o" l6 U% u
  28. ---cut here---# G# s7 E# @9 [  ^* _/ _
  29. [DBEXPRESS]
    ! z* R$ _5 R- t# U2 B7 p$ i- w
  30. sqldir=mysql_sql6 e, U; Y& m- \- r' R
  31. Drivername=mysql  ?5 t9 s4 s8 Y5 |  C' }4 W
  32. Database=Your_Database_Name_Here" P+ q9 Q2 Y4 P$ W1 ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : Q1 M% B/ B( z' J' E; p- M
  34. User_name=User_name_on_the_MySQL-Server6 A: L+ x1 a7 @- s
  35. Password=Password_to_go_with_above_user_name
    / d/ Y6 ?" ]- A0 ~  S8 o/ m
  36. GetDriverFunc=getSQLDriverMYSQL
    % i: [0 ^- r9 B. j$ C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% `! i, I; h1 q5 ]9 x5 M- v. g+ j
  38. LibraryName=path_to_libsqlmy_libary5 S4 @# H% T! l1 |) X# |
  39. Active=1& v0 b! f+ B* i2 m! M
  40. ---cut here---
    ! r8 Q) V+ G/ m/ }( }1 {9 D- J
  41. In my environment (a linux box with a MySQL server running locally) I have:$ w8 {! T: d8 P) m/ `2 o% y
  42. ---example---
    * t4 g5 C4 }, w2 g
  43. [DBEXPRESS]3 I) t/ i' ?4 v  |5 \6 U; L- J! v( w
  44. sqldir=mysql_sql3 z$ w+ M4 R/ m
  45. Drivername=mysql
    3 L8 _  `5 M' x: s; M; I2 Y6 _
  46. Database=test2 _( I, m  O. Z' P3 J
  47. Hostname=localhost
    7 m* _! K+ q+ ~2 v& [* L* {& F- @
  48. User_name=testuser/ S9 Y4 H) J" U( E, ~( \; H- l
  49. Password=my_password4 r% T' o! V7 D. W% Y3 _, C
  50. GetDriverFunc=getSQLDriverMYSQL0 b: B. O. N$ C( j0 ]) y9 e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / ?' r# ~+ w& u7 p
  52. LibraryName=./libsqlmy.so
    / a0 j+ |5 N) d" J3 P
  53. Active=1# r% N! l9 W# A) F) `
  54. ---example---0 A( W) M3 o) Q3 w' }

  55. / x% `: m, `, ~% \( ?$ y& @- C
  56. On a windows box, also running the MySQL server locally, it would be:! E: U; o) z$ w! T. p) q
  57. ---example---0 L. d2 g- d8 `2 U% C
  58. [DBEXPRESS]) I/ M) H0 K" z0 S: S
  59. sqldir=mysql_sql
    & E) j% u& q4 H2 p9 u* g1 c
  60. Drivername=mysql
    7 D2 F- F  s( G' m; u. B# T! O8 z" E
  61. Database=test+ v6 z0 ~- ]" {$ E& b- a0 r4 B+ H
  62. Hostname=127.0.0.1
      f- u- ]- |- ]
  63. User_name=testuser7 K& i: Y3 i, |$ i& m- a% U
  64. Password=my_password$ ]; [8 l' J- G* d' o
  65. GetDriverFunc=getSQLDriverMYSQL
    . a- B4 B6 {" ]" ^' a, l
  66. VendorLib=libmysql.dll
    0 ]8 n0 P9 a" U/ w! _4 x% r+ Z
  67. LibraryName=dbexpmysql.dll
    ! O" S: ?7 S- i4 S: H
  68. Active=12 X- z2 q& k! k, F, _7 U
  69. ---example----
    . [8 U! Z8 N' K1 e
  70. - written 02.03.04 by pwk.linuxfan! g# O: o' A! C# J: ?7 t. B

  71. 0 J3 }! b+ B. U: x# ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ A5 g! `/ K6 G7 Q
  1. : g* U& B3 w  m5 q( T3 }. m+ n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 b* o8 u- D5 q* s9 I
  3. 7 c# |% a+ p; D0 j2 v% b
  4. # # #我们所需要# # #
    - \: r; o1 f6 G. p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' Z0 p( [1 P: e! s9 `( ?% O8 H, t
  6. 不会解释如何做到这一点-也有文件存在,为. ?" P  ~5 ?9 a9 l2 |2 {" e$ i) o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 J' x* r4 A+ M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 \$ ~% s  ]& |- L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: z6 v* D& O. j' V* i" p5 t. P
  10. 本地机器,这是我的MySQL安装。
    2 I, F2 e9 T5 W, a2 A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* I2 h7 Z  H5 n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; ~+ r- f/ K- W6 b  h# F
  13. 数据库。 0 M+ M5 E! n/ g' A" z6 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - d' m" d- k! M" _
  15. 编写本报告的时候,仍然有太多的问题-检查现状' c2 n; q4 K5 m
  16. 在teamspeak论坛,如果你有兴趣。
    8 D1 {3 F$ t- |+ Y+ \7 O; _2 V/ O- `4 |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. G/ I" N/ z" t$ K
  18. Borland公司使用。这个司机只能界面与客户端库
    9 {" v3 a' W6 I+ ~- ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 ?% O  Z2 z- l! ^$ {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 C* i; p- ?3 j" G% B6 O) X
  21. " vendorlib " ,并解数据库连接。 ) X  W2 m  t6 t) p% ^0 t* k8 [
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   t; P  p3 v7 A. U) i
  23. 7 ]( ]% `7 H5 }7 e
  24. # # #做好工作# # # ( z4 b% s) u  q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. v$ I2 ^* n/ j8 Y$ f, f  S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( [2 e' C2 v  B' w7 M# s
  27. 结束: ' ]% K: g4 F. C- |4 x2 a0 j
  28. ---削减这里---
    ( g  z6 D* e+ U. H
  29. [ dbexpress ]
    ( t% V) k; D/ n
  30. sqldir = mysql_sql
    % Z, w1 j" B5 ~. F4 A% U. L
  31. drivername = MySQL中# r# i; N0 V3 Q* r" L$ R6 S
  32. 数据库= your_database_name_here
    ' {$ @. [% f3 `- }3 ^  }+ K$ p
  33. 主机= the_pc_the_mysql - server_is_on
    0 p4 I& X! s3 X7 Y
  34. user_name = user_name_on_the_mysql服务器5 O% ], f  v8 J( z8 H
  35. 密码= password_to_go_with_above_user_name
    7 F; X; W2 m% I: \$ g0 V
  36. getdriverfunc = getsqldrivermysql
    " d$ n+ l  i/ w1 P
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " {5 r4 _1 t2 B* G4 d8 Z' b
  38. libraryname = path_to_libsqlmy_libary & V6 u9 f$ I. f0 T7 c( P6 v
  39. 积极= 1 & X4 l! T9 j- U! O1 m- V
  40. ---削减这里---
    9 \9 y. T# W* E% D6 R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 \4 S- L1 }& f
  42. ---例如---
    ( c; X( r7 K, ]! i
  43. [ dbexpress ] 1 C& ^- k) o6 r* n. C) ^
  44. sqldir = mysql_sql : Q% i9 e# F% i, o3 C' V2 k
  45. drivername = MySQL中% @3 q8 ?3 Y6 W2 {: {
  46. 数据库=测试  e& t, k( F, }( P0 O8 s& e
  47. 主机=本地主机3 |- R  N5 e5 G2 J! u' [' M% V
  48. user_name = testuser 6 G7 ]7 T  x1 N3 {# l1 Q
  49. 密码= my_password . D: W+ D: o3 ~4 k7 {
  50. getdriverfunc = getsqldrivermysql
    7 A* C' i% m. b* I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 J* ~) ?$ t% ~0 U- b
  52. libraryname =. / libsqlmy.so
    . X- k& q0 m4 }( C  u9 S
  53. 积极= 1 ' v5 ^% j6 e" k6 S* C: k! T2 R
  54. ---例如---
    1 l$ A0 `: l7 D
  55. 9 m' e# @; K( n7 W( b$ `. q6 ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * O, p/ g) I; z1 P) O( g
  57. ---例如---
    , ~+ c1 p, G* \4 ^7 l0 E, f" \
  58. [ dbexpress ] ) ^: s( p0 o% a& U! Y, p( Y
  59. sqldir = mysql_sql
    ( ^$ a( d3 Z8 ?) q- `) A
  60. drivername = MySQL中0 r0 D9 G: g- n% o
  61. 数据库=测试
    9 x6 B+ N* r/ b7 T& K) k; C3 Z
  62. 主机= 127.0.0.1
    - {' y0 L. t' a* M; n6 E" p2 @
  63. user_name = testuser 2 d2 ?/ B+ C* e2 q- P3 B5 }
  64. 密码= my_password 8 C3 z; R0 V6 @0 Q8 m
  65. getdriverfunc = getsqldrivermysql
    " b3 n9 r% N$ B2 `
  66. vendorlib = libmysql.dll在6 p" |* U; Z  q1 i. m  C2 O  T
  67. libraryname = dbexpmysql.dll
    " @4 \. i2 |. w2 L+ W
  68. 积极= 1
    1 L4 w3 h( X2 T6 w# \( c
  69. ---例如----
    ! b; L, A* G$ e5 L( G2 Y. e9 l
  70. -写在0 2.03.04由p wk.linuxfan
    1 }7 o! A3 M" @+ C' C
复制代码
发表于 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
. g8 S) z9 t7 e% ]& x! k1 R0 D5 i# z6 ]2 B1 Z7 [0 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-4-16 20:35 , Processed in 0.108806 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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