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

3193 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 E8 {9 J; j5 d3 z& t/ J( r% a+ u
- S0 J, k2 B: ^1 s- B' @
  1. 7 C( N& J) H' i/ e  E( W4 E! d. a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 `/ n( b  a" Y9 r& U+ ^1 ?: c

  3. ' i/ ^4 P) t  n) j* L: ?
  4. ### What we need ###9 B% e; y% u. M% I
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( u  M( B; Q1 k5 U3 k9 O- {
  6. will not explain how this can be done - there are documents out there for the 0 @8 N, W0 j: {2 W% y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ! X; M/ o+ P, Z8 D: J
  8. and a user account (username + password) that has the permissions to do stuff
    ' D+ O' _7 K5 z
  9. with the database. Additionally, you will need a vendor library installed on the
    ' O0 \6 \, G( y5 _8 R
  10. local machine, this came with my MySQL install.* _0 \; M  H+ W1 X9 N% K: g3 S8 s
  11. These instructions will not tell you how you might transfer your data from the
    & a1 r+ p* u5 x, t, S6 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 P1 p) ^) o: Z- m( j/ N5 X
  13. database.5 W9 Q. @6 L' P4 {4 k$ d8 G/ O
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    $ r2 N! L2 X" p0 E' _: h+ |8 ?9 d
  15. the time of writing, there are still too many issues - check the current status9 ]/ q* R1 V- @! N
  16. in the TeamSpeak forums if you are interested.5 i  C& q# X7 L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . p1 V) m1 C" t# }5 L
  18. Borland was used. This driver can only interface with the client library that # s% F: u  G7 V  V  u8 {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this4 N# j% h. S) s6 g
  20. client library - basically all you have to do is to use a 3.x client library as
    5 j5 o$ p' x" S
  21. "VendorLib" and a 4.x database to connect to.
    ! d5 X! n% w, R
  22. If you need more info about dbExpress, you can contact Borland.+ a7 ?6 y/ r1 \3 E

  23.   b8 P2 K4 K& W  {
  24. ### Doing the work ###
    * c% Y& ]  U  o- E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 Q: f& E' R$ W, [  `8 A
  26. the perquisites right, just open your server.ini file, and add this section at4 \  N' d/ e4 L$ P8 T, r
  27. the end:8 U+ ^1 u, I3 c0 E) o) C: _% J
  28. ---cut here---" M0 V' D5 c' P. Q
  29. [DBEXPRESS]
    ! v- b$ m7 S5 U. K! n# Y# H
  30. sqldir=mysql_sql' X& k! K2 z! y8 o! d7 u
  31. Drivername=mysql
    5 W! A% R! I4 ?+ O1 Z7 V% M
  32. Database=Your_Database_Name_Here. O/ M4 h: Y6 T# j
  33. Hostname=The_PC_the_MySQL-Server_is_on
      G; _2 k( k+ T! Z! h* j  a6 ^
  34. User_name=User_name_on_the_MySQL-Server
    4 ~0 ?7 G1 Q" e$ x3 T/ d
  35. Password=Password_to_go_with_above_user_name
    ( J; z+ Z" Z0 `/ a, J0 k% A
  36. GetDriverFunc=getSQLDriverMYSQL' S2 ^  M! E* o' L# R  B, S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + Y2 H) Y* |0 f- i7 x% q' N
  38. LibraryName=path_to_libsqlmy_libary- v" S3 H  A  Y, d  P, k  t! S
  39. Active=1
    . a: t" L6 j9 h7 v
  40. ---cut here---# h- t4 Y6 o! l9 p% ~. C
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , Z5 @8 }8 M- F8 B& @9 b
  42. ---example---3 m# ~' r% ]7 D* ]. |  y8 y! H
  43. [DBEXPRESS]1 _+ A# {- S" U4 x7 d7 m% K
  44. sqldir=mysql_sql
    # S) ?. r3 b, N
  45. Drivername=mysql, |# P+ _/ u4 q3 B+ `
  46. Database=test
    , e4 {, b# _) \5 v) p' n
  47. Hostname=localhost: r1 ^) E; |+ c
  48. User_name=testuser
    9 T( ~) }& k% ?" n' C
  49. Password=my_password( l* c/ _; u6 x
  50. GetDriverFunc=getSQLDriverMYSQL0 u# s7 B0 l6 Z' R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0& F1 S$ w8 F" l( S' Z
  52. LibraryName=./libsqlmy.so
    % `  ~! ~3 A* f5 ^- r$ k
  53. Active=13 c& R$ A9 Z8 j* f) P
  54. ---example---
    4 h0 K& q6 p/ U' q3 M6 c3 ]

  55. * y% [# E  L1 ~7 `2 j7 D* H. O
  56. On a windows box, also running the MySQL server locally, it would be:
    - X$ A& o& x, W; C1 A
  57. ---example---! ]# C1 _4 o9 G9 Y/ }1 L8 a- Y
  58. [DBEXPRESS]
    ( R! r/ I: z+ G+ d. z( o
  59. sqldir=mysql_sql
    0 d5 Z. l! y9 R
  60. Drivername=mysql
    ; I+ J8 O9 p; i8 |' {+ A2 J' f
  61. Database=test6 G) E- ^1 P5 f. |
  62. Hostname=127.0.0.1
    + @8 \( L' K9 \8 l7 N; l7 @# P2 d
  63. User_name=testuser
    3 @, A9 k- u8 h% n
  64. Password=my_password
    " R; n0 E5 s1 o* ^. B* s# u
  65. GetDriverFunc=getSQLDriverMYSQL
    & L( d$ y0 f5 `. {0 G
  66. VendorLib=libmysql.dll) ]3 Q/ I, ]8 [& Y" b
  67. LibraryName=dbexpmysql.dll! j' c7 i% [2 K; Z0 C' Y
  68. Active=1
    ' ^$ b- f4 @1 m) f+ t
  69. ---example----# T# ?" r, ^4 E% \6 a( g- `  U
  70. - written 02.03.04 by pwk.linuxfan4 s! j, l+ H: I" |

  71. . j; H; K& J6 K  x# z0 u7 O  V# I0 b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 H/ \" S; `; ~

  1. " m; `/ [9 \. s3 `* G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! Q6 h* j) |9 u* v+ }  r
  3. 2 C7 a% L* h3 u9 e( C  P$ \; m0 |
  4. # # #我们所需要# # # # n8 l" M3 S7 k8 z/ P8 o1 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 @1 z; J, G4 x
  6. 不会解释如何做到这一点-也有文件存在,为
    4 |( u3 p& {6 X. u8 a- `+ g) n& i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : {* d# f# o& ?) G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 M/ s; p6 Z' v1 `9 Z) l4 [* }
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    & `" r/ ^0 \" }
  10. 本地机器,这是我的MySQL安装。
    # X. k9 V: u: `) q4 g( }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 ]) @6 M8 ?% y- X7 `# v& T6 j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 s. c; i7 |$ |& c# a
  13. 数据库。 $ K) W( F. T. j* k2 w: W$ z; ]
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 v3 `' Y: ?! A) X
  15. 编写本报告的时候,仍然有太多的问题-检查现状: j6 `  e; Q/ ]$ m+ }8 ?! t0 U
  16. 在teamspeak论坛,如果你有兴趣。
    % _; S8 W3 M3 r( u% S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . J) R/ m2 T. a# v
  18. Borland公司使用。这个司机只能界面与客户端库
    , Q( ]+ K4 Q% P. r3 V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 P2 v5 p# K) X* F4 X# d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 F3 A# M% `8 V3 G
  21. " vendorlib " ,并解数据库连接。
    * X: {, I6 U2 m0 j/ m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 d+ @, I2 Q( ?6 R* g
  23. : x: X& a0 n0 ?8 T
  24. # # #做好工作# # #
    / }' x5 T5 O: l4 O6 L2 Z3 i2 X8 R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " I* ~% E  ^$ U+ L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & j3 [2 E3 h& _+ S# s6 {
  27. 结束:
    5 _! ^9 b+ I3 F  q0 d. t) X
  28. ---削减这里--- 9 p+ g0 A- o* [$ k6 F# n' z
  29. [ dbexpress ] / f$ ~, P$ ^& l# y) Y+ K  H2 H- V( h
  30. sqldir = mysql_sql
    / e1 f3 a+ j; Z1 R' }" k/ B
  31. drivername = MySQL中( R' r) J+ D' d- ^5 G/ B! v
  32. 数据库= your_database_name_here - o0 z- t9 A! [5 z% I2 `
  33. 主机= the_pc_the_mysql - server_is_on & l# ?7 x. d; P2 K& k7 D
  34. user_name = user_name_on_the_mysql服务器+ o4 j, f9 G" @5 r- K
  35. 密码= password_to_go_with_above_user_name . |& q+ ~# c, X- z2 U
  36. getdriverfunc = getsqldrivermysql
    $ c. m, ]8 I4 z1 X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; T* e1 x" |, R
  38. libraryname = path_to_libsqlmy_libary
    - w" t( G1 e( W
  39. 积极= 1 ) F/ I0 K; ?1 @0 I$ W" B& {% a* c
  40. ---削减这里---   {# o$ m1 i3 P' g# g3 Y' Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: / _, c; t4 g; k6 }/ M6 l
  42. ---例如---
    ; a* [# T2 ]/ r5 g3 S: x
  43. [ dbexpress ] : ~% w3 |5 M% g9 t5 `+ W
  44. sqldir = mysql_sql
    ; g# J# A' k0 Y( N
  45. drivername = MySQL中; C8 i2 }# n/ T  w4 L  d* N* N" a
  46. 数据库=测试$ i: i! O6 c) K! e$ B' `) O6 W
  47. 主机=本地主机
    " p3 O) S* n! r1 V& E( t' Y0 w
  48. user_name = testuser
    , g% T5 ?" G) `) y1 O" d
  49. 密码= my_password 3 `2 }# a# i  e$ @. n
  50. getdriverfunc = getsqldrivermysql
    0 q7 o& {- b4 Y; U  W+ w* n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 - o; G: _- d; ^6 \2 a0 Y0 Y1 K
  52. libraryname =. / libsqlmy.so
    4 k) @% ?  z; u: L! h
  53. 积极= 1
    " T# ]' @- t4 y9 s
  54. ---例如---
    ( Q' a; k& c1 S% |! u9 l: [

  55. # ~& x3 v0 ~/ U; G( y& E5 N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 {% }" ~% `8 s% @2 v4 S0 V0 z' T
  57. ---例如--- 9 a# p. P+ @+ Z/ c7 C
  58. [ dbexpress ]
    ; Z# u9 Z' Y0 @) p' u2 D1 R
  59. sqldir = mysql_sql
    $ m, P; T/ m/ ~4 E( E' w
  60. drivername = MySQL中' Z/ V' @% V. q& `+ \8 C
  61. 数据库=测试
    4 K( X9 c: \, }1 h
  62. 主机= 127.0.0.1 - [, d" u/ @# h6 _3 d2 G' z( {
  63. user_name = testuser : Z% l# R& p2 _$ b+ T" F
  64. 密码= my_password
    # F& u( ?. B/ y2 H  b
  65. getdriverfunc = getsqldrivermysql
    # j. E, E' S$ Z7 f: X/ k
  66. vendorlib = libmysql.dll在' b8 ?6 I9 H! m; K+ D8 N
  67. libraryname = dbexpmysql.dll ) H- c2 j# V3 a5 u, r3 v' T
  68. 积极= 1 2 W# x/ ?) N$ {: J, t/ B
  69. ---例如---- ( ]7 N; D. T# I( @: I, o5 t5 w
  70. -写在0 2.03.04由p wk.linuxfan
    + C6 D0 T, B* X, V. K# d) Z
复制代码
发表于 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 p1 c7 D7 v& J8 `

( \; D+ {; \% g! U: _* m# ]+ x. obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-19 08:15 , Processed in 0.105169 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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