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

2289 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   x2 z7 z) d' y$ R1 P$ |, M- I8 d& d

& a( U; t4 f; i+ K2 ~2 x3 M
  1. + v' p5 C. p; q+ e- x; K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : h/ A; v! D9 K4 J5 C0 b6 {1 l1 z
  3. 1 ?6 M. Q5 N8 c0 ^8 J7 T4 L
  4. ### What we need ###
    : i3 |6 {: Q6 H" j9 a7 g1 @  p
  5. Naturally, we will need a MySQL server to store the data for us, this document
      `5 v& M. O% o8 u  V3 A
  6. will not explain how this can be done - there are documents out there for the . n1 D' |- J4 S1 X. \
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( s/ D* i! t* t3 Q9 [
  8. and a user account (username + password) that has the permissions to do stuff& a9 p( O2 g. k: N9 |2 z
  9. with the database. Additionally, you will need a vendor library installed on the1 U$ t2 h+ d% ^) Z, ?' h
  10. local machine, this came with my MySQL install.
    ; z. p* c  f$ E2 c
  11. These instructions will not tell you how you might transfer your data from the
    ! \( O  T, A: c1 J4 I# D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " Z2 L! K0 B0 j7 \# q4 f$ g
  13. database.
    $ |9 e' j3 x3 b& n+ G$ H
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 O) o& C- Q) P
  15. the time of writing, there are still too many issues - check the current status; |: |) w3 S! i* r! _5 F
  16. in the TeamSpeak forums if you are interested.9 H' t% j3 y) c$ L, c/ a* e4 `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from# _0 V! J/ _0 P0 ^* k! H
  18. Borland was used. This driver can only interface with the client library that
    1 [0 l$ W" m, X- u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : X6 v7 i) G( z+ O
  20. client library - basically all you have to do is to use a 3.x client library as
    " V( l0 g! l, d  d' ?* c: r
  21. "VendorLib" and a 4.x database to connect to." C  |9 \& y, v2 M+ ^3 ]
  22. If you need more info about dbExpress, you can contact Borland.1 x* T. \9 \( Q) h6 p
  23. " j6 w! a# y: i7 H( {1 Y7 i
  24. ### Doing the work ###* w  Z* g2 P& R. a5 i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  H3 `& |7 x3 b: o/ K( e
  26. the perquisites right, just open your server.ini file, and add this section at1 ~6 ?: h) o/ P9 K7 @4 G* [
  27. the end:
    2 v2 z% ?& ]7 u" A
  28. ---cut here---2 K* u* I+ `) x6 _6 v( x& P
  29. [DBEXPRESS]$ G3 ?4 N7 r% O% D
  30. sqldir=mysql_sql
    * o$ k% o* H# o' A% x7 }
  31. Drivername=mysql
    # X8 f* t( C$ B- W, A$ v1 m0 p
  32. Database=Your_Database_Name_Here: i, c# G7 Z5 }+ L7 H) Q3 U% U. m9 }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ) V* k# Q, z- b- c/ v2 j1 R# @# t
  34. User_name=User_name_on_the_MySQL-Server
    : X% i3 T4 r. R
  35. Password=Password_to_go_with_above_user_name
    8 i9 T( U# ]4 E6 X& q2 j
  36. GetDriverFunc=getSQLDriverMYSQL3 x  _7 W3 N$ `! u
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 I9 y# l% I( E1 b
  38. LibraryName=path_to_libsqlmy_libary
    # z- W+ ?, h0 d. n+ Y6 O6 [0 ]
  39. Active=1
    ' }& N" }1 O" z' ^& [4 e
  40. ---cut here---0 n, q5 N2 d7 d3 R
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 k3 n  K3 t( L* ]3 {
  42. ---example---2 C( w+ z$ a  l7 {$ a# }; Q% p
  43. [DBEXPRESS]1 m: E! z2 J" Z/ P  Q: t
  44. sqldir=mysql_sql
    8 }9 m6 l7 O) u! }# `: H
  45. Drivername=mysql
    9 A1 v; D% V$ F+ J9 @' c9 Y2 ~" f
  46. Database=test0 H' f: B  \% r! k/ U# ?
  47. Hostname=localhost$ G9 ]" y+ t% k, E
  48. User_name=testuser
    7 U: J8 g. N5 [; S
  49. Password=my_password, X! o$ s3 j$ U0 G1 q7 V
  50. GetDriverFunc=getSQLDriverMYSQL
    0 B$ {- B4 N! R3 ]' S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. B' n( K/ W- c
  52. LibraryName=./libsqlmy.so% n4 C: N; L+ M) Q7 @: n
  53. Active=11 g4 }. D6 H9 p- u
  54. ---example---+ h' q7 j) _1 G! d5 h

  55. ! e) r+ I( Z: G9 m% s; c" r9 q
  56. On a windows box, also running the MySQL server locally, it would be:
    3 B; ^" ^4 h0 ^  c; h7 O1 n
  57. ---example---3 z) i, j5 y0 J( a
  58. [DBEXPRESS]
    $ R7 c9 K" m) Y: K
  59. sqldir=mysql_sql
    ( \" A5 H1 R$ C% k4 Q
  60. Drivername=mysql$ g6 K1 h) P5 Q: i2 \: V) ]' e5 i2 e
  61. Database=test3 I9 N! W* |: y% g0 t# C# b! W5 \
  62. Hostname=127.0.0.1( Q9 m* C2 W; G- `# q2 n
  63. User_name=testuser
    9 h) E7 Q1 Q; h
  64. Password=my_password
    . ^- @9 l8 R* ]; V' I0 O  d1 B
  65. GetDriverFunc=getSQLDriverMYSQL
    * l; K4 P- I1 u3 K: v4 g
  66. VendorLib=libmysql.dll( ?7 u' v0 F, g2 W- ]7 n
  67. LibraryName=dbexpmysql.dll# l# A- R, k" s: D" Q
  68. Active=1) f$ P1 _& v# A: X& w: Z
  69. ---example----
    ' s/ X7 A2 n1 e) s0 |. g
  70. - written 02.03.04 by pwk.linuxfan9 U7 A7 {, p8 U
  71. , G& j: A9 ]8 l: W5 s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看- v; V6 n) {( x. n2 F9 C

  1. # Y' e! k+ [% @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 l* V( U  R" R- V9 B0 p/ ]! `
  3. # @2 d3 Q2 R0 i$ J5 T9 C+ g
  4. # # #我们所需要# # # 8 V& _' T9 k7 r- z+ H) j+ A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ R: T, w; |" M  W- \3 i9 o% g
  6. 不会解释如何做到这一点-也有文件存在,为
    ( O1 o5 R) j: j& s! [5 @' c" J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - P: H/ Y4 F0 |" P2 T; C  b3 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 P. @  X/ C/ |2 E/ r$ q( u- t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% g" D) p1 x8 w/ L0 v0 P  X) v
  10. 本地机器,这是我的MySQL安装。
    * i/ u, G4 @, K$ ~9 y5 y/ R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; F9 _0 Y6 f- O* P+ T% b# n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 z! W/ p/ G- N9 M+ I
  13. 数据库。
    - h* {5 ]0 l" U2 m) x7 v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 y! k5 w4 z/ d" F: \. ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! A1 ?, P# @/ P; V+ O
  16. 在teamspeak论坛,如果你有兴趣。 . Y1 v* P8 `3 S- A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. N' @3 ?2 R9 X0 E5 G
  18. Borland公司使用。这个司机只能界面与客户端库) L' w# s. \/ @- i, L5 a: l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ I" E# Q8 \8 n- B; M7 k
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* S4 n# e  |  |( ~3 k7 `# V
  21. " vendorlib " ,并解数据库连接。
    / D1 S+ y3 _0 P( J- i# s- _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 c% o0 f' k8 z; Y8 T

  23. % `/ P2 i. [. ?9 ^, o, N+ x4 R
  24. # # #做好工作# # # 6 y9 [9 S8 o9 [: S( f& \8 ?
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都4 C1 H/ @! F& i% q0 [8 Q+ t- D; X; P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 e" b3 L3 o1 F% a2 ~) t' e+ |3 C
  27. 结束:
      Q3 Q& T9 g4 z7 W) a' t& I, Q
  28. ---削减这里---
    ! t) ~' m( n! T- z7 [0 J+ v
  29. [ dbexpress ] ) O0 B1 z4 n, u  ~+ x# ]+ \- M
  30. sqldir = mysql_sql - h3 e  ]6 Y/ T
  31. drivername = MySQL中
    & L, ]+ G, n& R4 t
  32. 数据库= your_database_name_here
    1 q  ?& X$ y; [$ ?2 @
  33. 主机= the_pc_the_mysql - server_is_on
    9 L; O5 j5 O% }( R$ ?
  34. user_name = user_name_on_the_mysql服务器; g" k2 m3 N4 P! w
  35. 密码= password_to_go_with_above_user_name
    $ n5 n! o% _& J/ b0 W6 G
  36. getdriverfunc = getsqldrivermysql 0 {/ H2 z1 E, f( o0 `$ M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * _& B2 D0 g& M3 Z
  38. libraryname = path_to_libsqlmy_libary 5 m5 w. ~; h3 F6 L" o+ V
  39. 积极= 1 % |# n9 E% q; J5 V8 J
  40. ---削减这里---
    6 B9 v( O: Z. W5 s% z- h4 C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 f8 |* N* H. {% b3 {, J5 n
  42. ---例如--- : \, u! O- Z8 K# s  O  p
  43. [ dbexpress ]
    / K. f! Y$ `5 `0 s  ^; P* O" R5 g4 j
  44. sqldir = mysql_sql " z# V) s" f' u7 V; ?) U
  45. drivername = MySQL中
    5 g' o3 A" C' U# J8 ^% m
  46. 数据库=测试
    1 C: x) }& T: e
  47. 主机=本地主机+ s9 j+ r0 K/ x/ |
  48. user_name = testuser
    ' W3 ~1 X5 E( b, {" i1 J: J
  49. 密码= my_password 9 @5 Y! R# \& L6 ]4 k& X. d6 ?
  50. getdriverfunc = getsqldrivermysql
    - y, d$ `# t' B; V: v
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 B2 l' ~% ]3 C+ S
  52. libraryname =. / libsqlmy.so ) q9 _0 ?& N. r, c" C
  53. 积极= 1 6 D- ?! C: v! D8 l# b  B2 L9 O9 t
  54. ---例如--- ( F$ O9 t/ G& r2 q- B% h

  55. ; v+ P5 f# u* z) q7 Q; g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 U9 v1 Z9 _8 v( J: _
  57. ---例如--- 1 m; j- u0 Z: c, k
  58. [ dbexpress ] - ~  P1 \! \/ s* V
  59. sqldir = mysql_sql
    2 I5 y' J2 f* G) c! a7 O
  60. drivername = MySQL中
    * B& ?; r$ G. g- \' H
  61. 数据库=测试
    1 o! A# n  _5 p: d1 j& I
  62. 主机= 127.0.0.1 + c# i! _. @( O) f( Q/ S2 L
  63. user_name = testuser
    & X7 J5 C1 G/ X& `- @/ N. L% ~* S2 p# @
  64. 密码= my_password , ?, \3 |7 c: ^9 J
  65. getdriverfunc = getsqldrivermysql
    " G, k# d0 J/ [# s
  66. vendorlib = libmysql.dll在
    " o, H5 B6 p, `! n
  67. libraryname = dbexpmysql.dll . h9 ]6 k6 g* x5 q  W: }; U; A/ R
  68. 积极= 1
      V: F1 g. P9 \; T3 g1 V; j
  69. ---例如---- 7 F+ [- a& }8 L0 R8 }! A
  70. -写在0 2.03.04由p wk.linuxfan7 ]  E3 c6 o3 K7 o
复制代码
发表于 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
% Q  O4 B4 {0 ]1 m
+ _# R0 ?/ j7 f: I( Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-12 22:06 , Processed in 0.103611 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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