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

3385 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( @; n9 O; V. c: t, ]3 t% h& s
/ j6 f+ ?7 i& `2 D; G" x9 f

  1. ' X, R4 L! P+ Z( f! I& G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 m' U- N% N- n! P

  3. 9 C% C2 j$ j5 {/ @5 K1 U- T
  4. ### What we need ###6 P$ Z4 T: I9 z* ?/ ?
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 L6 L$ a+ M" g8 @# K" @# j
  6. will not explain how this can be done - there are documents out there for the   B1 b8 o9 V; o2 `, m/ F0 n9 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use- m9 Q# A, P  h. u6 P( k: m4 P
  8. and a user account (username + password) that has the permissions to do stuff8 G* Z) h. m1 C; Z5 t" V
  9. with the database. Additionally, you will need a vendor library installed on the# c4 U) h* H9 C3 _& @2 k9 P
  10. local machine, this came with my MySQL install.
    ' E! {* n8 I3 U  Q! B" O
  11. These instructions will not tell you how you might transfer your data from the
    ) C+ ?) `: x) m1 H0 {2 h* v* Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# \+ J: y; L8 @- l; i  F
  13. database.8 T% |6 n- g) o- m1 s
  14. Some users have reported ways to import a SQLite database into MySQL, but at& ]7 P5 I3 \: t- Q: O3 R
  15. the time of writing, there are still too many issues - check the current status
    * G& j4 E  \; S
  16. in the TeamSpeak forums if you are interested.5 Y+ q: d  [' {& k1 Z( q- `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + R8 B' O6 M  @. J9 H% @% s# E
  18. Borland was used. This driver can only interface with the client library that
    1 ?2 ]" b0 i" Q* q8 i# g$ Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& l  a3 W/ C0 Z0 [
  20. client library - basically all you have to do is to use a 3.x client library as
    . c( N4 u+ g1 w! b. Y7 T( V
  21. "VendorLib" and a 4.x database to connect to.
    0 u$ f8 ^) d! u+ R- H- a- F
  22. If you need more info about dbExpress, you can contact Borland.4 i1 |! V9 |+ y7 @+ {, g
  23. ; K6 e1 q6 L; ]" z3 g! U* N) e& C
  24. ### Doing the work ###
    & s5 B5 m; m2 s5 o. R4 h* d' I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 A' A/ m- Q/ n3 c7 P. L; A# E
  26. the perquisites right, just open your server.ini file, and add this section at
    5 ?2 \3 ^  l! s/ L
  27. the end:
    5 ?+ K3 \( `% i3 [+ V
  28. ---cut here---
    . L* `) D% L  G8 [: D) r! U# D5 V) X
  29. [DBEXPRESS]
    / U2 i( v& B* @$ \3 i+ b; ~' G. k
  30. sqldir=mysql_sql
    , E8 C/ Y5 d# `: q
  31. Drivername=mysql
    7 i' p9 ?  i  p( M# m8 M8 ^
  32. Database=Your_Database_Name_Here9 B) ]0 Q2 D, D: Q1 T  Z
  33. Hostname=The_PC_the_MySQL-Server_is_on, I3 I' b! {1 D& R8 x8 }: u: F
  34. User_name=User_name_on_the_MySQL-Server
      B0 }- M" J. u; r8 _  w
  35. Password=Password_to_go_with_above_user_name8 d- ^# X# x& X& C7 W
  36. GetDriverFunc=getSQLDriverMYSQL
    ! l* o' J: c: ~3 ]/ b. R( k& `. P( T. g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 c' Q, |5 s$ P* ]! K$ E
  38. LibraryName=path_to_libsqlmy_libary- n# Y5 _: R" e
  39. Active=1
    - D% a3 c8 K, |$ Y' v* A
  40. ---cut here---
      W" `# Z4 E5 Z/ v
  41. In my environment (a linux box with a MySQL server running locally) I have:0 {% ~8 f  W7 s7 |& v3 T  ~
  42. ---example---  }' d4 k- ]1 p  z0 |
  43. [DBEXPRESS]
    % X0 d& V, z& `+ B' F7 ?
  44. sqldir=mysql_sql8 f) s2 o& i3 K+ W
  45. Drivername=mysql
    7 Q5 {; ?& d1 [- w+ F2 |: ]
  46. Database=test$ A: Y$ P5 Q, R- T, i& L
  47. Hostname=localhost& Z; V: K* I! w& ^5 T; {2 h
  48. User_name=testuser
    2 M$ o4 W0 _1 A+ R; {* O/ p
  49. Password=my_password
    9 d5 G3 p3 d2 G. J
  50. GetDriverFunc=getSQLDriverMYSQL
    - S$ [4 \* s  L  Y, J7 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 \, x1 e0 y4 f% n4 Y" E
  52. LibraryName=./libsqlmy.so! l2 L5 p2 i0 z5 W
  53. Active=1
    " {$ P) h, \- ?4 n  e
  54. ---example---% B" }. _" J/ c1 g1 a

  55. 5 R1 ^( @7 z' g5 E' }8 x
  56. On a windows box, also running the MySQL server locally, it would be:' v# x+ _7 Z# D3 T( Y
  57. ---example---
    - g% ~$ e7 B) N- G) @0 V( G
  58. [DBEXPRESS]
    : x- U' r( [* ?* j
  59. sqldir=mysql_sql- I4 b# e0 E3 A1 o. X) `
  60. Drivername=mysql
    8 R/ k* I9 `* C1 L3 u8 n! s+ ^  c
  61. Database=test
    9 U$ |( p0 R. Y- }7 T) r6 F
  62. Hostname=127.0.0.1
    2 ^% E" C& L2 K* P6 T' }: V$ D* T
  63. User_name=testuser
    & h; F4 d9 j  I3 Z8 F/ a2 s, X
  64. Password=my_password7 z9 d' |5 d/ z$ U# U( c
  65. GetDriverFunc=getSQLDriverMYSQL
    ' v( h4 K1 q$ q
  66. VendorLib=libmysql.dll  [/ N, e2 t/ s; i! v/ U, H3 P2 R
  67. LibraryName=dbexpmysql.dll, y$ D1 u2 Y' o0 S$ O
  68. Active=1
    5 d7 `- f$ o4 x+ s
  69. ---example----  I0 b' y" i1 |4 d! a
  70. - written 02.03.04 by pwk.linuxfan
      C; m4 v5 J8 r4 }) k& U

  71. ; t$ i% ?' G, r2 s/ z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
, P* w  k) ^: B3 T1 d

  1. & E$ c( L* M' P9 l  }- `1 I" l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 3 V+ w) E- H3 Z, a( h/ R: k* w6 c

  3. 7 O5 F8 u# ]3 ]& j$ Y2 I8 _
  4. # # #我们所需要# # # # V( O' U0 @4 A+ T8 u! v9 }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ W; W. y; y+ v) M& Q8 i6 |* ~
  6. 不会解释如何做到这一点-也有文件存在,为- g5 z+ O! E% T9 n" ^3 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ @8 U! o: M% N; e" \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' G/ i. e* B8 m/ M0 z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 g3 j$ Q% ?; C
  10. 本地机器,这是我的MySQL安装。 0 Y3 d, X# L% P+ }1 E# |, S+ z# n# s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( @) ^/ X8 H/ j  W- I8 H9 h. z# {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & k0 Q- g% k3 m4 m! b( n0 E& q
  13. 数据库。 # X5 _* }: p! B: L* _4 y* S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ F9 o% R' z( _- f! N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; I  S% t& _3 q
  16. 在teamspeak论坛,如果你有兴趣。 8 f3 ]; I) d' c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % |& w/ m8 N6 i- A
  18. Borland公司使用。这个司机只能界面与客户端库- n% ]  A# d( n! i- X" b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      ?! k* d8 c& o! |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% X3 z2 s5 }8 J9 z) F/ G3 |
  21. " vendorlib " ,并解数据库连接。 % l' g; d( b- S) P$ l
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( L0 M) f6 Z1 h" @9 w' c3 }
  23. % }6 y) e5 O+ z6 k
  24. # # #做好工作# # #
    * ]/ b+ ]( u% S1 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 ~$ O' J* `4 I" J- F6 A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! d' y& G9 i/ G% ~- v
  27. 结束:
    " f! @7 |* ~8 ~/ q
  28. ---削减这里---
    & t+ N6 n. ]) {+ T/ _% ]$ L
  29. [ dbexpress ] % i4 W( n4 `; F6 M+ k. Z
  30. sqldir = mysql_sql ! D$ g$ B7 D6 h3 I0 Y1 S- ~" n, p
  31. drivername = MySQL中
    ' W5 n9 ~- X! h- o0 w; d# H
  32. 数据库= your_database_name_here
    / y1 U' q' t. [
  33. 主机= the_pc_the_mysql - server_is_on
    2 n* t/ |2 P+ ~3 N% r! A
  34. user_name = user_name_on_the_mysql服务器! x7 K: w) q  O2 K" f# {
  35. 密码= password_to_go_with_above_user_name   y$ u5 X$ {0 \+ }9 T
  36. getdriverfunc = getsqldrivermysql 2 n# s, O- w& Y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * C0 S1 P3 `: \7 S% j
  38. libraryname = path_to_libsqlmy_libary 4 q; m7 N) v1 D- f7 J
  39. 积极= 1 + ?- T$ W* H" L
  40. ---削减这里--- % {+ x& B$ b- X! y* ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( H; |  b3 @- u5 M6 r4 O- P
  42. ---例如---
    4 U5 a' T9 F4 g: ]1 r* \
  43. [ dbexpress ]
    9 _, [) H: ^- A/ o* |8 g; O3 }
  44. sqldir = mysql_sql
    6 x$ Q6 v+ I; o9 d/ [
  45. drivername = MySQL中
    ( g! V3 p1 a1 T. }& |
  46. 数据库=测试! |( L# R( _' \* u( M: P9 V
  47. 主机=本地主机
    1 d, x0 j# ]% F( X# n9 e
  48. user_name = testuser
    " s) [# I9 d" q2 W# S3 ^+ v
  49. 密码= my_password 4 u  j/ e  f8 _
  50. getdriverfunc = getsqldrivermysql
    2 l! `1 ~( z) t# a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ H' ]+ V. u" n: |( I  R2 k
  52. libraryname =. / libsqlmy.so 7 e4 q' o& C7 o- q
  53. 积极= 1 , z4 [; a: D- A5 M1 w  {
  54. ---例如--- $ m2 }$ F& a+ G5 N$ }# Y

  55. 9 {. [0 a3 @, ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    7 |& O, q/ A, |2 N( c5 Q, h
  57. ---例如--- 3 S( ?% i7 Q+ j, I: b: f" F
  58. [ dbexpress ] 0 B' a* L' C/ T. M3 z
  59. sqldir = mysql_sql
    5 G9 x% w4 |" B
  60. drivername = MySQL中
    / ^- B, @/ |: m- d6 x: h; q& w
  61. 数据库=测试
    ; W- ?% V" V& G/ a& r; [7 ?
  62. 主机= 127.0.0.1
    : o6 v6 A7 \) Q: q% i, g3 ?; L0 J
  63. user_name = testuser . c) f5 ]) t/ |7 r
  64. 密码= my_password
    2 x: v7 a/ U  A
  65. getdriverfunc = getsqldrivermysql
    4 m! a& U+ z4 `6 t  h
  66. vendorlib = libmysql.dll在
    - s' V" B8 K: }7 l
  67. libraryname = dbexpmysql.dll
    " e* d5 |6 ~9 |; Z3 h0 m
  68. 积极= 1
    " a+ Y, v/ |) ^3 W3 D% ?
  69. ---例如---- & r& k& t) ]/ D4 D3 G: S3 p
  70. -写在0 2.03.04由p wk.linuxfan& q8 X4 a( V5 \3 K# Z! L
复制代码
发表于 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
6 m* M6 U: M+ \( {2 `0 ~* u  d# k9 d' |( Q% K+ Q
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-24 13:44 , Processed in 0.111779 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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