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

2601 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) v* Z' v  `) |$ V, N

- I% w$ D' ]% Z- ~3 t
  1. - n7 c& ^. L/ p( Q0 k- D- p
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % T2 K$ x3 \& f3 `7 o
  3. : c' q9 s$ E0 f; u) p
  4. ### What we need ###! f- E4 ]; [& ]1 g4 Y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' w0 J# y; O9 h$ V
  6. will not explain how this can be done - there are documents out there for the
    3 `+ l, y: ~7 w% U8 K4 r! T! v4 m
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 f0 g: x1 q: y; J& ?! j
  8. and a user account (username + password) that has the permissions to do stuff& @9 L+ D  |/ b6 b& g; L
  9. with the database. Additionally, you will need a vendor library installed on the
    6 ]9 E0 c# I4 ]: s
  10. local machine, this came with my MySQL install.+ v6 z9 ~' t' i9 I' F6 o' y
  11. These instructions will not tell you how you might transfer your data from the- }6 `" E! s7 l5 f  ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    0 w' s9 @$ F' X
  13. database.
    . P5 v* e0 l1 f4 P  J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : c3 S& ~3 l$ W0 D2 w& M
  15. the time of writing, there are still too many issues - check the current status; x7 y+ s: C3 w6 q0 [( ~: c: j
  16. in the TeamSpeak forums if you are interested.
    % Y$ A/ Y3 U  D6 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 F. {2 l4 P8 B# f
  18. Borland was used. This driver can only interface with the client library that , k' j  l2 L5 x$ T: ?4 ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( \- T8 N" U2 x* `9 T0 S7 j9 L
  20. client library - basically all you have to do is to use a 3.x client library as $ y1 p' x( L' [8 x" i  u
  21. "VendorLib" and a 4.x database to connect to.
    : u6 Q0 E) ~! B; i) w8 l2 E
  22. If you need more info about dbExpress, you can contact Borland.6 |2 B$ N" @$ M- x6 K" a

  23. , Q, i* y# C! L: G- u" {3 a* D
  24. ### Doing the work ###2 d1 m1 B" K7 O: |9 q2 ?: s* r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , z( D- h) m* g! m/ O$ C2 |' |
  26. the perquisites right, just open your server.ini file, and add this section at6 o2 d2 z3 N8 r% O$ Z
  27. the end:. j8 P, @3 H4 h2 E) R# L0 H
  28. ---cut here---  K9 Z5 d) T) d/ k% S$ ]  V
  29. [DBEXPRESS]! i! W7 I1 n6 s9 U6 U# A  f
  30. sqldir=mysql_sql
    : P$ `+ v. `9 p5 V# e" g
  31. Drivername=mysql
    " w5 \  @' W+ \8 J6 |8 d) ^+ [  `
  32. Database=Your_Database_Name_Here
    & Z& u* Y0 g* M
  33. Hostname=The_PC_the_MySQL-Server_is_on
    3 q5 U( Z: R6 v
  34. User_name=User_name_on_the_MySQL-Server% S' E. O7 O9 U5 I- N( h# i
  35. Password=Password_to_go_with_above_user_name) H. ?4 G# a% T8 [5 H) B' U
  36. GetDriverFunc=getSQLDriverMYSQL/ N6 ~: S+ r6 j' V$ P# e6 \" _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( X2 [9 k$ g) y; j* a
  38. LibraryName=path_to_libsqlmy_libary/ T8 y2 ?; X3 T1 U9 v5 @5 p. Z
  39. Active=1
    # t. i/ P& [& P; e" B% T2 z0 ?
  40. ---cut here---) b4 }+ ^* }& ]: u: r' Q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 B! v* i9 H6 a) c+ Y; z* J- Q4 S8 p
  42. ---example---$ C+ Y6 z. l; A  _3 Y
  43. [DBEXPRESS]* S, A, c+ |  G1 J
  44. sqldir=mysql_sql7 R- z' M. T$ X. r6 ?7 b4 Z/ K
  45. Drivername=mysql2 k8 f) k+ n4 w
  46. Database=test- t# E% d1 J" Z& N! [% y
  47. Hostname=localhost3 L4 W  r% x8 |; `' v  c1 R
  48. User_name=testuser( |9 }( D$ w" ?' k( y* W/ s+ j  t7 V
  49. Password=my_password# a4 l- n$ W/ q9 q) P# b% U- i
  50. GetDriverFunc=getSQLDriverMYSQL" j/ x  s7 P4 k! ?, {  D) e
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + G4 z) U5 f7 ~
  52. LibraryName=./libsqlmy.so
    $ ^, D2 K# Z$ d/ V( w
  53. Active=1( u. `7 V  \: e: L5 y, _
  54. ---example---# F  T- c/ V1 A- Z$ M9 m9 a

  55. 8 S5 P; u) t% y2 s# f! V
  56. On a windows box, also running the MySQL server locally, it would be:
    8 G' {3 T( ^, c1 n+ X
  57. ---example---3 |' G! e4 Y, |. E  a
  58. [DBEXPRESS]/ V6 u5 D/ H! l6 [
  59. sqldir=mysql_sql
    5 m1 H. v" G8 A2 j* ]' V
  60. Drivername=mysql
    / m& w) S! s; d" w' T
  61. Database=test" x- C) d! R/ T+ H: H: P; z- x
  62. Hostname=127.0.0.1% H- i" w; O; e' q/ O1 S8 b( y( I
  63. User_name=testuser+ e, F5 e  W2 @: ~
  64. Password=my_password) M+ V% `6 n" p9 Z9 q- K# f% w
  65. GetDriverFunc=getSQLDriverMYSQL
    * p3 g1 c1 ]3 P9 o9 F. C0 p
  66. VendorLib=libmysql.dll
    5 t$ i" E$ R! j
  67. LibraryName=dbexpmysql.dll
    * q$ b: _7 r" N0 Z" K9 w1 L7 R
  68. Active=1
    , }9 s& L" N- ^( A: L3 U
  69. ---example----
    & p! J9 c% K- h. ]7 V- j
  70. - written 02.03.04 by pwk.linuxfan
    , `( T! g* T. c: j
  71. 9 ]1 N/ h2 V2 ?6 d. x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% a# J9 U" N# ]

  1. % C$ Y! T! r$ \: d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 5 u' ]0 X6 B% |4 a5 ]4 x+ J

  3. ; D9 W, R& N3 r# R) F0 j' F4 v
  4. # # #我们所需要# # #
    - H5 b. [! v2 C4 [+ r4 q/ p  Q0 }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 z0 c7 L, _+ Y7 q. O) b
  6. 不会解释如何做到这一点-也有文件存在,为8 [3 ~" G/ e7 @4 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' p8 V' H9 A5 `8 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( _: `9 n) M/ Q- H6 V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + L) t; d& g; H/ k
  10. 本地机器,这是我的MySQL安装。 / x# I0 [9 l4 p, w5 F  y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, v5 \* s- o* |$ t) c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " J/ s  U) i; z
  13. 数据库。 1 C* k; G* b" o8 K' v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ a5 x  N$ c  Y# e* D
  15. 编写本报告的时候,仍然有太多的问题-检查现状* D7 f) l" n: _4 A3 Z
  16. 在teamspeak论坛,如果你有兴趣。 # A* N. f" P8 {; f: J  c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    0 _. \8 ^, Q1 q) a
  18. Borland公司使用。这个司机只能界面与客户端库# _' p9 u/ b+ O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 i/ O; v5 F. Y; C; _  B1 M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! d/ g! \3 y! k3 }
  21. " vendorlib " ,并解数据库连接。
    # l2 W% L  E) a8 b: w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 x3 [0 e# d7 O

  23. ( s( A" b8 u, c/ C+ J
  24. # # #做好工作# # #
    ) \4 a1 l3 O/ Q+ Z$ y4 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * c! P3 M5 e# d) _$ y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # Y7 y* o6 W) _, q$ B. @
  27. 结束: ) M+ I) c, h7 b& ~) K/ s
  28. ---削减这里--- ( s$ Z0 s% X, G# ]
  29. [ dbexpress ]
    3 |* f& \( M, i5 y8 z+ q
  30. sqldir = mysql_sql
    ! P7 z7 W4 P) X: ?
  31. drivername = MySQL中
    ' m5 K! d% Z0 a3 \: \' w, w$ M1 ?
  32. 数据库= your_database_name_here % Z+ c# J2 Z$ o) X1 X
  33. 主机= the_pc_the_mysql - server_is_on 6 M( G# k% J/ h
  34. user_name = user_name_on_the_mysql服务器
    , C5 D0 Z4 E8 V8 y
  35. 密码= password_to_go_with_above_user_name
    0 q  @) Q* \- {3 h4 t
  36. getdriverfunc = getsqldrivermysql
    ' A% u1 V; r5 i; }5 v0 q9 R+ E  G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib / Q6 }- F7 p, ]+ S
  38. libraryname = path_to_libsqlmy_libary
    . @- r6 r) ^. v! R2 y5 @
  39. 积极= 1
    $ q+ V- x" n9 q- I! Z! Z( j  X7 |
  40. ---削减这里--- & Y. [6 }1 v8 Q  o4 a  ~/ M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % h  `7 F+ V+ I- J
  42. ---例如--- # H, ^7 S: V- D
  43. [ dbexpress ]
    $ J& J' G; f6 t* D
  44. sqldir = mysql_sql
    ( M7 x/ [; P8 F2 O! K
  45. drivername = MySQL中
    6 L1 G4 ]3 R: h
  46. 数据库=测试
    6 X! ?4 x. O/ a
  47. 主机=本地主机
    8 A9 Z  k# G+ @0 d& Z2 d' u# b
  48. user_name = testuser 1 g9 s5 N& ]& _1 Z5 Q
  49. 密码= my_password 1 _3 Z% I1 b2 }+ G# P& R
  50. getdriverfunc = getsqldrivermysql / M0 f6 C* E" z' K! x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * x- U- I' G* `, s! |% X- O8 Z
  52. libraryname =. / libsqlmy.so
    % w/ w8 U% d+ ^. f3 |# ^
  53. 积极= 1
    * [/ `& n' _+ O
  54. ---例如--- 2 _: [9 K% u  q2 q

  55. ( q; b, u# U& [6 Q: T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 m; g& l; Y0 C
  57. ---例如---
    + V3 W! E2 R2 s) f1 q" b' g
  58. [ dbexpress ]
    ! ?+ q& @! q: K# ?4 K& Y
  59. sqldir = mysql_sql
    , U* y- B2 Z% _0 S
  60. drivername = MySQL中
    ' @( C% X% \/ _2 X6 D' l
  61. 数据库=测试; g% A$ l7 f( t5 s  F$ N0 ?. k
  62. 主机= 127.0.0.1 7 |3 i, H* {* O" w  G
  63. user_name = testuser
    ! ?( M' w0 L! y% e# \+ n
  64. 密码= my_password
    : }+ V) T$ G9 O5 V# i3 g4 @( i
  65. getdriverfunc = getsqldrivermysql
    4 M( b* q! ]& S+ A
  66. vendorlib = libmysql.dll在
    , ~/ H- f" D/ t8 U, a0 p
  67. libraryname = dbexpmysql.dll
    3 w$ u% B* H$ o! {; a
  68. 积极= 1
    : Y; h4 P, O' ?. I7 U
  69. ---例如----
    6 ^- O* J. u  U& g
  70. -写在0 2.03.04由p wk.linuxfan/ h9 b" q3 ~( Y+ o9 \+ s
复制代码
发表于 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# L( L+ [& _( |' u) c: A

1 Z6 d8 q7 ?" Q+ b! K- Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-10 17:01 , Processed in 0.116168 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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