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

3355 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
  c5 F) V! X- W
" r. M4 ~% y- l7 j( Y# H) e

  1. 3 [/ K* g4 \# e( U5 O# s. z9 i1 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) R. D4 _" j0 w; i! M
  3. 2 A0 v2 b  E1 ]
  4. ### What we need ###/ w; Y+ D; e0 u9 W5 h: b8 P
  5. Naturally, we will need a MySQL server to store the data for us, this document - p& k' R  c: |* @) G) G. R% e) A( h
  6. will not explain how this can be done - there are documents out there for the
    0 p! R7 w3 w, j) \4 m( s
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ N% M+ s1 {5 r7 R1 C2 }# n- P
  8. and a user account (username + password) that has the permissions to do stuff& h9 e7 M# N4 S0 Z/ ]
  9. with the database. Additionally, you will need a vendor library installed on the) C+ O4 L) P- a" M
  10. local machine, this came with my MySQL install., U% M' E5 f" n# M
  11. These instructions will not tell you how you might transfer your data from the7 G6 \  v+ T, k8 w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 @) ~1 s4 ~5 C2 N5 G; I
  13. database.- W# c% e' T" \& j! L& }% j
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 |/ p5 K# j! z  j& ?4 T
  15. the time of writing, there are still too many issues - check the current status1 i9 n. E% b6 A! q9 i- b5 i) e
  16. in the TeamSpeak forums if you are interested.
    5 W' t0 Z3 {' E+ Q$ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    % @" U: t* m6 t# j' O
  18. Borland was used. This driver can only interface with the client library that 7 S7 \( Q* `8 E! e$ J: }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 q+ j( l, |! C3 S: j% c- O
  20. client library - basically all you have to do is to use a 3.x client library as   Q5 s" m% a2 p1 O
  21. "VendorLib" and a 4.x database to connect to.
    ; A6 ^  r' ]8 N* b
  22. If you need more info about dbExpress, you can contact Borland.
    $ w* x+ L+ n, P! Y6 _8 z

  23. 0 ^" R5 d6 w5 ~; |' U
  24. ### Doing the work ###
    4 J. L1 Q0 O# {, I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- x! H( ~8 ^' M' R1 o' i3 d
  26. the perquisites right, just open your server.ini file, and add this section at/ H8 B/ x2 d1 h3 J
  27. the end:
    9 c# H. v; b; U1 U1 s7 C, a: W
  28. ---cut here---( f# E  B/ z  N8 ?
  29. [DBEXPRESS]5 C$ J! A. x2 J. M$ F1 m
  30. sqldir=mysql_sql% c5 X. @# x2 s& K: b7 {) z' b
  31. Drivername=mysql4 ?: V2 Z$ H$ y! B: C
  32. Database=Your_Database_Name_Here
    + z- f) q8 V3 |0 K$ @1 ]; s- m
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 Z) A" x0 L# `, f6 V
  34. User_name=User_name_on_the_MySQL-Server
    ! J/ A) _# E- D$ F
  35. Password=Password_to_go_with_above_user_name
    8 f9 ^0 e: A* f1 d3 T$ l5 A* U
  36. GetDriverFunc=getSQLDriverMYSQL
    $ `) R$ V9 j' y5 e; \' s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " N, d; b. `; _
  38. LibraryName=path_to_libsqlmy_libary- L1 d$ M# I! [  d" L
  39. Active=1. H; C+ g/ K- a! r
  40. ---cut here---4 b2 q# P) ~# c% z, G
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # l! T1 i- G5 i( O6 k
  42. ---example---3 U- h" d) x4 `& s* X* v2 m/ l
  43. [DBEXPRESS]. |! G$ r5 i/ M% @0 c
  44. sqldir=mysql_sql  u/ v0 \$ t, K8 J
  45. Drivername=mysql
      P# _& d! t7 ^# `8 p7 s+ p4 V
  46. Database=test* [4 K2 `" B! ]. p4 |: X' h% l" v
  47. Hostname=localhost
    " x& g3 q" W0 r' l  q0 e9 b
  48. User_name=testuser" W; p. ]0 }. d) J$ v; h$ b% t
  49. Password=my_password
    & k6 }/ o* r5 V
  50. GetDriverFunc=getSQLDriverMYSQL
    & q, ~( @  O3 _  I7 t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# v9 Q( ^' M! S, g$ B, x5 b6 ^
  52. LibraryName=./libsqlmy.so& D) S4 f) a; N9 T' A& `# D% X
  53. Active=1
    7 H5 G$ A$ k/ I, \* k" w' r
  54. ---example---
    2 ^# t: m8 u& o
  55. : e8 V3 r5 R* k2 z7 C* h
  56. On a windows box, also running the MySQL server locally, it would be:/ j. ]' ?. ?: B/ M5 J- l6 K
  57. ---example---
    " H$ _, b/ N' q3 |
  58. [DBEXPRESS]  |/ Q2 Y8 t+ A) B+ A, ]
  59. sqldir=mysql_sql7 U& P3 ~  X; D2 C& T, B
  60. Drivername=mysql
    7 i3 D* w: D% f: e
  61. Database=test
    9 A5 m  }' V8 _9 P+ @- s$ F7 ]& E
  62. Hostname=127.0.0.1
    ; E  O' A; e% J& L2 G1 B
  63. User_name=testuser
    5 T) M' S) g( ?
  64. Password=my_password
    % k" c) |; k/ s4 @2 O& l+ b
  65. GetDriverFunc=getSQLDriverMYSQL6 \( g7 G/ t6 i* r, e; H# s% B# K
  66. VendorLib=libmysql.dll' \! U# B3 u% ^, r1 b" S) V
  67. LibraryName=dbexpmysql.dll0 k4 W; j+ J# Y( ~# I* _
  68. Active=1
    2 t& G( J1 }4 J. c5 z9 T/ c5 G
  69. ---example----
    $ G- u3 g/ }0 \/ W
  70. - written 02.03.04 by pwk.linuxfan
    / [$ W. X) }+ C" g( Z% G

  71. ( q% Z* ^( U7 g+ \9 _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ f( o8 f9 I- a0 \

  1. 5 ]$ }* D1 Z8 P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : M% ?. A4 ?" f: f

  3. 5 v7 q% x' V/ m- X" a' \
  4. # # #我们所需要# # # $ ?4 d, ]2 |& X' P. N4 v, o7 A" u  k
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 t% \- J# p9 d1 X8 ?) g: k( P! [8 X
  6. 不会解释如何做到这一点-也有文件存在,为4 N/ U( N8 S$ G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用4 g3 l& d2 d; L9 j2 {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* k. H4 S2 k% [* V5 V0 }$ G2 M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 }5 Q3 N5 N' H: @1 }
  10. 本地机器,这是我的MySQL安装。
    . Z+ s$ X: y- [9 Y# v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 P1 k0 @' z5 _/ L4 z5 ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 C2 S3 e5 t, J! g0 l- c1 f4 @
  13. 数据库。
    4 c' v. T- `( P' B9 U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 p. v2 o# a! L  z2 v# W' t" B9 @
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' C- ]/ T7 I* j. C  s
  16. 在teamspeak论坛,如果你有兴趣。 & f! ^$ S* K3 i: {  U& z3 J3 v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. e* K1 e2 ^* c/ C+ a6 Q/ d
  18. Borland公司使用。这个司机只能界面与客户端库
    7 {0 t8 t5 N- q- B3 \5 K( q2 b1 J
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * a, |. z  [, W3 [$ ?$ d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , f2 k, k) B( [7 `$ q0 w
  21. " vendorlib " ,并解数据库连接。
    ( I# R! t: a; }7 a. }+ r% r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 }7 T& \& `# A$ Y) [3 o
  23. . Q9 D( t/ E5 v( G3 H" p1 Z; |- K
  24. # # #做好工作# # # : d4 I7 `$ f* C4 a3 v" ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : k& ?2 v- S+ y& S4 H; }) y1 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, P2 r. ^# F" A1 b1 ]+ Q$ R
  27. 结束:
    ) D3 m) v4 ]) E
  28. ---削减这里---
    & F% C1 F# w+ r) t" [
  29. [ dbexpress ] ) Z/ w7 N  _! n
  30. sqldir = mysql_sql " i( z% Z5 i3 ~. M
  31. drivername = MySQL中
    2 @( G$ O) `6 z$ N/ s  q! k3 D" O
  32. 数据库= your_database_name_here
    & }' R9 o* h8 Q
  33. 主机= the_pc_the_mysql - server_is_on 1 h# n' j  ]; ]6 z+ i
  34. user_name = user_name_on_the_mysql服务器
    8 J, a! s) ^4 y$ J0 t
  35. 密码= password_to_go_with_above_user_name
    # `* ~5 L9 [' |  G8 c1 i3 L/ x; V2 ?/ `
  36. getdriverfunc = getsqldrivermysql
    1 \; B1 `  a2 G" b% ^( N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / [+ \) u9 W: A" a
  38. libraryname = path_to_libsqlmy_libary 7 o" G1 [! S! @' d" Y) X8 \; A( N
  39. 积极= 1
    " r8 ^8 d1 }, T/ ?- a
  40. ---削减这里---
    & F  ^9 r8 B1 R; i" u# @1 ~2 `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , x5 {+ E% t2 L
  42. ---例如---
    ' x/ b& x: D: M  e5 m: S' e
  43. [ dbexpress ]
    % b5 F, ~6 A! j# T; y4 c
  44. sqldir = mysql_sql & V1 c6 n$ ^8 a
  45. drivername = MySQL中! a: F, e& \2 s% A* N) Z
  46. 数据库=测试7 _/ Y% w/ j7 L3 I
  47. 主机=本地主机
    - M! H: M5 V6 ]/ `7 }7 s
  48. user_name = testuser
    2 c( V/ g2 R, W4 N5 _# l8 z: b
  49. 密码= my_password ( k# ~; W* Q8 q( _1 l, D
  50. getdriverfunc = getsqldrivermysql : r! w4 F5 M6 I' l9 ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " j. M6 z" f$ D! U+ v2 K1 |; N
  52. libraryname =. / libsqlmy.so
    ! C# ?$ u( I6 I+ D+ V2 X% p
  53. 积极= 1
    / ~" H0 C. P, `2 H/ L
  54. ---例如---
    4 }+ W# V1 z: R' E
  55. $ O; v& z) l$ b+ F& n/ v' @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 e5 a& I2 A  ], ?# y- Z' x
  57. ---例如---
    ; F4 W" Y& u! ~2 p
  58. [ dbexpress ]
    1 X  o) U6 ?( a$ N+ V  Q
  59. sqldir = mysql_sql
    6 S! Q9 ~5 V/ j( u  ?( o5 ]8 i2 x
  60. drivername = MySQL中
    $ |7 ]+ k# D/ i7 N/ Z9 }" |, A
  61. 数据库=测试* j0 @0 S* [6 u! ~4 Z  V& ^
  62. 主机= 127.0.0.1 % V1 R% W) x) x! i
  63. user_name = testuser - k* X3 P( t( r8 j; _) F( b$ X
  64. 密码= my_password 8 [- q* h8 h# P5 p9 H) S
  65. getdriverfunc = getsqldrivermysql
    ( Y9 k! k, ~5 a" h* i" o& M/ J5 z
  66. vendorlib = libmysql.dll在
    / D% Y; C. O" e' m; G
  67. libraryname = dbexpmysql.dll
    + A7 M* `8 D+ l0 b$ M8 f) h3 j; g7 i
  68. 积极= 1 # t& B! B' \, U
  69. ---例如----
    & z# \% _0 L" i& Q9 d
  70. -写在0 2.03.04由p wk.linuxfan( P( v8 x% b; q* G, `- }
复制代码
发表于 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 words9 T2 n, }! H. @3 v
3 b& _4 G( x! e  k5 o! r- L$ o' L) h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-18 22:59 , Processed in 0.108753 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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