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

3155 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan % N4 M  j; l1 V' i- e& t$ I! q8 ~

( P  C% n; m3 f8 e+ l$ x

  1. % {" q- J0 Q6 Q0 c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* d5 n) N5 b  b5 m8 p
  3. 9 i- y% N1 o  Q0 \  f- N5 t; P7 C  @
  4. ### What we need ###/ V4 T1 [' e8 A/ b; K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; E) X% W& h) g' n( }( D
  6. will not explain how this can be done - there are documents out there for the
    " C$ m( N' x9 d' d. t
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 W( k  x" g! b! S
  8. and a user account (username + password) that has the permissions to do stuff( k- x' }; N" C; `' z
  9. with the database. Additionally, you will need a vendor library installed on the
    * H3 B6 Z7 m: {  q; |  |
  10. local machine, this came with my MySQL install." B/ u5 o6 K$ x- E
  11. These instructions will not tell you how you might transfer your data from the9 B6 o( y" r, w7 u* v2 z/ k. N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 W2 t. V( A$ Z& c
  13. database.
    ) A2 V( u# D9 I0 H' z/ o9 @
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 e' N, ~3 f0 f5 D) L" a! J( e! U
  15. the time of writing, there are still too many issues - check the current status
    & d3 x$ r. O# x& b
  16. in the TeamSpeak forums if you are interested.
    * k; B, `1 q# B' r1 y' F4 W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& k  O' g, M3 I! N$ c$ x; e
  18. Borland was used. This driver can only interface with the client library that
    ' a1 @7 n' Z) A9 a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    . O$ V. E- ?9 @2 a& u8 {% v
  20. client library - basically all you have to do is to use a 3.x client library as
    2 O1 o# W$ P" T  s+ D. D6 |
  21. "VendorLib" and a 4.x database to connect to.
    : V! M2 H* D0 @+ L2 z3 b0 i. V
  22. If you need more info about dbExpress, you can contact Borland.2 F3 k2 K# P: c

  23. - ?& Y  G( A/ V* A, h$ Q5 M
  24. ### Doing the work ###- E( `# @8 v1 V! b2 @& a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 Y( c! O2 n2 R! y" f9 F& U1 L
  26. the perquisites right, just open your server.ini file, and add this section at( w0 Z1 C; c2 q/ s' ?$ y+ b/ ?
  27. the end:
    ! J( w8 U6 Z/ B* q. J% n
  28. ---cut here---4 y. X: E5 e: k& \6 P4 g2 `# a1 Q
  29. [DBEXPRESS]
    / y. a; i: M: W
  30. sqldir=mysql_sql
    ' p+ w7 f, o0 ]6 ]
  31. Drivername=mysql+ l1 a6 @6 A0 s% X, M2 Q# G
  32. Database=Your_Database_Name_Here0 i6 r3 `! \0 y& M5 o+ ?
  33. Hostname=The_PC_the_MySQL-Server_is_on6 X3 M) T) U9 k) K. [# ]3 G
  34. User_name=User_name_on_the_MySQL-Server& b  s, d3 E: a& a
  35. Password=Password_to_go_with_above_user_name
    3 E: h3 _: Y0 g8 h% v
  36. GetDriverFunc=getSQLDriverMYSQL
    : {0 l3 [' a$ L' L- I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    / v& T5 c& L% F: X
  38. LibraryName=path_to_libsqlmy_libary- d5 W( Q, B" I9 f
  39. Active=1) w' ^( z! g0 G. ]3 ]
  40. ---cut here---
    ) i# C, X  }5 {4 q9 e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 }5 k' F1 r1 h# W/ r
  42. ---example---
    0 I0 H' D+ \) E2 I9 }% b
  43. [DBEXPRESS]* c5 F% M  p) S  I# _' _2 Y
  44. sqldir=mysql_sql2 C# o# _8 r& W$ u, ~+ s# Z
  45. Drivername=mysql3 W: u; `' }7 }8 C5 @( k
  46. Database=test
    8 z) p0 J# C8 ~& ~# p
  47. Hostname=localhost
    7 g7 Z/ e- {# p7 G
  48. User_name=testuser) F8 C! P; B7 b5 C, F7 ~- z
  49. Password=my_password$ B' e- ]% p; I5 T# R, U
  50. GetDriverFunc=getSQLDriverMYSQL1 J  a1 L! a. h3 [: }! _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 ~2 P  T2 g$ A% m' c
  52. LibraryName=./libsqlmy.so
    6 n: v4 C& U/ C+ {, g$ `5 r/ X
  53. Active=1- z8 I- u, b# u9 ?1 J7 R) d
  54. ---example---
    7 C1 j  p0 a! ?" i# h9 H* h: N

  55. . i# d1 e; C1 n1 t: i6 e4 p
  56. On a windows box, also running the MySQL server locally, it would be:
    4 d) M$ a( o: ~6 B) Q' M  U
  57. ---example---, I& z1 r6 i" B. O! M- g
  58. [DBEXPRESS]5 I& ^! V  Z7 {
  59. sqldir=mysql_sql
    2 P' \: M8 \6 o+ q
  60. Drivername=mysql
    5 V1 e& W' b' E3 _% ^3 q8 o3 k
  61. Database=test' d$ I" L2 C8 B* q( a7 [
  62. Hostname=127.0.0.17 O2 V1 z; f5 E  Z( s$ M# G# w
  63. User_name=testuser
    : h" u8 V; R% |  I3 a1 g( h
  64. Password=my_password
    & K0 u) R0 w/ Y: @
  65. GetDriverFunc=getSQLDriverMYSQL8 L  b$ M1 V4 [! k; G
  66. VendorLib=libmysql.dll5 c& b1 ?) N' P
  67. LibraryName=dbexpmysql.dll9 f: M& {. n: u6 y
  68. Active=1" M: I! b- T& w( R+ B& B
  69. ---example----
    1 u$ Z/ t% _  [( R: \9 v" ?
  70. - written 02.03.04 by pwk.linuxfan
    # t' q- {) O2 \. A

  71.   H) p1 E( \, P+ Z; o: u4 t# }% G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 b1 X% T3 b- x$ G# R0 b/ @: t
  1. 2 k1 p1 g1 r0 h+ }& @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 \6 i: y6 R8 D6 {$ }3 N3 x. [

  3. 3 w6 a$ H, @9 v& W
  4. # # #我们所需要# # #
    5 s5 {  k/ D! Q! `; W/ O/ \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; N0 S; V2 Y/ V
  6. 不会解释如何做到这一点-也有文件存在,为9 R, l% Z8 U" S% q8 `1 C" ~
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % ~. l: Z4 k3 B1 D$ F( B+ U+ T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 O( `( E; F  A5 i3 h' v% m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 N. j+ r4 a: \. L, V1 l
  10. 本地机器,这是我的MySQL安装。 ' L$ }" C$ h1 N6 m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( S( D8 G2 x0 r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 d/ t) I; T5 l
  13. 数据库。 3 ^) H6 L4 c: b0 Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- c3 M! i) j9 ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    5 F- L7 m% N* V- X  V
  16. 在teamspeak论坛,如果你有兴趣。
    3 i5 w/ F& Q. D" b5 F% \; ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 {) q6 t' t/ o' ]
  18. Borland公司使用。这个司机只能界面与客户端库
    : F6 o: Q  O/ h& k) s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" K' J3 ^3 ~/ m% B9 I% a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& V) _$ ~6 ^6 x2 z) H+ A8 ]
  21. " vendorlib " ,并解数据库连接。
    % j# L6 ]  `+ L# ?: ^- ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 |) W1 N2 o, F
  23. 6 h0 F9 N2 o+ h' e' r1 B
  24. # # #做好工作# # #
    , f5 m4 E) b- ~# v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; q' e# ^5 y5 C6 L! |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( ^/ D5 E  I( W
  27. 结束: : B4 }/ j& P1 T0 U
  28. ---削减这里---
    , U0 v% C) O7 O' @/ R5 h
  29. [ dbexpress ]
    # V( c/ ~! E4 G: J# m4 l7 B
  30. sqldir = mysql_sql 9 U1 j& ^# t& z/ a% Q5 ?
  31. drivername = MySQL中1 @: V. l+ D; B# _( t+ u
  32. 数据库= your_database_name_here
    4 j9 w/ ~1 \# `% p" J
  33. 主机= the_pc_the_mysql - server_is_on
      h% }  \% I, C6 ]4 ~2 ^% G
  34. user_name = user_name_on_the_mysql服务器
    + _0 T' |5 M& V1 n4 v: ^
  35. 密码= password_to_go_with_above_user_name
    ! }3 @/ U2 `  p. g% l1 m
  36. getdriverfunc = getsqldrivermysql
    : ]* q' p8 z! A! \; a" E5 G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 b& {8 G: u, F6 K! t/ @; V
  38. libraryname = path_to_libsqlmy_libary
    # T8 X* V* A! Z
  39. 积极= 1
    4 W9 H3 u8 j8 L) C, \
  40. ---削减这里---
    + w, J% |( i( j" o* `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - }% ]( d( b% x% c
  42. ---例如---
    $ H9 I) L+ P) L$ C+ f
  43. [ dbexpress ]   d& D* n0 k" K) @: z; \
  44. sqldir = mysql_sql 8 g/ L4 J% F+ ^
  45. drivername = MySQL中1 x  J6 E5 s0 i7 Y- c$ g1 a* X
  46. 数据库=测试$ {' d9 E$ b  I, u9 v
  47. 主机=本地主机
    ' w% W& N$ d( ]. Z" [* @" y6 f4 r' ?
  48. user_name = testuser # s& U8 B* F, `% ]0 b
  49. 密码= my_password 9 L% U, r0 }& W+ a4 A
  50. getdriverfunc = getsqldrivermysql / {  ?! a0 L& b& ?# x* U2 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 G! P3 f" u9 `9 [8 ~
  52. libraryname =. / libsqlmy.so $ X1 {; {; c! ], F. Q( A
  53. 积极= 1 ' K# p6 h9 j+ _  s9 q, G
  54. ---例如--- 7 W1 D0 B/ _4 V" U

  55. * Z  |; l, U+ F: D8 L, ?! d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # P8 g3 b) ^1 A, [+ [7 _) x
  57. ---例如--- + f8 r0 {% R# ^6 X. g
  58. [ dbexpress ] ' t9 F" i8 O& s, p3 S
  59. sqldir = mysql_sql - W! J* K2 t& I
  60. drivername = MySQL中
    " t) B* P5 }- {9 O: p/ R$ P
  61. 数据库=测试
    $ M; c! I- N, ]& e
  62. 主机= 127.0.0.1
    & C( p/ Q- i: ~. o
  63. user_name = testuser 7 N  X6 j3 V5 W
  64. 密码= my_password
    1 O, p7 |$ d! q9 l0 w
  65. getdriverfunc = getsqldrivermysql 0 X% x+ i8 r9 Z$ R1 K$ Z# `2 }
  66. vendorlib = libmysql.dll在
    8 c7 T7 l! I5 q" E6 O) c
  67. libraryname = dbexpmysql.dll
    6 O5 I% _! @% E$ C
  68. 积极= 1 , T0 K/ Z! \) Z
  69. ---例如----
    3 R& s# Q+ ~' S4 i2 ^6 Z. s
  70. -写在0 2.03.04由p wk.linuxfan
    1 r# I+ e2 F5 @* e) z# n
复制代码
发表于 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+ _4 I9 a* R* @/ D1 a7 Z1 N& Y( P

! ~  K. m$ ]& h+ G7 Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-13 06:03 , Processed in 0.104994 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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