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

2542 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' z) |. Y; R6 {: w/ l7 [* D- b: w  r. J, ?% I+ }9 A/ H
  1. - B& T: q4 ^% n& V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 N7 y/ K& ^/ y/ ^2 b/ h3 N

  3. - h& @% P: D+ |. W, R: H
  4. ### What we need ###  B+ d5 C! {  Z# ?% U  B3 _
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 z+ j- S* d; ]
  6. will not explain how this can be done - there are documents out there for the
    ! Y$ \) F9 I  U4 |0 w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 c) B; Q3 w% r* a1 R# n
  8. and a user account (username + password) that has the permissions to do stuff) ~: h% a3 _' B9 K
  9. with the database. Additionally, you will need a vendor library installed on the
    * F6 f3 l) I% e
  10. local machine, this came with my MySQL install.( P6 }" M; b- P: G+ s: C
  11. These instructions will not tell you how you might transfer your data from the. t: w  e! S0 |' l  e# V4 c' N2 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: U7 y+ K% W- p8 q% w, F" b
  13. database.
    - I# T% ?1 \  z5 k$ C. W
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ r9 G- B0 y6 y4 u. b& v/ O
  15. the time of writing, there are still too many issues - check the current status
    4 L$ R- K9 n+ D, _7 s$ o3 I
  16. in the TeamSpeak forums if you are interested.
    2 ~0 u9 |6 A0 s, t8 b. A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ ?  Z: z+ ^* D0 h9 Q. J
  18. Borland was used. This driver can only interface with the client library that 5 I, s6 ?  N$ e  g# m" C
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; ^7 i( ]* s& H  G" l! w- Q& G
  20. client library - basically all you have to do is to use a 3.x client library as ; c& P1 r5 J! f3 K: u: R
  21. "VendorLib" and a 4.x database to connect to.1 }& E: C$ v1 ~1 H9 @
  22. If you need more info about dbExpress, you can contact Borland., P# n$ D1 J$ y) c: N. _9 Q

  23. 0 x9 v3 I3 s7 l9 `
  24. ### Doing the work ###7 r% ?6 m- g% e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- s* F# h# a6 @
  26. the perquisites right, just open your server.ini file, and add this section at
    0 t) s' e% v9 w" g$ ~! O
  27. the end:
    & D0 e) ?9 b- O! \
  28. ---cut here---3 B' v7 B% ?3 M& f: {  q1 T
  29. [DBEXPRESS]
    0 p& R4 ?+ g+ b
  30. sqldir=mysql_sql; G+ s1 e" N8 z" u9 h0 u! F, _
  31. Drivername=mysql' q+ C5 K/ F, A/ p- p/ Q& Q, l6 v
  32. Database=Your_Database_Name_Here0 }9 c( D6 e* x; T) [
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + X  o4 c( k% f3 S4 i
  34. User_name=User_name_on_the_MySQL-Server% M& X1 i( f& J- _& W4 r7 J
  35. Password=Password_to_go_with_above_user_name, {3 d6 U: F/ X3 l
  36. GetDriverFunc=getSQLDriverMYSQL
    5 H+ q$ `4 ]2 M- o# [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# A! S3 d$ j5 U  t- D! l) {7 _
  38. LibraryName=path_to_libsqlmy_libary7 \3 X' b) a2 Q# a
  39. Active=1
      b; O4 L  r8 R" ]1 o4 u' B
  40. ---cut here---/ k& n$ @6 k0 O0 N! M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / W: b+ B( r1 |4 M) U% k; w
  42. ---example---1 n, k4 D. w  e" t4 |/ ]
  43. [DBEXPRESS]; C$ U" C4 y9 j
  44. sqldir=mysql_sql
    3 t! @  V9 e& l- A+ _* j  r
  45. Drivername=mysql
    , y! \* O2 p. @" \* Q  M( v
  46. Database=test$ i: a9 z$ k% Q" |. K! K) U
  47. Hostname=localhost
    ! T4 {6 r( ^4 O  Q" J9 c$ `- O7 _
  48. User_name=testuser
    5 \$ D6 o# j7 p! n6 u" N' c
  49. Password=my_password8 q; Z* f+ n) m: Y4 ]$ V, l
  50. GetDriverFunc=getSQLDriverMYSQL% M/ E+ ~% P/ J+ ^# S3 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ w$ `; L( E% q5 q; o+ ~; @
  52. LibraryName=./libsqlmy.so( R, j9 }7 {% y8 k8 I
  53. Active=1
    $ F  Z2 r: `9 G9 \; b0 i. C" o
  54. ---example---0 [6 P, q6 |8 K5 X" B& N3 z, z

  55. & g% X2 E$ o+ _/ T, L/ G" S' l
  56. On a windows box, also running the MySQL server locally, it would be:2 `9 _$ h! C: R, F
  57. ---example---
    7 U, \* h- t9 ?5 a7 X  e; d0 f2 C6 X( b
  58. [DBEXPRESS], A1 L- _0 A2 V8 I7 D( N
  59. sqldir=mysql_sql
    ( F$ p9 a: r6 P# y0 E; V
  60. Drivername=mysql4 U* J( I& y. m% T: b1 Z) [
  61. Database=test  D" P0 v) W7 p: E1 v$ U# C' u
  62. Hostname=127.0.0.1* K) F! C  O; [; C: {$ k- Y
  63. User_name=testuser; }9 X" g% a3 t
  64. Password=my_password5 O4 B* {' k4 B  U
  65. GetDriverFunc=getSQLDriverMYSQL
    5 D. H2 _2 A; ^$ P6 {' m7 q, G  m4 m
  66. VendorLib=libmysql.dll
    : a1 k3 D$ k  g: t, n4 A; ?
  67. LibraryName=dbexpmysql.dll
    5 Y6 l7 O5 R# K) A' [4 \; e
  68. Active=1! @0 ]: }/ V- `
  69. ---example----
      C& ^# N( Q( v) b6 b
  70. - written 02.03.04 by pwk.linuxfan3 h( G$ i2 \9 N# X# c# ]/ F, z
  71. % q/ h) T5 N* D) g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 F- Z6 X" I. D7 e+ o* S& F$ X- D
  1. % j$ `( l3 a, i0 l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 `& y/ Z& ^+ c) \0 A; |$ H
  3.   q0 ?; [4 c  y  s) J6 ?
  4. # # #我们所需要# # #
    4 k; C# F6 Z% \1 J( a- X1 a. j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ a* Q# W/ r; X9 F( k% E, U* d8 Y
  6. 不会解释如何做到这一点-也有文件存在,为% K7 F' P8 p+ s* t0 h3 ^: P) h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , \9 z7 S9 E6 X, Y$ Q1 u5 [$ l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( A! D- b( v9 G4 W( Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 d2 r( d* g) C6 z  g2 `. e
  10. 本地机器,这是我的MySQL安装。 - q" w. W" v" Z$ V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      Q% Y" u, S  C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , u4 N8 n! ~" ]6 v
  13. 数据库。
    ' @. s8 }% O# t0 T5 F, Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, A0 X7 O! \- z( r, m
  15. 编写本报告的时候,仍然有太多的问题-检查现状  Y2 C) A1 D$ i; i
  16. 在teamspeak论坛,如果你有兴趣。 ) C% ?, u" A. p2 \0 k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 I7 ~: ~) N; l, n  z1 t4 ~: ~
  18. Borland公司使用。这个司机只能界面与客户端库- @$ P- p) X% b: X9 ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / h8 W3 i- H: ~  u; G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 V( I* U- V. W, M
  21. " vendorlib " ,并解数据库连接。
    5 @+ Z+ t$ U9 W. v( B& O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 i' j8 z# ?) p" c# v5 V: t3 l

  23. 0 Y/ t& ]. x3 T3 }
  24. # # #做好工作# # # 7 l7 ^, D; R- [( h# n4 q7 K% c
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. c) S* w4 i3 m; o9 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 J: m) J) r7 v! Z
  27. 结束: - j" y& v  j8 `/ l& f& S) i
  28. ---削减这里---
    # D- I! i& w. g5 O& a+ F
  29. [ dbexpress ] - n0 N1 m: h7 @7 {/ @
  30. sqldir = mysql_sql
    * q, B, o( E# Y7 d1 h, E8 [
  31. drivername = MySQL中
    0 y2 Z9 [7 L& Y3 T7 Q, c. `3 {
  32. 数据库= your_database_name_here
    8 o7 F  q: H1 Q) i+ x+ M
  33. 主机= the_pc_the_mysql - server_is_on
    7 ^! \4 {# a3 H- c7 W
  34. user_name = user_name_on_the_mysql服务器
    + A+ g0 H4 h& v
  35. 密码= password_to_go_with_above_user_name 0 z9 X7 l, n! r" @' u
  36. getdriverfunc = getsqldrivermysql 1 ~# W! O$ q; H7 h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) h( ]  I9 w* a: d7 \1 A
  38. libraryname = path_to_libsqlmy_libary 9 V4 v2 ]5 A1 i+ m" R. g4 Q
  39. 积极= 1 ! l4 _$ l9 k2 |1 P5 d
  40. ---削减这里---
    2 H8 j9 @; p& P0 M4 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * Y$ h' o" X+ U# Z
  42. ---例如--- ' V$ P: b1 E+ e8 w
  43. [ dbexpress ]
    3 ^' Z0 ^4 ?* Q% a" P) \/ j
  44. sqldir = mysql_sql
    , Q8 K  [  A( p: [8 w
  45. drivername = MySQL中0 b3 h5 N, s) }/ c8 [# x% C
  46. 数据库=测试
    9 {& ?3 h# p3 G& g
  47. 主机=本地主机
    + a9 @0 `, b; E, H/ K
  48. user_name = testuser / e" K/ C9 ^+ ^: `
  49. 密码= my_password 5 S% O+ I( u' E& X
  50. getdriverfunc = getsqldrivermysql * C( {" F/ E0 J: u8 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - q) X' t+ ~$ b. _' p8 j  d  t
  52. libraryname =. / libsqlmy.so 1 T! {4 P. z: j' v
  53. 积极= 1
    ' g3 I# Q: |2 O5 a) V
  54. ---例如---
    4 s9 x0 ]2 t& b1 n: _& {

  55. 9 L# ?1 F# A- S8 j& R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & K/ ~; s- O8 {+ q3 |4 f& V" a
  57. ---例如--- - w* @. ]0 q" |$ ^& y# ^
  58. [ dbexpress ]   j& n) m: }. _. n0 O
  59. sqldir = mysql_sql . y. _0 {! s5 C7 e
  60. drivername = MySQL中6 k) f( V) m: z6 i
  61. 数据库=测试
      }8 }; q. D* u
  62. 主机= 127.0.0.1
    + M2 B8 {3 p; R% h1 Q3 V8 i3 J
  63. user_name = testuser
    " y! u4 M& `# z  ]0 S7 C
  64. 密码= my_password 8 s$ }( T' {! L3 v& U9 N
  65. getdriverfunc = getsqldrivermysql 2 x8 F4 G7 v$ @5 T
  66. vendorlib = libmysql.dll在
    6 x; b' R/ Y2 u2 L
  67. libraryname = dbexpmysql.dll 7 n  H: c) O' t, s+ q2 U
  68. 积极= 1 2 B: o" J4 z  w1 ?3 e! G1 N  C1 C7 b3 P
  69. ---例如----
    # Z6 B# T9 k% [7 E0 N8 i3 B
  70. -写在0 2.03.04由p wk.linuxfan' c' f& ^( W6 C+ Q. G0 L8 J
复制代码
发表于 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
" ]2 Q6 r& x* H" b
% V$ z" k4 F6 V% d4 pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-22 12:39 , Processed in 0.122041 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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