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

2358 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 f3 g4 u+ T0 ^
1 Q" n. V$ u6 \* m) Z& C7 a

  1. 4 \; |# R/ [! R/ Q" }+ w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    5 a$ A) a2 f6 ~; q

  3. & R: |6 y* F6 ]# Q
  4. ### What we need ###, s' X( Y; I4 r1 L! c3 d
  5. Naturally, we will need a MySQL server to store the data for us, this document ( f( y/ H& }* q# j  A7 e- a
  6. will not explain how this can be done - there are documents out there for the
    / f* z( k: M. {; a! l5 a
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 \9 X7 e0 k* x
  8. and a user account (username + password) that has the permissions to do stuff
    - w( A( g% P0 X. x
  9. with the database. Additionally, you will need a vendor library installed on the+ C$ c3 d) U) l( Q! R( @
  10. local machine, this came with my MySQL install.8 s# m! G# \! h5 W" s
  11. These instructions will not tell you how you might transfer your data from the
    8 P/ s6 b$ p$ h! g5 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & D5 S1 n, u# B# H: W7 T) a+ Z
  13. database./ i( ~7 U. L) R& Z) M( U5 n9 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) X8 ~& \: y% f
  15. the time of writing, there are still too many issues - check the current status
    * l/ g  V# [  u
  16. in the TeamSpeak forums if you are interested.
    1 p+ a/ E* b7 K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ U" ?  K3 x4 J2 N$ }: L
  18. Borland was used. This driver can only interface with the client library that 9 r% O$ V( o$ K1 K. n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this/ h: k. k6 l/ W8 ]9 Q; W3 x. c
  20. client library - basically all you have to do is to use a 3.x client library as ! ]' ~. n/ i2 a/ V* y/ q2 V& l- e
  21. "VendorLib" and a 4.x database to connect to.2 E) A& ~& v& c
  22. If you need more info about dbExpress, you can contact Borland.
    2 D' T/ f  c4 A, @7 x

  23. . w- w- n4 }/ X+ @5 c
  24. ### Doing the work ###% G% p+ z& D  M/ g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - w+ o5 _/ B* c9 {/ j( q% }1 @! L
  26. the perquisites right, just open your server.ini file, and add this section at
    * G7 a6 r+ u6 S" ?
  27. the end:: \; ?7 e- S( c' ~$ @6 F1 O2 Q
  28. ---cut here---
    0 d8 m6 ~# v& p6 {1 S3 `! a. z( T% K
  29. [DBEXPRESS]
    ' D7 P: t8 [. k# w2 g" ]9 u
  30. sqldir=mysql_sql
      P' M- B+ w  J
  31. Drivername=mysql. c5 ]$ d- g! n/ e( A$ C* N7 ^
  32. Database=Your_Database_Name_Here6 Q* |6 j% ]: \  W: Z/ b
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 U7 z8 E, l: h8 t
  34. User_name=User_name_on_the_MySQL-Server
    ( E% ]. i/ o! J) p
  35. Password=Password_to_go_with_above_user_name  v. W1 h+ L$ i) z+ \" g
  36. GetDriverFunc=getSQLDriverMYSQL5 W5 I4 z& F  u* ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      L0 e, f2 c2 s0 o4 D3 B0 z6 ^6 _
  38. LibraryName=path_to_libsqlmy_libary6 s- c2 F# a  L: j. x/ Y2 w
  39. Active=1
    + S; |/ L7 O  y0 {+ P" M4 X7 ^
  40. ---cut here---
    ! c, v/ a+ Y6 x2 V3 W: y
  41. In my environment (a linux box with a MySQL server running locally) I have:+ R6 x: F& S# R" H! N; {
  42. ---example---8 J, g, D1 _6 o6 ~
  43. [DBEXPRESS]3 H) v" A- d4 H* B6 F
  44. sqldir=mysql_sql- V$ u( p+ F7 ^  v7 u+ ~6 G1 [8 h
  45. Drivername=mysql) a: C- i2 R" G' n. L( y
  46. Database=test
    9 |/ @: C6 F4 ]; w; v( i9 l& r
  47. Hostname=localhost
    # f4 E9 l/ \1 S5 C3 L7 F5 C
  48. User_name=testuser
    : f. O: _) B1 E9 C
  49. Password=my_password
    . a, Y- h& o* ]9 I
  50. GetDriverFunc=getSQLDriverMYSQL! s- L+ P8 H; P0 |) |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ V# a1 X6 V- F5 z
  52. LibraryName=./libsqlmy.so
    , L% f0 B: L0 J* Y3 G5 l  E5 ~3 y+ D
  53. Active=1# d2 q. t/ H# Q' N0 |& M# L! s
  54. ---example---
    / D1 h) k9 `% w5 d. O8 g" W

  55. & G% Q5 m" p+ ^& J
  56. On a windows box, also running the MySQL server locally, it would be:% S0 {( Q/ r9 Q9 S; |+ r: Q3 R5 e
  57. ---example---( T& ]( W4 `' y& d; s
  58. [DBEXPRESS]$ Z6 K  V# L) m; A$ J. K! G
  59. sqldir=mysql_sql. }& B& B& C) W, x  V. S. f
  60. Drivername=mysql- O% e1 T$ h, V
  61. Database=test( t/ L6 [7 `# C1 \# A
  62. Hostname=127.0.0.1( g, w4 D* Q+ }7 W) V" \% ^# [3 b
  63. User_name=testuser
    3 H  @% i. x, b' a. b1 P2 S( V! u/ @: w
  64. Password=my_password  r7 N' I$ Q1 Y; W6 `! a* q
  65. GetDriverFunc=getSQLDriverMYSQL
    : T& P  N5 f4 R" ~+ S3 q
  66. VendorLib=libmysql.dll
    ! Y7 z! P, s; A8 h9 S$ |- v7 Z
  67. LibraryName=dbexpmysql.dll
    7 i1 t# K8 R7 O( [/ K# K- M
  68. Active=18 A) {4 ~& k" W9 p' s
  69. ---example----% B# B1 E+ O- c+ m5 L" W+ a9 I
  70. - written 02.03.04 by pwk.linuxfan8 D: i! F( u. p

  71. ) n! X, _9 B, E7 D7 y* F: X9 c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ W+ q0 e- u9 U! h
  1. 7 c, B0 z" V& m, _- q! i$ ^3 B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ p! s- Y5 |0 M/ t1 X/ g% k

  3. ( h/ a) n9 ?  @2 M( _- X7 N
  4. # # #我们所需要# # #
    6 i2 B; a  n" E4 s1 A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; D" Q1 {7 {- o
  6. 不会解释如何做到这一点-也有文件存在,为
    3 y# e9 g: Q/ a6 B+ P' m% V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; l8 t6 N- G' B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 \  Y, ]' R6 S( R- a+ k
  9. 随着数据库。此外,你需要一个卖方图书馆安装于; y' k1 b- {2 N9 V
  10. 本地机器,这是我的MySQL安装。 5 k/ d2 i2 o0 I9 d7 `4 b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' w- A3 R" H$ A) [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , ~! i! ^  p9 b% |, f
  13. 数据库。 9 T* s) j7 J/ H  O+ l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    , C' j. f. a* h6 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 G  z' v! @1 U# t
  16. 在teamspeak论坛,如果你有兴趣。
    7 B0 d9 u! m) G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; s% O' K) ]; Y8 H$ x: }% J
  18. Borland公司使用。这个司机只能界面与客户端库4 e2 x4 e& \8 D/ @  u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这6 I( |$ x3 M: w' m  c: U1 h
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , t# E; b3 X# r1 o, j
  21. " vendorlib " ,并解数据库连接。
    7 s( C! k1 n9 k: J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 l6 p3 V: d# B% r2 L2 g9 M
  23. + n3 U$ v  k& O) I+ j: B; [, f
  24. # # #做好工作# # #
    , c4 l3 R- @7 G" i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; ?, k/ y# z! \& G6 _7 o! r7 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - {& X+ v: I/ G9 B  M
  27. 结束:
    ; U- ]+ f0 {8 K. k5 Q+ q
  28. ---削减这里---
    ) O5 ^7 o1 B% t7 S6 A
  29. [ dbexpress ] 6 y" h; e/ B1 Q$ G; t& H
  30. sqldir = mysql_sql
    9 Z( V9 W6 g5 F
  31. drivername = MySQL中6 k  x; @' X) N6 e
  32. 数据库= your_database_name_here
    ; x, B1 ~/ o% R9 }* {7 [. s
  33. 主机= the_pc_the_mysql - server_is_on
    3 U  v0 B0 f9 A: U
  34. user_name = user_name_on_the_mysql服务器
    / r9 _7 J6 l& [! j6 j# J; ^
  35. 密码= password_to_go_with_above_user_name
    9 T$ H5 q, }0 ~
  36. getdriverfunc = getsqldrivermysql
    * k& m* {! o! I2 b3 I/ h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 p! `, m3 S+ n
  38. libraryname = path_to_libsqlmy_libary & a4 p6 p  F3 ?( v
  39. 积极= 1
    , s$ B7 Q" E6 L) S0 Z- w3 b7 V" V
  40. ---削减这里--- / g8 a  a. d8 c3 j' I
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - O+ ]3 |$ h5 A1 u2 ?  i3 }
  42. ---例如--- ' k* @& J, I! b! a/ j  P; L
  43. [ dbexpress ] ( x5 T3 |8 e: p( m) Q
  44. sqldir = mysql_sql / s- _) O: S  T7 g8 A  n
  45. drivername = MySQL中
    5 f2 d$ N8 I8 I$ H5 M5 t7 r
  46. 数据库=测试
    ' \0 V# g% r) ]# O( G; o) P
  47. 主机=本地主机( y1 n5 q& ^5 |5 ]
  48. user_name = testuser / b5 ]; L/ m( P% x) X/ Z- Z7 n! w9 X
  49. 密码= my_password 0 |; u: I/ {! V0 Q
  50. getdriverfunc = getsqldrivermysql
    7 C- Y: S  P( C* D( c  I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 a% j7 I1 t1 Q4 \. T% m$ n- ]% ]
  52. libraryname =. / libsqlmy.so 8 A2 M4 c* s4 m# ~& e
  53. 积极= 1
    3 J8 Q7 R" c: M2 g
  54. ---例如--- - n$ c. g2 |' u6 z/ d0 r1 d0 X

  55.   E$ `, Y! f9 o2 j% F+ a1 `* g2 T: H) q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      d/ v, c" u5 Q; g0 m& ]
  57. ---例如---
    / j& P) s! B% A& j4 u* J! V
  58. [ dbexpress ] ( r/ s/ ~6 ^$ E8 r, T. _
  59. sqldir = mysql_sql 7 t1 s1 @9 j* K' M6 }6 g% M
  60. drivername = MySQL中
    ; A* h; s; X4 }- j; }8 S8 v
  61. 数据库=测试+ v; @5 ~, A7 Y, t4 L) Q( ]" q& I
  62. 主机= 127.0.0.1 - M& P+ _  _+ a4 Z
  63. user_name = testuser
      E, v% S: g0 A- y
  64. 密码= my_password
    3 a9 m0 m7 @0 @' W
  65. getdriverfunc = getsqldrivermysql
    7 z# H/ K! C% n" b9 [
  66. vendorlib = libmysql.dll在" h0 {  e* g, s
  67. libraryname = dbexpmysql.dll 2 V4 B: N* y* A5 Z* R. h  Z
  68. 积极= 1
    - x% x5 Q: o9 C
  69. ---例如---- , G9 P2 u( D0 d9 f3 m$ f
  70. -写在0 2.03.04由p wk.linuxfan: P* [9 S7 K* ?% ?1 o* A
复制代码
发表于 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) h" q. _& y/ c4 V4 ]

0 V% m' l, q0 |  _but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-4 20:34 , Processed in 0.227616 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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