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

3152 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# F6 l( n4 W! m2 e# Y
/ U% q! @% w! q, V% O$ P
  1. % b, F5 P( n" v( x0 D6 W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; |( ~) h! m, A8 G/ P

  3. % y3 r, i/ w2 M/ X% W% r
  4. ### What we need ###! e" h  B1 ?# s6 D) h' X' r
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 b" q' ~$ [$ k. P+ @
  6. will not explain how this can be done - there are documents out there for the ! K8 T: c2 H: }, W. ~+ g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % ^/ w2 o3 N# ?& Q
  8. and a user account (username + password) that has the permissions to do stuff
    ( L$ }! F3 Y0 y9 E
  9. with the database. Additionally, you will need a vendor library installed on the$ B9 o" g* F* ]% E# w  D: u% y
  10. local machine, this came with my MySQL install.! {6 l8 _$ }8 N  d. |1 v
  11. These instructions will not tell you how you might transfer your data from the
    3 ^' e; C* Z! G& h2 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 M3 L% D7 K, l# M3 N' J3 N& C; a" J
  13. database.
    ( R, w/ e: S+ n
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    4 ]( P1 n' c4 ?
  15. the time of writing, there are still too many issues - check the current status
    & ~: @- u! P& ?
  16. in the TeamSpeak forums if you are interested.( C+ M; r- L) l% E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 y' o/ s) V! \
  18. Borland was used. This driver can only interface with the client library that ! d" ~2 Q( m+ S! ?' n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 O# t" V% J6 n! I" A) e6 z; t8 u) s
  20. client library - basically all you have to do is to use a 3.x client library as . {. L/ {0 a: N- H/ s/ a
  21. "VendorLib" and a 4.x database to connect to.  P8 _% L5 M( S- o2 r' h; Z: e) e
  22. If you need more info about dbExpress, you can contact Borland.5 X& l: q) f* ^! M  v9 }
  23. 9 \2 U4 G) x8 a: e
  24. ### Doing the work ###/ y0 F0 b3 W2 @% J1 u. @/ W
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- H* t- y& h9 n' p6 L* |- f
  26. the perquisites right, just open your server.ini file, and add this section at  ~/ h0 h- _' j' N$ ~0 e  D" }
  27. the end:9 y1 y! J$ Y( r
  28. ---cut here---" i6 F4 K0 D5 ~$ b7 s$ [
  29. [DBEXPRESS]
    $ T! C& w1 F. M0 ~- O# V
  30. sqldir=mysql_sql
      N1 F6 r% K7 W3 s1 n* B
  31. Drivername=mysql
    : U% f7 U9 _% R2 m- ^! W# T
  32. Database=Your_Database_Name_Here
    % Z3 [% R3 k0 Z9 q9 G8 [6 o
  33. Hostname=The_PC_the_MySQL-Server_is_on: `, Q% Q, z9 g6 p5 i8 p" i
  34. User_name=User_name_on_the_MySQL-Server) E- [  s! m, e4 @! p
  35. Password=Password_to_go_with_above_user_name
    ! v+ e4 u' p# [4 l
  36. GetDriverFunc=getSQLDriverMYSQL
    - L$ f  }0 b3 J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " G: ?1 h* X% A* D
  38. LibraryName=path_to_libsqlmy_libary  s5 U4 A) h6 c8 y
  39. Active=1
    ' e; e0 }4 U  E! Y' y4 W: [
  40. ---cut here---" R+ p. @7 D7 s/ i  g
  41. In my environment (a linux box with a MySQL server running locally) I have:8 E; ~7 T8 K, H3 d& U* D
  42. ---example---
    / K! o+ A- h( v) ^  Q
  43. [DBEXPRESS]" D3 q, u% a$ v5 D- R6 k
  44. sqldir=mysql_sql" M2 h" G$ U% s, q" Y' q
  45. Drivername=mysql
    % @( J, A2 C3 X1 T4 J( Z
  46. Database=test
    8 l4 i* r5 Z* B% U! q' d! g
  47. Hostname=localhost, B! b" h; T- v" u
  48. User_name=testuser+ G, E+ G' z6 `. {6 `
  49. Password=my_password
    7 O; k! U0 y# T' _
  50. GetDriverFunc=getSQLDriverMYSQL0 n2 [5 v6 V. n& u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 D3 W, Q; L, N* Y! r+ @5 E9 D
  52. LibraryName=./libsqlmy.so
    9 y/ C, z% X. A% ]
  53. Active=1
    ; T* H; T( q- B0 H* @0 F% j
  54. ---example---% |9 f/ A& d( v
  55. ( C1 C  {" o( h* t7 f
  56. On a windows box, also running the MySQL server locally, it would be:7 m9 k+ p1 L  S  ^9 \
  57. ---example---
    % P2 e, C$ V7 v, Z% L
  58. [DBEXPRESS]) A, J! _9 |5 E( N2 u% t
  59. sqldir=mysql_sql& Q5 `; L% O5 |/ N/ P
  60. Drivername=mysql$ ], o4 _8 A0 k
  61. Database=test
    % w0 ~9 s1 t" d! k0 |' j
  62. Hostname=127.0.0.1- H- V, K0 t8 P( Y* n/ J2 U% y6 B* p
  63. User_name=testuser+ f* d7 d( N9 o5 K$ n
  64. Password=my_password, A4 J: p6 W) x, v3 @$ r0 d( V% ^
  65. GetDriverFunc=getSQLDriverMYSQL
    5 [* `( [5 J* F2 I/ A% f
  66. VendorLib=libmysql.dll
    6 ^, l) P# [0 j0 O& X! ^2 E
  67. LibraryName=dbexpmysql.dll
    $ B  J3 g8 a& Q
  68. Active=1
    ; |1 u4 j" l2 `! w3 b2 A8 x
  69. ---example----9 z; R4 d! v& f
  70. - written 02.03.04 by pwk.linuxfan7 ^* a# F' d& Q( Q0 B
  71. $ L% B7 V8 ?  {5 h4 Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! t6 u+ ]- j0 D% T' g
  1. * O# _2 B+ O' u8 g0 Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 R9 C' Y' x5 f7 ^0 A' [; F; z/ E

  3. - b/ X# `" \' U8 `
  4. # # #我们所需要# # # / b# q1 ?9 L# k1 |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 p8 G% C0 x7 q; @) s5 K6 L
  6. 不会解释如何做到这一点-也有文件存在,为
    / `/ m, n3 L) m9 n1 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    5 ^! M9 c: D& k7 s* Z$ a* z7 f6 ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% K2 q. j, e( c% |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 g' d- r; r  z7 l2 F8 l
  10. 本地机器,这是我的MySQL安装。 7 _0 v+ s! \# T. D, `1 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  {7 W' u' m1 A  f: R5 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   Z3 M5 c' X3 ?, o* V4 z6 i
  13. 数据库。
    ; Y4 [% @- s& N& T$ b# ?% Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  Z# F3 ?. ~  p, U: ^$ g
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ \3 w' V2 @' f' x
  16. 在teamspeak论坛,如果你有兴趣。 - S# J- m( X2 A% i; U6 j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      D, Z3 f3 D- `/ Z% {" Z
  18. Borland公司使用。这个司机只能界面与客户端库
    0 `* C) n7 E% i. s5 c- E2 G1 B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! y) _, I( m- T2 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - ~; k$ Y$ G, n. d1 y
  21. " vendorlib " ,并解数据库连接。
    * O; \+ a+ d' N) l$ Q; N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 l, D9 |2 _# o: n' h, L; w
  23. : J2 M" A! K3 H6 f( s0 K
  24. # # #做好工作# # #
    * {( U) d+ X5 X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* ^+ o0 H/ ]  P7 ]* m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 f& ]! a$ R: w! d3 g
  27. 结束:
    ! u1 H9 i' i# ~
  28. ---削减这里--- 0 L5 Y  G9 q% O
  29. [ dbexpress ] 1 O0 d1 W# w7 D, ]' W
  30. sqldir = mysql_sql 7 `' V" \! R0 g( Y
  31. drivername = MySQL中
    7 Y# M9 v' F# Y! N" d
  32. 数据库= your_database_name_here
    6 N7 @' b; d. n+ ^, f/ @6 z) t3 p
  33. 主机= the_pc_the_mysql - server_is_on ( F3 a6 X4 c% P
  34. user_name = user_name_on_the_mysql服务器
    / E  \+ N" a! m% ?5 H
  35. 密码= password_to_go_with_above_user_name 3 z& P, d3 G) F" D6 ]
  36. getdriverfunc = getsqldrivermysql 1 w1 z4 r, y) X  q) E9 }$ i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   d& O! [2 K. ]" S* k/ z+ N) x
  38. libraryname = path_to_libsqlmy_libary ' \% F8 `) z. i2 [* y4 J$ B- B
  39. 积极= 1
    6 y8 f' ~8 @" s  Q# @; u" q
  40. ---削减这里--- , H& T2 [& p1 C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 U$ r9 F' I/ u2 l7 B
  42. ---例如--- " M* Q! |" l6 ^; _0 ]' R
  43. [ dbexpress ] 7 Z& F  n  t; Y' `& Q( p
  44. sqldir = mysql_sql % u) a) @2 S! e! h& k0 p8 \9 _
  45. drivername = MySQL中
    $ U4 B! u1 v8 ^, A, ?' q6 j
  46. 数据库=测试
    8 v  p4 u& L$ q' q! J, Q" ^
  47. 主机=本地主机
    ( p/ R8 P: @, \* c8 L9 e% x5 l
  48. user_name = testuser 1 }" K: J% d) \3 W; C
  49. 密码= my_password   w0 k& ]- n+ \
  50. getdriverfunc = getsqldrivermysql
    $ _# G, U% c( \- I) t
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) c/ ?1 ~9 @9 N( C8 X/ D
  52. libraryname =. / libsqlmy.so
    ' [7 h2 b8 H/ H
  53. 积极= 1
    0 v8 z& ]9 k( _- M5 x# t. h
  54. ---例如---
    5 y! L/ w% i3 E+ X" N& _$ o7 o
  55. $ o" ]$ K- ^# F: w; K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & S, U; r) y" V3 U& R7 ^* v! ?
  57. ---例如--- ) z  k# _) J1 A2 [: v1 i
  58. [ dbexpress ] 8 S! g5 x" V" Z9 K2 P& }
  59. sqldir = mysql_sql
    / F4 [: P' c0 c
  60. drivername = MySQL中1 L$ p8 G9 V$ C; g- Y
  61. 数据库=测试# \0 {7 B  p' m; r
  62. 主机= 127.0.0.1
    0 H" q& I6 @  A7 Y  h2 J( U
  63. user_name = testuser + c; |% B. V, z& p7 k5 l
  64. 密码= my_password
    8 N/ K" c  c, m6 H1 Z
  65. getdriverfunc = getsqldrivermysql   V9 M- x- a5 y
  66. vendorlib = libmysql.dll在0 N9 ]4 ~) o& A
  67. libraryname = dbexpmysql.dll   i; j, o) }% c9 B# P4 Z
  68. 积极= 1
    $ p( d5 r: s1 Y
  69. ---例如---- 8 f( |( S! v% L1 ?; l1 V
  70. -写在0 2.03.04由p wk.linuxfan& g3 v- B5 I1 q# u1 z2 p3 l
复制代码
发表于 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
; \- G; l# @9 D' L& W7 Y  M1 {. h1 o$ J1 S) J# Z  a7 B
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-12 16:14 , Processed in 0.107094 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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