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

3598 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 A+ b. m, w) E6 g8 v4 a* H* q

1 Y0 e1 J& |3 S4 T

  1.   h6 w. I" k) q" |- G( ]6 A5 U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . c) ]7 `5 U# _* U2 d- W  R: R
  3. . ?0 K9 `9 n0 x( G
  4. ### What we need ###
    2 @: Z- B; Z1 s  s' \8 W; O) F# Q( J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 A5 U( U9 p8 d0 e4 j. D" t
  6. will not explain how this can be done - there are documents out there for the   K5 ^* a9 h5 L5 U4 A
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ @2 [9 D6 \& R3 y- ^
  8. and a user account (username + password) that has the permissions to do stuff' `" j) J5 d; |6 {# n7 C+ Z7 Q; k
  9. with the database. Additionally, you will need a vendor library installed on the
    - d& i3 M6 O) a  M$ Z
  10. local machine, this came with my MySQL install.3 N5 K" s0 a1 Q% y
  11. These instructions will not tell you how you might transfer your data from the
    2 }  }# M1 E. o7 V# Y5 ^  r5 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 B: @/ {2 J# }! @8 e
  13. database.
    $ i7 U4 f3 D+ J0 E% y+ t
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 Y, n2 Y# V" f0 [
  15. the time of writing, there are still too many issues - check the current status, G8 r2 q3 ?$ Z* h/ K5 M
  16. in the TeamSpeak forums if you are interested.! A5 u& f1 W* x; ]8 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 p4 t2 p/ P9 O- I- D' a% Z* y$ S
  18. Borland was used. This driver can only interface with the client library that
    + L# }! U6 N8 H7 _  X6 ]
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 g2 b) \" k( Q) C. Q, H
  20. client library - basically all you have to do is to use a 3.x client library as
    # n3 |  a: o% P/ k* P
  21. "VendorLib" and a 4.x database to connect to.
    ( V7 q4 L) b" W$ Q, N: F0 K5 \$ E
  22. If you need more info about dbExpress, you can contact Borland.
      \5 N! a( P* K: _

  23. & h, F+ x& s' _( B6 ]8 t
  24. ### Doing the work ###  r2 N( P2 K" X: p
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- Q0 N4 V' l, S" ?6 j
  26. the perquisites right, just open your server.ini file, and add this section at
    , [% Y, |. T" h( v
  27. the end:
    4 S- F! e/ K3 [7 a
  28. ---cut here---
    / }" S5 m& {7 ]; e! x& ~5 L
  29. [DBEXPRESS]
    9 [/ v. p) u4 `8 t) Y1 }% }! L
  30. sqldir=mysql_sql
    6 e4 i1 ?- V. ~: B! n5 Y
  31. Drivername=mysql" C5 {% ]6 q) A! e- Y% q) m# ]$ G% ?6 K
  32. Database=Your_Database_Name_Here" m+ L( p; a$ h* r3 N. B
  33. Hostname=The_PC_the_MySQL-Server_is_on: e* z3 }* w' m3 S3 D: h
  34. User_name=User_name_on_the_MySQL-Server1 B/ P/ o0 M2 h0 z( ?: B
  35. Password=Password_to_go_with_above_user_name# F# x8 R% Q2 L3 {
  36. GetDriverFunc=getSQLDriverMYSQL4 H; I0 Q+ C5 ]' m5 e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  f1 C1 o, M( I. N7 p# G  ^
  38. LibraryName=path_to_libsqlmy_libary
    4 B- ~9 z$ T: b
  39. Active=1
    & b# s; N  G2 k, [
  40. ---cut here---* f) v5 B; Y9 P- I! d
  41. In my environment (a linux box with a MySQL server running locally) I have:( h$ b4 |# @. W9 Q2 z% B
  42. ---example---
    9 K/ [5 v. E, w5 a" \  L
  43. [DBEXPRESS]* R* Y) o6 |. i' L: Z8 p
  44. sqldir=mysql_sql8 C9 S8 y* P" e5 ~
  45. Drivername=mysql
    & y5 d/ P: L) b7 M8 o" E! ~4 @
  46. Database=test: I& g' _+ z1 Z8 }* }8 R# x
  47. Hostname=localhost
      [9 V+ h. ]: A# j! W# _0 Z: K
  48. User_name=testuser3 V; R& T/ @% }
  49. Password=my_password
    * s! D# |/ k( {+ ^; C3 N& r
  50. GetDriverFunc=getSQLDriverMYSQL4 ~1 N7 V$ S. o; h2 d! F8 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ c. U1 c7 F$ c1 s' e
  52. LibraryName=./libsqlmy.so
    / c5 S% _' m4 _- |
  53. Active=18 T/ a9 X% K$ t% z
  54. ---example---* l, B1 |( e; U1 {/ e! m# w1 a

  55. . S. w0 d5 M9 V& k
  56. On a windows box, also running the MySQL server locally, it would be:; s% y7 K5 |5 n. u) D* ~) Q
  57. ---example---
    4 |' E8 e) U# r& e6 a3 S
  58. [DBEXPRESS]
    3 l( M- ?$ }7 b  J
  59. sqldir=mysql_sql4 o: o1 s; D$ ~0 A% D8 X* I
  60. Drivername=mysql5 S# }& i  f0 }! q& c2 _. R1 a
  61. Database=test) _0 p/ O* J' P. Q* @# ?$ a
  62. Hostname=127.0.0.1
    3 s& Q: ~! U& S
  63. User_name=testuser
    , o6 w; f6 S; d  w; V
  64. Password=my_password# W# n! U6 d# m$ r1 c
  65. GetDriverFunc=getSQLDriverMYSQL6 \9 e# k; @  o/ ?, K2 J' S9 n! L
  66. VendorLib=libmysql.dll
    5 n  @( q: i/ A6 `4 X4 b# ]
  67. LibraryName=dbexpmysql.dll. L7 H9 K6 e& ~  a) K6 C& h
  68. Active=1
    / F2 T) U+ p5 X
  69. ---example----
    4 M: o& P  m; ^) |* N. P' W
  70. - written 02.03.04 by pwk.linuxfan
    & T2 J0 S- o6 E7 Q" r' `

  71. " C' s* [$ o. Z1 T* b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 y. `; x( f4 J1 U2 K8 S& D
  1. ! ^0 `7 m1 y1 o% X9 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 o. X$ l5 Y6 M5 s* j: q. p
  3. 5 T6 E9 Q% d! ?
  4. # # #我们所需要# # # , x! |! I+ M- L4 y- T% ]3 R4 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . @9 ~  T5 {/ {! X) g3 c
  6. 不会解释如何做到这一点-也有文件存在,为
    1 [- m) [4 f: I' z2 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用* Q. K* d- b( O) Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & }0 g. G5 a. n2 b; {% [
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ g7 T: m% r4 Z9 c  x% h1 z) l( R
  10. 本地机器,这是我的MySQL安装。 6 O4 K9 x( o9 U6 Z' P% c; H& N0 ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% y9 f, z4 _2 C/ ~6 A9 |3 \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & S: [3 I6 X: B, z7 s; Y* f  g
  13. 数据库。 * V7 d' \, `! t" Z4 c& p$ g  `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " u. ~3 Q5 a2 y) m  i
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 Y* z  C6 M4 V5 ^! p2 S" b- S
  16. 在teamspeak论坛,如果你有兴趣。 : S+ O! j) `5 m: X  d$ U
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) x1 F, P, C2 `# Q( v
  18. Borland公司使用。这个司机只能界面与客户端库
    - U; v% I- C6 b3 ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" K- a* Q4 @5 u9 q# J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * w( m  ^6 h' G9 S8 E& @* V' j
  21. " vendorlib " ,并解数据库连接。 & L" L. `0 d. N: O+ h/ {5 `& u+ \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # G7 H" j! E6 H; v! H! ]
  23. $ ~$ a6 c" @& W7 A: L* t3 E
  24. # # #做好工作# # # # o% ], Y" I+ z: c3 V( g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / s/ s4 s- ?5 q. z$ C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % R5 `' ?0 T. z- b! Z6 }
  27. 结束:
    , z: L% |7 @% z6 a. t( I: Q
  28. ---削减这里--- - w% H* }/ A2 |) B- _
  29. [ dbexpress ] . \5 u' }$ l* B  j3 ]- V
  30. sqldir = mysql_sql
    ; D: e5 ^/ e4 J1 x2 p8 ^
  31. drivername = MySQL中# A1 \4 Q- c( o/ r7 W
  32. 数据库= your_database_name_here 2 i3 E; \# i, Q1 c* b% L
  33. 主机= the_pc_the_mysql - server_is_on ' Z( Z: t, \0 q0 h9 t% L1 v' r
  34. user_name = user_name_on_the_mysql服务器* _& o, y! r  q3 x* i
  35. 密码= password_to_go_with_above_user_name & O$ Z/ a/ k/ {( E; ?  @; F. f
  36. getdriverfunc = getsqldrivermysql ! Q& {% t5 v; U2 K3 O* T  h8 C, y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 H4 W1 N% x+ E- d+ f- e0 N6 l8 W
  38. libraryname = path_to_libsqlmy_libary
    ' T8 ^& [7 M5 s* t
  39. 积极= 1
    3 ~  t0 H3 ]( I6 P: I( V2 z3 ]+ E
  40. ---削减这里---
    # e; a# ]- N8 j; Z. p% C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . [4 e! _& m5 D1 ?
  42. ---例如--- 4 @$ X+ s- N& f
  43. [ dbexpress ]
    3 V! L1 `" }0 u1 A! u) y; k' o
  44. sqldir = mysql_sql
    6 f' T  B' e. M
  45. drivername = MySQL中# L. Z8 X0 R& L) J% g' [! T
  46. 数据库=测试
    7 Q6 b* u- b  t6 e$ J
  47. 主机=本地主机
    . t9 v6 M  p" }; H% Q7 c" b
  48. user_name = testuser 0 I- [, Z) l5 M: A6 G4 ?3 k- _
  49. 密码= my_password
    % x5 _2 a6 ~* O5 e1 A8 ]
  50. getdriverfunc = getsqldrivermysql
    , @2 I- I$ R8 D
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + B0 r+ I. f+ c- r3 P) n; h
  52. libraryname =. / libsqlmy.so
    % q) s- f1 i2 g
  53. 积极= 1
    * h4 Z0 L2 Q% t; O* w& j
  54. ---例如--- 1 `8 Z) R  P5 j; s( @: g1 P  E
  55. % N# g& u6 k$ O+ O; N# |4 D% v7 U; Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: / R' a# X  Q' i
  57. ---例如--- ) X6 C3 l: G  s  x+ s+ w
  58. [ dbexpress ] $ \: j: ]% K$ o  p( \& k2 @
  59. sqldir = mysql_sql 6 W3 w" K3 E0 }" R4 W! W) B
  60. drivername = MySQL中
    : \' M5 L2 K+ o+ a5 C+ M
  61. 数据库=测试
    / Q8 P* z# Y/ Z- b$ ]- q* ~
  62. 主机= 127.0.0.1 0 b6 I0 P+ c  ~7 Q% W; p
  63. user_name = testuser % q* i+ O0 H( |1 r: R5 @
  64. 密码= my_password / m3 g% w' f$ c
  65. getdriverfunc = getsqldrivermysql , }& n. B3 y# o$ t8 v4 ^+ o* I
  66. vendorlib = libmysql.dll在% ?; H; T7 w; b6 U6 p
  67. libraryname = dbexpmysql.dll - j, P( N$ i; |0 W4 i
  68. 积极= 1
    2 a$ a* Y5 U9 j9 c( K
  69. ---例如----
    3 |0 K3 x5 k) i8 ^2 G. O9 o
  70. -写在0 2.03.04由p wk.linuxfan2 D6 N3 `# A6 {. q
复制代码
发表于 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
; I' g2 ~) r# v$ q& ~% M: B& i) X8 ~8 l0 D/ f- Q; P
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-1 11:11 , Processed in 0.071424 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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