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

2706 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 d' X/ i0 R$ d. V5 p( e

3 U) k& |# {, c# Q$ ^
  1. 3 b- ~/ w# O8 y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # O- i& R1 X$ @2 d4 V0 E
  3. 6 S6 G8 o0 d! I2 I2 p
  4. ### What we need ###1 R+ G% U2 S/ F7 U
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 N+ ~7 p( j7 c
  6. will not explain how this can be done - there are documents out there for the + K( r4 U* W. P7 b! J
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 t0 j7 _  h2 X4 _
  8. and a user account (username + password) that has the permissions to do stuff
    % n$ l8 H1 [- J, {% ?3 r3 Y& [
  9. with the database. Additionally, you will need a vendor library installed on the
    ' i, X" n1 W) {2 U0 \# Z; s6 V
  10. local machine, this came with my MySQL install.
    . D% Q1 `6 M% h
  11. These instructions will not tell you how you might transfer your data from the0 C* U8 \6 @+ x+ f5 j; n
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 J% K% g+ Z0 d; I
  13. database.) E: L' K# J6 r3 N6 u$ h6 U
  14. Some users have reported ways to import a SQLite database into MySQL, but at; o% U& V( F  C2 H  k
  15. the time of writing, there are still too many issues - check the current status" s, N6 ~. _6 M. k6 T
  16. in the TeamSpeak forums if you are interested.
    7 ?3 e# n& T1 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 p$ Q* ^" ^& A
  18. Borland was used. This driver can only interface with the client library that
    / Z( F$ r  c' C6 o- \8 l0 a! |4 O. F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 S# M2 v4 N: D# n9 M- k
  20. client library - basically all you have to do is to use a 3.x client library as
    * }" ^4 y6 A  I  p+ B5 E! B- t$ b
  21. "VendorLib" and a 4.x database to connect to.) D; A( h( i* ?+ Y" F3 Q/ G- f
  22. If you need more info about dbExpress, you can contact Borland.
    / P) @- |* `  L  a/ Y8 |

  23. & O* Q* t2 Z. P8 \: f8 X7 t. l
  24. ### Doing the work ###8 x0 O6 s7 I, F2 c4 G2 a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 m) H6 ^: |. |! v( Y
  26. the perquisites right, just open your server.ini file, and add this section at
    5 ?; P8 Z$ s: \- v( V
  27. the end:+ y0 z: O6 Z7 m* j
  28. ---cut here---
    $ R5 g- l  L. S1 E! D
  29. [DBEXPRESS]# L5 q* K3 z5 l6 C
  30. sqldir=mysql_sql7 y" J9 o7 P7 U0 g) k& S
  31. Drivername=mysql; H# B! ^$ l+ y5 B. u5 p6 [
  32. Database=Your_Database_Name_Here. V' B9 A9 |. V: Y8 e  W: ~2 u
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( U2 b+ ]3 q* l5 ^& \
  34. User_name=User_name_on_the_MySQL-Server, n3 w, \7 a" F; ^3 l0 B+ u  x
  35. Password=Password_to_go_with_above_user_name/ i' X( K" a/ j9 t: m$ m+ q
  36. GetDriverFunc=getSQLDriverMYSQL
    ; R- S5 b$ T6 V! r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ a. m% X' ]; F
  38. LibraryName=path_to_libsqlmy_libary
    1 K- Z; o  O# X* }
  39. Active=1: N- Z, K& e. l5 }2 d
  40. ---cut here---, l, ^9 p" B) k. D1 V
  41. In my environment (a linux box with a MySQL server running locally) I have:1 C) H  J$ Y0 E- \. f- Z0 Y& z) j
  42. ---example---
    ' {, n1 ?9 A3 q) \9 N* S
  43. [DBEXPRESS]1 M% ?0 w0 [9 {: ]
  44. sqldir=mysql_sql
    6 Z, d$ v+ C, [6 T$ X" e
  45. Drivername=mysql
    ' d3 @8 \. ]- g# i' W
  46. Database=test9 B" c9 {, b6 O5 _( ?. H1 Y$ M
  47. Hostname=localhost
    2 j& r: k! g5 f) E
  48. User_name=testuser4 w$ M( x& I( ~/ L" \
  49. Password=my_password
    % W" M6 W( l+ C" ^6 f
  50. GetDriverFunc=getSQLDriverMYSQL
    9 H; c5 _* m+ d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
      C9 z' y7 I, z" b$ q
  52. LibraryName=./libsqlmy.so
    3 r9 F2 [% \8 H
  53. Active=1
    : `5 A" J4 ^5 }0 U+ x
  54. ---example---
    + {- V! F, B4 K' N$ ^$ g
  55. 6 C6 H* \7 @6 X' d; c
  56. On a windows box, also running the MySQL server locally, it would be:3 s! }3 x8 R& L
  57. ---example---7 O# T$ I! b4 [# J, |- s8 B( m
  58. [DBEXPRESS]! b8 K6 i( ?5 f. {, c7 k
  59. sqldir=mysql_sql
    ; T0 Y" a2 S2 d' p
  60. Drivername=mysql
    3 b$ A" m4 @9 ^9 V
  61. Database=test
    5 e, x2 Q& v2 K- }' H* @
  62. Hostname=127.0.0.1% E7 p, e& e9 }& ^* s1 s) O
  63. User_name=testuser
    7 @3 s5 i8 g  ~! U
  64. Password=my_password2 p; e- j* B" k/ s/ {6 \; @5 T
  65. GetDriverFunc=getSQLDriverMYSQL3 o* g5 l  \: [5 Q5 p
  66. VendorLib=libmysql.dll  w8 J* r, G* V' k: W. D
  67. LibraryName=dbexpmysql.dll% D# ~5 O( F9 S8 |
  68. Active=17 G; r) F9 h; `! I
  69. ---example----
    + A  m4 I* ^0 a" b) L7 Q; z
  70. - written 02.03.04 by pwk.linuxfan, `( ^' K  ~2 T6 ?0 A9 }

  71. , E3 }0 M+ \* l1 \
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 }! B( W" l2 M0 g; D- ?) ^/ V- [
  1.   j! V4 f7 H( Y7 r4 O. N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   ^9 _3 r: R$ t7 ^, `

  3. 2 l% Z0 h1 M  H, E, A( ?% X" e
  4. # # #我们所需要# # # & W) `. r  ]! m) H; K% J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' \$ m; e! e4 `2 ]7 t" i4 S5 X4 h
  6. 不会解释如何做到这一点-也有文件存在,为% r5 F' L4 q6 P7 f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# Z1 {/ c6 A. I% b  R+ e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 H& ]9 A2 R0 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & ?" n0 `) I: v
  10. 本地机器,这是我的MySQL安装。 0 N4 h/ k% j) p$ K7 n4 p* d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& q) v6 U0 P" ^; Y8 ?6 ?' _1 t9 {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 L1 n8 I+ `  F3 y8 ?% S. g
  13. 数据库。 ; a" O9 G8 d- t# ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 t9 n- c# Q  J% Y3 N
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 v+ @  N8 Z: o7 f( J( Q
  16. 在teamspeak论坛,如果你有兴趣。 2 L3 g. l& D& L6 y! M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; @2 `9 ^9 T$ p
  18. Borland公司使用。这个司机只能界面与客户端库
    3 A, R" ~2 r2 s- E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / K" y3 s: _& D! D5 Q2 F. R9 c2 g' S, O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" Y: K6 M; W  H; ^
  21. " vendorlib " ,并解数据库连接。
    ' K- C7 H+ J5 [  H) c( U- ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 u, p" I: W% s( F6 D% o, r+ Y% y
  23. * [* h/ n  q; ^, W' w& E: w* h
  24. # # #做好工作# # #
      v6 }/ }+ y, b: U6 P- I0 F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- x  D' o; |. h( o$ A: ~" ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* L) R6 r( a; ~$ p
  27. 结束: ' W0 P* e- C& n0 q9 l
  28. ---削减这里--- 1 h. H* {/ c% v7 u! i" R
  29. [ dbexpress ] ( A  q- x3 p$ u/ \
  30. sqldir = mysql_sql & L& o! N# A) S* l
  31. drivername = MySQL中7 o0 r( V+ Y1 c4 e) |5 |$ B- s( R% C
  32. 数据库= your_database_name_here 6 O: @/ e- _) P
  33. 主机= the_pc_the_mysql - server_is_on 6 C/ A7 j2 j1 @
  34. user_name = user_name_on_the_mysql服务器
    9 B3 |; }* I5 r
  35. 密码= password_to_go_with_above_user_name - t+ x/ A0 e+ W6 s
  36. getdriverfunc = getsqldrivermysql
    $ y4 X% q6 L. N& ^9 q" }2 }  B/ _$ T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # s8 G3 [2 C/ u* t5 `
  38. libraryname = path_to_libsqlmy_libary
    ( ~1 p5 b! O- `- f5 z3 m
  39. 积极= 1
    % U/ s- \: i- Q5 i$ ^" F
  40. ---削减这里--- ( p+ c1 w7 T' d' n1 M) g) r% t
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! H8 }# n9 J1 v
  42. ---例如--- . z" B& ?( T0 h+ @5 g
  43. [ dbexpress ]
    , w, U! J; s! P* t, b$ K& n
  44. sqldir = mysql_sql
    1 R) `5 Z* E. P/ Z- N( y
  45. drivername = MySQL中
    + t# H4 {, H0 Z
  46. 数据库=测试  G8 d) m/ ^4 W# i% ~
  47. 主机=本地主机
    & c2 N+ v$ s  k; t* w3 _
  48. user_name = testuser / J  E/ h+ z' @) @
  49. 密码= my_password
    8 P) C8 V$ K! K! [3 V: `
  50. getdriverfunc = getsqldrivermysql
    / D: m- n' a9 Z0 c6 h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 W) _% h7 y# ^' b; s) H% `/ r  I
  52. libraryname =. / libsqlmy.so
    : J4 _' M; v4 y$ Z
  53. 积极= 1
    6 B( C( W4 v5 A6 q9 m5 l# K
  54. ---例如--- 4 z! c6 U1 x, t; }2 T( r" \2 p

  55. ! r! v  u" L! J( K7 V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 7 J& O. U! R7 n6 O  A8 j. ?# p! Z
  57. ---例如--- 4 j( f/ ^9 B3 }1 Q9 `7 m
  58. [ dbexpress ] " ^7 K' j; |- z( y, d$ F% r, _
  59. sqldir = mysql_sql ) c" B3 p# N6 a8 z7 f5 @
  60. drivername = MySQL中; G: p$ |+ l! L3 s! B0 A8 c7 ~/ Y' g
  61. 数据库=测试6 q2 b: J. q4 g
  62. 主机= 127.0.0.1 2 {4 b2 n( R7 V7 K' C- |
  63. user_name = testuser
    6 [' \2 s. E5 p  r+ |2 y# ?5 ]. M$ u$ p( O
  64. 密码= my_password - F1 S" w" {9 ~7 u7 W7 o- p, F
  65. getdriverfunc = getsqldrivermysql 3 X/ T7 {9 Q+ t7 t# a" b
  66. vendorlib = libmysql.dll在
    * N( k$ Y* |( S" k
  67. libraryname = dbexpmysql.dll
    ) U5 `$ S3 S0 D3 X, V; f; v. i
  68. 积极= 1 + C9 D. G8 [9 Q8 U0 ?
  69. ---例如---- 3 w) o' R: M- u$ h' X  c
  70. -写在0 2.03.04由p wk.linuxfan
    ; i4 w0 U' b( V  W5 M8 \4 H
复制代码
发表于 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
+ }6 t7 {4 d7 I
0 B, _: P2 R& }: f3 t. d- j6 B9 Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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