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

3014 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 h5 D3 p, `/ G  h, B1 g; F+ I, c. H

  1. 7 ~- q" x3 W8 n* j; r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( U+ f+ Z( G, M8 ?

  3. : j: d+ D* I) }
  4. ### What we need ###
      |8 D% ?0 B2 |. ]0 h: m+ y
  5. Naturally, we will need a MySQL server to store the data for us, this document + ~2 V) z1 s, }- o8 m
  6. will not explain how this can be done - there are documents out there for the ) h4 S/ `3 L$ _( a3 [* |
  7. interested. The requirements include a (empty) database for TeamSpeak to use; g( B: F7 J$ g) A/ A
  8. and a user account (username + password) that has the permissions to do stuff- Y- p0 R0 |, c
  9. with the database. Additionally, you will need a vendor library installed on the
    * x! C/ o3 ^$ X
  10. local machine, this came with my MySQL install.
    , Y. c* g# N, N/ }# m7 E, c
  11. These instructions will not tell you how you might transfer your data from the9 G4 @! J* Z: Q9 ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 j: O2 a& G& }- @" `
  13. database.7 G" u) R' _* M9 B& c/ N" \! M
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 x- h8 O! r4 ]2 N! I
  15. the time of writing, there are still too many issues - check the current status
    - ]- B! @! I! W: }
  16. in the TeamSpeak forums if you are interested.4 v: _5 V% `. o8 j4 W  A" V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    8 E7 A( Q  N& g; a+ _& c  x
  18. Borland was used. This driver can only interface with the client library that
    5 ?! `, q7 b6 ?+ y# V/ b" E6 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 e1 I/ H6 u! A) S1 b: Y, j" c
  20. client library - basically all you have to do is to use a 3.x client library as
    ( q1 \( h: f; K
  21. "VendorLib" and a 4.x database to connect to.
    0 A$ h. r$ F/ Q. Y/ M8 t
  22. If you need more info about dbExpress, you can contact Borland.( X/ Z. J) D3 `1 Z6 T
  23. ; V& z: ]( s0 o, K
  24. ### Doing the work ###
    + ~# e' o* `/ R( F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 ?; E( G0 W. k4 Z
  26. the perquisites right, just open your server.ini file, and add this section at2 r) I( G2 [' ~1 u# T8 v$ K; L
  27. the end:2 J; @, \/ q3 N6 v* m
  28. ---cut here---: ^% O$ Z& L. p0 I
  29. [DBEXPRESS]3 e& a/ P3 n! m$ g1 |7 X9 U  |5 f
  30. sqldir=mysql_sql, d# u9 f- m- l/ y8 ?7 d% h
  31. Drivername=mysql
    . l7 a4 A$ I0 |8 m# q/ E
  32. Database=Your_Database_Name_Here0 {6 L) }- c  P* [- I" M
  33. Hostname=The_PC_the_MySQL-Server_is_on( i* _1 L+ }1 i1 O1 K" j$ G
  34. User_name=User_name_on_the_MySQL-Server$ U4 L- B+ ~8 H; [0 [- S7 z
  35. Password=Password_to_go_with_above_user_name3 u! H5 ^! d4 m5 Y1 t
  36. GetDriverFunc=getSQLDriverMYSQL
    , Y! q8 v0 P7 G; ~7 ^* r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 E% m% w" f5 e7 y3 Q; G/ q
  38. LibraryName=path_to_libsqlmy_libary, L" Y' B& q6 Q
  39. Active=13 q7 F3 q3 K) c7 h( L0 g* J' ~0 |
  40. ---cut here---  |5 A) |/ i; B! K9 F- O
  41. In my environment (a linux box with a MySQL server running locally) I have:8 A0 q# b. _# v4 w4 g1 c8 k  Y
  42. ---example---
    ; Y: R* J6 U( Z9 \. m6 I. t
  43. [DBEXPRESS]
    8 K! G" b% Q: }% V
  44. sqldir=mysql_sql  X! @7 s3 y: w( \6 f6 h- O' Q) g% @5 }
  45. Drivername=mysql/ T# @3 s9 \+ |# H- F
  46. Database=test
    6 j( T3 ~% ^1 S3 O4 Y5 S7 {
  47. Hostname=localhost
    0 S; c+ _0 q: ~4 X0 L
  48. User_name=testuser
    5 j4 m! R4 e( f( P2 E! x- s
  49. Password=my_password
    7 w. I5 Z, ?4 z& ~$ L/ E! |5 o2 _! ^
  50. GetDriverFunc=getSQLDriverMYSQL" u! \' P1 D) q$ W. p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . W3 I5 Y) n* P
  52. LibraryName=./libsqlmy.so
    5 p" p; g- Z! ~0 n: \, E2 L
  53. Active=1: F: m2 t: C/ R8 ^% Z7 ~
  54. ---example---
    8 C9 p) t3 T1 N+ S, c& r5 V
  55. ( E0 {7 E' T+ D: h2 \4 L9 }
  56. On a windows box, also running the MySQL server locally, it would be:
    9 G1 d: H! ^% m
  57. ---example---" t0 Z' A: B5 k7 a$ H0 R8 o. A
  58. [DBEXPRESS]7 D1 D; L3 Y6 e1 M, R
  59. sqldir=mysql_sql0 l8 G" H0 U/ P3 B4 Z9 u9 [* L
  60. Drivername=mysql
    % W: v: Z+ ~9 L  a5 ^; @2 H, m
  61. Database=test
    6 n& y9 ]" U+ K1 `8 ~+ L' u) q# x& X8 }
  62. Hostname=127.0.0.1/ ]2 F/ E+ z8 m% G% V7 W
  63. User_name=testuser
    6 n; ]$ {! n" p9 m* P7 H% J$ w9 G
  64. Password=my_password/ D6 N$ l" c) d. Q7 T% \9 T1 {
  65. GetDriverFunc=getSQLDriverMYSQL
    4 l0 }; `& y4 {
  66. VendorLib=libmysql.dll
    * g9 o% F, e" ?7 {5 H: k
  67. LibraryName=dbexpmysql.dll  R% k# u& J: L/ I
  68. Active=1
    ; q$ ~' J7 r9 b- T. \
  69. ---example----3 s; g: |2 Q. V( E; R( M3 c: W' `
  70. - written 02.03.04 by pwk.linuxfan
    8 G( L) M% E5 m4 Y
  71.   v; [3 t0 p" @! P# ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 n/ P8 \+ h  G: r6 L, Z* }( V+ P
  1. $ b# C# K8 U, I" a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 8 j* Q. O+ m0 J. i. m& V) o) p
  3. 4 s, m2 j3 p6 ]0 z
  4. # # #我们所需要# # # ' C$ k: }) F1 X) K0 v2 }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; ^5 d8 ?8 a: K8 i, \0 c' c# c( H
  6. 不会解释如何做到这一点-也有文件存在,为
    : a3 M+ m6 j( z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' g6 N# l: K3 u$ u2 r  z2 V% @; n
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 ]: E7 g1 @) C/ m& \( o. f1 D# v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- o& u! U7 L9 T, L, Z
  10. 本地机器,这是我的MySQL安装。
    5 v8 c  S5 m# G$ O6 Q+ N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# [8 p* y* V7 j- @% V5 y2 S5 x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 A# R; i0 `$ N
  13. 数据库。
    . _- N  b* [( T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  [; C8 I+ K  ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状! N$ S$ `# M( N& a& d# T) K; T
  16. 在teamspeak论坛,如果你有兴趣。 9 B' ~+ v0 A: N7 c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 C% O4 v0 V4 s) w; ]4 m
  18. Borland公司使用。这个司机只能界面与客户端库2 y' Q' y( J+ B' U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . f, z, ]6 W& `4 e+ a" R
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 Z6 l. ^, R: v) f1 J7 R" }' J2 A
  21. " vendorlib " ,并解数据库连接。
    5 ~$ h) j. M. h5 i% p% k9 b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 w% h0 q9 i* g! r6 F
  23. 6 b# }% ~( n- O% a& i4 G) X
  24. # # #做好工作# # # + |8 c& ~( h' C! i1 ?3 z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ J1 a0 v+ p' I! L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 W9 D: J: }9 j, X2 D2 _* H
  27. 结束: % K6 I6 c. j3 t5 ]% t  w& A. x
  28. ---削减这里---
    % I2 j! Z1 q6 K: D% J1 M
  29. [ dbexpress ]
    7 w: W. K* o* f- j
  30. sqldir = mysql_sql
    ) m- ]! v1 w( F3 i8 M6 @1 _2 P, ]
  31. drivername = MySQL中3 u/ `! Y; Q4 \" h3 Y
  32. 数据库= your_database_name_here 7 n! z3 ~$ w! P8 l8 z
  33. 主机= the_pc_the_mysql - server_is_on ! y" B/ t; B5 X7 N  t; a( r1 {$ y
  34. user_name = user_name_on_the_mysql服务器
    1 E+ P: a: d. V3 S2 j9 k& M0 P( m
  35. 密码= password_to_go_with_above_user_name , e' o$ P: t. X+ N0 {4 Q! ^
  36. getdriverfunc = getsqldrivermysql
    ( ]  j8 S  d) ?& |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) x' R' K" g8 q. T+ G
  38. libraryname = path_to_libsqlmy_libary ! ?, B. ]) Y( K6 B7 O9 d9 {, @
  39. 积极= 1
    7 A6 v# y7 ~5 l( b' A8 e
  40. ---削减这里--- - M! C. o/ n2 P2 x
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    % J& ~, Z$ I2 `2 w- o) W1 P) Z
  42. ---例如---
    9 J2 C1 ]; `. E( y5 b5 d# S
  43. [ dbexpress ] % N$ \7 A  E" B, z# U: R- U2 K- T
  44. sqldir = mysql_sql
    4 _0 C4 g) O  L4 f! r7 E
  45. drivername = MySQL中
    $ Y! _" T8 A3 p0 e" \. l
  46. 数据库=测试) Q: S2 R9 k% D* r, {
  47. 主机=本地主机+ r, M6 {  f1 t( d* _' |8 J" J: y+ D
  48. user_name = testuser ) I5 _/ ~+ i' b
  49. 密码= my_password - s( J& M2 \1 W# t& O% q
  50. getdriverfunc = getsqldrivermysql
    0 f8 M8 j0 m# E' p; O8 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - x8 N3 e& m3 x6 z! S
  52. libraryname =. / libsqlmy.so 4 B# i6 i% m7 o5 k
  53. 积极= 1
    & |  ?& Z( H( x6 t1 d
  54. ---例如---
    ; [. n- a1 [+ Y/ }, O8 U

  55. + S, K: B" t# ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 P% U* S, s' }2 t6 U+ n
  57. ---例如---
    , U8 {$ W9 h; B. y  }  Z
  58. [ dbexpress ] , `' F  c2 L: l: O6 }% N# b  F
  59. sqldir = mysql_sql 6 m  P( ^( N0 c$ w* ?
  60. drivername = MySQL中) X1 L, V' F( l+ P5 [
  61. 数据库=测试5 g/ x2 q9 A( Y* L
  62. 主机= 127.0.0.1 / K( Y# Y4 D/ m# u7 E
  63. user_name = testuser
    1 R3 D' d- \% v: A
  64. 密码= my_password   H0 x3 v& q+ U  U. F
  65. getdriverfunc = getsqldrivermysql
    & k4 x; T2 q; o; A3 R
  66. vendorlib = libmysql.dll在  K7 `) N% G# O8 j( X4 ^& |
  67. libraryname = dbexpmysql.dll ; C2 ~1 k; U! b% l0 y$ _
  68. 积极= 1
    : G9 Y  |+ A: s( ~$ [
  69. ---例如----
    5 w5 m& W+ M, L+ d: E- ^  G
  70. -写在0 2.03.04由p wk.linuxfan
    ! m7 k* M+ O% F" z" o
复制代码
发表于 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
9 H$ I$ }  {8 E+ n0 l, M; @  S9 O& l
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-13 04:36 , Processed in 0.100741 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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