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

2864 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 w/ a8 W- f6 n: u0 X
9 V+ ], [* {6 O; Q" L' b
  1. * A+ S8 Q: G2 {& I' X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######- a4 ^& ?* D4 S+ B4 _4 q" d

  3. 7 `) [' K; {7 u4 o" H$ X
  4. ### What we need ###
    ) n6 F  D& d7 M% O, h, W
  5. Naturally, we will need a MySQL server to store the data for us, this document & e( R' Z, ]4 ]' V* r
  6. will not explain how this can be done - there are documents out there for the # ?+ b* h) u3 ~1 v, f' N4 k; q) [) Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / T' S/ n- P: f  ]( \
  8. and a user account (username + password) that has the permissions to do stuff7 ]# J$ ?' Z, {+ J" P7 D; S8 s- j2 p
  9. with the database. Additionally, you will need a vendor library installed on the
    # {! W6 b, I+ B. q# K* ]; L
  10. local machine, this came with my MySQL install.
    2 f; }- l( l. J  i
  11. These instructions will not tell you how you might transfer your data from the
    4 N+ }) q5 @6 x2 k1 a" T7 I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " o. l; P1 S  L  L% ]- d
  13. database.
    : U  ?0 |6 j* \& @8 c  [3 h: A9 d/ M
  14. Some users have reported ways to import a SQLite database into MySQL, but at' f: K# m; y; U5 b
  15. the time of writing, there are still too many issues - check the current status
    4 e& ]: a: g# ?1 }/ F
  16. in the TeamSpeak forums if you are interested.
    / W9 D. e7 I+ e$ h5 E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" d" w+ J! R! w; W* B3 B; V/ W( [
  18. Borland was used. This driver can only interface with the client library that
    ; m. h' S# J4 k4 A( G' g" n2 t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this* B+ H% q3 k/ }0 Z0 e0 D. N7 \4 I
  20. client library - basically all you have to do is to use a 3.x client library as
    . R" w3 }" L5 k
  21. "VendorLib" and a 4.x database to connect to.
    # m; [: H( V9 J. d9 E& T
  22. If you need more info about dbExpress, you can contact Borland.
    9 [! j+ Y" U. ~" {; W" |% c

  23. 8 @, v4 v9 T4 J5 y0 D
  24. ### Doing the work ###
    7 d! L1 m; `' B" R2 _  U7 U7 W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 L+ X4 t- o7 \
  26. the perquisites right, just open your server.ini file, and add this section at! }& E  {0 \3 `, L- n3 t- j
  27. the end:
    * C# e( R5 \' I
  28. ---cut here---
    # S& w  z! A5 N
  29. [DBEXPRESS]
    3 e+ Z0 {  `% l/ ?  r8 k- j+ l) T
  30. sqldir=mysql_sql: C! N0 q* Y5 b( ]- S) W
  31. Drivername=mysql0 U6 k2 B1 o( x' S  O9 J* B
  32. Database=Your_Database_Name_Here0 w, j- I% K5 s( C. W- P$ M" O
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 J2 V- M" D1 M" p$ {% R3 I: p
  34. User_name=User_name_on_the_MySQL-Server8 I" R! R# \( [# A
  35. Password=Password_to_go_with_above_user_name1 C+ h' q! B. Z# z6 u3 I5 q$ L
  36. GetDriverFunc=getSQLDriverMYSQL
    ! V. p$ L: K( |6 @# W: `7 Q' x, C9 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib5 O9 }! a# _9 O3 s9 ~" B0 o
  38. LibraryName=path_to_libsqlmy_libary
    3 S, [6 o8 P- s4 F& r. R* H5 N2 Q0 X* h/ A
  39. Active=1
      K( w* V! L9 ^* F5 {9 N. o# a
  40. ---cut here---
    , A; P. @. y5 p2 D% M2 R4 b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ c( [; c! G4 u& [# [9 g
  42. ---example---
    9 H9 S+ d2 ^  p1 N- v
  43. [DBEXPRESS]3 s+ k- V& \9 x/ j/ L* b9 e
  44. sqldir=mysql_sql
    0 R* y% t1 _- n; }* V7 q
  45. Drivername=mysql
    , r( x) I+ Q  q5 W* k5 y
  46. Database=test
    , H$ |* ], X( y4 M& D
  47. Hostname=localhost
    5 t  J+ f  e- F8 D/ w
  48. User_name=testuser
    / k+ r" t8 I, N% d
  49. Password=my_password' L# x! e" c. d
  50. GetDriverFunc=getSQLDriverMYSQL
    : b& D' C: s& s; w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* [! z$ ^6 H/ C' B
  52. LibraryName=./libsqlmy.so# ~7 h: u! u# H
  53. Active=1
    & s% F, V0 q. C; t- c" G/ d0 y* _
  54. ---example---  M, A' k! u- E9 d8 I* U1 s% D( S* S

  55. . W. ?  v% K/ P2 |( m( D3 y
  56. On a windows box, also running the MySQL server locally, it would be:8 @" w) `! @# J+ h9 U
  57. ---example---
    , ^3 k, Y* Z" F+ K4 S' T# H" T. `
  58. [DBEXPRESS]1 F9 R% [; x/ J2 P9 @  Z" k
  59. sqldir=mysql_sql/ K  w3 ?9 _5 F. `4 R, V
  60. Drivername=mysql
    2 y/ q; t( S8 l( {) K/ w0 i9 X8 w
  61. Database=test, ^2 z) N% r0 O/ ?+ l- j
  62. Hostname=127.0.0.1
    3 T; a1 k% t8 k/ [: W! g& M/ v' p
  63. User_name=testuser8 B1 ]& f' J7 P% R
  64. Password=my_password" E7 }# p: B4 T& [' S
  65. GetDriverFunc=getSQLDriverMYSQL
    + B# w( [4 n) y' z
  66. VendorLib=libmysql.dll- Z- O; Z; ~- ~8 B
  67. LibraryName=dbexpmysql.dll
    1 A0 K) j8 s' }! D
  68. Active=1- F: S/ p; t- }/ q
  69. ---example----4 N& Z/ G9 q. E! a" u+ k- w
  70. - written 02.03.04 by pwk.linuxfan
    ) Z$ F- ]9 X8 x+ S" v

  71. # T! G- ]% j+ D- D( l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# N. ]% e+ O9 V( q$ W' X

  1. 6 a/ R3 h+ ]* u! {4 G# ^
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) t! e6 s( _4 N

  3. 2 Z' o' L, `3 {# P9 g
  4. # # #我们所需要# # # 9 X5 ?& i$ Q- z& l0 |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 @9 R% z* ]- u$ ~- X) i
  6. 不会解释如何做到这一点-也有文件存在,为( ]  D  b* c7 [- ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / }6 d* _% S: q. u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    # B& q$ u8 O! |) Y; b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: V2 S9 \3 H( z! Q3 M) E( Q
  10. 本地机器,这是我的MySQL安装。 ' E, k# j" Q0 Y) [) x+ Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* L% U7 x* s$ P* J( }; d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL + |4 a% A/ M5 C2 I* D
  13. 数据库。
    # w0 v7 c1 `7 A/ ~" w
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& p4 C3 ?2 e. t4 e8 k6 n8 g& }
  15. 编写本报告的时候,仍然有太多的问题-检查现状* L* [& R+ r5 J
  16. 在teamspeak论坛,如果你有兴趣。
    - s, H7 m/ {# r0 u" l6 @8 E' _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    : `8 F6 Y/ a4 J% _8 W. ~/ U
  18. Borland公司使用。这个司机只能界面与客户端库
    & [: v( h2 z, C, i7 O. D& p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 W! p% y" v) g; r% `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" j6 m* i- v$ n0 x7 |/ a
  21. " vendorlib " ,并解数据库连接。 9 W& z+ i- e" O& O! ?$ V) C0 Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ `9 N7 w# `  I1 x7 A( ^
  23. ! m( I9 h8 m7 z* \+ s5 C; ^( E& p% }
  24. # # #做好工作# # # # U$ e' G7 L. Q: F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' X" R* a: m6 m1 @/ j
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 Y2 ^( s1 ]% ]4 T! ]5 Q0 H  X
  27. 结束: . d, D% e. ~, \5 A8 a4 w
  28. ---削减这里--- 4 W/ z/ S; n6 _7 Z6 j& b6 i5 l' ?
  29. [ dbexpress ] , S$ E* t- G8 U% }# Y+ H9 R
  30. sqldir = mysql_sql
    & {3 o3 L  R2 y- W( Z$ z
  31. drivername = MySQL中
    : k3 R- v# ]% x6 t& S* ^4 ?
  32. 数据库= your_database_name_here + Y# v; \% ^6 I; O5 Y
  33. 主机= the_pc_the_mysql - server_is_on " x! Z" K. T3 }* X
  34. user_name = user_name_on_the_mysql服务器
    - ]9 O4 N) _% V
  35. 密码= password_to_go_with_above_user_name
    ) R4 S# ?0 k4 \4 F9 O
  36. getdriverfunc = getsqldrivermysql
      K2 j: o6 K+ O3 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ! W: Y$ `& ^5 J7 {4 r* G$ M
  38. libraryname = path_to_libsqlmy_libary / m) b( n+ r5 J
  39. 积极= 1
    7 K. q) {+ q- c5 T1 h4 y5 s
  40. ---削减这里---
    $ O# L5 A+ x  p6 s1 O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' R, k+ A0 k6 J, d/ k
  42. ---例如--- , e3 T4 S# X8 W" Q& `- N8 D
  43. [ dbexpress ] % H; _: ?5 l% j- J5 \0 R
  44. sqldir = mysql_sql " e1 r; e& H# ]( E" P
  45. drivername = MySQL中2 P. g0 l5 a! e9 \, v" j
  46. 数据库=测试0 ^) G0 \' L, I
  47. 主机=本地主机/ m; x6 p: ~9 A, l% C
  48. user_name = testuser 6 \" v& F2 v5 c9 E; b
  49. 密码= my_password
    , u+ s" D( m) v  ~1 i7 ^. j3 R
  50. getdriverfunc = getsqldrivermysql
    ) L% d* }& [6 A- F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * w/ U( a% W3 h* a8 @
  52. libraryname =. / libsqlmy.so 0 L) R# L, H. P( o5 q
  53. 积极= 1 - d7 o# [  v. k/ f; _0 w9 b
  54. ---例如---
    & M0 b2 @0 C8 n( R+ [# f% {: Y/ |

  55. ! {2 ~# u  P" o" _5 Y. o
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ' w7 g# v, E0 S/ Y3 `7 x
  57. ---例如--- 3 u% }9 n4 F: k% H; ]2 D
  58. [ dbexpress ]
    % [/ a5 G2 |$ q6 k3 Y; `
  59. sqldir = mysql_sql
    , b2 |" ]" s- J, ]! v
  60. drivername = MySQL中
    ) j9 @; Z& T, Q! v0 h, h0 i  v
  61. 数据库=测试* n/ w& q. P* t. }5 o3 y) ]
  62. 主机= 127.0.0.1 % i9 O: }; r0 S
  63. user_name = testuser
    $ f+ z( q& I# U3 y- K4 Q: X0 l
  64. 密码= my_password
    ( f  j- w( a  X5 W9 U
  65. getdriverfunc = getsqldrivermysql
    # u+ H$ y' a3 t& s
  66. vendorlib = libmysql.dll在
    + |2 B3 l) t3 O: Y+ T6 B
  67. libraryname = dbexpmysql.dll
    4 N0 U: E/ C- H- ^! W
  68. 积极= 1 1 @/ e9 S6 m6 S7 o& E
  69. ---例如----
    7 H, w8 W  y" M5 {9 z; w
  70. -写在0 2.03.04由p wk.linuxfan
    $ A- q, j# ]( m; [* L2 r) @- |7 k
复制代码
发表于 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
- i. c3 Y' J) T2 g
* b/ z1 \9 w4 B4 i3 _but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-9 08:25 , Processed in 0.107833 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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