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

3606 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
: \1 C4 ]% \) Q, T- M; R3 V% N8 v4 V: }* a

  1. , x; h$ o/ ^# m; K4 x6 K  V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) A; u. x' H. ]' y& n' ]& [4 [  R: A
  3.   q: e6 R% X0 T+ _2 n) i
  4. ### What we need ###
    & ~& d/ Z4 U6 B, M7 V5 z, z0 ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 I6 W9 h, H7 j( U
  6. will not explain how this can be done - there are documents out there for the : ^3 Q7 t) A  w* k: i  i5 z, e
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 x  j4 U5 ^$ E: \
  8. and a user account (username + password) that has the permissions to do stuff
    9 M' t  I; _' ~2 z  }6 ~
  9. with the database. Additionally, you will need a vendor library installed on the
    6 E# o/ F: q) ~5 o. n: R
  10. local machine, this came with my MySQL install.5 M2 i: q! F/ w% B& ?, q
  11. These instructions will not tell you how you might transfer your data from the8 [4 N; x$ H+ T( G9 `# R  A* B
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ s' w! d7 o( M- t( h
  13. database.
    5 M2 B( a& s3 }( t0 A/ f3 P
  14. Some users have reported ways to import a SQLite database into MySQL, but at! S+ G% z( C' Z$ V: Q! ^- ]
  15. the time of writing, there are still too many issues - check the current status
    . F% J% j7 H: d' Z( m0 x7 k$ B
  16. in the TeamSpeak forums if you are interested.7 ~2 h. Z0 J0 g. r) ^: v0 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. H. O1 x7 O- H9 q
  18. Borland was used. This driver can only interface with the client library that ; P* C4 z  {/ n- a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 ^$ l& m& z2 ]/ N/ D: K  c9 P
  20. client library - basically all you have to do is to use a 3.x client library as # B0 Z% S8 ^* {3 e$ |# e; ?
  21. "VendorLib" and a 4.x database to connect to.4 z, s0 x0 `7 k# _: v
  22. If you need more info about dbExpress, you can contact Borland.# b7 }: B  _. Y+ U- X4 p
  23. ! I( ^( X9 A: ^6 a- e
  24. ### Doing the work ###3 s. N+ O% ?! z" z3 }) R" g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 U5 Q0 e- j. t) w, r) c
  26. the perquisites right, just open your server.ini file, and add this section at2 C8 A! g8 f# C
  27. the end:
    8 W4 c* Y6 Q# H5 \4 f" S
  28. ---cut here---4 M- M. c9 p5 W1 S1 ?
  29. [DBEXPRESS]' f5 O# q9 [" N/ P, ?; b" c: D
  30. sqldir=mysql_sql
      ^' m! a! w2 s6 G. V' R# k. x- T! e
  31. Drivername=mysql. O1 ]+ }9 o  @6 ?: g/ W$ y- D5 E6 ?
  32. Database=Your_Database_Name_Here
    0 k$ F8 m/ Z) D; E% r0 l- t! }% g7 a
  33. Hostname=The_PC_the_MySQL-Server_is_on  J: L( D- i( Y2 w: I3 }% x% B
  34. User_name=User_name_on_the_MySQL-Server  G# }; D3 d" Z- m; q8 t( Q
  35. Password=Password_to_go_with_above_user_name, L- w: V# B& E* E+ V
  36. GetDriverFunc=getSQLDriverMYSQL
    ; Y( U( E& x3 w( O% Y1 T+ r8 G/ j
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ n% g& F  @( V8 h6 G! N
  38. LibraryName=path_to_libsqlmy_libary; v' @% P1 n7 r1 @) n6 ^
  39. Active=1
    8 T# m5 M; T6 T5 T' x1 x1 y# w0 W
  40. ---cut here---
    : H' z8 c1 ~, g) u2 u) b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    8 N9 J7 n' B3 K" D3 B4 \- c* R
  42. ---example---
    # p+ Y8 o2 @9 O3 B) x* q
  43. [DBEXPRESS]
    8 Z( c7 ?5 A, G
  44. sqldir=mysql_sql4 K0 S  m; ?; J
  45. Drivername=mysql
    $ s1 F% Y, i! _  A
  46. Database=test5 x* Q6 q  Z# [5 Y6 y6 x
  47. Hostname=localhost+ X6 F" k2 T% y: d* P% }
  48. User_name=testuser
    ! h1 I1 e% _  B. V. h& Q( G
  49. Password=my_password
    $ R9 L5 h: y9 T% U( |
  50. GetDriverFunc=getSQLDriverMYSQL, X, ]) L: S' f! C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& h) n0 E( M0 e% T/ s8 `+ b
  52. LibraryName=./libsqlmy.so
    4 Q  S7 M+ P# L" L9 r
  53. Active=1- `# Q- t8 }! E) E" p
  54. ---example---
    0 h$ k  O" G( O
  55. - Y/ q* @6 s5 y* p& K7 ^3 y7 H
  56. On a windows box, also running the MySQL server locally, it would be:
    5 I! d: @. X) U* ]1 s, k
  57. ---example---
    : T( L7 \+ y! Z5 @9 ?% U. ?6 x
  58. [DBEXPRESS]
    " F2 t! [! W& ?2 M# G
  59. sqldir=mysql_sql
    7 M5 \. }: X  R/ B9 {
  60. Drivername=mysql
    ' m. e  F4 U0 ], ?- Y: p
  61. Database=test
    ' x6 m0 e  M1 \- Y- e% D& _8 r
  62. Hostname=127.0.0.1
    1 N2 t; Y# h0 r- n
  63. User_name=testuser
    ) n2 X" k3 P4 {1 i8 Y
  64. Password=my_password
    # U- p' @6 Y' ]2 a3 B
  65. GetDriverFunc=getSQLDriverMYSQL  p6 A  p! P% r; C; A8 y2 X" X' U2 f
  66. VendorLib=libmysql.dll/ _1 n5 r& k/ b9 X
  67. LibraryName=dbexpmysql.dll; }, E- s& ~) T+ R- C& G
  68. Active=1# v2 V* K1 M7 p7 g% O5 x6 v9 Q
  69. ---example----" x6 O, }) v& ?: F6 H2 _
  70. - written 02.03.04 by pwk.linuxfan
    . D$ x* c& R  w4 U& g4 a8 A* P
  71. 8 h' L. M7 v0 C4 e* J" x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ ~/ b) g+ c8 n- V
  1. 2 W' V: F9 H+ }9 l7 n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + Q( e4 G! t6 v$ ~% y! ?; w
  3. ) N: H/ P& D( B" p2 ?2 a" |
  4. # # #我们所需要# # # % E/ I, ^- |/ r+ v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( p( w8 w, @% B* R
  6. 不会解释如何做到这一点-也有文件存在,为
    + [6 _5 A9 O! s9 n8 L7 R) e+ b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % d2 ?& P5 @' i- a% s% N+ I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ Y5 [: c& u$ D3 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & g: O, b( O8 N3 a4 D  d  |7 ?
  10. 本地机器,这是我的MySQL安装。
      @3 R5 v5 |  d5 u: t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# X; [4 w0 \9 c: `. M" T. {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL # W$ ?7 `. c7 u" v8 D
  13. 数据库。
    4 [8 {5 }' K  R6 u3 z8 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( D$ \& s' n3 x9 l, z8 l* O, P% C
  15. 编写本报告的时候,仍然有太多的问题-检查现状; ?4 }, I) N' _1 X( i: @
  16. 在teamspeak论坛,如果你有兴趣。
    . ]. X7 O0 l1 w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! ^, L- j% g  V; f) l; y/ Y
  18. Borland公司使用。这个司机只能界面与客户端库
    8 \1 {0 n; h8 y0 [0 A& f5 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 h, A/ \; S, T4 i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) i/ n  [1 K8 g" m( j2 `
  21. " vendorlib " ,并解数据库连接。 # n5 v6 ^' @/ s# w3 u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & U7 m  q0 r! [3 _3 @0 R5 A6 r
  23. % _+ [( z% l( {! C5 D
  24. # # #做好工作# # #
    1 u* T4 t4 f8 p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 i: P5 |* ^! l' k' ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 Y9 I* I7 g0 n9 |& f/ j3 y4 e
  27. 结束:
    : r# ]3 ?; i& y
  28. ---削减这里--- 9 e: _3 M/ U" [' k6 d  C& Y
  29. [ dbexpress ] : V9 i+ y) q% ^. l
  30. sqldir = mysql_sql
    % g& i. @* W$ O4 o7 _* S( W
  31. drivername = MySQL中
    0 ?8 y% F- g. j( Y
  32. 数据库= your_database_name_here - ]8 |1 x" `" y+ T* }/ V: N( |
  33. 主机= the_pc_the_mysql - server_is_on
    ; u  w; D3 |# V0 S0 m
  34. user_name = user_name_on_the_mysql服务器. I9 P1 d( B3 E
  35. 密码= password_to_go_with_above_user_name . ?0 T& k8 r* a' z& @# d
  36. getdriverfunc = getsqldrivermysql 5 A- y6 a- z2 L6 d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - x, S+ r! N% ?
  38. libraryname = path_to_libsqlmy_libary / ^# x7 M: r/ n, j# O6 {8 j
  39. 积极= 1
    ! `8 I+ n$ g+ h" @& O* z
  40. ---削减这里---
    7 @7 h0 y( @$ z  n% A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 k7 X, Q$ U1 W' o
  42. ---例如---
    ! G: u, Z) d8 l/ M) L
  43. [ dbexpress ] : N0 H8 P6 i9 z# T) j7 m7 C) J
  44. sqldir = mysql_sql ! d+ b$ w5 U5 Q1 \
  45. drivername = MySQL中2 T) Z) V! A" K/ n5 D  D
  46. 数据库=测试
    1 B: G+ B. R" S8 {
  47. 主机=本地主机5 D0 \* v) F8 B
  48. user_name = testuser
    % ?3 {) k( `" `6 ^  C8 L# t( n
  49. 密码= my_password
      }% y- _- e7 ^+ x1 T# e5 l
  50. getdriverfunc = getsqldrivermysql 6 m" R" m: r7 _. |- `. j# {- J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * z/ u- F# m8 F8 P& o5 Z3 F5 \
  52. libraryname =. / libsqlmy.so
    : Y9 @' i) a; F( ~. {* {* e. B* q  i  h
  53. 积极= 1
    ; _( G2 w- u( V& s
  54. ---例如---
    ( Q8 N7 r" f0 e1 R! ^* `- t

  55.   s- v& [. H; G( I0 b! k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 d0 ^0 F$ b( v, m' |$ K9 r
  57. ---例如---
    * f3 ]; F' \; x8 e: c
  58. [ dbexpress ]
    ) ?* c  c' S/ C- T3 \7 L6 j
  59. sqldir = mysql_sql
    ' n5 o' Y# V6 _' j; s
  60. drivername = MySQL中
    9 o$ ]& ?' [5 e  o$ P# w
  61. 数据库=测试
    2 B% i5 C7 N8 T  `# y" @
  62. 主机= 127.0.0.1
    1 m* Y( Z9 w- S( \. Z& E5 y3 I& }
  63. user_name = testuser , t- F4 P; k) j- X
  64. 密码= my_password 5 M, ?; p4 o/ S5 S1 @+ I: i
  65. getdriverfunc = getsqldrivermysql " k$ c6 v# n: l! N. E* E; i
  66. vendorlib = libmysql.dll在2 I, H/ d$ z+ W
  67. libraryname = dbexpmysql.dll 4 x" Y1 c* [- g! c3 e0 P  N' _# q$ o
  68. 积极= 1 3 \  M3 c% J; }/ Y5 X
  69. ---例如---- ; I8 w* n% N0 t" f; ]/ n7 s
  70. -写在0 2.03.04由p wk.linuxfan
    ' E6 _- a+ P8 v; z; B
复制代码
发表于 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
5 h( i+ B2 F* [9 A! {
0 U5 `3 |/ U) o' ^+ D4 ~1 Cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-3 03:37 , Processed in 0.072557 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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