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

2662 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % z4 D1 k+ l# l) H
  _) \6 F- G) h5 S7 `
  1. , [, K0 @( f1 f! |6 P( V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 x$ i9 D+ i3 F  |
  3. ) G6 [" E! k/ o0 c2 y9 T$ N
  4. ### What we need ###
    9 o- I. \. G1 K3 M& N/ p
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 u9 T3 c9 ?7 o& \# u1 a
  6. will not explain how this can be done - there are documents out there for the , N3 n& C4 l. d- F5 I4 g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & S3 m' C2 K5 H- l% b6 B( E
  8. and a user account (username + password) that has the permissions to do stuff
    3 O1 V; b; s. h- `- O' N
  9. with the database. Additionally, you will need a vendor library installed on the
    % o* Y* I% F  R0 f
  10. local machine, this came with my MySQL install.
    - T+ O2 H$ X) W: I( P6 u
  11. These instructions will not tell you how you might transfer your data from the
      V6 ?* B+ T' i+ Q: `" }) O9 g4 d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; D9 b- @, h, c  S1 U
  13. database.. R" K: P. l  ?; G3 Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 k) c; \9 A, V9 M" w
  15. the time of writing, there are still too many issues - check the current status
    $ z) C7 T4 q7 Y2 S& b. e
  16. in the TeamSpeak forums if you are interested.
    . n# c# R" d; {5 p
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / C0 M3 Y3 k  }1 `
  18. Borland was used. This driver can only interface with the client library that
    8 B7 i6 p. d9 r/ k8 N6 I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 ?$ z" Q7 V2 G$ k- [$ A# l
  20. client library - basically all you have to do is to use a 3.x client library as 0 C- Y- O& H8 x" |6 k: g
  21. "VendorLib" and a 4.x database to connect to.
    6 b* L0 ~! R6 i% T9 t, V
  22. If you need more info about dbExpress, you can contact Borland.
    " m% |9 [: j3 \8 A4 F3 h

  23. 1 v: Q& x  X) J( ~& s0 l
  24. ### Doing the work ###
    5 B+ C7 t# ~. ?8 t& r7 Z) s5 m
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ Q. O( \* n6 E! J8 d
  26. the perquisites right, just open your server.ini file, and add this section at
    6 {( X2 \( `  m  r% e- ~
  27. the end:6 ^. s8 `; `( R
  28. ---cut here---: ^4 [3 U' Q# w& x
  29. [DBEXPRESS]4 K# h: l) g7 |, P3 j& b' M1 Q
  30. sqldir=mysql_sql
    3 p# A' o) _) @5 F. X
  31. Drivername=mysql6 j! w5 t. S" _: ?- |7 V. |: t! k
  32. Database=Your_Database_Name_Here
    , i+ L$ c2 z. Z. \0 B3 e% @
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 f+ B( O* X( y8 b5 H; M" p
  34. User_name=User_name_on_the_MySQL-Server
    " N# ~' J) }& s/ H2 G3 `  e+ g( |
  35. Password=Password_to_go_with_above_user_name
    5 Z8 V: }3 `& u( ~' w0 A% Q3 |
  36. GetDriverFunc=getSQLDriverMYSQL
    * G5 i, M/ f  Z1 _/ D1 T, C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - W9 G' k' Z9 t* u2 \
  38. LibraryName=path_to_libsqlmy_libary
    % ^; o7 w. t) G  T2 l+ v: ^
  39. Active=17 v, i1 H5 O1 L7 Z; h9 E
  40. ---cut here---9 t8 ~: y3 o2 \4 [: h2 E6 X
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! r3 o5 n+ ^0 A" d$ M$ H0 k
  42. ---example---% a0 }# L& _+ q; }
  43. [DBEXPRESS]6 P$ D  X+ s% e' I
  44. sqldir=mysql_sql. r9 |7 {, R- y  s( k
  45. Drivername=mysql
    ' z( b6 t, z% }$ E8 `8 Z# M
  46. Database=test% R) l. e, n) L" X
  47. Hostname=localhost
    6 t$ L, n! |0 G
  48. User_name=testuser( m8 g4 d! ~, Y5 ^
  49. Password=my_password' {1 ~+ {% {3 e7 ?: H
  50. GetDriverFunc=getSQLDriverMYSQL( `0 j0 Y4 s8 }- r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& n9 w6 ?0 y9 F  P
  52. LibraryName=./libsqlmy.so
    9 ?, D% k0 N' k/ t+ _5 ~  @
  53. Active=1
    ' u9 @! ]7 Z2 f0 n5 p; u4 Y" y. W
  54. ---example---
    # e0 K2 R+ {' Z+ Q& g* m+ T# h* V

  55. 8 \; w! ~. O% G% }3 d) o
  56. On a windows box, also running the MySQL server locally, it would be:
    4 f& {8 g) C+ j0 A' W: w
  57. ---example---
    5 e7 f- Z1 n0 h( C5 R
  58. [DBEXPRESS]
    ( {' Q  a9 Z, H+ p! _1 t# A
  59. sqldir=mysql_sql
    ' e7 m4 N+ w" S2 v- w, i
  60. Drivername=mysql# g# ?, k3 x1 B
  61. Database=test2 [0 O/ V7 l1 v; q7 V. O8 w
  62. Hostname=127.0.0.15 U2 H( t( ]6 J8 C, G+ z
  63. User_name=testuser
    : z; n  G2 r6 T4 W
  64. Password=my_password8 e; c5 \5 {) {" Z
  65. GetDriverFunc=getSQLDriverMYSQL
    ! r7 O$ [+ U" t, c% A+ i& ^5 b" @
  66. VendorLib=libmysql.dll# a( Q; Q% c) w5 Y2 ^( J
  67. LibraryName=dbexpmysql.dll
    0 L+ e9 g' [* v4 W) Q* L  Y
  68. Active=1
    $ y! M* J& F+ A5 i# L
  69. ---example----. s3 W. m; H  x& D0 |
  70. - written 02.03.04 by pwk.linuxfan
    : y' G) Q( m( e$ i

  71. 3 H& {& L1 C" I5 t
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: ]0 ?! V( _' v2 V

  1. * a$ p' j3 z5 e3 Q$ p& P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / ?3 X  g; v& \& r! E5 m
  3. ' D: L* S6 R) X8 }
  4. # # #我们所需要# # # % O* e* @5 r1 D9 W) Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& o$ T# K0 u, e0 D! Y3 [
  6. 不会解释如何做到这一点-也有文件存在,为
    ) ]6 m* h1 y4 I7 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) ?* V, D3 t" n5 A' `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 t8 D/ N4 O6 p' Y6 e1 x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' Z7 _6 P! u) x, a3 P
  10. 本地机器,这是我的MySQL安装。 * M# J2 D, ]* d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, D) T- ^9 P' h/ ~. y8 o! c
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 ?' K4 r$ j! N7 P& A" b
  13. 数据库。
    6 K9 @9 c% V$ Z# a; r1 V  `! V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / a0 B. l  i9 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ }) G& E! O/ `$ h( E
  16. 在teamspeak论坛,如果你有兴趣。   f% ]) S0 j  G/ P" O
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 P: z, @, z1 Y4 X
  18. Borland公司使用。这个司机只能界面与客户端库
    # ~% I% U& F1 L, K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 l& c/ t; }& o9 R& R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + r: H* r+ A" v2 b
  21. " vendorlib " ,并解数据库连接。
    1 ?2 D9 f. @. @& P: n' T
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 p+ }. T! Z$ w! c! q% |

  23. , z" [. r4 A0 H
  24. # # #做好工作# # #
    4 ^% i; B: ~1 {" E. h  ~. Y9 y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ V- o; x2 T5 P2 G  P8 q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 V5 ^6 T/ I3 f7 V- S3 t
  27. 结束: 7 t3 B: v" S9 C4 `8 [  g/ M
  28. ---削减这里--- 9 A: L$ S# h* Y8 [: V
  29. [ dbexpress ]
    & b5 S! a$ f) c% d/ d
  30. sqldir = mysql_sql ) e7 i. S, N, m- J$ A
  31. drivername = MySQL中2 U; q8 I/ u  `% h) A5 H
  32. 数据库= your_database_name_here ' L4 i2 a0 }2 _5 |! {$ @8 L- Z' Z
  33. 主机= the_pc_the_mysql - server_is_on # H: \: H% @6 K& J
  34. user_name = user_name_on_the_mysql服务器
    6 `/ H5 `1 d/ @6 Y8 p9 s
  35. 密码= password_to_go_with_above_user_name
    % \7 i0 B' ~# Z) d3 d7 M
  36. getdriverfunc = getsqldrivermysql
    ) c2 T" x" u; Z$ }% S$ ~. b1 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ S* n& ]; O. z* r0 L9 [$ N
  38. libraryname = path_to_libsqlmy_libary 7 H2 ]# S/ a; K* E1 _" y0 d, c8 v
  39. 积极= 1 , f9 P# I3 h! d" R" e1 R
  40. ---削减这里--- $ c0 f# J" n8 n) B. X! f* c! Q  l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ k* n8 a& c) u/ c+ w# W4 \4 B
  42. ---例如--- 9 ~/ D* A7 G  e7 ^
  43. [ dbexpress ] " @5 F6 n! g/ b
  44. sqldir = mysql_sql 7 {6 `" G- @# y8 O$ ^
  45. drivername = MySQL中
    + M& l: w8 Q2 c& d+ Y
  46. 数据库=测试$ p5 i4 T( h/ r3 B! y
  47. 主机=本地主机
    5 N# D) ?1 N) v9 w3 H$ K
  48. user_name = testuser
    . R# l$ _7 z" S! u# ^+ P
  49. 密码= my_password
    : p* F) e3 T+ P  [+ }* Z
  50. getdriverfunc = getsqldrivermysql . Y  V, {6 A* c; h0 |- {. H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # J, c% r- \( F0 i
  52. libraryname =. / libsqlmy.so 9 f- x: W* E) {% q9 ^( G
  53. 积极= 1
    & A7 l0 a# ~6 s5 Z  `' J
  54. ---例如---
    ' T: @' m9 B4 j# C  I0 d: {- d
  55. ) J3 b) b1 c1 ?  L1 N3 c4 I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( G! h! v8 ~; m/ d4 W
  57. ---例如--- + x9 r0 t! d. @  h# ^
  58. [ dbexpress ]
    % M% w- R$ e) o: |: Y! w8 D
  59. sqldir = mysql_sql ' S6 G& ?7 X  ^( d% a; H
  60. drivername = MySQL中& h$ M9 z/ |+ e7 r
  61. 数据库=测试6 G; a  [/ W  ~" ]; `: A% ?
  62. 主机= 127.0.0.1
    : C. c0 Z2 U4 S1 e$ {
  63. user_name = testuser
    4 y. P/ X" l; S
  64. 密码= my_password 1 W( G6 {" R) N
  65. getdriverfunc = getsqldrivermysql , ]6 R" v/ ?+ h$ D! J' z
  66. vendorlib = libmysql.dll在. @' B% z. z. z9 W/ P, c/ D* M
  67. libraryname = dbexpmysql.dll
    ; L5 T+ `' c8 G+ a  H
  68. 积极= 1
    7 H3 }- c% w: |3 r$ }3 u9 V% U
  69. ---例如---- $ Y8 ?* j1 U; }! V5 s6 Y! u
  70. -写在0 2.03.04由p wk.linuxfan
    0 e% q. o; W7 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
2 {& f. n* n, [2 [! `) {- ?- Y$ `/ J' R) y+ w. p
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-25 03:14 , Processed in 0.115739 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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