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

2844 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( C( }" z4 C+ {& z. m! k" \
9 q, ~! G2 r& ~; T2 t

  1. ' C' r, f' `" |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 b) Z  j( h# p* l4 w3 Q* ?

  3. ) n' V) Z. w* a  C. i
  4. ### What we need ###
    * C& G! K" G6 q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' K" s/ b! f  W5 u3 J- g! h/ _
  6. will not explain how this can be done - there are documents out there for the ) N& H* L6 y8 {( T4 Z. ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) \* W8 C- F6 p3 j# Q, {
  8. and a user account (username + password) that has the permissions to do stuff* P+ v% J. u/ j6 F' f, s) B0 O
  9. with the database. Additionally, you will need a vendor library installed on the
    * z( E1 y! b6 w. u/ r  }2 w
  10. local machine, this came with my MySQL install.
    3 c2 M8 c$ h* f( Z3 E% \
  11. These instructions will not tell you how you might transfer your data from the/ F; d4 U0 H2 \5 X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ i# c4 s$ A" S4 M' n, W4 F, D
  13. database.
    1 R, r: t3 x3 D: ]& O5 B8 D
  14. Some users have reported ways to import a SQLite database into MySQL, but at; w# C1 C: E2 c! V0 I" q- ^
  15. the time of writing, there are still too many issues - check the current status: [( j* _, W- z2 ]' P3 ]& Q
  16. in the TeamSpeak forums if you are interested.
    4 |) \  m9 Z  W4 W7 ?1 M; z- C: D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    - g) |0 d# G9 w, G) C8 A3 S
  18. Borland was used. This driver can only interface with the client library that $ U- ]- q, K( d5 A$ M% t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - e! U( x3 `7 j3 }
  20. client library - basically all you have to do is to use a 3.x client library as
    7 e: R# Y( u1 c. c
  21. "VendorLib" and a 4.x database to connect to.9 V/ O2 [7 e4 n$ X  |1 [: e
  22. If you need more info about dbExpress, you can contact Borland.
    . y' `- T; K" g' _- O$ u& d
  23. 4 n0 D; b9 k7 H* t  J  ]- L7 T
  24. ### Doing the work ###2 W# [0 o* B) J7 V
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' d1 f! i( F& T
  26. the perquisites right, just open your server.ini file, and add this section at. g& v0 T+ e, g! E8 g( k! N
  27. the end:
    8 i0 o3 @  p2 M' G; d, I  Y  J2 N
  28. ---cut here---
    ' l/ c# u) d: T' c6 W5 d+ G
  29. [DBEXPRESS]: I( q! W) ^; B9 t+ W
  30. sqldir=mysql_sql
    1 R# |$ R  q. g  I) C1 f% v3 V- q$ k& i
  31. Drivername=mysql
    4 n& \1 j8 l$ X2 M7 u2 b$ x3 R
  32. Database=Your_Database_Name_Here
    ) Z( E% F+ }' ?* s# S' k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & L. r/ g* k; X( g  f; T
  34. User_name=User_name_on_the_MySQL-Server3 M% L& C7 a. d
  35. Password=Password_to_go_with_above_user_name
    6 O! q3 s: S% r& _, f& u. t
  36. GetDriverFunc=getSQLDriverMYSQL
    7 K/ G) G3 t% o% O" f8 z$ [+ ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( y. D! b! `9 p/ m: t% [5 J3 ?3 o
  38. LibraryName=path_to_libsqlmy_libary
      l) T$ d; d. R
  39. Active=1
    " m. I8 h0 w- i2 j+ n  H
  40. ---cut here---3 ~1 [, ~& O+ C; H8 E1 p+ \- |
  41. In my environment (a linux box with a MySQL server running locally) I have:  C1 O" }' t) k. p; h0 g$ G
  42. ---example---$ T: E4 H9 U* y" }
  43. [DBEXPRESS]
    7 y! |3 x& T& {# G
  44. sqldir=mysql_sql
    5 J" k3 u( V: P- R* [( @7 ]
  45. Drivername=mysql
    - a+ Y  r" e8 S% q
  46. Database=test
    # S5 x4 g" Q1 q1 B4 l& _
  47. Hostname=localhost
    ( p$ r$ ~2 _* @. v
  48. User_name=testuser
    6 F( Z; Z* q7 y. b* B- u) s$ M
  49. Password=my_password" l* _8 V1 ~$ ]8 N& l( V
  50. GetDriverFunc=getSQLDriverMYSQL5 ~1 [3 _5 \7 T9 p! T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 |; c$ Z7 g1 e) [$ U! k4 o. I. q
  52. LibraryName=./libsqlmy.so; O; H5 k' c  y  ~- z7 r  g2 d
  53. Active=1
    " c* C0 k" r; v; ~
  54. ---example---0 y( J  r" T' y: ^5 ~0 p9 I% M; e; z

  55. 2 l& `* ]/ F* O
  56. On a windows box, also running the MySQL server locally, it would be:
    / f7 G! P/ H; ~! M2 [4 S4 C; _  I5 p
  57. ---example---
    5 \' {$ Y' N( m& v) }) ]
  58. [DBEXPRESS]" i/ L8 w8 o- I
  59. sqldir=mysql_sql7 }) X3 U- A; V; \
  60. Drivername=mysql
    2 o$ {$ N0 J3 |0 c; Y7 u
  61. Database=test# C5 r  @+ T  p- `0 C7 W( t& U
  62. Hostname=127.0.0.1
    & R+ p. z# v8 |
  63. User_name=testuser+ }& M6 `4 [3 z, @/ _
  64. Password=my_password
    7 Y) X6 E/ W' X' \
  65. GetDriverFunc=getSQLDriverMYSQL
    $ F: \4 ~, O1 [3 o& w9 p
  66. VendorLib=libmysql.dll8 k! i) l) l' t0 F
  67. LibraryName=dbexpmysql.dll
    / b' b- X" f8 B- H9 S
  68. Active=1
    " `4 T$ ?/ Q' R& I% H& z
  69. ---example----
    ! z4 d6 M3 R2 w0 U& k
  70. - written 02.03.04 by pwk.linuxfan* d. S2 m* g8 n& y

  71. * T8 }5 l  _8 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看$ y# a, w9 |4 k) I' Y  T& Y

  1. 5 X/ c) V) R8 j0 ^8 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " f0 F8 a9 Z1 M+ J4 p
  3. 5 L* R/ w5 y5 W8 {
  4. # # #我们所需要# # # 4 T# Z) l7 F- L8 X3 n# `. K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : S' ~1 R7 l6 I: [7 `- T, k" y
  6. 不会解释如何做到这一点-也有文件存在,为! w# b" f( V3 e7 `  b# h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 a) I. _* R5 {% A2 F! ?$ C# c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + l, _$ @  n, _, P0 N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 ?+ K# [/ f; L, ~1 n/ a+ A, T
  10. 本地机器,这是我的MySQL安装。
    * p4 c3 P* a, B& F7 W( \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 z, D6 u9 v; p; Q: ]6 O3 N) ~" Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , l) Y+ z  \+ z; f% R5 n  F
  13. 数据库。 , X" `! w* ~3 r' b( p. D& K7 q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ d2 f& Q; F; a9 P! i0 p! w
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : _/ i2 @1 g3 [
  16. 在teamspeak论坛,如果你有兴趣。   s- Y, B& i. d9 t5 e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 e+ n1 b) @  U; I8 C- A& \
  18. Borland公司使用。这个司机只能界面与客户端库- F0 [' \2 _% n9 \" [& Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 K1 U6 W# R: x4 N$ o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 q2 c6 U5 i: X, d( Z
  21. " vendorlib " ,并解数据库连接。 6 e& h4 h, ~) |( u$ R) }" y/ @, `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 W- E0 X" k+ [: @( S: ?& \
  23. " E2 u( \6 ?$ ~  X
  24. # # #做好工作# # #
    5 _* |  S, T& _/ u% y( ^9 ~# O6 P8 q  E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * X/ u+ N& a# V3 m& B0 T! n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 v8 `' Q+ X0 B( |0 L$ h
  27. 结束:
    $ H% }( V/ X/ f
  28. ---削减这里---
    + s$ U/ ^4 k: L9 i
  29. [ dbexpress ]
    8 V7 l. T) `7 C* E. t9 K* n! k
  30. sqldir = mysql_sql ; m1 `! W4 f3 }/ R0 Y5 ?6 r% @! Q$ `' I
  31. drivername = MySQL中- W( K; M% m9 o. H; [; r3 ]
  32. 数据库= your_database_name_here
    ; [& k- I' W' M
  33. 主机= the_pc_the_mysql - server_is_on 7 B  B, O: L+ F- W8 I
  34. user_name = user_name_on_the_mysql服务器
    ( t4 j  W& E7 A" y+ |  y, ^
  35. 密码= password_to_go_with_above_user_name
    $ I5 Y9 ]0 s$ A( x- g, R
  36. getdriverfunc = getsqldrivermysql
    + M: M2 o( J; d. o# w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   R& d8 Z$ D$ C1 c+ o) ?$ Y
  38. libraryname = path_to_libsqlmy_libary
    $ [) f' d% f# Z0 Y- k0 j8 u
  39. 积极= 1 % N% K3 V1 g: {+ |" w
  40. ---削减这里--- ! C7 Z2 r( b1 {' j' ]. p" a: A0 x- O6 u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . O& S1 l. `) k- f6 R* Y
  42. ---例如---
    : ?6 q2 {5 `4 F4 l4 e
  43. [ dbexpress ]
    0 p. c$ X5 I8 @. H( t5 w
  44. sqldir = mysql_sql
    ' O' t# B# G; W
  45. drivername = MySQL中
    ; Z* X! ]! |3 M' Y# n
  46. 数据库=测试
    $ k) ^  v/ K; Y# `$ p3 S! i0 |: W
  47. 主机=本地主机
    $ e) w% L- p& d* w# s) V5 L7 e
  48. user_name = testuser 2 o  }* E' D8 y0 L. K' M
  49. 密码= my_password 8 y+ n6 D/ o: s/ b7 f
  50. getdriverfunc = getsqldrivermysql " Y8 ?2 g& c4 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 W  G1 j9 |7 N) f2 J1 {1 A6 Q
  52. libraryname =. / libsqlmy.so 3 G! B/ X3 X* h; L# H, e* f  @
  53. 积极= 1
      ]6 N1 F" N% U, F) V6 F
  54. ---例如---
    ; \& F5 j& q5 b3 e, J. G

  55. * \+ U0 b' l+ |0 b7 x2 c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - C% ~% K* m7 @3 R  P6 o) k2 d" c
  57. ---例如---
    7 K  o" Z5 L  Z3 _! `. R
  58. [ dbexpress ] & K  R* c- J- e( u: a
  59. sqldir = mysql_sql ! z* x4 ]  C! X% n
  60. drivername = MySQL中
    ) f  K1 G: l) z# t7 @7 R9 I& r; O! l
  61. 数据库=测试
    2 A5 h; c" ^9 Y$ R% H; c
  62. 主机= 127.0.0.1
    ; n% n5 l% F& b9 Z' O& G3 E/ ]
  63. user_name = testuser ! `" |) n+ M: p3 r9 g; h
  64. 密码= my_password + o1 a2 o5 K  B
  65. getdriverfunc = getsqldrivermysql ! `, o  o- q. X0 _) C) T4 [6 b
  66. vendorlib = libmysql.dll在  \$ z) N1 }* Z: T
  67. libraryname = dbexpmysql.dll
    6 q* e7 y6 d4 b; Y" L3 ^/ _/ _
  68. 积极= 1
    * s, ?& e  `3 v9 D: D1 d
  69. ---例如----
    4 ]( d( k' k5 \* F, H7 b) ]
  70. -写在0 2.03.04由p wk.linuxfan
    ' O& h" R7 e7 _. ~
复制代码
发表于 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
) m9 [& W! N5 x4 _. Q7 B! P' T, @3 i) l& Z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-5 13:26 , Processed in 0.088816 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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