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

3114 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ A1 L( @% o; T4 W: |7 Z* Q
$ j* l2 ~3 w6 C1 J3 ?' J" K
  1. - {  p6 D, I. k2 `0 Z( @. }# P  x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) j) D" K8 n9 w/ V. e" P
  3. : c# Q/ W6 \( b7 D6 h6 Z% v
  4. ### What we need ###! w9 t5 t- {# Z8 o/ B9 t$ V
  5. Naturally, we will need a MySQL server to store the data for us, this document $ c* N1 j/ p1 [* A- M% s
  6. will not explain how this can be done - there are documents out there for the , X4 B- I4 ?. \/ M3 l! ]3 U- q; V
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * S4 b* {2 K( o4 }& A* E- z' h9 a* l
  8. and a user account (username + password) that has the permissions to do stuff
    + V' }6 p. h  }0 k) z3 D- a
  9. with the database. Additionally, you will need a vendor library installed on the$ U- i: `7 D1 G4 W, @( s
  10. local machine, this came with my MySQL install.# S8 F/ X7 `2 i% Y4 z( R
  11. These instructions will not tell you how you might transfer your data from the
    : R# }2 T* F7 `+ b: X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - i, m$ H) q8 m( s
  13. database.
    3 D+ ], Z: ~$ {, D7 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - N, r( F1 N( _% }0 D
  15. the time of writing, there are still too many issues - check the current status
    . l5 u& {5 i8 n1 L% D" |, s6 y
  16. in the TeamSpeak forums if you are interested.
    6 i9 }1 l. m% i' p: t0 l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( `8 `; I0 G+ U0 m1 d
  18. Borland was used. This driver can only interface with the client library that ( s' h2 K) @, w; y$ o4 b2 y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 G3 l" o$ H& {) C
  20. client library - basically all you have to do is to use a 3.x client library as
    5 `, ]# x+ u. |+ ~
  21. "VendorLib" and a 4.x database to connect to.2 g8 P) `/ M! n/ W: X
  22. If you need more info about dbExpress, you can contact Borland.1 E: }4 M5 W& ~" n  E# }: T

  23. ( Y  I* Q; p, B: K$ T7 N( }
  24. ### Doing the work ###! Q, Q7 M* k6 P) W4 I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  m2 z; ]. R. _4 e* i, v
  26. the perquisites right, just open your server.ini file, and add this section at6 \% \0 Q; N7 |
  27. the end:- I4 ^% _1 _& x; c1 E$ r
  28. ---cut here---
    + ~; Q% @# s2 r  o' f3 h' ?& D
  29. [DBEXPRESS]
    ; J# D# Z! R2 v  Z2 ]) g8 s: t) h0 j  {
  30. sqldir=mysql_sql
    9 C# W  S8 X8 n, E: U# \) B" t0 z; k4 _
  31. Drivername=mysql8 P; H; H4 G. y8 |+ J. v
  32. Database=Your_Database_Name_Here
    0 ~1 b1 w  d3 E6 I
  33. Hostname=The_PC_the_MySQL-Server_is_on; Q, h+ O- y* e) b$ o, y: e
  34. User_name=User_name_on_the_MySQL-Server9 U4 R2 j; n- Y2 y% \( C. S
  35. Password=Password_to_go_with_above_user_name# r3 ?, K9 S+ ^+ v' h( w
  36. GetDriverFunc=getSQLDriverMYSQL
    / e# o$ }, U; H5 S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib) p( v4 E* G& q5 s$ s! V( L3 i
  38. LibraryName=path_to_libsqlmy_libary
    ; z' s9 ]# E, I0 j# n1 L0 H- \
  39. Active=1
    5 ]2 s. }  m' g
  40. ---cut here---
      \* F6 D3 N7 c3 P
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % {% [) y' f7 o& U! l, _7 r
  42. ---example---
    . q1 O7 s) z* _. o4 }3 b
  43. [DBEXPRESS]
    6 }0 E5 y, _" C+ B/ V# d
  44. sqldir=mysql_sql  i4 Y# h( m# h6 x! L
  45. Drivername=mysql7 \; X+ t& n3 Q
  46. Database=test- O+ r1 L& g* }* D5 x- V2 h
  47. Hostname=localhost
    ' Y& i4 ?& h! t' J% e5 j
  48. User_name=testuser
    : W  q8 p% w, C) f: T
  49. Password=my_password
    ( m# F+ s2 @$ A5 v5 a
  50. GetDriverFunc=getSQLDriverMYSQL
    & U% C! C, w9 X! C! f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% V1 b: N& ]  F& t; L& k  }
  52. LibraryName=./libsqlmy.so
    4 y3 `  g3 p2 J( a- t# P/ K* D) z2 O
  53. Active=1
    / O, B) O8 _1 i, b
  54. ---example---; A% a; D# K7 G
  55. ' t% g9 u+ H' ^3 X; U! V
  56. On a windows box, also running the MySQL server locally, it would be:
    & p4 L) A2 s! H
  57. ---example---
    9 ?5 h( V7 z' m1 b1 I
  58. [DBEXPRESS]$ G: ]: P% R, \: q; j, g! f6 Z1 D
  59. sqldir=mysql_sql4 y, b, B- f, Z7 M4 G9 h) ^
  60. Drivername=mysql. w* n7 ?: x" f1 G4 c
  61. Database=test
    ( {& K9 b0 G' G
  62. Hostname=127.0.0.1
    2 M( v9 Y9 m' L2 s; y* I  W
  63. User_name=testuser
    ( e6 P! |2 `  G$ q9 F/ H( U- ]
  64. Password=my_password+ k' f; ]4 E/ o: J' _
  65. GetDriverFunc=getSQLDriverMYSQL
    / E; u( {3 {2 }6 b, e+ H9 B: O* j
  66. VendorLib=libmysql.dll( g9 c4 {1 X, u) h3 m' _% @
  67. LibraryName=dbexpmysql.dll
    * n1 n1 \6 Y2 [% f& U4 _% a, X
  68. Active=1
    1 C( N4 e9 m& j; C0 ]
  69. ---example----
    9 a- Z9 L$ M& z( |# D
  70. - written 02.03.04 by pwk.linuxfan
    ' b9 A  v: t0 n
  71. , ]6 O# {2 s2 i4 u! n8 e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 w! u1 `; ?+ O

  1. 9 ?! D2 o7 M$ [- G# U" }& l) V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 w; h# C! r3 s0 m
  3. - h6 ]4 k( D( U2 P: n6 S
  4. # # #我们所需要# # #
    $ ?, I" Y) z' }5 h( ~- r6 r! [$ g, z) _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ T& `6 [% b# H+ A/ A6 ^
  6. 不会解释如何做到这一点-也有文件存在,为6 O, @: X. `& \- p8 F2 F/ z3 q! h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 y! ]' F. j7 Y5 U: Z7 T2 G8 r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - f; R' z7 @; A9 u% p, n
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * x% x! D; f7 }& D
  10. 本地机器,这是我的MySQL安装。
    , Q6 x' m8 U! u) a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) n0 \$ f* g7 l  j; r2 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * a. {/ J- }. Z/ ]! Q' d: w, C
  13. 数据库。 , R0 v* f  C: x' w9 s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' I/ P' \( P0 O+ w6 a7 u% ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 h' k0 A1 |2 }: |, @& g
  16. 在teamspeak论坛,如果你有兴趣。
    & E9 F* y5 i4 u7 D5 Z; A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 M# ?, _' i# d3 K  z1 _
  18. Borland公司使用。这个司机只能界面与客户端库7 _# ~5 L5 ?8 u" N* A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  k/ e- j& j; ~9 U' \% ?% r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) A0 L* [5 [* l
  21. " vendorlib " ,并解数据库连接。
    0 E1 ^' s" n  l# m6 u; Z$ L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 K" [! E& h' D' |

  23. 0 O; U1 }  h/ x8 P- e
  24. # # #做好工作# # #
    1 Y: m/ H8 t% k3 l. b, H( f' I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- \2 N) Q( h/ D( {- C% ?* C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; _/ K* K) A" s
  27. 结束: 9 [" k, O6 G6 v5 m+ Q- J# k+ b7 T
  28. ---削减这里--- + P* u9 g+ l  q4 L/ }
  29. [ dbexpress ] : Z: r' N$ ~# C& {6 h
  30. sqldir = mysql_sql " r% A  T% O1 k$ K  N& Z
  31. drivername = MySQL中
    9 u7 Q! p$ H7 l$ f0 c
  32. 数据库= your_database_name_here
    0 E0 L/ T( e: U
  33. 主机= the_pc_the_mysql - server_is_on ' B' z1 i" ?  w" ~% I
  34. user_name = user_name_on_the_mysql服务器
    7 y' ?2 B" p$ X" z, g
  35. 密码= password_to_go_with_above_user_name , D8 x+ U" T. g/ |7 C2 Q# p# k
  36. getdriverfunc = getsqldrivermysql
    1 J- B4 C1 M% X- |) j! j' @* \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * I- x  Y6 {' b7 O
  38. libraryname = path_to_libsqlmy_libary " V- m7 i# X( [* r) N6 n# o
  39. 积极= 1
    0 b% I' Z0 _4 W' i! O
  40. ---削减这里---
    9 W$ Q2 G/ W/ B' d" r) Z3 X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:   C- Y( ]( d* v! ^8 ^# F) E
  42. ---例如--- . D4 S% k3 y# Z1 q/ e8 i- S
  43. [ dbexpress ]
    3 X6 J# }& q7 b$ E9 a
  44. sqldir = mysql_sql
    5 J; O2 }/ L5 |! e! C. M
  45. drivername = MySQL中$ j% S/ v3 y" |! U
  46. 数据库=测试8 |* F( ?5 g$ D: p% g$ H
  47. 主机=本地主机( a  G9 J0 m) N: `+ X  T
  48. user_name = testuser 0 X5 [; s3 f- _. L: C
  49. 密码= my_password 8 ~8 j: ]0 A! B( {$ n' m" `' k
  50. getdriverfunc = getsqldrivermysql
    + G& Q; C  W3 r# k% U  ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 \" n, t% N& V8 ~/ s+ s, W
  52. libraryname =. / libsqlmy.so $ t, o& @' K7 x* _8 Y  U3 `( P7 m
  53. 积极= 1
    % Y: |  ?7 I2 ~: `3 U7 Q
  54. ---例如---
    # J- `* e+ R$ c2 |. ]
  55. 1 G7 @: E- i" n& j  `2 Q, `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . M; l1 }. I$ Q( {. o
  57. ---例如--- $ ~; D0 u) Q" Z. C/ q" Y
  58. [ dbexpress ] 8 {; [4 H: z8 n! r, a4 d2 g( }' d2 C
  59. sqldir = mysql_sql
    + r. Z/ C* h6 B" T* d
  60. drivername = MySQL中
    ( `0 p8 V% ^* n. Q; J
  61. 数据库=测试7 P) k: x6 }2 H3 `1 ^
  62. 主机= 127.0.0.1 + r1 v, D. T2 @3 s8 i% h0 W3 r
  63. user_name = testuser : L$ L$ F( M3 G! ?2 a6 M$ H/ H: W
  64. 密码= my_password + \  |* l6 J0 M
  65. getdriverfunc = getsqldrivermysql
    ) _& c2 M+ v8 M  z
  66. vendorlib = libmysql.dll在' m( b0 R! k0 s. m" H& T& g% _
  67. libraryname = dbexpmysql.dll
    3 B1 w  t/ B2 ^! [  K$ o  Y
  68. 积极= 1 . y8 m! |, X1 z4 z
  69. ---例如---- 5 `, P7 T4 I4 _. o+ J. S4 j& D- {
  70. -写在0 2.03.04由p wk.linuxfan: W0 t6 ]  m: L- v7 }- \
复制代码
发表于 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
( @) I1 g, t- S& }6 s1 x8 I
6 H6 {/ N+ H8 j, F( lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-4 18:02 , Processed in 0.116139 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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