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

2540 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 ~& `& X# B' m& p! A
+ b( o$ T5 ?& s1 x; U' _

  1. 2 m* X$ [) m6 J: T! w& \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% [. P! u& k! }/ R: [( [3 y% t& c
  3. $ r8 N& _; F5 E, z. q) g) ^
  4. ### What we need ###5 w! D) a3 r2 ]" B4 H) A/ Z" D
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ Q/ |! k; c1 Y
  6. will not explain how this can be done - there are documents out there for the + @; u! f4 z7 f8 i" e9 V& D
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( f; [, i$ v# e- a+ `
  8. and a user account (username + password) that has the permissions to do stuff
    2 _- X2 F/ o+ e( m9 p' c7 i6 x
  9. with the database. Additionally, you will need a vendor library installed on the; a& @4 g+ l8 u- l: G
  10. local machine, this came with my MySQL install.$ ~' T/ `1 Y' b8 |1 Y' p
  11. These instructions will not tell you how you might transfer your data from the; h/ j: N* R* \% ]: K* U5 _7 g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 z' H8 p6 y' f! Y  \" V" u8 r
  13. database.
    3 Z1 m) a) w5 k9 n4 \& p
  14. Some users have reported ways to import a SQLite database into MySQL, but at! v. D- g6 ]) m
  15. the time of writing, there are still too many issues - check the current status
    0 s5 e4 F& [; Z
  16. in the TeamSpeak forums if you are interested.
    : {! l+ e/ H1 J  K. Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , R2 z0 G2 t! \1 X; z9 O
  18. Borland was used. This driver can only interface with the client library that
    , ^# W" t; c0 S1 F) _
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 ]' l# p: H: T/ x- _. c
  20. client library - basically all you have to do is to use a 3.x client library as : h  {' M  S( i7 p  X8 V
  21. "VendorLib" and a 4.x database to connect to.8 z) ~/ L/ k2 [+ w4 k5 r4 m
  22. If you need more info about dbExpress, you can contact Borland.1 C. f: W& S" L7 c5 j  X

  23. 4 b3 C4 S" L  r0 h, J4 z
  24. ### Doing the work ###" V5 Z: I0 t8 B# F7 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 A' L: r% E. e+ _3 a
  26. the perquisites right, just open your server.ini file, and add this section at! N& m, ?; h9 H0 G& G$ ]) ^" ~! u
  27. the end:' S! [6 P4 K3 ?$ U" |. G
  28. ---cut here---* c' M% B  D. o& O8 x5 c8 W
  29. [DBEXPRESS]
    / S! V1 S1 s; |/ C- A4 P& ?  {: o: {
  30. sqldir=mysql_sql% p1 |& Q- m! T
  31. Drivername=mysql
    . J8 [- Z7 j! O, m5 B+ G
  32. Database=Your_Database_Name_Here
    . Y$ `# [8 q! s! \' j5 U
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . Z- b% I4 D- I. `. M% f3 x/ a0 T7 `
  34. User_name=User_name_on_the_MySQL-Server
    : a, L. Y6 i6 U) u  w
  35. Password=Password_to_go_with_above_user_name
    8 d  y% u; w1 }/ F' d) o
  36. GetDriverFunc=getSQLDriverMYSQL9 k% k: O, J2 R* Y  ]$ B! L* {2 H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ! q6 U& Q( K8 \. k) x. ~
  38. LibraryName=path_to_libsqlmy_libary
    8 W3 d& z( x* H2 W' w- D
  39. Active=1+ \0 X! y6 J( y# t/ a1 b  N5 n
  40. ---cut here---
    7 x6 \+ b$ x& B$ H1 H: \& I$ T
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ U! |& ?. w* S! K6 Q4 d
  42. ---example---
    $ Q3 T, Q1 W2 R( j+ a1 w* _
  43. [DBEXPRESS]/ ]6 z( V3 G0 C" ^2 n+ [
  44. sqldir=mysql_sql; I7 d3 X  J: d$ O+ U
  45. Drivername=mysql2 O) C: e, Y- B4 c" u: E# X) y0 m
  46. Database=test, {* C, z0 e: z
  47. Hostname=localhost
    / a/ C$ I# H$ ]1 x& H/ Y& @; ~
  48. User_name=testuser! t% e( y4 }5 ^+ I3 g2 \
  49. Password=my_password
    , p- ?& ?, p0 b' v; r  y; i
  50. GetDriverFunc=getSQLDriverMYSQL! r* b( _# W3 r+ c  }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0# M+ X" s+ T# @3 y
  52. LibraryName=./libsqlmy.so
    4 A' _6 p7 W( P
  53. Active=1
    ! R' l2 |& N; \4 [' N  t
  54. ---example---
    6 p1 c9 e- _3 ~

  55. 0 A% B  \+ ^9 B! y5 E
  56. On a windows box, also running the MySQL server locally, it would be:
    : {  t. P' L4 y5 V( c$ e7 {
  57. ---example---/ Q# E! i2 r3 R6 |) s
  58. [DBEXPRESS]8 @! ^( r0 @# }7 I; G# T
  59. sqldir=mysql_sql5 R& j% M4 Y9 q; R8 `# T" P
  60. Drivername=mysql
    0 d8 F4 N) G+ y9 ?. n
  61. Database=test
    % t* {7 D. H6 R7 j! J- Z
  62. Hostname=127.0.0.1
    ! ^" I5 {4 b; i& O/ l$ N
  63. User_name=testuser! l  r! V3 [- D& g6 u+ F
  64. Password=my_password
    $ x9 F2 l; M7 N$ u* F: J/ d& ^
  65. GetDriverFunc=getSQLDriverMYSQL* I# ]2 W* ~2 O( n( T
  66. VendorLib=libmysql.dll
    + G; \# C5 f  I7 d1 x
  67. LibraryName=dbexpmysql.dll8 E. y$ ^3 m; g- D; n4 V
  68. Active=1
    4 O5 H  I0 W/ ?) J, l) @
  69. ---example----0 p- |% ]+ j4 G/ y& P+ F
  70. - written 02.03.04 by pwk.linuxfan& x2 H6 @+ o6 ~
  71. 4 i' O" D4 W: |+ O( s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% @7 S+ Q4 @& e7 F- Q

  1. $ U( v! H' c5 g! v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . z6 ?8 X" w+ I- f- b' e

  3. 3 h& X: {$ `" T4 s
  4. # # #我们所需要# # #
    5 q: v; A, O8 |5 V& r! F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 d2 H. o2 n0 k; Z- W9 j; z
  6. 不会解释如何做到这一点-也有文件存在,为
    * q) M- O/ H6 e) f& w/ o' \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ x6 n+ O: ]) n( a: G+ B; m$ |; n, M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    3 O7 U! n: n) o8 w4 C: \+ y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; \! B% }- `: P+ a# x8 q6 i4 n
  10. 本地机器,这是我的MySQL安装。 $ U5 R0 ]3 ?3 [5 r- u, J% v; t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # ^* P) m6 s& I- f; \. b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 3 f# ~1 F- T$ c3 A( J5 N: |) f
  13. 数据库。 & d% \( r5 C7 J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) Q. c- [" n+ @2 f" K" C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 p! C6 b0 ~+ a1 P% p3 _7 F- g
  16. 在teamspeak论坛,如果你有兴趣。
    " D( L0 x1 ^/ l3 ^  X7 w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 r8 [# k  `2 L- e
  18. Borland公司使用。这个司机只能界面与客户端库
    + Q" l* o: X( q( H; ]- B! {6 f& h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ k0 p  P+ f/ `' U) h  T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / q( c0 Y* p) x/ g+ t4 A8 I
  21. " vendorlib " ,并解数据库连接。 4 {4 \: b4 Y# }, }9 e4 M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ G- M! J7 |. b; v" k
  23. 4 b3 _8 I7 a: G- o
  24. # # #做好工作# # #
    / d8 f1 {6 x: T4 J$ }4 @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; O6 a! T1 S' B: u" N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . ^$ n5 D5 L. @7 q6 ?$ L1 [: s0 U1 ]. q
  27. 结束:
    0 h! R0 |9 [0 @
  28. ---削减这里--- ' `4 c- F3 Z; G9 A. K
  29. [ dbexpress ] 1 h0 p  C) @7 B" W& n) F
  30. sqldir = mysql_sql
    ( e$ u; g1 ~5 _8 s0 ~; y, ]( o
  31. drivername = MySQL中
    1 e* C/ Y, ^) V9 j. c
  32. 数据库= your_database_name_here : y6 ]4 w/ Q/ Z$ L# K& _
  33. 主机= the_pc_the_mysql - server_is_on
    $ h8 Q; \1 I* O1 f) t: y
  34. user_name = user_name_on_the_mysql服务器
    & o% r& w+ x% W3 W* z* B
  35. 密码= password_to_go_with_above_user_name ; G4 _# b% H8 ]! G% H% R
  36. getdriverfunc = getsqldrivermysql + T* U" c+ s  e: e, J# _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) f2 D6 b8 ^4 f
  38. libraryname = path_to_libsqlmy_libary
    . X1 ?! Z0 P) C4 k+ F( z
  39. 积极= 1
    - |* ]- ~2 `3 x4 v8 ]  Q
  40. ---削减这里--- 3 U4 ~) B& r# w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 T' m; n6 n5 C* c) s
  42. ---例如--- % V3 h/ n3 ]1 E8 R! z; W
  43. [ dbexpress ] - g+ R+ i% M+ i* ]3 F$ x7 @: C
  44. sqldir = mysql_sql 0 ]$ l8 K# b" O' X
  45. drivername = MySQL中
    * E  W# g5 F, k5 {: j
  46. 数据库=测试; v+ g. ?) Q1 o% y1 U0 {3 U- q
  47. 主机=本地主机7 o- |5 S  z* E( x
  48. user_name = testuser + H7 M/ r' d! r) F- Z
  49. 密码= my_password , s" Z. W4 r1 C1 }* b& y: E  Z
  50. getdriverfunc = getsqldrivermysql ' R! k  \  Y" L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + K# A0 [% {& ^& F+ L! s3 u
  52. libraryname =. / libsqlmy.so
    % b) E3 S4 w& ~3 I$ y' R
  53. 积极= 1 ; Y% f( Z# h, v8 R5 g
  54. ---例如--- ( f& N" `( a0 J: ^

  55. 1 e+ L5 R5 X+ Z0 y( Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! y; ?/ ^: o$ N6 D3 u! A( P
  57. ---例如---
    ; ?+ k! {  `# I* J
  58. [ dbexpress ]
    ' }% t4 \. ?. k5 w( h/ r  X
  59. sqldir = mysql_sql
    + x  _! X/ S1 j4 s: R0 B
  60. drivername = MySQL中4 A: j/ f/ \/ ?* s" \2 Z' {
  61. 数据库=测试
    3 L  K5 s: p! N2 E; b; x
  62. 主机= 127.0.0.1
    ! u5 y% Z2 e) [9 E0 E4 F
  63. user_name = testuser
    0 W$ p! k; Z1 k- c
  64. 密码= my_password ) l& X0 r1 u0 j9 j; h& M* f
  65. getdriverfunc = getsqldrivermysql
    8 Z7 d! ?/ @- a/ I% b
  66. vendorlib = libmysql.dll在% W7 {3 [$ P$ B; \4 H
  67. libraryname = dbexpmysql.dll
    ' i9 K) a+ B- w" s# K7 [9 Z
  68. 积极= 1 / e& T/ z+ ^7 n
  69. ---例如---- ' e$ g$ g3 I0 Q6 d/ T
  70. -写在0 2.03.04由p wk.linuxfan
    $ b, W  U0 i6 I: 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! E, V3 a. v- ?

) O1 d9 H" b5 V* g3 h1 Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-21 21:05 , Processed in 0.092301 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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