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

3362 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , Q" f* Z6 ~( }1 x" d
( v! I+ f! Z& Y9 ~* k0 ]
  1. 5 ^, R6 ?: h! @( [$ j, O& \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % k0 W9 r" ^0 \( L+ K
  3. # c% ?# I; v# X
  4. ### What we need ###
    ' o9 N: V. _5 ~( ?9 ^, m+ l" ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
    7 ?3 i+ _/ F; t$ l7 E# d/ z' b
  6. will not explain how this can be done - there are documents out there for the
    8 ?2 @# v  ^" f% [
  7. interested. The requirements include a (empty) database for TeamSpeak to use; O% E# D) B; r
  8. and a user account (username + password) that has the permissions to do stuff
    ( \, p& w  X6 m1 X3 j
  9. with the database. Additionally, you will need a vendor library installed on the* }$ l6 k. r# u8 C
  10. local machine, this came with my MySQL install.+ \3 ]  v! s  ~2 P2 r9 @
  11. These instructions will not tell you how you might transfer your data from the6 O6 K0 G. R% J' Z4 M$ `
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL' l7 e" Q$ o/ z3 H/ v
  13. database.) H" f0 x8 [& B# t9 _
  14. Some users have reported ways to import a SQLite database into MySQL, but at3 f- Y1 q& P+ ?& M: U5 X
  15. the time of writing, there are still too many issues - check the current status5 ]9 V/ B: [. P. s# l! J& s2 b
  16. in the TeamSpeak forums if you are interested.  r* {  C  l8 d: m" \( [/ T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 _. y( d) T% h% h$ |6 i
  18. Borland was used. This driver can only interface with the client library that
    , N0 u, T0 j* j" t0 a; E4 m+ F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this! H" s- }  S$ T& i; B
  20. client library - basically all you have to do is to use a 3.x client library as 6 _2 r  F' I- B. C1 k1 o: w2 E1 D
  21. "VendorLib" and a 4.x database to connect to.
    2 R* r% b% c( h8 p
  22. If you need more info about dbExpress, you can contact Borland.
    ! a% {4 E" ^1 c* c

  23. . c4 Q  O1 K6 c8 d
  24. ### Doing the work ###( L% D" z/ k4 i" [" w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 ?+ |# d9 d0 N, p
  26. the perquisites right, just open your server.ini file, and add this section at# D0 }# Y; b. _# d
  27. the end:
    6 }/ {7 B! u' ?% t1 s- [
  28. ---cut here---
    4 |: C  h% \- F. o
  29. [DBEXPRESS]
    5 A6 g  d3 m9 u' w% R0 E
  30. sqldir=mysql_sql
    ( I: ?9 ^8 q& a# i- q
  31. Drivername=mysql
    5 ~( x# _9 I1 V# Q0 N" U
  32. Database=Your_Database_Name_Here  u" K# X( v4 K5 B9 \* r
  33. Hostname=The_PC_the_MySQL-Server_is_on; Y& C( {+ F% E( S6 p5 ]& s
  34. User_name=User_name_on_the_MySQL-Server
    0 |2 `- f3 n; d7 V" i& Y. v
  35. Password=Password_to_go_with_above_user_name
    ) C) Z3 C. K' M& h
  36. GetDriverFunc=getSQLDriverMYSQL1 T5 ^: M7 Y1 \8 l
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * o3 A, u( s2 n: g& f" Y3 `
  38. LibraryName=path_to_libsqlmy_libary
    " T) V$ l5 B1 e6 M' Q
  39. Active=1
    + F' m( Q' R* H9 L% m
  40. ---cut here---
    4 h) }# e2 {4 d3 b- J; t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , Y0 b: M9 N/ [; M- @2 d' W
  42. ---example---' M+ w# B: q& R% Q# V. e/ h
  43. [DBEXPRESS]& ?) b. D$ `1 m7 O1 e
  44. sqldir=mysql_sql
    ' x9 P1 y$ ~7 P- ?
  45. Drivername=mysql5 W) W8 y6 o  B0 ^/ O# X' R
  46. Database=test; W; j; i7 D5 }
  47. Hostname=localhost
    ; ~7 y/ F3 a% e/ s( i' U+ {
  48. User_name=testuser
    0 k6 i. f* v9 A6 ?$ l* s7 l! _
  49. Password=my_password$ v' n% R5 H& B& e: X1 c$ z
  50. GetDriverFunc=getSQLDriverMYSQL% r# W% c* F- P9 P) Q. Y, b' W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  y* q/ K' W3 |0 b
  52. LibraryName=./libsqlmy.so
    # e6 f* a, `! Y$ v# X% Q, f/ z9 z
  53. Active=1
    , Q7 M- j+ z! G) a6 p, B% B
  54. ---example---1 U* y" N/ h2 F( C
  55. + m: n) m" q% L. B1 x0 m4 x6 O( ]
  56. On a windows box, also running the MySQL server locally, it would be:  @: K7 x+ f/ F2 I. E
  57. ---example---
    ) y$ ]/ `2 t' J
  58. [DBEXPRESS]# F% i+ K' @7 L8 ^
  59. sqldir=mysql_sql
    " p4 I, j0 V7 w1 o1 v$ V* F; \6 m
  60. Drivername=mysql
    " X9 D5 r+ ]* e4 G: {! A) \' b
  61. Database=test7 D9 {7 f0 Y/ x& n8 ~
  62. Hostname=127.0.0.1% c  }" O6 m- W% t7 Z" j' \
  63. User_name=testuser
    4 s; v3 n# ~* B3 ^* Q
  64. Password=my_password. x7 I8 {& t0 i( S* |0 C4 V
  65. GetDriverFunc=getSQLDriverMYSQL: Q8 M8 Z7 H+ g' c; t8 S9 E: h
  66. VendorLib=libmysql.dll. T' s0 e' ?! V$ t) D& u
  67. LibraryName=dbexpmysql.dll) @7 I" ]" G5 S6 Q0 X: b3 D$ ^: N
  68. Active=1. h# ?6 e" R) \4 q) }; G
  69. ---example----$ e$ V: l+ w$ X3 K& N2 k3 T, X
  70. - written 02.03.04 by pwk.linuxfan
    8 S8 p' f! n! t5 k% ~# k; X9 @4 F
  71. " z; l# d1 o: Q" w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# v6 V1 F' ~  W2 o* V5 [( U
  1. . e2 f3 W) d% p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + }" i0 M$ ]4 I) ~+ L% x% M! `! a

  3. ! b' [' T( }3 m" Y3 y6 _: z" J
  4. # # #我们所需要# # # ' F. ?$ Z$ }# q) q* d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    " a1 o  v/ [8 F/ S0 ^4 j" T/ Q/ w' N/ x
  6. 不会解释如何做到这一点-也有文件存在,为
    $ }$ ~9 H( N# V9 T; O0 d( Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 @  T; o% w; S' L
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 w; f) t/ l* t7 L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 Y) L. U" _- u6 [
  10. 本地机器,这是我的MySQL安装。
    6 S) J# f4 o% s6 P
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - ^" _! A1 l! E! s$ L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ }9 A& L+ L9 S" k
  13. 数据库。
    " i( a& S8 r9 \% L/ d3 k/ ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ J: Q( g% @* W2 y) c6 p( c
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 _! w# n. q; l0 a1 s
  16. 在teamspeak论坛,如果你有兴趣。
    * u; f8 B8 j6 [' ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- G' d1 q4 Y- G3 [( H; k0 T  }) |
  18. Borland公司使用。这个司机只能界面与客户端库
    - W+ _' }7 r$ [# T6 F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # Z+ S5 s  Y) Y0 L/ G+ N8 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为2 q( _8 E  [) a2 c+ x! O: l
  21. " vendorlib " ,并解数据库连接。
    % R/ s0 d1 E$ \, y: K# D6 ?) H
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 {/ d  y9 H: i; N- j# {
  23. + I; O% ?% ]  y3 [8 ?" z
  24. # # #做好工作# # #
      v! u9 T* P4 g. u# n) x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: }% N  G7 J! l. i, _! n* H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' ^- Y6 \+ d' |3 p& w8 l8 ?
  27. 结束:
    8 D! X4 J! t+ e1 O$ H/ L
  28. ---削减这里---
    8 y5 j" c/ m1 o$ ]9 s8 D0 C
  29. [ dbexpress ]
    4 Z) e3 ^% A/ U, p8 j$ C$ Z, c2 \4 a
  30. sqldir = mysql_sql
    7 J. Q8 \: Q( l  z/ [
  31. drivername = MySQL中; J" T' g- G! A
  32. 数据库= your_database_name_here
    5 F; Y0 I3 I; v' ^2 x: }3 Q& v0 E
  33. 主机= the_pc_the_mysql - server_is_on
    0 Y7 h! ^2 n0 e2 F4 E
  34. user_name = user_name_on_the_mysql服务器
    5 g" R( R6 t* C8 p; P* V. }. o8 X
  35. 密码= password_to_go_with_above_user_name
    $ `* P% Q) k0 H# H/ x
  36. getdriverfunc = getsqldrivermysql 2 ?) B0 m* Z+ ]9 C$ K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 m, I. [9 o; O4 x) A8 m, b2 U- g
  38. libraryname = path_to_libsqlmy_libary
    + _% O' g  D; t  I
  39. 积极= 1
    # d4 D- F0 F: }4 o
  40. ---削减这里---
    + n) h) v$ Z2 K- \2 o3 ]9 G( N
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; \; o4 [0 H+ d1 T$ S" g" U8 L
  42. ---例如--- # y4 y8 H& Y' L! E+ d4 ]8 g# D
  43. [ dbexpress ]
    7 x$ U3 Z8 a: [7 |3 g
  44. sqldir = mysql_sql
    2 W0 F2 R) _# Y/ ?4 y
  45. drivername = MySQL中
    : L: F0 E  [5 I- v' D! Q
  46. 数据库=测试
    0 G$ n3 l* Q/ M4 Q: U
  47. 主机=本地主机
    " u2 F; S6 ?4 G* i: e  Q! ]
  48. user_name = testuser + x! v; ]  _( n( L4 D1 j: v
  49. 密码= my_password ) z) m' y+ e# z( E! E9 A1 F
  50. getdriverfunc = getsqldrivermysql
    ( y! {$ m7 y* _& t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! L2 K7 m5 Q# Y- G* {7 O5 Z( c
  52. libraryname =. / libsqlmy.so ( U/ [0 i- @7 ?. W
  53. 积极= 1
    ! r1 n$ e6 ?1 V' z' V1 w
  54. ---例如--- ) ~2 R5 |* W8 K. Z' P

  55. , V1 l0 E' [, z) V
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 `! b% k% X; l. e
  57. ---例如---
    $ X& Z7 ^) U; t; q- R
  58. [ dbexpress ] 1 e/ ~' y" o. E2 q  ?- ]4 v
  59. sqldir = mysql_sql + i/ g" y2 K1 B2 o4 a
  60. drivername = MySQL中
    ' j" ]6 H( S# k+ A2 [1 i+ k( ^
  61. 数据库=测试
    # q/ Q( U& y- [. B: n
  62. 主机= 127.0.0.1
      R5 X- r) ?/ ?6 n$ T
  63. user_name = testuser % ^1 l- v$ ]% I( B5 r& N5 v: o6 A
  64. 密码= my_password
      T. }  U2 ]9 {  |8 a
  65. getdriverfunc = getsqldrivermysql 1 B+ q% c, E" n% e
  66. vendorlib = libmysql.dll在
    - p* [, L; r; f; K2 P) F) ^: ~
  67. libraryname = dbexpmysql.dll
    $ @1 V4 p+ C/ J, _
  68. 积极= 1 / q/ T8 E5 z( S9 X3 r/ g+ A
  69. ---例如---- : q! v& b0 b  f5 j
  70. -写在0 2.03.04由p wk.linuxfan4 q! ]! K& v& |9 a. R/ f
复制代码
发表于 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
; k0 t. X! l+ A5 w# ?, ]$ t7 X* x& \: p, h. W5 M: U1 j
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-20 07:35 , Processed in 0.096660 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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