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

2275 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 \0 c3 y: x2 g( R- g7 z( v8 b* k5 c8 O% \; Q2 Y; l
  1. ' n& T8 q6 r3 K% ?; H' N# w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### Z1 B, ^- m. W) u

  3. 2 u! Z2 }; F' Q% r) |
  4. ### What we need ###; s: l( {3 Q' Z. n
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - G6 I/ X0 a- {
  6. will not explain how this can be done - there are documents out there for the " V, H7 \2 m# j* u' ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 u% e# a) o! j' m6 d* n
  8. and a user account (username + password) that has the permissions to do stuff& f# A# \; p; V. H" z
  9. with the database. Additionally, you will need a vendor library installed on the
    % v* N! e( C/ _! u, X
  10. local machine, this came with my MySQL install.+ I; `! u$ t' ^
  11. These instructions will not tell you how you might transfer your data from the! c: \: Y. C, r8 s/ X! u4 {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 O( V! @' w$ r- |0 _
  13. database.
    $ W4 ?: L4 q% c  t! q/ Y* y2 {
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # K, ?# x& x8 |$ [1 e2 j" q) k$ [
  15. the time of writing, there are still too many issues - check the current status/ L7 q# b5 I$ d  T
  16. in the TeamSpeak forums if you are interested.
    / c/ ]# ^" @# M/ E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- o; P& L; {1 x4 u" r( T) E: v) N
  18. Borland was used. This driver can only interface with the client library that
    . M1 q' l' k* S* q5 H1 L% e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) T: v3 z3 ~! s* l+ ?, S/ I/ N8 n
  20. client library - basically all you have to do is to use a 3.x client library as
    8 C& C/ m' }; n# [) m( E" e
  21. "VendorLib" and a 4.x database to connect to.' {2 G% j. U& V9 P  Z( ^6 ~
  22. If you need more info about dbExpress, you can contact Borland.9 c6 i+ M, n$ g0 L& e6 }$ }/ d

  23. " ?0 b& u( ?, I3 i# c, b
  24. ### Doing the work ###) Y2 f; F' N; ^6 G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 D# c' j. t. O7 X6 Q4 ]
  26. the perquisites right, just open your server.ini file, and add this section at
    " _: @! \' j/ q$ o
  27. the end:" B! d. l7 R3 h* M
  28. ---cut here---
    # I# Q4 y9 x$ T2 b: s7 o; c# r3 y
  29. [DBEXPRESS]1 \5 S9 g& E* L2 y8 s
  30. sqldir=mysql_sql
    . Q* M% x. B; w) E0 D/ S/ h! u/ l
  31. Drivername=mysql4 B6 T3 C4 c  h, L8 e8 ?( s
  32. Database=Your_Database_Name_Here0 G: L* u+ [9 u. q1 ^
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 @: R3 U$ w: \  S4 ]7 k
  34. User_name=User_name_on_the_MySQL-Server
    4 G7 l& j: b( W; ~$ a
  35. Password=Password_to_go_with_above_user_name
    2 l2 K4 S- }2 M: ~0 Q1 f
  36. GetDriverFunc=getSQLDriverMYSQL
    / v5 _% R8 S$ t& `: m! A% @% E, x7 u' W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 f- D, S: f9 j+ m
  38. LibraryName=path_to_libsqlmy_libary
    $ u$ m6 i% `. a* c
  39. Active=1
    8 y7 A+ U# h# C& ^8 u
  40. ---cut here---/ v5 @' Z( e3 ]! j8 x' r! m
  41. In my environment (a linux box with a MySQL server running locally) I have:# n! |( B7 R6 l
  42. ---example---
    : Z. ~0 A& m+ ~5 X
  43. [DBEXPRESS]
    % i# s  P( v1 l' `: M
  44. sqldir=mysql_sql
    * _1 R5 j8 `# Y9 V
  45. Drivername=mysql& ^; Y- N# k1 C: d. ^
  46. Database=test9 ?' J, C. n6 H
  47. Hostname=localhost/ V' b! D$ Q7 ~1 Y
  48. User_name=testuser8 C$ i( a) O  [% N7 v: m9 J
  49. Password=my_password" |; d+ ?- m' X+ t1 B% b5 X
  50. GetDriverFunc=getSQLDriverMYSQL' B% U1 n9 J+ \) k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 U' J# ^+ I: X- `5 X) O8 V9 K
  52. LibraryName=./libsqlmy.so) A  U, J) E, f& f) Z4 |+ F" V
  53. Active=1
    9 Y& Q/ P. V( D7 C* \5 s+ _
  54. ---example---: o+ v/ \1 w' D. Q/ Y
  55. $ E/ B# b& Q2 I8 b9 `1 J. g
  56. On a windows box, also running the MySQL server locally, it would be:
    ) D$ r% U& z+ d! h" S3 X) z
  57. ---example---
    5 O; k# y: m7 A5 A8 R
  58. [DBEXPRESS]+ P( T/ X! q% L  u+ f7 z3 t
  59. sqldir=mysql_sql* {! L' F9 b7 h* r
  60. Drivername=mysql
    % t7 N1 z9 \4 [5 e# \( ^. K/ Z
  61. Database=test
    ( r. \, ?5 l, ?* S
  62. Hostname=127.0.0.1& X3 k% l6 j: `
  63. User_name=testuser  {; a" l2 \* n7 i4 m
  64. Password=my_password
    % N# h; p; `7 x  {
  65. GetDriverFunc=getSQLDriverMYSQL
    6 o- E4 t% R8 f
  66. VendorLib=libmysql.dll8 y6 _( f+ X+ N7 v. r. w' y
  67. LibraryName=dbexpmysql.dll" H" \  u- k6 |+ m1 \  R
  68. Active=1
    7 H: Z/ I! _4 \7 F# U" P
  69. ---example----  T# d$ Y2 b1 N, S9 ~& a  _( f1 ?
  70. - written 02.03.04 by pwk.linuxfan
    1 c% W/ C& U% ~
  71. 6 {. p9 D! K" G  O6 n, ^0 Y' |( _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% ]3 q: O/ b3 S9 ~: v

  1. 1 P- d: \$ S7 y3 v8 J9 y- K1 G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : t* L7 y$ x. v4 d
  3. 9 C6 d$ P. z  i) R6 {
  4. # # #我们所需要# # #
    & S; p1 Z0 L0 v* j* x  I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % O8 f2 [! }4 ^3 p) @* Y
  6. 不会解释如何做到这一点-也有文件存在,为# T9 x0 T- K0 |& ?8 G+ ~& \7 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 _- R/ l' Y/ |' G  {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( e' {. ~+ Q4 D8 h- N0 D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于$ S1 z/ e. S. S( q) C& K0 f4 N
  10. 本地机器,这是我的MySQL安装。 % b+ }4 a9 _( I4 g& a4 i# m" e' G! i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 c; ]7 F+ s' r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) @/ y5 C( S7 d( {- _/ \! Q7 ~
  13. 数据库。 ; e3 y, L4 I) }" \" J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 J) T6 q+ r3 @% Q; P% Y  n0 W3 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 Z( e3 h: a" e+ \
  16. 在teamspeak论坛,如果你有兴趣。 : c" Y, v/ H/ W) g( C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& K$ U7 N% f0 K$ c) Y6 f5 V
  18. Borland公司使用。这个司机只能界面与客户端库0 M0 D& ~7 }0 n  D, w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : c; r$ m/ c; A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 s, I! `: A. a, f% b
  21. " vendorlib " ,并解数据库连接。
    / _" P; K! {7 T! |9 p' o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。   V# F+ P3 o$ a% z

  23. * a0 l( ?5 ]" t# a# Y& D
  24. # # #做好工作# # # * x- B, b2 o+ k6 ?7 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% R# b- K, q( O6 }2 W0 f7 ?+ w; T6 T4 }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 [# F. z  Q. \5 H
  27. 结束:
    # v, I+ @) G: Z# G. l! X
  28. ---削减这里---
    ! b9 w( t' m7 B! D5 x. ^5 N; i
  29. [ dbexpress ] ' t; O/ h7 z2 ?1 L6 y9 {
  30. sqldir = mysql_sql : s* }/ P' ]9 g
  31. drivername = MySQL中% S+ s8 T. o& H# `' p1 I
  32. 数据库= your_database_name_here
    , n% z" K+ s2 @- K2 b0 t7 k
  33. 主机= the_pc_the_mysql - server_is_on & Z& V+ B/ u2 z
  34. user_name = user_name_on_the_mysql服务器
    7 T8 ?  H8 q. _1 {8 X
  35. 密码= password_to_go_with_above_user_name # \( t( g0 H8 g; O' Q
  36. getdriverfunc = getsqldrivermysql . ^- s6 }6 ?4 b4 N) e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 R6 }# _2 r0 f
  38. libraryname = path_to_libsqlmy_libary 9 M7 O5 E) u7 O
  39. 积极= 1 ' n( P" d/ d& X1 q/ j) Q+ I5 K6 b7 b6 S
  40. ---削减这里--- ) ]/ p8 v6 L& t2 Z% y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " P1 H: R! k$ k! J. Z( ?
  42. ---例如---
    ) X, L, a# S4 p
  43. [ dbexpress ] / {1 [  p& l( e" O
  44. sqldir = mysql_sql
    * ^: T) y0 ?. h
  45. drivername = MySQL中
    . \- y. e" g, ~& ~
  46. 数据库=测试
    , m; t0 R0 d: T$ t7 {/ y5 F
  47. 主机=本地主机
    6 p% B1 M8 @# B
  48. user_name = testuser 3 L5 k" t$ G; B
  49. 密码= my_password
      V8 {% U/ G! }+ Z: S
  50. getdriverfunc = getsqldrivermysql
    9 z2 O6 s, S# Y0 a$ `" l) {2 F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 H# n4 V1 ^2 Z0 E) \( Z
  52. libraryname =. / libsqlmy.so
    ' e3 P8 h, D: d7 [% ?* x
  53. 积极= 1   p9 x/ R+ P& }, L/ ?0 ^
  54. ---例如---
    6 }" J. U& }7 ~; f

  55. 6 G4 P- [( O8 @. g3 g. X
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & S) y9 P% n4 {8 O& X9 M* _0 [6 q
  57. ---例如---
    - q9 }7 r9 Y1 D4 E$ m
  58. [ dbexpress ] : w7 U* P3 k4 R* p/ B' k9 w
  59. sqldir = mysql_sql
    . X  c4 ^- N+ i5 Q6 ^7 c
  60. drivername = MySQL中) }5 g' t3 a( Z9 f- Z7 C6 |/ h
  61. 数据库=测试
    - z3 y1 D8 i9 @! p" l6 x7 c
  62. 主机= 127.0.0.1 ) F/ Q. m+ J. v& R6 F% B
  63. user_name = testuser 8 r. ]+ Z) t9 A+ L/ A$ H
  64. 密码= my_password * Z4 V6 H* Q0 }* b" \# s
  65. getdriverfunc = getsqldrivermysql
    7 w/ X. t' _' C+ z% V- C
  66. vendorlib = libmysql.dll在
    ' b* e7 O" x2 j, S) ~  W* t
  67. libraryname = dbexpmysql.dll ' ]5 g+ }6 k! I9 Z* }
  68. 积极= 1 ! a& d- A  e8 U, a% V; d0 y/ m
  69. ---例如---- + ^% r8 ]: l3 Q# f: Y  \
  70. -写在0 2.03.04由p wk.linuxfan! |: y  J9 G% E% W0 U
复制代码
发表于 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& w; ~5 Y8 z5 O3 x

1 c6 B9 ^- k& M5 y6 {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-8 16:48 , Processed in 0.098342 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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