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

2416 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 C5 F( c9 O6 H; s; p' E
% z# z. U$ l% w/ J3 t( R2 W( y

  1. ; S3 @: `% f! ~" f% H  M# ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 j" N* v; X% {# h: U. B) C. n+ ^

  3. ' u* n* N% q7 J$ L0 E
  4. ### What we need ###
    ( b& b9 q. X. Z! C
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & M# \' b& r; J6 c
  6. will not explain how this can be done - there are documents out there for the ; a# m, {- ~& q3 X# K7 u
  7. interested. The requirements include a (empty) database for TeamSpeak to use" a9 F) U2 m8 C4 y- P! Q& C& ~
  8. and a user account (username + password) that has the permissions to do stuff
    4 I% `  y2 K: Y. R* k' V! b* l6 \
  9. with the database. Additionally, you will need a vendor library installed on the* `4 u5 b; O& T% g8 C
  10. local machine, this came with my MySQL install.! T$ o( g2 j% H- z1 m3 z, j) {
  11. These instructions will not tell you how you might transfer your data from the( z" r+ W" Q% k8 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! L# E7 y3 P3 c5 ~  S" n: K
  13. database.
    8 n! a; D" U3 R1 ~# ]6 t! U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + `+ o& T9 f* t6 _( W1 U
  15. the time of writing, there are still too many issues - check the current status& k4 w# R/ G- j  \* {/ o. P7 `, c
  16. in the TeamSpeak forums if you are interested.
    ( f: b- E' u3 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 h- s( i# h8 e$ c: I( t4 \- i
  18. Borland was used. This driver can only interface with the client library that
    % ]& O4 ~" y! A4 C: \* f9 z+ |
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 k- ^+ O- u' z+ G) b& b6 L$ _+ Z
  20. client library - basically all you have to do is to use a 3.x client library as
    . F1 @8 s; d! m' W1 `4 Z" }
  21. "VendorLib" and a 4.x database to connect to.
    / r. H  H$ f  D7 R' i
  22. If you need more info about dbExpress, you can contact Borland.) m) B. N3 x& v. i
  23. - X4 N% Z) c+ Q3 I/ ]( g* H
  24. ### Doing the work ###4 Q6 w- J9 m/ ]- n7 V6 Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * L  P$ B" D3 B+ M" o% H
  26. the perquisites right, just open your server.ini file, and add this section at
    ' }/ f3 _( c7 T
  27. the end:5 m3 O6 O- o# l6 v
  28. ---cut here---( i  z( @! H( E8 g
  29. [DBEXPRESS]
    + d' p. T7 O3 U% @) Y. q
  30. sqldir=mysql_sql! _2 q6 Z( X# E  _) `
  31. Drivername=mysql; ~; e  c+ q# z% Z
  32. Database=Your_Database_Name_Here8 a( [5 @( A, t# d! B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % n. K0 _2 q1 q9 n4 b  r; U
  34. User_name=User_name_on_the_MySQL-Server4 B) l/ e  |3 J' C' j8 k" N5 _, N- ~
  35. Password=Password_to_go_with_above_user_name
    % h  T$ _; N7 {- R) }+ I" z% D
  36. GetDriverFunc=getSQLDriverMYSQL  k5 J) A: ~( P: `2 O! ~
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # c7 G* C# Y" T1 }6 D1 ^! V2 b
  38. LibraryName=path_to_libsqlmy_libary- `0 D# j* y8 f, b* H
  39. Active=13 m6 @3 Z0 p; q
  40. ---cut here---
    + y1 H- Y1 H4 O* p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    % U7 r6 P- ]5 G9 d! u: J# }
  42. ---example---+ H4 q1 u& ]" U; ]$ `
  43. [DBEXPRESS]( g# L+ g" L- c0 p
  44. sqldir=mysql_sql# s& |$ H0 i- k  @0 q' z
  45. Drivername=mysql9 a! M: R- w5 p7 [
  46. Database=test
    6 [* l# f8 Y. }
  47. Hostname=localhost
    ( C8 M; ]' c3 F3 K6 y8 X
  48. User_name=testuser7 G! a& h# F4 G
  49. Password=my_password
    . |$ ]1 [. r. u0 X2 r1 w- B
  50. GetDriverFunc=getSQLDriverMYSQL
    4 X% b9 J0 [2 r0 _1 b# ]& p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . p  W  ?" u" d+ y, F  }8 q! I6 M
  52. LibraryName=./libsqlmy.so
    ' a0 `2 g( [* O) q4 m8 B
  53. Active=1
    ! a0 X: [- F+ B; \$ U0 X
  54. ---example---
    : B: q9 g  b* Q9 ], a% B
  55. 3 Y9 ~5 k! \9 v& G) X+ u+ L
  56. On a windows box, also running the MySQL server locally, it would be:
    2 F" x* g9 ]* w; n9 e$ P
  57. ---example---
    / ?+ i7 l) |; Q) }$ [5 v
  58. [DBEXPRESS]8 A+ w+ D7 K/ c% h1 z
  59. sqldir=mysql_sql- _. Y, o7 k* Z/ A( H1 B) k$ e
  60. Drivername=mysql/ z' @7 Z8 y( ^5 s: I" j, b9 Y% E
  61. Database=test* W, b( V2 y" A/ t
  62. Hostname=127.0.0.17 d6 v) m, D& ~5 E8 Y$ k
  63. User_name=testuser
    $ I$ p  R" F, F$ Y8 V" q
  64. Password=my_password7 u5 B2 `4 m0 C& ]2 f) V
  65. GetDriverFunc=getSQLDriverMYSQL* g! B0 @- F; c8 ^: u; K" W9 x8 p
  66. VendorLib=libmysql.dll
    8 D# y+ ^1 W3 R3 \% `
  67. LibraryName=dbexpmysql.dll
    - x' c2 G4 N# O/ I  u3 z: l/ y& A
  68. Active=1
    % G$ S) _! c6 w
  69. ---example----
    9 M/ ^% S. X% m" N& z3 c
  70. - written 02.03.04 by pwk.linuxfan8 a: ?! \% j9 K1 l. }# [! m

  71. 7 e* _$ Q3 q! f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# U4 y) o: H# D- E3 C9 D

  1. $ M4 J2 Z9 L* f- Y1 s) o# ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      c0 N; @& `+ F3 w: _) ?1 X* i
  3. 6 \$ ]' d/ {0 v2 Q
  4. # # #我们所需要# # # ; R% X" I( K7 K" o6 u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 _5 G  T2 Y1 A; k
  6. 不会解释如何做到这一点-也有文件存在,为
    1 @, F" m0 O3 N5 S# T) q( R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) ~6 p3 ^: o3 Y/ v
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 D/ A& e* e/ k# \# k" A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ [( r- T/ q% _! [! F% K1 S9 r
  10. 本地机器,这是我的MySQL安装。 5 r( m  B8 }# h7 Y! W
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + Q4 u  l, o4 f7 w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   [2 o0 [( `6 l2 {1 ^
  13. 数据库。
    & v$ z; X9 G/ `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. a5 f2 ^2 s: Y! W# c
  15. 编写本报告的时候,仍然有太多的问题-检查现状  P5 d2 |- C3 F7 B
  16. 在teamspeak论坛,如果你有兴趣。
    / \; U2 |# s/ a1 E. D- ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . n8 H9 x( w# t- ]' {- n2 [
  18. Borland公司使用。这个司机只能界面与客户端库
      n: F' ~7 D, S; C, i5 M" ?+ d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    : K6 V2 |1 r: {- t/ w: d8 w" n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ r& T; p& a1 x) _/ f2 t
  21. " vendorlib " ,并解数据库连接。
    ! D1 u" h" q7 K6 q9 g  b. J8 c! _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    / E+ l, t7 q& _) i8 ~# ?! N
  23. $ \6 Y% ^9 D# T- q/ m7 P
  24. # # #做好工作# # # 8 g( \6 K1 E% k$ B. [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  g0 X- t5 i4 k0 A* Z& _! B# j# P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- R% @8 x) q. @8 f2 D
  27. 结束: . v/ p; }" a& p6 q7 R
  28. ---削减这里---
    " w( |; G& k. W- A' D% p& m( s! g
  29. [ dbexpress ]
    8 i; |7 k  W* j4 A6 f) a7 C
  30. sqldir = mysql_sql
    ; h# Z1 ~2 j! |1 q
  31. drivername = MySQL中
    + K$ O( H' S: G* `
  32. 数据库= your_database_name_here 5 s( t( y% n8 Z: I$ |5 O
  33. 主机= the_pc_the_mysql - server_is_on 4 x* A& p: U  O
  34. user_name = user_name_on_the_mysql服务器
    $ t* v! O6 N, A
  35. 密码= password_to_go_with_above_user_name
      L8 j, K. g, w, D/ g" ]
  36. getdriverfunc = getsqldrivermysql
    # v2 e! ^' k: O7 z% a1 s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! K& H, {/ h1 E5 f9 ^
  38. libraryname = path_to_libsqlmy_libary
    : N" H4 L6 g/ _& g+ e: b9 |# E
  39. 积极= 1 - B( a$ v9 Q* K
  40. ---削减这里---
    9 r; Z2 M( @& ?
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 f$ z4 `$ F( P& z( v# S
  42. ---例如---
    0 q$ v! c; d: k4 n& ^
  43. [ dbexpress ]
    % J" G5 C8 V3 G# ^- l3 p& H6 N
  44. sqldir = mysql_sql ! B4 X# s; I1 W
  45. drivername = MySQL中
    & C( Z. d7 W( s% s' ^2 |: {
  46. 数据库=测试
    2 I) {) p$ c( K9 o4 `
  47. 主机=本地主机
    - d7 n  b4 ?! {* c" U7 \+ u. N' u* c
  48. user_name = testuser
    . s) C. V0 Z( Y% d. O6 F
  49. 密码= my_password
    7 B' @4 b  @8 _0 o9 X4 i. R* R# q7 |
  50. getdriverfunc = getsqldrivermysql
    - n' C  D1 g- v: s8 `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 t: c; n, N& g" V+ P
  52. libraryname =. / libsqlmy.so , K, Y) @6 f! A0 L- U
  53. 积极= 1
    ) o2 y1 S. ?, S. f0 C" z
  54. ---例如--- 5 w' F) G3 N# e3 o

  55. / X* L3 C' g/ U& t' ?- B
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; S- A) K. l( w' p
  57. ---例如--- / G4 K% a+ @2 G/ \
  58. [ dbexpress ] # Z  c- {9 p8 X  i) S
  59. sqldir = mysql_sql
    1 q  `) u' Q3 y( q. Z
  60. drivername = MySQL中
    9 N* l, g. ?- c' s: `
  61. 数据库=测试4 C9 y, V6 F  A* n7 O3 @7 q
  62. 主机= 127.0.0.1 * O0 D) s/ W! u* A) s1 _( m
  63. user_name = testuser ( n9 m$ G* y) ?) @# r2 ~
  64. 密码= my_password
    8 ]. Q/ {- \% C, _/ K  {9 `  \
  65. getdriverfunc = getsqldrivermysql $ Q4 T" |( l0 v  ~: k
  66. vendorlib = libmysql.dll在# @7 S" |6 I# o0 f
  67. libraryname = dbexpmysql.dll 7 z, T: `5 G, H5 n' s7 s
  68. 积极= 1 8 n. |" @1 H8 B; d
  69. ---例如---- + b8 w7 V8 B$ J3 G# a& ]) a4 e
  70. -写在0 2.03.04由p wk.linuxfan
    1 Y8 x0 ^# N' q! y9 s/ V
复制代码
发表于 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+ K, @/ d  r. {+ R
5 {( x8 a5 e; i; N0 @7 Y" a6 M
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-29 08:40 , Processed in 0.107853 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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