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

2462 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( }- V0 v) h, f; h
% F( [# L( d! f; G6 c  r

  1. # |! L% d  {9 l. ~* z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* z) W* c, p# m6 |
  3. 3 O+ M* C# H; w3 Y& w( Z7 Y
  4. ### What we need ###
    & v; J5 N5 P! \( d
  5. Naturally, we will need a MySQL server to store the data for us, this document $ x: u3 I3 \8 O" m' b& j/ `
  6. will not explain how this can be done - there are documents out there for the
    6 s( u. o0 ?% g& d% s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) j6 }$ C8 C! Q% C& T# {& ?& s6 q
  8. and a user account (username + password) that has the permissions to do stuff
    8 _* k/ ]% b' F5 D, l" K
  9. with the database. Additionally, you will need a vendor library installed on the
    3 l2 ~1 Q) h5 H( A
  10. local machine, this came with my MySQL install.1 V5 b1 P' T, `! l; ^, F0 J5 u
  11. These instructions will not tell you how you might transfer your data from the
    * P" n) s4 ?2 y/ N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 K) Z' G. z0 ?7 I& Q, O
  13. database.
    7 I6 B  z$ }" A+ N3 n! _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # E+ P7 O0 x/ T0 i! v
  15. the time of writing, there are still too many issues - check the current status( _+ S( z. e; O  i, u7 n. U
  16. in the TeamSpeak forums if you are interested." P1 G$ T8 _6 I! M$ r) p* b( T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  V. Q, ~, t1 q, o
  18. Borland was used. This driver can only interface with the client library that : p+ m* w7 J3 U1 }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ D1 L" c6 q3 Q: A9 Z! t
  20. client library - basically all you have to do is to use a 3.x client library as
    9 }2 E: A6 v4 I% Q
  21. "VendorLib" and a 4.x database to connect to.# i6 M6 ^$ D! C& q0 d
  22. If you need more info about dbExpress, you can contact Borland.! |$ F) u; e# J, v5 S! _
  23. 1 z# N  N7 g+ h" y
  24. ### Doing the work ###
    ! U4 L) _" O% G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* x5 K1 e$ h9 E: U, X: {
  26. the perquisites right, just open your server.ini file, and add this section at. b" a9 ^* o: K: E  F
  27. the end:
    * q$ U( C7 h) }! W- U( v* ]
  28. ---cut here---$ n' o' E- g7 k: r& k
  29. [DBEXPRESS]% S: x1 J: _7 \8 \/ l8 P
  30. sqldir=mysql_sql' ]: G6 A  \' v- y# k: \+ s
  31. Drivername=mysql0 b: T" ?0 Y' _) R
  32. Database=Your_Database_Name_Here
    * Y  i- ?9 _* b  d) f
  33. Hostname=The_PC_the_MySQL-Server_is_on9 ?1 d( {. H  @' w: v8 K4 V; p$ _0 w
  34. User_name=User_name_on_the_MySQL-Server0 C/ t0 e  ]& s! D  ]; ~! i
  35. Password=Password_to_go_with_above_user_name& }% ~! p) T6 s. k; |- v% @
  36. GetDriverFunc=getSQLDriverMYSQL
    $ J# L+ T% q3 J' Y5 L* P" \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 S" T/ B7 }6 h. B$ J( i9 Q
  38. LibraryName=path_to_libsqlmy_libary& C) ]# r' A* F
  39. Active=1
    4 |/ U- p8 h$ ]) L3 y& C$ |) H8 n
  40. ---cut here---* E$ b. v# {. B  s! H- d2 i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; f, Y& K; ~4 x; A$ K' r2 y
  42. ---example---$ o- M0 }9 ^6 O, M
  43. [DBEXPRESS]# S: v3 H( t! b# V, t5 b
  44. sqldir=mysql_sql7 y  |, {& s- h- }- M& v
  45. Drivername=mysql
      W+ K% l* G: S! F. m% u/ @
  46. Database=test
    2 E6 ~) H* l6 h0 u3 M6 a  C
  47. Hostname=localhost
    8 N% c/ d+ X4 L$ |5 I
  48. User_name=testuser: m* y) U: {# E' L
  49. Password=my_password
    % U. o+ W' r; i& Q1 F& x$ [% u
  50. GetDriverFunc=getSQLDriverMYSQL, h6 n2 `$ W" W1 b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - S6 n  ?$ j1 H" j. J* K
  52. LibraryName=./libsqlmy.so
    & \5 n6 c" m7 e2 _1 C7 a% `% i) E
  53. Active=18 n# d; _. _: D2 g
  54. ---example---
    : R$ z& T7 h- G2 H
  55. / L% }$ Z6 @+ ~
  56. On a windows box, also running the MySQL server locally, it would be:+ d. [+ {* K( F! R1 T+ a5 T
  57. ---example---3 Q) t5 G- z7 Z. f' `7 a
  58. [DBEXPRESS]# j- ]$ f$ ?. H; [7 A+ X
  59. sqldir=mysql_sql% L. m- H2 V; K; N' _: d9 V* q
  60. Drivername=mysql
    + [1 V  _# s+ Q3 P( u6 G( J
  61. Database=test
    ' W" ^9 d3 E% x; k, A6 f! N
  62. Hostname=127.0.0.1
    + m9 [0 Q0 \1 j2 f" r
  63. User_name=testuser8 B1 Z2 {) G; [. u9 v, \
  64. Password=my_password- D1 C) U; q( n  I5 l* _2 w  Z
  65. GetDriverFunc=getSQLDriverMYSQL
    3 y6 J% E. k! ~
  66. VendorLib=libmysql.dll2 {& b8 E( x: h; L
  67. LibraryName=dbexpmysql.dll  H* q0 ^% ~# o' o& L
  68. Active=19 h2 m- S  x( U2 ^: ^% u. F# M
  69. ---example----
    # t% h" W" F4 d0 o+ V7 M! S) l
  70. - written 02.03.04 by pwk.linuxfan
    / ~0 F& ^  A2 m$ G4 v& h1 [* T1 P2 s

  71. 6 N# A6 p. p" T* e! g, L) T7 j6 E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 k! v% _7 g: M) R% N8 G  l2 E
  1. . @* W# ]2 D4 s" J1 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : D4 L1 {# z8 l; X9 T9 v  G+ U
  3. ! |! T: }; ^$ k! d) l
  4. # # #我们所需要# # # ! b: t7 J9 J& O& D' {. S- L6 ]/ U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . F% J) ^$ b/ I# ?
  6. 不会解释如何做到这一点-也有文件存在,为' ?5 o" n% n* }* v. h; O2 q7 C
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 F5 O# y! ?  Z/ J0 f  ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 m* t4 q  R' d. `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # _* g5 B/ ?5 \; m& i1 `
  10. 本地机器,这是我的MySQL安装。 : h3 o! Q) ?3 Q# q0 |5 c  H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! {. P. \& v, z# }/ O  s4 _4 r( ?- k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : P6 p; X, g5 [# `/ E! _+ I
  13. 数据库。 $ d" q! f  h' G  H; b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      R5 G; B# ?. W2 Z8 m! k$ b3 X6 h0 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ) _) L( f4 u/ g7 w
  16. 在teamspeak论坛,如果你有兴趣。 5 k. v6 ?$ [$ x) B  s" l0 J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    % O! U6 \2 C; N2 [3 I! F
  18. Borland公司使用。这个司机只能界面与客户端库2 O8 M; W" p5 M, H) P5 Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 u. ~. j' D- g" n. t* f( K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% H5 A" h9 I3 `, w
  21. " vendorlib " ,并解数据库连接。
    3 \( F1 [" j% Y' u) U0 g+ Z/ x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 @% x8 i$ @4 b$ @8 [. {
  23. $ K( Z! f% q& m, u, `! _+ P
  24. # # #做好工作# # #
    ' f. }, l) S! a# x/ p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " P( ^  ^$ X. y& C9 q- `; [9 N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 ]# P1 q6 @# W+ t) a! \
  27. 结束:
    8 a5 I; U& T9 E/ _. N, f) [4 A9 y
  28. ---削减这里---
    4 c5 b9 Y) o1 X0 W4 J( D
  29. [ dbexpress ]
    3 V& c+ G* Q" V( T  b) j7 ]" j
  30. sqldir = mysql_sql   m& r& D: y% ~( x) P1 W! t
  31. drivername = MySQL中) b: D& M$ J7 I2 H/ d" |
  32. 数据库= your_database_name_here 0 q% O2 I5 q3 {" h# `6 q
  33. 主机= the_pc_the_mysql - server_is_on
    % G. }$ z- B9 @+ U: o" n
  34. user_name = user_name_on_the_mysql服务器
    7 k. B% C9 P3 `9 O& d0 u: L
  35. 密码= password_to_go_with_above_user_name
    5 q7 G0 P; }- X3 G% E
  36. getdriverfunc = getsqldrivermysql
    ! s9 z. b) [& j3 l) [- |- M6 G) ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! V: a2 I$ C" Y7 J$ |* [
  38. libraryname = path_to_libsqlmy_libary
    " k3 U/ @! F/ ^6 x2 ~$ E6 j5 g. ~
  39. 积极= 1
    ; S9 I/ W' N3 l# {: w) e  `
  40. ---削减这里--- 6 Y. m5 J7 B( X1 w' y8 f+ A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , J0 s/ B2 W% w) J% v, ~; s
  42. ---例如--- . ^) q3 y6 u# k: ~2 W2 ^  w
  43. [ dbexpress ]
    7 H9 ^' H* _4 K% I
  44. sqldir = mysql_sql
    * S) z$ @7 e& J8 U6 _
  45. drivername = MySQL中! C5 V4 Q# x; H0 W
  46. 数据库=测试- ?% J; U5 v2 c: O4 a4 y! @" [
  47. 主机=本地主机
    : x4 D2 ~: j6 M  {, ~" ^2 U& _5 Z
  48. user_name = testuser
    & {& m- H* g5 n3 k$ N
  49. 密码= my_password ) O; `( n. l& V2 \; L- q; i
  50. getdriverfunc = getsqldrivermysql
    - t0 d# F6 \% e7 o0 s7 k+ [. {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) R; S# U% D5 S+ D$ A1 P
  52. libraryname =. / libsqlmy.so 4 K" u8 u2 w" ]0 F
  53. 积极= 1 7 D4 L& n8 B/ ^7 T6 _
  54. ---例如--- 2 P$ v4 ?; f, x5 y7 n# Z5 m/ Q

  55.   W) D% Z, d4 j7 o( h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 o& [4 r$ |: `* f+ T8 _9 _
  57. ---例如--- & c0 ]" r8 a  R/ V, H
  58. [ dbexpress ]
    ) ?5 F& F) z) I2 ]
  59. sqldir = mysql_sql
    1 v* s, A; d4 ~
  60. drivername = MySQL中! A5 [) w: |6 I6 I& }* n" z# P5 ^
  61. 数据库=测试
    ! a* j: O& [7 |2 s; ?2 |/ [1 I0 `& M9 f
  62. 主机= 127.0.0.1
    ' A  S0 [# o7 r7 r; Z2 X
  63. user_name = testuser . N1 I" M% e4 |! |9 r# n6 n
  64. 密码= my_password - |0 e9 d  t9 r
  65. getdriverfunc = getsqldrivermysql
    " R4 E6 C% Y2 ], x
  66. vendorlib = libmysql.dll在
    9 J% ~/ ]3 K% V" B3 t* \
  67. libraryname = dbexpmysql.dll , e" h& x. c" }. _' y$ x1 Q% n
  68. 积极= 1 % C) @: Q6 N. W" c- L% j3 a
  69. ---例如----
    ) c  X$ g5 f- i# b& v/ [  m; h
  70. -写在0 2.03.04由p wk.linuxfan4 g. [' F+ @$ s4 E3 n2 S/ a! ?
复制代码
发表于 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' d2 W5 O; U7 G  n! P

: H3 J4 w- @) N& x6 bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-8 21:30 , Processed in 0.108595 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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