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

3142 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 t8 s+ ~) K: Z  v0 e" p5 z: q; q% K" S4 X: m

  1. ' [; d5 b" R* R" y& h4 r$ E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) x9 m* E1 H- v2 D' n9 }
  3. 9 ]2 U' J& J/ X  t( o4 t6 ^
  4. ### What we need ###- b* W. X! u1 q) O0 O) K' p; j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 n7 w8 k- h7 _* r% N# f
  6. will not explain how this can be done - there are documents out there for the $ e! k6 N; ], l  B
  7. interested. The requirements include a (empty) database for TeamSpeak to use* Y4 K" _, p: _; ?
  8. and a user account (username + password) that has the permissions to do stuff3 f1 N2 B0 U7 ^; |3 I% M1 m! R1 x: U
  9. with the database. Additionally, you will need a vendor library installed on the
    0 _0 l8 S! H2 J& @; D
  10. local machine, this came with my MySQL install.8 V! N" D7 N1 ~) Y$ ~1 l! t
  11. These instructions will not tell you how you might transfer your data from the
    6 E/ ]7 \" J$ @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- h( v) X4 M, H* S4 e0 G
  13. database.
    & v% {3 W$ ^; _$ c" @
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & L& {4 B) g7 e! h3 x6 f
  15. the time of writing, there are still too many issues - check the current status
    ( u! T( E" S) ~2 F
  16. in the TeamSpeak forums if you are interested., j) Y% B! F+ Q. }! ^  w  t0 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 ?6 d5 K2 Q- d6 v1 w7 F" P
  18. Borland was used. This driver can only interface with the client library that   ]5 C1 Q7 |9 l; `2 C; m6 O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / V5 G% i/ u& u! [( N& j( r: Q" [
  20. client library - basically all you have to do is to use a 3.x client library as 8 Q; l! C8 k+ I$ }! l' x
  21. "VendorLib" and a 4.x database to connect to.& J6 i2 F  w% G0 c! j* m. F! m
  22. If you need more info about dbExpress, you can contact Borland.
    . E6 M$ |2 P3 ]2 \
  23. 1 \3 y* V' u; p( H2 `
  24. ### Doing the work ###, z& m6 v1 X& j9 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( @: g4 s# b1 ?5 I2 g
  26. the perquisites right, just open your server.ini file, and add this section at
    ' m( {$ T# h) |$ d0 p
  27. the end:9 _0 a* W& I. \, G' e4 R
  28. ---cut here---
    / n" D1 ]: s/ Y" l8 D# ~/ g
  29. [DBEXPRESS]3 a/ H- V: f' X) c
  30. sqldir=mysql_sql) R# R. J( ~+ ~2 {% d* b/ p2 T
  31. Drivername=mysql" A6 B* [: @  @- `8 N
  32. Database=Your_Database_Name_Here; T5 Z2 }$ L+ P3 l- ?* `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * ~# H6 S$ U9 F0 t* k7 y8 q
  34. User_name=User_name_on_the_MySQL-Server
    $ h9 ^$ R; c" o, r" H6 k
  35. Password=Password_to_go_with_above_user_name
    6 T1 u/ U" s3 J
  36. GetDriverFunc=getSQLDriverMYSQL: I: Q0 C6 ^- K6 a% N# {  d/ j: v3 q( z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 E) g( l. ?3 q; Q$ N2 R8 U
  38. LibraryName=path_to_libsqlmy_libary2 Y6 w- |4 R4 Q
  39. Active=1/ Z6 \) s" ^. ^  w7 u3 y
  40. ---cut here---
    2 y8 s- Q& [9 k( S! B; R8 l1 ^1 |
  41. In my environment (a linux box with a MySQL server running locally) I have:4 K2 l( ]3 y% V3 U9 Z- A
  42. ---example---
    " C+ @5 d! f* M$ b3 [
  43. [DBEXPRESS]7 i) z7 c1 {" M  s% F& a6 M
  44. sqldir=mysql_sql
    " L: Z" x7 W; q8 F# [
  45. Drivername=mysql/ k9 z/ t2 Y2 F, C5 H; y
  46. Database=test
    # X' E4 K, Y0 Y
  47. Hostname=localhost
    9 i5 K1 z* b) E, m, M" h5 d
  48. User_name=testuser' ]; u8 R" l' q( D: V) D  w
  49. Password=my_password$ u# n5 j6 a" ^6 N1 ~  e7 K+ }% d* e
  50. GetDriverFunc=getSQLDriverMYSQL
    - h0 v- }( I' H) j* r. z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 u- _8 z4 [# R' E4 S
  52. LibraryName=./libsqlmy.so
    : i- d* U# c) }5 K
  53. Active=1) v( Z; b+ f5 ?& h2 I6 T$ @# e9 J: a1 N
  54. ---example---# x+ L% i1 V; @7 q) W9 y
  55. 5 ^( q" ]9 l# Y7 x; q: s
  56. On a windows box, also running the MySQL server locally, it would be:
    - |* ?+ }5 u7 \7 y- C  m
  57. ---example---
    0 U8 O! F' V3 D
  58. [DBEXPRESS]' _( I4 b6 y) o. t1 O, p
  59. sqldir=mysql_sql0 {2 }5 ~/ |7 b* z# }( S) @
  60. Drivername=mysql& G0 k$ j+ C# q3 y; P1 l
  61. Database=test' _6 p* d1 j6 l% C( W" N# B$ l- w5 X
  62. Hostname=127.0.0.1& s0 |6 g. X# R  r( X9 B
  63. User_name=testuser
    - R$ f" E9 K* m) b1 K
  64. Password=my_password
    ( \  L! ?' A+ q; B8 _3 |  X6 k  j
  65. GetDriverFunc=getSQLDriverMYSQL
    7 l! g. V( X- R' O9 j2 Z9 f
  66. VendorLib=libmysql.dll
    4 B; |0 `5 K: Y9 v
  67. LibraryName=dbexpmysql.dll
    ! o0 _2 I+ q+ [9 T
  68. Active=10 }/ ]% a1 ?, z% H  [
  69. ---example----
      p% n4 f6 \5 g1 Q8 B+ @& T4 r! X
  70. - written 02.03.04 by pwk.linuxfan
    6 w, t9 H' Q! C/ Q

  71. : s8 j, V: i. p  a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 Q. z9 `; r8 Q! U# y) e
  1. ' w, q; x' L' n7 y/ A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 a) u$ ^: s# Q
  3. & v1 V2 H2 Z$ d7 _+ ]
  4. # # #我们所需要# # #
    * h* y2 v+ C3 d6 h* ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 F7 f# _7 ~. G+ W( q
  6. 不会解释如何做到这一点-也有文件存在,为7 ?- A  L2 R- S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- I/ T+ o  c0 `0 h7 J) G  m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " q8 x/ x* V: E# \4 F& s% t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + L' J' C( D& o# e8 ]1 U0 c
  10. 本地机器,这是我的MySQL安装。
    + I  m' z6 ~/ v- @+ O& `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' r" \  T& h# d6 Z: o  k9 H4 c" q% Z) s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 1 }0 d4 H5 L. `
  13. 数据库。 ' K/ s. L5 t1 a4 d) q. D4 M& Z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在' {; F  U9 n& Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " K, z4 H8 e' }: J1 U) \
  16. 在teamspeak论坛,如果你有兴趣。
    : ]8 t: X1 _3 d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 I; v' s7 v- r; a. y- K# ?; e
  18. Borland公司使用。这个司机只能界面与客户端库
    ! S5 H8 V  Q5 w% I. r. r8 v( x% G3 q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 S5 {/ @# I- @# t- A* j0 a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& X' N0 T  Q1 b
  21. " vendorlib " ,并解数据库连接。
    . `, M5 O( M) {* F/ L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 ~9 r8 n/ _2 M- o) j, c8 |1 `4 \6 i
  23. * Y2 f1 k: j2 A6 K4 i" A
  24. # # #做好工作# # # 5 L. H+ C7 s: M4 d* b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  K: R1 E. Q* g) z9 Q3 D  z& ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 i$ S  G( B4 x& N
  27. 结束:
    0 N" K- t: ]6 T) t
  28. ---削减这里---   w) y% R% _1 A- t$ r; R% w/ A  j) z0 I
  29. [ dbexpress ] " h7 P: C6 C( W8 G
  30. sqldir = mysql_sql ( I9 z& w2 Q! x) V
  31. drivername = MySQL中
    , B+ m$ Z" ~' k; T. b" A
  32. 数据库= your_database_name_here 5 F0 ?( x( Q0 {1 x: |
  33. 主机= the_pc_the_mysql - server_is_on
    ( k* H7 \5 k% C4 ?0 Q
  34. user_name = user_name_on_the_mysql服务器" h# Q) [% K. @; T9 a, }! M2 t6 |# s
  35. 密码= password_to_go_with_above_user_name
    ' \6 z/ X) @8 ]4 K5 v
  36. getdriverfunc = getsqldrivermysql
    / y: f, {/ w( Z1 y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & g) p! e% ^/ e: T
  38. libraryname = path_to_libsqlmy_libary $ _  y  @8 I( h8 y8 k1 b0 t" S- s- W
  39. 积极= 1
    . T% p& B8 l2 x
  40. ---削减这里--- 5 k: T" ?9 a/ K3 s5 s* X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , W7 E3 j" y% _+ f" i% i6 k4 X
  42. ---例如---
    * [3 F6 ~" {3 a1 t# Q4 y
  43. [ dbexpress ] " y% B: s2 C. p
  44. sqldir = mysql_sql
    + o6 s5 h0 \* f" T
  45. drivername = MySQL中3 F# Z8 B$ I3 L; @
  46. 数据库=测试
      {8 e/ \1 i4 @5 u
  47. 主机=本地主机, g! N0 t7 }  s- g* f
  48. user_name = testuser ; O% I+ o: t- f
  49. 密码= my_password 8 c/ y, s" h0 V, ?* X
  50. getdriverfunc = getsqldrivermysql
    9 k( \, X* Z- Q! q5 Y; r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 v) f: z$ D8 L+ r5 v
  52. libraryname =. / libsqlmy.so
    1 W+ o" ?- C1 f0 n# x. S
  53. 积极= 1 . v  H5 T) q: X) u5 W" V
  54. ---例如--- 9 E1 R4 \" c4 F7 |  c: ]: @
  55. 7 X7 [* F1 Q+ W: h# v5 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , d% `' h. G7 u' v
  57. ---例如--- 9 p: d/ V7 c8 e! c$ z5 D
  58. [ dbexpress ]
    ( q3 i: ^  [5 Y7 w9 _/ M$ b. j
  59. sqldir = mysql_sql
    - Q9 m! u* i7 b5 `3 `
  60. drivername = MySQL中
    ( A2 d0 f& d. D% C% ~. s  n0 [
  61. 数据库=测试
    - R- _! ~6 U6 |7 m- E
  62. 主机= 127.0.0.1 8 k+ l2 D8 j7 X" N$ J/ B2 B
  63. user_name = testuser
    8 j! n8 g& }) g; i: y. M0 e
  64. 密码= my_password ! ~: `6 _8 a9 L* O' p
  65. getdriverfunc = getsqldrivermysql # j5 c% Z; r* w3 q
  66. vendorlib = libmysql.dll在  a. y! x- P4 k% T( g  U
  67. libraryname = dbexpmysql.dll & U6 X, s0 p4 E# r0 i* y) v
  68. 积极= 1 2 N# p( l# n+ n+ Y+ W) m/ Z3 n8 H
  69. ---例如----
    ' l, M  z* n" E* ~/ S. c  y
  70. -写在0 2.03.04由p wk.linuxfan) j, r& w" b5 I! s
复制代码
发表于 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 words0 E; |& x) i- h% \) O) q
$ r5 i/ T" V) c+ ^" ~7 V! z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-10 01:15 , Processed in 0.107391 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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