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

3576 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 w+ z& o2 g2 l+ P8 M2 s
# u( _. T; \7 m/ h/ H- g+ D8 v

  1. 4 ^1 {# e/ g" _$ a  |% [7 y0 S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ B2 m$ Y: E5 _+ |0 N1 ^  V% c: S! u4 N" {
  3. 5 N2 u9 c" s0 ?! U$ m, C; x, F3 F
  4. ### What we need ###
    8 A! k' ?9 a- q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 V" t2 A: h. M+ z
  6. will not explain how this can be done - there are documents out there for the 3 D- Y) }1 a- p/ R% \& d+ `2 E
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 \! F! J9 N6 s0 _4 S+ U
  8. and a user account (username + password) that has the permissions to do stuff* P% `% X/ G) y/ o2 `, P7 L4 ]
  9. with the database. Additionally, you will need a vendor library installed on the
    # C+ o2 d- j2 J
  10. local machine, this came with my MySQL install.: s8 u/ g9 |6 M; P! u( d) C0 k3 ^5 z
  11. These instructions will not tell you how you might transfer your data from the
    : ?, Z8 M$ [# p4 u  w8 A2 J1 t  H
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 p9 p, d7 ]9 V" h- f
  13. database.
    / ?4 ^8 N& R% F. a5 q: p
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 h- A0 |! s3 K) C. u1 w
  15. the time of writing, there are still too many issues - check the current status0 _5 w* L9 Q" T% w' l3 Z
  16. in the TeamSpeak forums if you are interested.
    5 \, P4 Z& w! T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 N5 N1 r$ E- V# x
  18. Borland was used. This driver can only interface with the client library that 9 v0 N" I7 Z' N( ^
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ q0 z4 x& _) F5 _" z# ~4 h5 U3 R4 w
  20. client library - basically all you have to do is to use a 3.x client library as ! Y1 v% I7 K, R: o/ I
  21. "VendorLib" and a 4.x database to connect to.6 I) O  C) W% P5 K/ j
  22. If you need more info about dbExpress, you can contact Borland./ k4 m! {* O# q% G

  23. " |4 w, s* s( i8 i. _
  24. ### Doing the work ###
    " |, R/ D& J3 E5 L4 ~. ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 j) X/ K! z1 K6 G
  26. the perquisites right, just open your server.ini file, and add this section at
    ' Y+ x& f* I2 a+ v9 d3 c; g
  27. the end:$ N( j4 Z& F1 N0 B, Z! I
  28. ---cut here---7 F5 r1 U( Q  @; i% Y9 \
  29. [DBEXPRESS]
    4 u1 F; Y3 ~" u3 r6 T$ q6 {: A6 F
  30. sqldir=mysql_sql2 G. R$ l* v5 U
  31. Drivername=mysql
    ( W9 p  i: ~* O( {  d$ E
  32. Database=Your_Database_Name_Here' s/ j. q7 Z* x1 @! H, y( ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 A" n* M& `$ }! n/ R
  34. User_name=User_name_on_the_MySQL-Server( |; E8 a! Q. T- e; S9 Q
  35. Password=Password_to_go_with_above_user_name
    # O# D: P; G1 \+ y) }  ~9 [
  36. GetDriverFunc=getSQLDriverMYSQL
    $ Q  L' l) n: r9 k% i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 {( K8 J" d" {6 S! u
  38. LibraryName=path_to_libsqlmy_libary
    , R; [; t* z& w: d4 C. K
  39. Active=1
    $ x4 w3 |$ J9 o
  40. ---cut here---
    1 N- [3 I+ n& i0 f( H+ n
  41. In my environment (a linux box with a MySQL server running locally) I have:+ j5 I* s0 K2 j
  42. ---example---' ^4 {  T7 A& m. Y! O3 r! e
  43. [DBEXPRESS]2 u: ^" U& z; F$ U9 h. h
  44. sqldir=mysql_sql% L$ ]- P% F' W
  45. Drivername=mysql
    ' \  f1 r# `9 I8 |9 I
  46. Database=test; n% |7 E; f6 Q: J8 O9 l
  47. Hostname=localhost
    , c  M( J* p* i  b2 J$ p: y
  48. User_name=testuser
    : E$ t9 q/ o! {
  49. Password=my_password0 |3 v5 F. T/ k4 W8 c4 o
  50. GetDriverFunc=getSQLDriverMYSQL
    ! L5 l+ }& @- D. \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; Y5 _( H# j' A( S
  52. LibraryName=./libsqlmy.so
    ' r7 ^. z" [$ b
  53. Active=1
    / w7 Q0 |6 e$ F* \* K2 u: d' i/ N! j
  54. ---example---# b& Y- d( d7 @" N: L7 Q
  55. ; Q" n' `7 x$ k9 X% e% t
  56. On a windows box, also running the MySQL server locally, it would be:: {2 P1 i7 ]2 o# ^3 T! V
  57. ---example---0 c3 {: w( U8 f3 ?
  58. [DBEXPRESS]
    : p! ?0 X3 j. f2 i
  59. sqldir=mysql_sql+ |5 N) ?$ S( @
  60. Drivername=mysql$ p3 S: c1 d2 Y1 n5 a
  61. Database=test$ U# @2 J7 t3 e$ K3 N' k5 v
  62. Hostname=127.0.0.1: w8 M! E4 I4 R% S5 n7 B
  63. User_name=testuser
    " t% M1 [  |2 H
  64. Password=my_password
    & ?/ J5 _; K' H: T  d$ W0 g
  65. GetDriverFunc=getSQLDriverMYSQL! z' O3 f3 W' B7 l' x& Q4 {, A( f
  66. VendorLib=libmysql.dll8 S2 c! Y: e7 n" H' J
  67. LibraryName=dbexpmysql.dll
    9 A9 _# c* k0 W0 n( v# F
  68. Active=1
    3 [# Z6 d5 R* b' W. m
  69. ---example----
    $ j# u( |8 u! z0 Y+ s9 _
  70. - written 02.03.04 by pwk.linuxfan" o; t0 [8 U& u' ~+ ?

  71. ( {/ D2 A9 I4 F9 s- u$ C: q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ X2 U0 j, R7 M, @

  1. ! D7 u+ S& h( S
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + I7 C, ^+ o$ X' `3 K

  3. # {+ B4 h* ?: u" L6 v% J) H9 m
  4. # # #我们所需要# # # " S2 ]( k+ _+ Y, ^$ X8 F& i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* a* ~, R" b# W+ v: C- S, D
  6. 不会解释如何做到这一点-也有文件存在,为$ ^6 y& Y0 |0 |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( B3 a3 N1 m1 o% |. p, \3 I( G8 Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 K9 d' _& x2 e: v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ D: t9 X$ H0 G: ?
  10. 本地机器,这是我的MySQL安装。
    : t9 d) q( z, u! V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% w  w1 p1 b  P' h# J% g. g9 \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! }  y1 N, q8 g. `. S; r
  13. 数据库。 2 W1 U- T( v  E* L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) p, X6 Y7 {/ c. L: x
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 c, Z" N: S) {/ J: F
  16. 在teamspeak论坛,如果你有兴趣。
    4 k& g6 k1 Q3 R$ w
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 Q' g& s- L$ H  i) ]) W, @5 U, C
  18. Borland公司使用。这个司机只能界面与客户端库4 a4 ^* q. S! i1 U$ v! d* p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这7 Z+ T* }( J4 R2 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ R2 c" K( a2 C' L: B% `
  21. " vendorlib " ,并解数据库连接。 ( P' D, L0 Y; K% I& p( r+ D) g' K# R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! H1 D0 J4 O+ t
  23. 9 m1 W9 o# J& t" ]7 g
  24. # # #做好工作# # # 1 c3 K+ U7 u" I2 f# D& I% ]2 B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    1 j9 E! `. [0 u- A- M
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / d% p' w' P8 D, q
  27. 结束: / D& `& E5 ?& y# o2 v" R4 X
  28. ---削减这里---
    9 r2 z/ }- o' \- e' l( f$ G
  29. [ dbexpress ]
    3 W% P; ^3 a. H9 D
  30. sqldir = mysql_sql
    * ]* m" s- c* ]+ \9 x" k' l
  31. drivername = MySQL中+ S9 S3 C$ `9 z- q0 h4 R) T  I0 T
  32. 数据库= your_database_name_here
    0 L- \7 q3 S! Y) m( A0 G$ G
  33. 主机= the_pc_the_mysql - server_is_on * W* `  W% s, n% e3 U
  34. user_name = user_name_on_the_mysql服务器
    * G5 e! D7 ^& A: A$ o" v: V+ i
  35. 密码= password_to_go_with_above_user_name
    - e& f" S" q/ ]+ {8 r
  36. getdriverfunc = getsqldrivermysql 6 \- l! `/ W7 h7 g
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " Z: s6 w4 ]; U1 X6 J- s$ [1 i
  38. libraryname = path_to_libsqlmy_libary
    2 M$ w: P, K9 s! }& L* V% \" j7 u
  39. 积极= 1 9 }  ?& }' ^; V3 v# `
  40. ---削减这里--- . c4 X6 u9 @6 f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 Z, ?: r$ `" t1 K
  42. ---例如---
    1 Y; }& v6 H! w" \  J+ W+ S
  43. [ dbexpress ]
      g2 N' N, x0 M3 w6 Z8 x1 C
  44. sqldir = mysql_sql 2 U6 X. Z# W2 r7 d. Z' R& s
  45. drivername = MySQL中
    , c3 c/ X" A) Z
  46. 数据库=测试
    ) P+ `' l/ }5 m; L
  47. 主机=本地主机
    0 O8 k7 O( I0 p5 d" ?* p; v* q
  48. user_name = testuser
    1 B9 N  {7 h8 o% K
  49. 密码= my_password ! T3 {/ R% I4 i: O- ?% q& ~
  50. getdriverfunc = getsqldrivermysql " v- i" {! T3 F3 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! }' F% a2 ?1 ^! a; Z! |
  52. libraryname =. / libsqlmy.so
    & v0 M# r( U3 ?
  53. 积极= 1 # g* G: v7 Z0 y% P* ^. V2 q0 o& z& M& X, F
  54. ---例如--- 9 Q( B8 k2 h  `; h

  55. 0 J" I8 I0 O( C4 L$ ~2 s& J
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 l5 f" a; W! ?. }8 i! g! d
  57. ---例如---
    9 u8 W& g' B% c( D7 ^/ H
  58. [ dbexpress ] " g2 l* N4 Z* _6 J
  59. sqldir = mysql_sql
    $ Z; w, l) Y2 z0 f9 s
  60. drivername = MySQL中% A7 b( U/ L  S- @
  61. 数据库=测试
    , N- q2 p' M1 ^1 c
  62. 主机= 127.0.0.1
    / i, p6 h. Z& j: w3 ?. `
  63. user_name = testuser : [" M8 h% d7 C, ?' V( R. S" f. |
  64. 密码= my_password ( B* N! J+ j7 W; W% k
  65. getdriverfunc = getsqldrivermysql
    % ~3 p2 C( U' V# N* Y% E7 Y
  66. vendorlib = libmysql.dll在' f7 `8 O- }- D$ u+ O5 b
  67. libraryname = dbexpmysql.dll 0 V0 }: d9 u5 a4 ]. f/ [6 U
  68. 积极= 1
    4 i! l4 l: Y7 s6 c' ^: }, o5 N& j
  69. ---例如----
    & B5 F/ I% v- ]& O3 x: K
  70. -写在0 2.03.04由p wk.linuxfan
    , _" F: n6 a/ e0 K& c& 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 words
7 e& i' j! _" K3 ^+ M+ j$ B+ u
( D& C) t% ?* E6 H! Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-27 19:13 , Processed in 0.068379 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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