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

3315 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' e, a! K% p- q. x0 d4 P

2 E- n) Z9 W  V2 `- N0 G+ x  H
  1. 1 Z3 K+ i% k9 M; ~& }
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 Y, Q/ B. \( L3 e# d4 e6 ~" L; {
  3. . S' T' b7 Y* j, n( e
  4. ### What we need ###
      Q* J" Q- J: y# D1 s5 G9 l
  5. Naturally, we will need a MySQL server to store the data for us, this document   Z7 v' X% c" ~' }
  6. will not explain how this can be done - there are documents out there for the
    2 i$ f# Z" [* z) z# d
  7. interested. The requirements include a (empty) database for TeamSpeak to use: Z7 T6 B6 M! H  T
  8. and a user account (username + password) that has the permissions to do stuff
    # E4 F0 D0 [$ U' Q: Y
  9. with the database. Additionally, you will need a vendor library installed on the/ d$ A" h8 Q1 V9 B. _; @
  10. local machine, this came with my MySQL install.
    6 z6 O$ L& Q1 H* o2 O$ O8 m, E2 E% V
  11. These instructions will not tell you how you might transfer your data from the
    ! y+ P+ w" K; b% M8 B0 V  J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 I+ x# y2 A: D& b
  13. database.) q) A, E, s$ y% x# D$ a" `1 @7 T" `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' \  j8 D# N5 j5 S! w4 Y  e( h) h
  15. the time of writing, there are still too many issues - check the current status7 K2 P4 |6 C' {0 L! Q) v) z
  16. in the TeamSpeak forums if you are interested.  M8 E8 B( X; A
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & x) d9 |( k* ]$ Z$ P' n0 f: Y
  18. Borland was used. This driver can only interface with the client library that
    % T# }9 ~5 s- i! r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- }* [( D* J' m. {/ Q
  20. client library - basically all you have to do is to use a 3.x client library as . a9 M" o7 L7 w$ R8 b
  21. "VendorLib" and a 4.x database to connect to.
      L$ j- }; i$ w
  22. If you need more info about dbExpress, you can contact Borland.5 {( N) p, @* I7 k3 V* E8 W
  23. ( M' `" n1 f  m8 g! s" x
  24. ### Doing the work ###
    * L* F: r  a8 L
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 m: \$ ~+ a$ b+ d; A1 [
  26. the perquisites right, just open your server.ini file, and add this section at
    % _( z$ @. e6 t! V  B
  27. the end:
    + _, D, T, ?7 [! \5 S
  28. ---cut here---
    % [& l$ i9 |+ d
  29. [DBEXPRESS]9 O, z. `) a& m
  30. sqldir=mysql_sql- b: s  I. E' G
  31. Drivername=mysql0 ?) m( O1 q* d& `+ `+ T! m
  32. Database=Your_Database_Name_Here
    ( h, y; R/ u5 Y: `$ T# T
  33. Hostname=The_PC_the_MySQL-Server_is_on0 {) r0 E* {" y. G! N4 A  X7 w0 {
  34. User_name=User_name_on_the_MySQL-Server9 t4 \8 @' E" B: x+ L& u8 ~
  35. Password=Password_to_go_with_above_user_name# G# j. @8 \9 K  b3 _' n: \) g) M
  36. GetDriverFunc=getSQLDriverMYSQL
    4 M4 F  S6 h" L4 x  C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, N$ {$ ]& C" B3 |; C3 U; p
  38. LibraryName=path_to_libsqlmy_libary
    0 z" n: L; z+ R' d0 f" l! s
  39. Active=1  b5 K# L8 g- n! p" B# z# O, s
  40. ---cut here---8 P% D5 ?  t, O: v  k0 e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / T* W2 k9 e4 f8 r
  42. ---example---
    6 \* P8 B3 @0 E+ o
  43. [DBEXPRESS]
    8 Q' s' ~' ?2 @9 j3 Y8 a0 m
  44. sqldir=mysql_sql
    9 s" c$ S0 G! J  _; [# r
  45. Drivername=mysql
    ; e+ p+ ^6 k6 g3 h) `% i. i+ Y- T
  46. Database=test
    % J, F# l; l" \( I8 ^9 l
  47. Hostname=localhost1 R& M& c, I3 @3 I5 n2 Q
  48. User_name=testuser7 G2 [! `+ L# u% `( z: x* ~. P
  49. Password=my_password  B' c1 {2 w# b% Z& c8 x
  50. GetDriverFunc=getSQLDriverMYSQL  ]1 g- c( r* M& x5 \4 e! C' C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 }7 z6 D4 O" E% l
  52. LibraryName=./libsqlmy.so) o# Y# g, m% \  j' R
  53. Active=1
    + y6 B" T! Z& }$ U
  54. ---example---
    % m6 Q1 t7 Z& n+ U1 |1 ?  e6 F

  55. . z, n. R( F9 ^8 f) e( m, f8 _* F
  56. On a windows box, also running the MySQL server locally, it would be:) `/ a! V" m8 c% c0 E
  57. ---example---
    % W  ~+ L3 I# n0 u6 S7 u% N/ r- X
  58. [DBEXPRESS]
    ! S5 H% h6 t5 R9 B: O4 u' v; a
  59. sqldir=mysql_sql9 W( J  {3 m5 @# L$ U
  60. Drivername=mysql
      `, y" p) s3 I7 `
  61. Database=test! f2 o$ ?! o% B; Y. }. `
  62. Hostname=127.0.0.1
    + _- U# f" R8 R
  63. User_name=testuser
    9 V. w+ f  ]3 z9 E5 w1 c
  64. Password=my_password/ X1 _/ {) ?( y6 g6 P9 D
  65. GetDriverFunc=getSQLDriverMYSQL
    & o, g7 J, A3 n6 ^
  66. VendorLib=libmysql.dll' s; T6 P8 ^+ E
  67. LibraryName=dbexpmysql.dll) T0 O2 C1 J( q8 m
  68. Active=1) [7 D1 \- C- ~) D5 T* A. o
  69. ---example----
      H3 q7 ]; u/ x* k0 S
  70. - written 02.03.04 by pwk.linuxfan
    " B3 @& H# z: B& X4 h/ D% |
  71. , L' B  F5 m1 {0 g+ q7 p$ ~$ `
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! {3 M1 {: n/ y! h/ y+ o4 K: |

  1. 3 @1 v% A( _& _7 u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 E6 k+ E4 N/ C& n

  3. 2 }* t, W9 Q- P0 G* L
  4. # # #我们所需要# # # 3 K# [/ C: M  P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 S) x, s" {4 m' B
  6. 不会解释如何做到这一点-也有文件存在,为
    ; ]- J0 Q1 G$ r0 i: ~6 Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & E: H- a; m8 V* \7 s3 V
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  z- N5 ?; G6 x- P' t0 p* h5 p8 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 S% C- C( o. O9 t  R% H& {
  10. 本地机器,这是我的MySQL安装。
    , |1 w  n7 h/ k% @9 P3 B3 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 F( M  B9 |# r$ Y2 L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . P4 U2 g% a% [8 U. J
  13. 数据库。 + {2 U( m& ^- [$ ], g& Z6 m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % K/ O* ^# p) e1 t3 C
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 A& K& `! p7 `. M1 ]! i
  16. 在teamspeak论坛,如果你有兴趣。
    7 F# B3 M5 w. L; g3 }, j  l8 E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 X  E' q/ j$ a9 w! p* I
  18. Borland公司使用。这个司机只能界面与客户端库9 }+ G+ B. Z& c1 H; Y2 Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; b. R( }# v( Y" ^' I0 g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& f3 x5 o  J/ t6 }
  21. " vendorlib " ,并解数据库连接。
    5 P9 v5 u9 y3 G& _% p2 w0 E- \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 k  }2 s3 H# l* ~

  23. # K7 ^' B2 |4 `0 A* C  E
  24. # # #做好工作# # #
    7 }7 {" t9 d+ z5 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 H& G* `" j0 P! l* {* y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      P% h; u( z& L7 I; S: Q( y
  27. 结束: 7 y& o; t- H) P) D6 \
  28. ---削减这里---
    5 k, b4 R- c6 E2 m8 N. f. v
  29. [ dbexpress ]
    ; q# I* d# t. R" G
  30. sqldir = mysql_sql 8 c: r, ^! ]; J# n+ U8 ~, T
  31. drivername = MySQL中! ~* C5 \/ G$ [, H
  32. 数据库= your_database_name_here
    , w- p. g0 V, H
  33. 主机= the_pc_the_mysql - server_is_on
    2 ]7 m# I8 ^# t: t( U
  34. user_name = user_name_on_the_mysql服务器$ K! ?2 [2 ]  Z9 t9 K  O2 k! s
  35. 密码= password_to_go_with_above_user_name 4 G! h* f& b9 G2 p/ X) g
  36. getdriverfunc = getsqldrivermysql
    , Y4 @; h$ ]) n8 z% a; i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; p  H/ H- E4 A% s/ r' q- F. m: r
  38. libraryname = path_to_libsqlmy_libary
    : Z# x, q5 ^3 s6 |
  39. 积极= 1
    ! u) m8 M. H' p0 V
  40. ---削减这里--- ( s+ J: k* R+ P: b4 w8 [$ c0 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; V# z# f1 y2 R/ T6 l
  42. ---例如--- 0 i* x+ e7 X; B8 h) \
  43. [ dbexpress ] # k" h  _* ~# q" n
  44. sqldir = mysql_sql
    2 y2 _) V) \" N
  45. drivername = MySQL中6 B* w: D/ x% ^. o
  46. 数据库=测试
    8 M  d7 z* Q$ g$ o* }
  47. 主机=本地主机
    9 s( w* ^) W0 u! J" h
  48. user_name = testuser * h4 G/ h& n8 d
  49. 密码= my_password 3 u9 e3 p9 m, i% N2 e9 L2 W
  50. getdriverfunc = getsqldrivermysql
    $ _* \+ f4 }2 i) G/ p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 Z5 f' _; r$ @: O
  52. libraryname =. / libsqlmy.so
    5 _$ R. S# p) {
  53. 积极= 1 # ~) W% h, c2 a6 F% W  U4 i2 e
  54. ---例如--- % N7 h! \/ O# l& _7 X1 n3 z

  55. " p& Y- q5 c$ a6 V7 g% N( n6 a/ V5 B
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! H) X: I7 V+ O7 v
  57. ---例如--- ( v1 b9 n) T  u/ p' c  b( e: T6 Q4 D, ?
  58. [ dbexpress ]
    * e- D" ?4 w% T  G2 x" A
  59. sqldir = mysql_sql
    ) w3 ~# K( i; P* ?0 o9 m7 t
  60. drivername = MySQL中# L0 j) j& H5 {6 k" y4 X
  61. 数据库=测试
    , l, J, R6 i5 p+ g/ \
  62. 主机= 127.0.0.1
    , v) ^! ~+ m3 z3 |  ^
  63. user_name = testuser ! U( N/ p& U' G: P& P
  64. 密码= my_password # O! Y" C3 ?* W% k$ S6 c/ W, n+ {
  65. getdriverfunc = getsqldrivermysql , X" q. q9 ?) G
  66. vendorlib = libmysql.dll在
    . h+ _5 E; s5 f
  67. libraryname = dbexpmysql.dll
    : c" P* \8 q( v" Q' N" _
  68. 积极= 1 . I$ z8 a) I! i1 t) @( D
  69. ---例如---- 5 H* _2 E4 T. Z7 L6 B
  70. -写在0 2.03.04由p wk.linuxfan
    / A4 H/ u: z3 e+ x% U+ `& E+ V$ R
复制代码
发表于 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 words5 v. i7 e$ F* ~
7 h) J5 I9 {8 F' R
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-11 04:59 , Processed in 0.103969 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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