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

2297 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   E2 {( T0 g  p% }, r8 P+ e6 a
* ~0 s$ \# c: M$ X  [7 ~8 |
  1. & V- x  G8 }" Y: p7 F- I9 {/ U& I, v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; m# H) V2 o3 l" h/ E& E
  3. 6 j# }1 y% L- j5 @9 H
  4. ### What we need ###
    , l" G3 b* h" c1 p+ g' M! \# ?3 \% \
  5. Naturally, we will need a MySQL server to store the data for us, this document % D! `% D0 B: v3 X) r  V
  6. will not explain how this can be done - there are documents out there for the
    0 a9 n& T/ n2 F( Q7 u+ R' W
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      `2 {/ i; d: k$ n- C4 Q' ?6 u  i
  8. and a user account (username + password) that has the permissions to do stuff0 E% Z2 A0 }& \! K/ E0 s: U, f
  9. with the database. Additionally, you will need a vendor library installed on the
    - I' y: \# P8 h
  10. local machine, this came with my MySQL install.$ d" {3 O7 q  }5 v7 z. }+ o, l1 C& b
  11. These instructions will not tell you how you might transfer your data from the8 U0 s2 m  a: E1 W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 {/ f$ A& c+ ^5 _- m- v2 L/ b
  13. database./ O2 y  P3 A& |0 I
  14. Some users have reported ways to import a SQLite database into MySQL, but at; O! @8 b% N- Y. _* ~( W
  15. the time of writing, there are still too many issues - check the current status( A4 i9 t& k* v
  16. in the TeamSpeak forums if you are interested.( _" r/ p; l+ d, f! n% @; X/ i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / T7 D; Q- J- C# [8 t
  18. Borland was used. This driver can only interface with the client library that
    $ S4 l/ M  e+ |7 r2 P
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    - K; J& Z* ^( X( P( R$ t; K  r
  20. client library - basically all you have to do is to use a 3.x client library as " {8 b) O- A5 V+ t4 r' S& ?
  21. "VendorLib" and a 4.x database to connect to.
      _/ I8 Q7 n2 D/ j+ ~3 M, W" p
  22. If you need more info about dbExpress, you can contact Borland.9 o1 U' ?/ A! X9 T
  23. ' F/ b- s3 y# T9 e- N  `0 _
  24. ### Doing the work ###
    ) L/ J( W/ D/ k- I3 i/ [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 i2 q$ j5 n+ I0 D+ a3 z* h7 ^
  26. the perquisites right, just open your server.ini file, and add this section at# s' N5 E5 z# m/ @
  27. the end:2 @4 S* N5 ]$ J* F: \" F' e) Q
  28. ---cut here---
    6 e: t  @; @& D
  29. [DBEXPRESS]
    6 N9 }7 Q2 C% c8 W2 K. R0 ?
  30. sqldir=mysql_sql8 Y7 O1 C. q" c  X- e4 J* @
  31. Drivername=mysql
    - Z5 ^' ]: j# ]. v
  32. Database=Your_Database_Name_Here
    ( _9 W- s9 ^' J& X5 {$ E8 S" P0 @
  33. Hostname=The_PC_the_MySQL-Server_is_on3 ?6 H& S1 G* e& M& v* C
  34. User_name=User_name_on_the_MySQL-Server
    " I0 C7 b* t6 r1 A  S4 ~. c
  35. Password=Password_to_go_with_above_user_name  C/ L8 r6 N7 W# ^2 e  `# O
  36. GetDriverFunc=getSQLDriverMYSQL
    0 E' }4 R9 y, y3 e6 ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 `$ ^$ t9 Z3 e  F
  38. LibraryName=path_to_libsqlmy_libary8 w! A, `1 L" ]3 ^- ~' n
  39. Active=1' C6 h% D( W$ L% f  ~
  40. ---cut here---
    ) p2 U0 F! `) A0 K$ {" e) `
  41. In my environment (a linux box with a MySQL server running locally) I have:) X+ |' a" T% s- j' Z, |3 Z
  42. ---example---) r) R2 U( j8 h
  43. [DBEXPRESS]
    6 K9 v) c# q4 u3 ^+ d% W. `
  44. sqldir=mysql_sql
    $ I3 U5 @7 s7 x& }! D  t
  45. Drivername=mysql0 q% A1 R# L# \/ }) f" K  y* Q
  46. Database=test
    0 C1 R. w2 U! u7 `
  47. Hostname=localhost
    : Y7 i" L) G. G$ m- @
  48. User_name=testuser% J$ V, Q1 h# Z* e! z2 A' h
  49. Password=my_password
    7 S* ?( q$ @: r
  50. GetDriverFunc=getSQLDriverMYSQL; j/ x9 L) L8 ~# z7 S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ) L6 Y  x" D0 Y4 w$ @: ^
  52. LibraryName=./libsqlmy.so
    7 X9 U/ @3 @3 X" s: n
  53. Active=16 F/ m3 Q  j/ M+ b( m
  54. ---example---; n3 ~$ c" A+ P) u) h8 \3 v

  55. * X% }- F4 Y$ n& N) C
  56. On a windows box, also running the MySQL server locally, it would be:
    ) c/ g8 O$ G" O; o
  57. ---example---
    0 w+ R; }" l/ b7 b1 ~, P& A" H" f
  58. [DBEXPRESS]
      O$ F- _7 u7 x! g0 S, y& Z
  59. sqldir=mysql_sql. M; F. g$ {& c& d7 F3 Y
  60. Drivername=mysql) K$ A% u- z% e. u$ P+ V, e
  61. Database=test2 U) p6 k* H6 H6 z' ]% O0 _/ j, L
  62. Hostname=127.0.0.1
    . S: ?6 o4 M. W: q! h7 F; E2 O, }
  63. User_name=testuser! |/ O5 y6 l2 J! j
  64. Password=my_password
    2 r* s0 g* l6 ^
  65. GetDriverFunc=getSQLDriverMYSQL& W& y9 y  z2 m  R) Q
  66. VendorLib=libmysql.dll+ o' ~7 K, T4 P
  67. LibraryName=dbexpmysql.dll
    , |5 u  [+ @& \7 w
  68. Active=1
    2 O. R" x3 y8 u1 K
  69. ---example----5 w+ R( r: _* b/ d
  70. - written 02.03.04 by pwk.linuxfan
    / M/ }6 t3 G6 W! `  b* g, V
  71. / }3 w# c0 {$ @# `: n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, p% V4 }- q6 d" {" C2 p1 l

  1. 3 b* s9 [: S$ \) B9 J. O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ z4 I& C! |- I6 ]

  3. 0 y9 g& C8 m2 f  C% f
  4. # # #我们所需要# # #
    ' ]' r) N( [# s4 G5 L' v/ _: t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ |( \. w3 ^+ W9 P) I' u
  6. 不会解释如何做到这一点-也有文件存在,为( Z+ j$ e6 [, Q  |) L7 J2 ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 B4 [+ m4 I0 {! |& L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; S  _$ P% O2 \7 _4 E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 B; j  [. l  [9 Y- ?& N8 N2 f
  10. 本地机器,这是我的MySQL安装。 0 c" z. T; s3 m' E/ Z2 X1 ~( A
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: i4 G6 U' _6 [7 s, A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      X  V( B, w: @3 t7 e
  13. 数据库。 ; o1 f9 N; r1 P: L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在9 |; ^% q( S! v0 @
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ n! T; }+ b+ [6 o3 f
  16. 在teamspeak论坛,如果你有兴趣。 , K. N7 H$ @5 C3 [- w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% p1 n9 t( F: f5 _6 U! Q
  18. Borland公司使用。这个司机只能界面与客户端库- Z/ H3 W  g8 F* @! t( r0 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( T' o( v) O0 M' v; o; q/ w7 p- G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. I& d* Q  M8 \" o$ L% G
  21. " vendorlib " ,并解数据库连接。 8 G, o9 B  L. G" }! x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    * ~4 g- r! E0 A
  23. 5 T- z3 D- P/ n
  24. # # #做好工作# # # 6 c& W9 l7 r& l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' d5 R& G/ h  b% T9 _& h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % H' q" [+ k+ q# v3 F. u9 A
  27. 结束: ! d# o& z) q7 D3 Q* Y& h1 L
  28. ---削减这里--- / K4 c8 d% F, U4 ]( ~& o" v
  29. [ dbexpress ] ) Z9 M* a4 l2 Y+ m0 Y
  30. sqldir = mysql_sql
    2 p; k+ V4 Z# h; @7 q
  31. drivername = MySQL中
    ' _% Q. i  U7 c  H: N: g
  32. 数据库= your_database_name_here ' m6 L: m! ^. q0 P# R
  33. 主机= the_pc_the_mysql - server_is_on
      ?! a$ r# i5 r6 a0 u
  34. user_name = user_name_on_the_mysql服务器' H, }- ~  H7 s' [2 {) D
  35. 密码= password_to_go_with_above_user_name
    6 O# j. Q9 g5 R( s
  36. getdriverfunc = getsqldrivermysql
    # T+ E2 k& Q* T. X( w1 e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . F$ F7 s) o" M! P7 U- L, B2 [# \
  38. libraryname = path_to_libsqlmy_libary * y/ _& L% A+ A+ {- l$ b
  39. 积极= 1 5 Z" A. h( X- @! r+ s
  40. ---削减这里--- $ s% O1 J. P3 n; `: D& o) Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 \: \  T$ r! K9 v
  42. ---例如---
    $ _# R5 @7 M6 s0 K0 r$ ]# W
  43. [ dbexpress ]
    8 {6 @$ _9 U' z
  44. sqldir = mysql_sql ! ?9 d+ R  W! h( y6 m  i; C
  45. drivername = MySQL中
    . H6 T/ R: O( p5 p2 x9 m
  46. 数据库=测试
    . z5 B+ j- j$ b& e" s3 P( k
  47. 主机=本地主机
    , W6 o, c8 n2 |2 |8 z
  48. user_name = testuser
    % f6 W4 W& s* T
  49. 密码= my_password 5 t% n7 c$ N9 n- b
  50. getdriverfunc = getsqldrivermysql
    ( U0 j, Q+ h% B) b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ r6 ~8 Y5 X" A' k
  52. libraryname =. / libsqlmy.so 9 b; C7 Z& I) o! n4 _
  53. 积极= 1
    2 k6 O* W/ e7 N- |
  54. ---例如--- - o' ?% G9 |7 A( G- _, u3 T
  55. & f3 P) G, c; d1 f1 u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . n2 E" W) f( B7 ], ]
  57. ---例如--- $ d# n' @+ ]3 v) |4 w( Z! i
  58. [ dbexpress ] 6 @9 @* Y1 _" F8 V8 I) L6 j
  59. sqldir = mysql_sql
    7 T7 E) b/ _9 A2 k
  60. drivername = MySQL中) T, t$ C) n2 m8 w' j+ w
  61. 数据库=测试9 y8 C" g5 }5 o- `
  62. 主机= 127.0.0.1 5 c9 M7 X) A2 F
  63. user_name = testuser % g& @$ S1 K/ w3 E( I
  64. 密码= my_password 3 k4 N) b- x& b/ {
  65. getdriverfunc = getsqldrivermysql " s: g$ k- C  a
  66. vendorlib = libmysql.dll在
    : a: z. L/ i; N4 l, r, F# ?4 q
  67. libraryname = dbexpmysql.dll
    : F; L0 J5 u# a! u
  68. 积极= 1
    ; g0 i- q( T/ @0 G0 y, O- G5 c
  69. ---例如----
    ! g7 c8 O. G9 v
  70. -写在0 2.03.04由p wk.linuxfan' }. j. j+ f( \$ b* Z9 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/ ?- q; b5 Y' h7 X1 F; i8 m

3 m' _: i) I( b+ Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-14 21:12 , Processed in 0.115970 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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