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

2309 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 L# e& V8 J: n% Y
( G2 m$ B, L0 ^$ M# |
  1. 0 z" o& N3 G% n; u$ _" r+ R& e
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , t/ a, k. ^, H
  3. 6 l* @' G) R/ A9 J
  4. ### What we need ###0 V+ o: |$ q, |0 P8 G, ?
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 v. P- R, ^$ ~. T6 B
  6. will not explain how this can be done - there are documents out there for the " t8 a# x1 Z# @+ [5 R3 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use' P. v0 u5 L9 ]  w+ i" H
  8. and a user account (username + password) that has the permissions to do stuff
    ! P$ y  ~  u, N! o) P/ P4 Y
  9. with the database. Additionally, you will need a vendor library installed on the
    6 [' V" d# K7 T& x
  10. local machine, this came with my MySQL install., z. B# O* E$ p- p
  11. These instructions will not tell you how you might transfer your data from the
    4 \' J; k' P5 ?& t) a5 z% ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 i% ~; L7 y2 L7 x
  13. database.4 E" G9 ^4 g+ N$ p  t
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 x9 T# |. N! V' G  E
  15. the time of writing, there are still too many issues - check the current status
    4 j5 E7 @2 e$ f
  16. in the TeamSpeak forums if you are interested.5 i1 ^- _! k( N. f+ w' D
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      I+ R% z9 Z+ V/ D
  18. Borland was used. This driver can only interface with the client library that
    $ h6 [& `5 `5 M8 e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ! I1 W6 y# _; j6 j4 J6 J
  20. client library - basically all you have to do is to use a 3.x client library as
    ( I. S" }- g3 ^  {! \" D& w
  21. "VendorLib" and a 4.x database to connect to.
    , z% ^1 a! y! l& g+ ^
  22. If you need more info about dbExpress, you can contact Borland.2 A+ M% v- u6 X- Y+ W: J

  23. 6 s' E( [% y+ A) X- _1 W
  24. ### Doing the work ###0 Y  @( H, _" b( n5 _8 L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 [" G7 F. H& }  A4 w3 y
  26. the perquisites right, just open your server.ini file, and add this section at: }6 v6 O: Q# c- b( }) n' C- y! L; x
  27. the end:
    . k& `! i5 K2 Q! ]# \% x
  28. ---cut here---3 Q2 ^; @% e& W$ o
  29. [DBEXPRESS]+ h- ?  l3 L4 n1 g  Q3 R/ ^
  30. sqldir=mysql_sql
    7 D1 O" e# S5 Q6 A+ q' L  [* R6 n
  31. Drivername=mysql
    3 Q7 b9 W! t8 e4 l7 f  K* L$ O! v
  32. Database=Your_Database_Name_Here  j7 ]) F7 u$ g0 S$ k) o
  33. Hostname=The_PC_the_MySQL-Server_is_on2 q, o0 i3 ]: V
  34. User_name=User_name_on_the_MySQL-Server
      ?1 v/ \6 \2 ?+ I) P# f( k
  35. Password=Password_to_go_with_above_user_name$ d8 O$ C6 A, s- {- z
  36. GetDriverFunc=getSQLDriverMYSQL
    3 E% K8 O4 }' G: c8 \4 s, @# M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! B2 w2 C, A0 L8 y3 z" w/ ^4 o! ^
  38. LibraryName=path_to_libsqlmy_libary
    / }4 Y# R: P8 p4 A* l5 L+ \
  39. Active=15 l3 D- C, v- b( ?! q2 M. v* \' L
  40. ---cut here---
    + @! D" U$ R6 I) K3 C: r: T
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * X8 F  F1 i+ T7 t
  42. ---example---+ w& H; s) S- I; N
  43. [DBEXPRESS]& e. O' k1 o5 ?  m
  44. sqldir=mysql_sql
    2 X* ]: s; x/ x
  45. Drivername=mysql/ C- c9 L) G  p! @
  46. Database=test: h7 n7 n# W+ o% F
  47. Hostname=localhost/ q" Z* t/ U- v$ Z, d) w. i
  48. User_name=testuser
      l: t" i7 h( V* h' Z; i4 T
  49. Password=my_password4 K; v$ `! ?$ h2 V
  50. GetDriverFunc=getSQLDriverMYSQL
    2 i/ ^. r8 @5 U7 m- N2 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( z9 F; |$ P) b. ?4 b4 P
  52. LibraryName=./libsqlmy.so
    ( ^: O0 i+ Z, C+ t7 \/ G
  53. Active=14 O, t, r& R1 M* q5 s* Z! Q5 a9 J
  54. ---example---0 O, u8 I0 j5 p: [5 K2 H3 N3 B

  55. 7 s, ^  V; Q& l5 z& ~
  56. On a windows box, also running the MySQL server locally, it would be:
    - p+ _' k. v) ?
  57. ---example---) W& o$ P% v6 ]
  58. [DBEXPRESS]0 E! r% S2 F* i/ H9 S
  59. sqldir=mysql_sql
    2 ~) v5 U2 M- U3 S( T! ?9 |
  60. Drivername=mysql
    / G4 n* y" {9 D( y+ J$ N2 v
  61. Database=test: {7 ~- y2 `6 E7 j' c- \9 ]
  62. Hostname=127.0.0.1  [9 b; h- S# {7 T5 p
  63. User_name=testuser+ Q* M$ h. ^' ?$ l
  64. Password=my_password
    ) @) d+ Z; e& c# B- n9 k4 `; n( w4 t
  65. GetDriverFunc=getSQLDriverMYSQL9 M: N$ L* p) o# V1 [- @. _
  66. VendorLib=libmysql.dll& y" ?1 c- q2 y8 f) e7 O
  67. LibraryName=dbexpmysql.dll; N/ G8 D6 g, ~4 Y1 ^* H
  68. Active=1* I7 s6 e' H+ C$ |! _! Z3 o
  69. ---example----2 h  v9 z0 r& S% E+ W& b/ h0 J9 I  R1 r
  70. - written 02.03.04 by pwk.linuxfan% K3 X* b+ x6 a

  71. 7 S9 j. Y; @; w1 @! s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. |$ a; @6 z: U6 h8 g# I; d

  1.   X9 w* ^0 \/ I9 V2 h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 X- u; Q9 h6 _, u' P1 m" U9 H# c# E0 H

  3. - r8 H0 n! X" ~
  4. # # #我们所需要# # #
    6 e4 L* G" y" \; `4 F! \- u- G) A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% T8 t9 x- Z" ^' d% k
  6. 不会解释如何做到这一点-也有文件存在,为0 w/ v/ V' q4 l
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & l, [9 V) P4 v7 K- C3 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 [2 P' i! b' _3 L7 ~$ S
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( z, x5 l/ D4 x) P% Q) y; t6 S6 d* e9 }% X
  10. 本地机器,这是我的MySQL安装。 7 t7 J% g* j' d, ?9 G/ }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 H3 W9 K, W- C5 ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . I5 b2 g( N2 H+ h" o
  13. 数据库。
    : u  ~: E! v" i: a$ M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 u6 f7 Q0 E  K* V( v3 P
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * W2 ~- x8 m5 R/ u
  16. 在teamspeak论坛,如果你有兴趣。
    8 E& y& T) k2 p1 v+ Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ a% s3 ?2 N: t: U4 o/ s$ }
  18. Borland公司使用。这个司机只能界面与客户端库
    2 e, F, B  U: W- W& o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 n2 d1 G7 c, n- K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      G4 C, X+ q8 ?  ]
  21. " vendorlib " ,并解数据库连接。 & I  c& C+ U8 ~! v! I5 ^
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 W1 q/ l' e4 a9 G2 w! E! T
  23. 0 y6 {: d3 t5 _1 o) F& e
  24. # # #做好工作# # # : g! C0 }& V* K% g; A3 B( b. v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都0 m+ a8 \5 d( V- I3 b, A8 n6 h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % Z) ]9 P5 D# t* b" A
  27. 结束:
    ) K% H9 ?' s& J$ i& e) K3 v
  28. ---削减这里--- / [7 ^0 k3 [- K% ~4 V
  29. [ dbexpress ] 5 P- P% H0 d: c% L% K; ^' Q' R
  30. sqldir = mysql_sql + K; E5 D& g% q
  31. drivername = MySQL中
      E3 R6 Q0 }# ]3 X- E* V6 }/ s8 P
  32. 数据库= your_database_name_here
    2 p0 e# T1 s2 D: _7 c1 T" p, E' s9 Y
  33. 主机= the_pc_the_mysql - server_is_on / z7 m, q1 d0 _5 @3 z  b
  34. user_name = user_name_on_the_mysql服务器
    4 J2 K/ B  D3 G
  35. 密码= password_to_go_with_above_user_name
    9 C% g% m3 L4 u6 \. P
  36. getdriverfunc = getsqldrivermysql 6 Z) a1 S5 ~! K( a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : c8 J/ e1 d2 j! \+ J3 g( M
  38. libraryname = path_to_libsqlmy_libary
    ! o& x" P3 l# Z& y$ V
  39. 积极= 1 + ~: t( v; V3 L& Q8 Y# \
  40. ---削减这里--- 8 r" U5 h: e' v) g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 S2 M2 H1 H% H. c/ h4 }, `
  42. ---例如--- . w. o* T" g0 [/ e5 \
  43. [ dbexpress ] * e, `- f; P/ U0 T
  44. sqldir = mysql_sql   F) F) ~) N+ p, q
  45. drivername = MySQL中
    3 g, _. z! r- z: f
  46. 数据库=测试/ D0 B+ c' x2 O- L( M  A
  47. 主机=本地主机$ ]; L, C$ R; F. Q0 ]' f1 H
  48. user_name = testuser & ]9 k6 [; g9 q; S* }2 d5 J! c, G
  49. 密码= my_password & l& G# W) F" F: \. I+ B$ {
  50. getdriverfunc = getsqldrivermysql
    ) b! F$ y0 c: z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 l: Q; \, U+ I3 L0 a
  52. libraryname =. / libsqlmy.so
    + B8 v# f! O1 m0 L$ C: d& r; B
  53. 积极= 1
    $ d4 z+ _# U( I/ V% x' Y3 ?+ `! p# b
  54. ---例如---
    2 X3 K6 E( @# F4 I+ T) C
  55. , T- ?4 e8 {% {/ I- p& B
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    3 M3 c3 m! V" O7 z
  57. ---例如---
    # i/ \# O+ q/ n  Y; I  U: W3 X
  58. [ dbexpress ] ( R0 N; Y( a7 \
  59. sqldir = mysql_sql 5 p1 g6 T3 A/ o% o- M+ B6 D
  60. drivername = MySQL中$ a4 w% W0 |1 E3 I* H% b! z8 I
  61. 数据库=测试
      l0 U& q: G! c9 v7 o. Y
  62. 主机= 127.0.0.1 / y& R+ V2 C2 [
  63. user_name = testuser
    6 w: b% U$ P. s, D( o" Q- `
  64. 密码= my_password . P/ R7 t5 z9 J, P
  65. getdriverfunc = getsqldrivermysql
    1 R' S: |& p* i* N" {
  66. vendorlib = libmysql.dll在
    + _; T) _8 Z+ h: G1 [. F
  67. libraryname = dbexpmysql.dll
    , Q7 g! b8 n5 g* k  O) k' Y
  68. 积极= 1
    / P& O9 w7 f, w! [7 z
  69. ---例如----
    1 j( d9 H; d6 H( m/ G+ m, a9 B
  70. -写在0 2.03.04由p wk.linuxfan$ x- ?7 W4 j7 q/ W
复制代码
发表于 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 words5 V  j9 Z  J5 A6 m
7 o; u& M4 ?5 t; S0 r- y% C/ k- f
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-18 08:38 , Processed in 0.089862 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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