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

3593 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 d3 V( R4 {6 g; Q; V6 m
# I* ]# d# U  F5 E
  1. * f: }! b& l& H  ^5 \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ O& y  r: ], e3 h" Z) ^

  3. ! h4 _3 _$ |  i  u7 {
  4. ### What we need ###( Z* X+ J# {9 b7 k8 j6 I! \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " n2 \2 m; }1 \% W
  6. will not explain how this can be done - there are documents out there for the
    ! \  a2 _5 ]: S
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & t4 ^. }0 m$ i
  8. and a user account (username + password) that has the permissions to do stuff
    4 I) Q. e+ m8 O% N5 l3 |
  9. with the database. Additionally, you will need a vendor library installed on the
    " R5 n5 X6 S1 o: Z6 _! a
  10. local machine, this came with my MySQL install." h1 B- E& S7 U- s4 m- e5 C
  11. These instructions will not tell you how you might transfer your data from the& {( f7 g# Y4 Q  L# @3 L' R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: r2 Q$ S& i* P
  13. database.8 |. k6 Y; Z' S6 [- A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , A4 M, J7 G" \. ~  p
  15. the time of writing, there are still too many issues - check the current status- n3 F$ j; Z% y8 Q5 j  M/ {) |7 f4 [( d
  16. in the TeamSpeak forums if you are interested.
    $ f( I3 R6 f+ e1 c* m$ V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 W8 r: v+ w  g# [+ y8 P& G+ Z
  18. Borland was used. This driver can only interface with the client library that
    2 w3 z6 _- d, F+ T% Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 T/ Q) k" d! E8 w( A0 _
  20. client library - basically all you have to do is to use a 3.x client library as 1 o  R. Z! y& q8 X$ P/ m
  21. "VendorLib" and a 4.x database to connect to.
    4 h1 k+ W9 J* }  A
  22. If you need more info about dbExpress, you can contact Borland.
    7 c$ w! S5 F6 i1 ?, X+ t

  23. ! F9 c- Z- K$ u- a, ^7 n9 k  g4 w; b
  24. ### Doing the work ###
      T- {4 {2 I2 ?% o6 w1 Q: u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 l. S6 y* k3 B
  26. the perquisites right, just open your server.ini file, and add this section at
    : L: |4 Z8 I! q1 u" z
  27. the end:
    % }5 t( z) j3 i
  28. ---cut here---
      {2 B/ c9 R! _# b( g& N( t
  29. [DBEXPRESS]3 O9 m0 [# |. e8 c- d
  30. sqldir=mysql_sql% m& i# T; y  B+ v0 l" z# A. j
  31. Drivername=mysql
    / }) C; u2 [' r/ T& v
  32. Database=Your_Database_Name_Here5 ~. h/ S3 i; _5 e9 [
  33. Hostname=The_PC_the_MySQL-Server_is_on1 i: t; c% B$ r' K* U
  34. User_name=User_name_on_the_MySQL-Server) W5 W4 b' q; }$ b* e
  35. Password=Password_to_go_with_above_user_name( |0 C! U' x# i6 D7 p& h
  36. GetDriverFunc=getSQLDriverMYSQL0 b9 t9 t: O3 C# L! A( W$ k5 r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 n: c) S' T/ K6 D: g9 A& a
  38. LibraryName=path_to_libsqlmy_libary- `1 ?% N7 b. T0 P3 |
  39. Active=1
    0 w9 @( A7 v; B5 C( o% s9 m
  40. ---cut here---+ p( s6 a( u4 P) q5 Z1 `: U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + U( ]5 n/ O# ^3 s
  42. ---example---
    - Y7 u; M3 b: ^" D& Y6 Y9 F
  43. [DBEXPRESS]. k: \) q6 p  }; }9 z2 |
  44. sqldir=mysql_sql' _7 x0 T2 U0 f/ `8 C* R4 B
  45. Drivername=mysql
    & R& m3 e- T0 U
  46. Database=test
    9 V$ p( J" \6 T/ A2 E4 |# X
  47. Hostname=localhost; U  r* r9 w. [, f: o+ r* c: }' ?
  48. User_name=testuser
    3 d3 y4 X/ A* k) k
  49. Password=my_password
    * C9 }+ L- a! ^( g- h
  50. GetDriverFunc=getSQLDriverMYSQL
    0 t" D2 l$ I3 k: k/ H$ p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' K' b  s9 {2 ]/ G
  52. LibraryName=./libsqlmy.so, K9 M" M0 p4 Z) ?
  53. Active=1
    + T/ L3 J- o# G2 l
  54. ---example---# M; ~% t5 E# o
  55. . F  z" }" `+ r# ?& c
  56. On a windows box, also running the MySQL server locally, it would be:
    4 _% }9 h2 o' H/ v: I( ]: q; R
  57. ---example---; n% d+ `$ _3 P& N/ A. q/ x- {0 M
  58. [DBEXPRESS]
    3 d; Z9 o& u! a( U, t% T
  59. sqldir=mysql_sql
    : K" V. b! v& b1 Y3 L5 k  k
  60. Drivername=mysql- h* Z9 ]  S- ^
  61. Database=test. k& g, O4 ]0 J, d- ~) H) P( s0 b
  62. Hostname=127.0.0.1" w2 i0 m* g0 b; ]0 j( u  g
  63. User_name=testuser
    * U1 v! Q4 ]( j! @9 ~
  64. Password=my_password4 o7 t4 Q' M# W* ]0 K3 ~
  65. GetDriverFunc=getSQLDriverMYSQL* l* t, t9 C) b$ G% n; m
  66. VendorLib=libmysql.dll
    1 L& m$ X/ |' H+ T3 H; a
  67. LibraryName=dbexpmysql.dll
    9 X$ l  }1 F$ m, @" d: U8 c
  68. Active=1
    3 \: y- D* K& c! P
  69. ---example----* t. }: @0 z4 t0 I+ T; g$ U, z9 i
  70. - written 02.03.04 by pwk.linuxfan
    : ^6 C' c; \/ K

  71. . s3 `' L8 ~) v- H6 k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看. m" d) `. J; b- B
  1. 8 N0 F5 a6 [$ v5 F, |7 j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! x4 c: ?8 f& E, _

  3. 6 w2 T* r7 Z& Z* l, I+ r( U
  4. # # #我们所需要# # # 1 W9 P! w8 o5 m$ @8 @
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: D0 b8 _+ m" i3 f& [
  6. 不会解释如何做到这一点-也有文件存在,为& I+ f9 _9 @8 `% j& i. U7 A4 u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    1 K" r4 G/ D' b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: u) x2 ^9 M8 O
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 @' O; S. J3 u9 g7 S
  10. 本地机器,这是我的MySQL安装。 * W, Y" \& v* O) \: j* w" l6 \# m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , ?9 e/ r$ o( G! U# T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      M& s. R$ ^4 q5 c- q0 F* M
  13. 数据库。
    - V% k+ D, s; n  X6 S( o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! Z5 L* l9 |# f2 a* u8 a
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 E+ m/ i* `/ a* J( r
  16. 在teamspeak论坛,如果你有兴趣。
    2 A) o3 E$ H2 u; w3 z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 n6 y- n5 y4 A6 R
  18. Borland公司使用。这个司机只能界面与客户端库
    . U$ @. I- ]8 J: A+ k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 A- k( P" b  Y4 e$ {' {) |4 k; @% h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    % z9 H% c  M: W+ f4 a
  21. " vendorlib " ,并解数据库连接。 " ]  q' b9 R/ `$ j7 e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    5 z( L8 G% a! A7 D2 X! \
  23. ( s1 g, o* b2 q0 M
  24. # # #做好工作# # #
    6 g% S# q# y7 r& @4 Q4 j: O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" z' `, {+ A' r: J+ ?* [5 m9 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 {4 F7 Y. f( G9 b. x* w: S" `
  27. 结束:
    / w: m/ k! q/ ?' E" m! n+ z7 d
  28. ---削减这里--- . l: q8 v$ a" d  s
  29. [ dbexpress ]
    , F. D( H4 C8 [& E- X- `1 ^
  30. sqldir = mysql_sql
    2 m/ b. d  Y& e8 n" t3 N
  31. drivername = MySQL中
      f& M8 F, j- n" G, h7 \
  32. 数据库= your_database_name_here / q6 i# X: Z' D. R
  33. 主机= the_pc_the_mysql - server_is_on % c4 |# r3 R3 k, [# B! w9 W: O2 E: h
  34. user_name = user_name_on_the_mysql服务器
    6 B: L% t% O& R4 f
  35. 密码= password_to_go_with_above_user_name ( d4 e  d" R, ~
  36. getdriverfunc = getsqldrivermysql / E( U; B& o. A# C6 j% b" [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    3 y: {. T8 a9 m
  38. libraryname = path_to_libsqlmy_libary
    : [  d+ y; T! q
  39. 积极= 1
    * W! Z' \  d# P' @
  40. ---削减这里--- ' M& c2 j% s! G# ]5 m$ K( l3 d: ^
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 ?$ }3 C3 X0 J) `( ^
  42. ---例如---
    ( Y$ a0 I% Z6 _8 D, n: h
  43. [ dbexpress ]
    0 c, ^# i- j" R% }: Z# `& h( C
  44. sqldir = mysql_sql
    3 p  Q  j" ^# k; x6 u2 H
  45. drivername = MySQL中! r% Q* ]/ y& I" ~
  46. 数据库=测试
    # z$ C1 L6 ?& \/ g; l2 `9 g* o4 `0 E
  47. 主机=本地主机( ]- r. t1 T' {# H( V
  48. user_name = testuser
    ; l+ r! ^- M6 P# @
  49. 密码= my_password
    + a' _9 U. ~- Z) K  x& H0 V
  50. getdriverfunc = getsqldrivermysql + v) }6 e+ s( D5 K5 r: S! E
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / G1 I4 D8 x1 ^( {1 @
  52. libraryname =. / libsqlmy.so
    8 _: r% N6 _8 n2 }! v) |/ \4 e
  53. 积极= 1 1 X: k# i* r0 T% a6 u0 Y1 V" f. x
  54. ---例如---
    8 R$ t: O0 W9 O- E

  55. , `/ C; X+ q  U4 T) H! {% {
  56. 对Windows中,也运行MySQL服务器本地的,那就是: - R- W7 X0 [& i3 Z
  57. ---例如---
    % ?0 f# }: t* e& i- j
  58. [ dbexpress ]
      n1 U2 w8 _7 s1 [2 r
  59. sqldir = mysql_sql ' _0 ]6 h. H, v/ J+ \% C
  60. drivername = MySQL中
    4 [2 p6 i7 M% b, Z: S9 y/ A5 c/ V
  61. 数据库=测试6 L0 \7 f; a. ~6 V) Y5 L" i8 \: A
  62. 主机= 127.0.0.1 / d. o- E+ B* n& I
  63. user_name = testuser / {; q: R; [/ O( `7 |! d9 p
  64. 密码= my_password
    . N8 U# O4 |9 I1 s. H
  65. getdriverfunc = getsqldrivermysql
    3 N" l0 C9 [: U  F& R
  66. vendorlib = libmysql.dll在
    " M2 }2 w0 g7 D& L- \) C, t
  67. libraryname = dbexpmysql.dll
    6 z! ?1 u- `8 j3 C1 S- ~8 x
  68. 积极= 1 2 N% [6 S  J8 B( ?
  69. ---例如---- ; A: M* @/ ?" Y+ J. V/ f( Q+ _) T' z
  70. -写在0 2.03.04由p wk.linuxfan- F1 @& h* n. e& m
复制代码
发表于 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
3 h3 t1 ~& ^. I: ~6 v8 N- x8 D3 P, L2 W+ x" v0 ^. O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-30 09:15 , Processed in 0.075184 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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