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

2397 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 J. |  ?  B, S- o4 p
* s; G& u1 ]' g$ m8 N5 b) ^8 M
  1. & j" [( ]' Q& d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ Q1 E) Q1 u4 n7 ]$ c7 j
  3. 3 U/ R( g, {0 U4 d% x1 [* J
  4. ### What we need ###
    , {. S0 J7 N, k1 o4 J/ x
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - J/ v7 F4 s6 k6 \; A. I
  6. will not explain how this can be done - there are documents out there for the
      o+ ]3 A( Z: F) Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 O' n% {: W( o$ e4 {. R& }
  8. and a user account (username + password) that has the permissions to do stuff
    $ v% A$ e5 w( c
  9. with the database. Additionally, you will need a vendor library installed on the
    . W' F( A3 ^. w6 l) p  C* D% D6 @
  10. local machine, this came with my MySQL install.  i7 t9 w; w  D4 E8 X" U: k
  11. These instructions will not tell you how you might transfer your data from the0 q) f! ]$ u1 o, u9 s! l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 j. }' t% @7 \! Q
  13. database.9 G* y9 h, e6 O/ t) \9 s- C4 k; b
  14. Some users have reported ways to import a SQLite database into MySQL, but at* t6 k) T% o( P+ r  Y
  15. the time of writing, there are still too many issues - check the current status
    . {& y; v0 h, G
  16. in the TeamSpeak forums if you are interested.
    + F: Z$ F7 `" d# `- m$ d( {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / b2 {5 X# P. p$ O, E6 _1 s5 m
  18. Borland was used. This driver can only interface with the client library that ' }/ L. O5 f4 m- V) c. `3 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % f  C" a6 D# i
  20. client library - basically all you have to do is to use a 3.x client library as ' d0 Z! x& R) S/ g4 z- I
  21. "VendorLib" and a 4.x database to connect to.
    1 D, g( i/ s0 b
  22. If you need more info about dbExpress, you can contact Borland.: q* S9 H" @2 m( m( `: K

  23. 7 I2 A' J, t! j4 d
  24. ### Doing the work ###/ `5 A0 k/ p2 n. |+ O% z; N8 {4 t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  n5 v! i7 f1 F& h
  26. the perquisites right, just open your server.ini file, and add this section at
    1 U0 t  V# x+ H
  27. the end:
    ! }6 q! u  m' z6 L
  28. ---cut here---
    / Z# V( m; p4 i( k! R- O
  29. [DBEXPRESS]
    3 i( R- Z2 ^1 |& n* W$ @7 R6 |
  30. sqldir=mysql_sql" z! W$ j  G, h
  31. Drivername=mysql* n1 I* P3 Q) O% C8 _) ^
  32. Database=Your_Database_Name_Here
    : _& }& D4 h# d" H1 C4 n: n
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ; E2 p7 q" J) M$ W0 W; J- d
  34. User_name=User_name_on_the_MySQL-Server
    " r, S% ^4 ?$ ?0 ]% h$ {  e/ I5 z. @
  35. Password=Password_to_go_with_above_user_name1 N5 f5 H6 F# `
  36. GetDriverFunc=getSQLDriverMYSQL
    3 x4 Z- U3 |! i; W* B1 ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' F6 l6 B! q/ ]9 M. \
  38. LibraryName=path_to_libsqlmy_libary0 u% d5 G" E* K) h* }
  39. Active=14 ^! T! q2 g, ^
  40. ---cut here---4 L9 }5 [0 M* K6 F7 j: B
  41. In my environment (a linux box with a MySQL server running locally) I have:$ I) W+ O, }% C* ~% V9 m' t# g8 w
  42. ---example---! v3 C2 z7 ^3 W! h; G4 P) F9 Z
  43. [DBEXPRESS]7 e- `/ S0 Y( _
  44. sqldir=mysql_sql' z  x+ V% o3 O# S, v  I( j- o, C
  45. Drivername=mysql9 @4 Y0 j! B3 s& V2 r9 x
  46. Database=test
    ; N8 m, I# C: S7 e
  47. Hostname=localhost
    , v, M" i) ^0 ?' W4 V
  48. User_name=testuser
    6 T" D& Q! @$ C, d- k
  49. Password=my_password6 s* Z! N/ K9 W/ p. ~
  50. GetDriverFunc=getSQLDriverMYSQL
    $ T/ D4 f1 |2 c# O; w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' d2 H8 c# ~/ ^5 O/ A* m- `+ |
  52. LibraryName=./libsqlmy.so7 a- ^- A( X5 @6 K" X* |: Y
  53. Active=1
    7 j! l/ Q& N& P. D
  54. ---example---
    / T+ h* z+ V0 s
  55. * U& J- G9 t6 z, N" d" h
  56. On a windows box, also running the MySQL server locally, it would be:
    2 w' l# T: ?! O. x4 `
  57. ---example---7 e% `/ ^& n1 C
  58. [DBEXPRESS]" P8 H$ X3 f* {9 J, L# {% [0 r7 M  }) ^
  59. sqldir=mysql_sql0 U6 X% _7 N, ?9 ~9 z+ P8 ^. h
  60. Drivername=mysql9 k% q. n/ w5 s1 M( ]8 [1 D
  61. Database=test
    ; P* o# ]4 {' k9 M, m4 X
  62. Hostname=127.0.0.1
    4 i( {$ d, U* x4 x3 I; m! R0 p
  63. User_name=testuser3 h2 t9 v$ L9 A4 s: M$ _; \# {7 n
  64. Password=my_password4 @6 f- r% i. X+ v* y
  65. GetDriverFunc=getSQLDriverMYSQL9 {; T% Z$ {1 r+ P, d! z; V* u
  66. VendorLib=libmysql.dll
    , U8 {0 M# q% D! V( M
  67. LibraryName=dbexpmysql.dll
    ' }& g: I" M9 z& x
  68. Active=1, }/ ]5 i; ], Q' Q( C3 d
  69. ---example----7 R0 G7 N, R$ M) _
  70. - written 02.03.04 by pwk.linuxfan
    2 F5 f5 R, b7 F  g% q

  71. ( F; r- P1 D7 a7 a0 |2 S% a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ J# [# c( I/ q% Z" `/ E

  1. & F& f/ K7 g9 e; |+ ?1 }: E) o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 l. P1 @5 \- m8 j9 p. v
  3. * w* E5 b( R% Y0 ^+ J+ o% F
  4. # # #我们所需要# # # ! A" _+ O9 A% X9 @  [% O
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! L9 N0 }  R: c) @' F. U. J
  6. 不会解释如何做到这一点-也有文件存在,为5 ?  w2 g% R6 \/ c! k; l3 s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) r  y0 F+ @5 J+ j2 A5 ~# W0 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + b8 k2 \5 S4 F1 x$ ~- W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # G/ k* K2 v) G- O7 y* i" |: g+ ]! ^
  10. 本地机器,这是我的MySQL安装。
    ) p% w/ \: B5 l
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 X' g( N% D  L2 _' i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " g6 M3 P6 B* e8 ^, j1 Q; K8 q
  13. 数据库。
    ) n! W4 J) s  W. y- ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 [6 }, a: f& R# q( [6 \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) {) `! M. d) |2 M
  16. 在teamspeak论坛,如果你有兴趣。 5 x! F2 p5 W+ D$ G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * \" w. Q- H4 [/ n4 e2 s
  18. Borland公司使用。这个司机只能界面与客户端库
    8 z5 n* ?/ X, L3 L0 e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  Z5 w# M5 T& _0 F8 N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; ^7 @: _% d5 q
  21. " vendorlib " ,并解数据库连接。 / x3 E6 y# B6 e# X5 O, Z+ @2 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . U2 P  o& k$ i8 {# O: R

  23. 3 y1 s9 }7 n' r# a, D% w$ R* g$ K/ m
  24. # # #做好工作# # #
    1 {6 F1 e7 s/ a& J. ~: a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , P8 F! y, l+ h( s/ w" G, Z8 w
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在8 c. v9 Y6 K. m+ n
  27. 结束: 0 o8 `" N2 r) Q. _( o: b
  28. ---削减这里---
    & S+ t5 W1 I& g: v0 t
  29. [ dbexpress ]
    6 \/ z1 F* `1 w8 G) e# s& s1 @2 Q+ J
  30. sqldir = mysql_sql + B7 ?( o5 ~6 j
  31. drivername = MySQL中
    , K% s3 f) {* f5 ]. E! W
  32. 数据库= your_database_name_here
    ' ~  R+ J2 p( Q
  33. 主机= the_pc_the_mysql - server_is_on
    1 D" U* V& @: q
  34. user_name = user_name_on_the_mysql服务器- f8 F/ a( R( L& K; I5 \% L
  35. 密码= password_to_go_with_above_user_name
    + G% @% _+ ?! u- F, f6 g
  36. getdriverfunc = getsqldrivermysql
    1 w! s; l# p/ p7 F/ Q5 M) I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : R2 M; u( i$ P$ T+ U7 m  t, f
  38. libraryname = path_to_libsqlmy_libary # I8 w- A& \8 c7 o
  39. 积极= 1
    , i. {4 S" g8 h8 P( p/ A# w* C
  40. ---削减这里---
    ) Y# e; g4 F$ m" ~
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 i. I) @) S: S* `2 o( f
  42. ---例如---
    + Y% Z& j4 t" @* N' }8 @$ F# Z
  43. [ dbexpress ] " S5 I3 u1 T5 V9 L& j
  44. sqldir = mysql_sql ' [( {. e* s1 p  _; O. z
  45. drivername = MySQL中5 g) i7 Q. h4 h' G3 Z. i! {% l( L
  46. 数据库=测试
    $ |7 y4 y$ E. a
  47. 主机=本地主机% a" ]6 N: d( f  C2 p$ i* ]/ l4 V
  48. user_name = testuser , R: S0 ?) R" x
  49. 密码= my_password 4 Q/ ]0 p  c7 d- K. ?  k
  50. getdriverfunc = getsqldrivermysql
    ( o' i  C+ S/ @, [$ c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ z# U( V( b+ q/ u! |. T0 `
  52. libraryname =. / libsqlmy.so 0 [% N6 M: d( X& K- i( i9 _
  53. 积极= 1 ) {& G, x4 ]+ E9 F: E
  54. ---例如--- , Z# ~# J6 l# |9 P% T# o" ]6 J. a8 k
  55. & u5 }. e+ @9 ?' J; w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * @$ Z* T5 d7 O$ o! {" ]
  57. ---例如---
    / @# S' r6 M) O5 t2 U+ I
  58. [ dbexpress ] 2 Q( k" w0 m2 i; ?% i! K$ o
  59. sqldir = mysql_sql
    8 K: l- N4 f9 W, e9 P
  60. drivername = MySQL中5 Y: y" E1 w7 |' p% w" H
  61. 数据库=测试9 v/ e1 o$ l/ K+ c& u$ b/ h, d
  62. 主机= 127.0.0.1 ' ?; \$ c. p" p. M5 w9 z
  63. user_name = testuser
    , q* b8 M; V/ _: T3 d) Q: E% @. e9 S
  64. 密码= my_password 0 Y" d$ z( |& H3 @& U8 F
  65. getdriverfunc = getsqldrivermysql / n2 o# v3 f4 r
  66. vendorlib = libmysql.dll在9 u9 D4 s! d& P0 o/ \
  67. libraryname = dbexpmysql.dll
    % g- t) U, d. F- O9 o* L
  68. 积极= 1 2 D. V! A( u8 p/ q
  69. ---例如---- $ P* O0 \3 H1 h' B! J
  70. -写在0 2.03.04由p wk.linuxfan
    2 y: I+ H4 I: A/ b5 Y, p
复制代码
发表于 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 words3 V3 e  z: D/ `0 [+ G0 w# d9 K

5 G4 d: ^3 N& u- a" Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-20 19:36 , Processed in 0.099159 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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