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

3099 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ a# R* ~- I9 @" i
2 Z7 ?% I0 N$ w2 ]+ v

  1. - z/ ?2 }; ]9 _! H0 ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 x& n5 |% b6 L1 Y# h: T& w

  3. + ?% Q8 X/ F; U" y1 q. X- J
  4. ### What we need ###
    ) p5 G+ I3 z2 o8 @; N! N% Z& M; V  o
  5. Naturally, we will need a MySQL server to store the data for us, this document ' _, o- _: R5 n
  6. will not explain how this can be done - there are documents out there for the
      M+ q# a. a: }
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 a0 N  V) c0 m
  8. and a user account (username + password) that has the permissions to do stuff2 z' v, w4 f5 d
  9. with the database. Additionally, you will need a vendor library installed on the
    4 P* j' G1 f' O
  10. local machine, this came with my MySQL install.
    ! Z2 j% j* B" M5 w2 N
  11. These instructions will not tell you how you might transfer your data from the
    2 S- V; f/ j3 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL4 C& C& X% F( P% N9 q+ ]5 y/ y
  13. database.4 N$ ]. T3 x# {' k9 ]- A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ s7 q% e# C: ^% B
  15. the time of writing, there are still too many issues - check the current status& @# B3 g( N, Q9 H+ z
  16. in the TeamSpeak forums if you are interested." k4 c; C4 ]4 G( [. E8 m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * t; c" M9 W7 K! f9 O8 D
  18. Borland was used. This driver can only interface with the client library that
    , F* l1 o+ X% A1 k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 {) ^6 f5 S: u5 t6 E9 Y
  20. client library - basically all you have to do is to use a 3.x client library as 6 s8 e; ]* q$ A7 n/ ~8 h7 M
  21. "VendorLib" and a 4.x database to connect to.- h* X' Z" D' c9 x, m  U
  22. If you need more info about dbExpress, you can contact Borland.
    ! i  G* N2 f0 r# t# m) ~
  23. & N: ~: V$ }; ]
  24. ### Doing the work ###
    - S  A1 r, W, ~& W" e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 Z% }- j2 P* E6 h; x4 v
  26. the perquisites right, just open your server.ini file, and add this section at
    - V5 `2 y$ \" S8 w) s' s: y
  27. the end:
    * \0 e8 I( G. m) r4 d
  28. ---cut here---- I  n% w1 X% B
  29. [DBEXPRESS]2 o% M  B% U+ @4 T% V
  30. sqldir=mysql_sql: i- J1 x& _+ y# P' j* s5 T0 s
  31. Drivername=mysql
    1 ]7 i9 x0 a- y4 h: l' H, J( a
  32. Database=Your_Database_Name_Here9 y5 g+ t" V. v7 S# |
  33. Hostname=The_PC_the_MySQL-Server_is_on" \) ]# x/ e: n1 M4 Q
  34. User_name=User_name_on_the_MySQL-Server8 d9 C& e1 }7 V3 X- J( u$ f- T! h% f
  35. Password=Password_to_go_with_above_user_name
    : Z" @9 I7 R* T1 t$ ?" X
  36. GetDriverFunc=getSQLDriverMYSQL
    5 Y4 G6 W) A1 N! F+ @2 J( M6 H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib* U+ J2 {! R+ c. A
  38. LibraryName=path_to_libsqlmy_libary) L; }& z, Y* B% w7 v( q
  39. Active=1
    - c3 G" j2 K8 g
  40. ---cut here---  \0 \+ D- H4 t5 M  F' e. O
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! v& R+ o# ~* o5 A) \
  42. ---example---; N( [0 p% H0 c
  43. [DBEXPRESS]. L! z: P. Z  V& L3 k, R1 G
  44. sqldir=mysql_sql
    + _8 `% z4 j6 _. D/ v
  45. Drivername=mysql/ j' Y" h& ^* N5 I
  46. Database=test, Q3 p, w9 G" f8 c" L
  47. Hostname=localhost/ B8 _6 d! V5 [$ F, g' [2 f
  48. User_name=testuser
    ! D- ?2 S- r/ {6 U% d/ V
  49. Password=my_password
    9 I$ d% i1 T* c8 ^" u4 N
  50. GetDriverFunc=getSQLDriverMYSQL
    9 s5 h% J6 z  O' @; C! h5 X/ b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, G" ^( J4 p# k# p7 |7 c
  52. LibraryName=./libsqlmy.so
    / e' ]' g" S3 a- U: X  k! d5 ?
  53. Active=1& {) u& @1 k# p( }
  54. ---example---
    " J( s' E7 e: x9 j* t

  55. 0 }5 X. D+ w+ U1 u4 h( [
  56. On a windows box, also running the MySQL server locally, it would be:$ i3 e) N' g; a" b5 r3 }/ ]
  57. ---example---
    $ J: ], ]7 ?3 b
  58. [DBEXPRESS]& M, j9 u1 w& ]) p$ J( u6 J0 @
  59. sqldir=mysql_sql
    6 N8 o+ Y5 o" s! S. h; A- S
  60. Drivername=mysql+ ^9 o8 n, K4 X+ W$ o3 p0 I7 h" |
  61. Database=test- [- L, V, ]/ C0 W5 w3 |
  62. Hostname=127.0.0.1
    ( _5 ~8 c; P  ~) q- Y* `( Z
  63. User_name=testuser/ m% \- Q! V$ [/ U' y
  64. Password=my_password
    ( |- Y8 P8 H/ O8 ?9 V* [/ m
  65. GetDriverFunc=getSQLDriverMYSQL
    ( r$ C& L* ?7 {0 l7 g8 j1 X, l
  66. VendorLib=libmysql.dll
    0 Z) j* \+ S/ |, U0 l9 w; d0 C( a+ w
  67. LibraryName=dbexpmysql.dll) Z+ m* }1 ^5 j5 Z
  68. Active=1
    1 @* W! G8 t4 ^! _) [
  69. ---example----
    2 \# z& f2 P. ^5 s7 @0 [- \% R
  70. - written 02.03.04 by pwk.linuxfan. i+ G  B- X, I! e( F

  71. , U5 ~  W) v& l/ u3 G% U2 O5 m( c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 `4 R% \. f0 g5 l

  1. * K/ B4 {5 B) e+ \0 {" `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 h' z0 {0 }8 M2 `
  3. + ]! l4 F1 q3 ]- ~
  4. # # #我们所需要# # #
      l& U* m) d. d+ N( \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- o  ~, a9 O5 B5 v. V7 ^
  6. 不会解释如何做到这一点-也有文件存在,为( e' b2 [4 [3 O8 H$ |$ A
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 h% s1 P0 i2 \2 J- k2 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 A' I, n7 F: s+ C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    : z" g5 a# w: O- T% r) q9 Y; q
  10. 本地机器,这是我的MySQL安装。 : I$ M7 R1 m- Q2 a2 L# |( _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 ]4 S1 h* O/ _4 y! a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ l9 a* h2 R5 V
  13. 数据库。   g" W0 o0 p8 P( f% [  T7 h% u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + z+ d5 i6 F9 u7 o' `" Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ N$ D8 s9 o- F2 ?; M. y9 q7 I
  16. 在teamspeak论坛,如果你有兴趣。
    : U& L! M) J' d, c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: F) P  O) P+ v3 T
  18. Borland公司使用。这个司机只能界面与客户端库* Q7 |  c* q7 c8 h9 q; O% p7 K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 w7 N* A, {' f$ F# l. _0 n- S
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 s+ ^" E7 I- v" o
  21. " vendorlib " ,并解数据库连接。 $ N. x6 b2 C/ L& F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 e. z4 A" s  X" \7 Y( `+ h
  23. $ ?/ C/ e7 m1 G/ z- W
  24. # # #做好工作# # # # `0 j8 `' m! p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; I: J( y* L; ?+ ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . J) i( b* [( y, |) e& s7 `
  27. 结束:
    ; S9 n- J/ h8 a) {4 V5 X
  28. ---削减这里--- 8 B) A8 }( F" K. [4 i$ ]# Y
  29. [ dbexpress ]
    6 v0 b5 L3 ]7 H  a( Z
  30. sqldir = mysql_sql
    % v) x+ G- ]% W
  31. drivername = MySQL中
    6 x' {6 n7 G+ w* n4 Y( X- c; R
  32. 数据库= your_database_name_here
    6 C7 b  e% v" o+ D# q
  33. 主机= the_pc_the_mysql - server_is_on
    ) V/ y& a; M- E$ Q/ G
  34. user_name = user_name_on_the_mysql服务器. K8 F4 a, C2 a- t, `9 z# X, e" V
  35. 密码= password_to_go_with_above_user_name
    : f9 l" d( L8 C
  36. getdriverfunc = getsqldrivermysql # e9 {: a1 ~" L" o7 ]* B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 l4 }8 u9 o: J# R
  38. libraryname = path_to_libsqlmy_libary
    . m2 X& F. K# J* J4 |6 D6 y
  39. 积极= 1
    ) U2 Q5 X! b# c% A# w* }
  40. ---削减这里--- # ~, W8 s6 d# I6 \& G
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 ?, D) t4 T; w8 p. b; s  R1 l
  42. ---例如--- % Y/ w. k+ v+ G8 D/ n7 q: V& W
  43. [ dbexpress ]
    & u: R+ ], L0 ~( G7 C) y5 h1 R
  44. sqldir = mysql_sql
    ! W" V* {2 i7 G4 e0 r2 s
  45. drivername = MySQL中
    - n( i& a1 v9 w  R6 G7 n% e9 }2 d
  46. 数据库=测试
      o- F3 `6 b: k+ s
  47. 主机=本地主机+ I# s+ ^" O# |
  48. user_name = testuser 9 ]) e7 f! K* N+ C9 P
  49. 密码= my_password
    : c# A3 @8 x8 D. N
  50. getdriverfunc = getsqldrivermysql
    , c+ p/ s' q! t# l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 G# D3 h& o: j
  52. libraryname =. / libsqlmy.so
    ; ?+ t/ n3 B! A3 l9 _: H
  53. 积极= 1 3 b6 q0 g" @6 I2 }! L2 ~; @- l
  54. ---例如---
    , a. i5 Y* n2 l- {: w

  55. % r* h! d3 p( B0 j
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      c  t' u; E  `; e0 F
  57. ---例如---
    $ j9 X! k( }* c* {8 T7 @. E, `
  58. [ dbexpress ] ; I( H# M- e# R) R2 G  z% a# R
  59. sqldir = mysql_sql
    7 ]1 G+ L1 O" d6 J; F' u* X
  60. drivername = MySQL中
    * j4 s2 {0 _/ n) @. U
  61. 数据库=测试, S0 W( G- z: j$ `; e% W
  62. 主机= 127.0.0.1 * G  v$ P' X- |+ u. f- T* L
  63. user_name = testuser / c! {; Y) F8 V; c6 U
  64. 密码= my_password # Q. G0 p1 v5 C5 @  {/ u
  65. getdriverfunc = getsqldrivermysql   j( I5 |8 Z9 `: {
  66. vendorlib = libmysql.dll在
    ( B) _8 j- q- K% o* ^8 L& y5 ]4 Q
  67. libraryname = dbexpmysql.dll # d5 k0 A* u6 D# S
  68. 积极= 1 # j' k7 p; F. b+ X( G+ a6 Z
  69. ---例如---- $ O- ?' X+ Y7 x+ i0 U0 _
  70. -写在0 2.03.04由p wk.linuxfan+ H  t! }. H) f' f$ M5 M* I
复制代码
发表于 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
6 @; B0 p( q  w; i: Z$ a
  s. b, @2 Y' u5 Q! x8 I. cbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-1 14:38 , Processed in 0.304687 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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