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

3556 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 ^. Y6 C$ l1 h2 i0 L

7 \6 H/ s4 \1 N: i- \$ @

  1. 4 ~& @" `+ I5 s% ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 S. I  I) u5 U+ D3 J

  3. , M% S7 B: N3 x) @
  4. ### What we need #### V  T6 }9 p$ P: d: _% b
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 e/ \3 r4 V" F9 l' E
  6. will not explain how this can be done - there are documents out there for the
    4 Y& j3 n7 _4 J, c5 @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - j9 z" S- W/ @2 I1 @& c
  8. and a user account (username + password) that has the permissions to do stuff. R9 I' b5 ?+ z7 U0 f2 I& G" y
  9. with the database. Additionally, you will need a vendor library installed on the
    ; j1 A: L& b$ _9 C; l# }
  10. local machine, this came with my MySQL install.  i: k; k) f7 @
  11. These instructions will not tell you how you might transfer your data from the6 M) C0 X" G! K6 y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % M4 ]2 J$ |. i3 b1 W6 o
  13. database.
    3 G% D; T# e' A8 \% g  ]+ h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 n) `) q1 [8 `0 ~; v
  15. the time of writing, there are still too many issues - check the current status
    6 w7 _, \. S+ z% `( H
  16. in the TeamSpeak forums if you are interested.5 {1 r2 R+ k; s& X: J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , E! O3 k: Z% W1 e" c
  18. Borland was used. This driver can only interface with the client library that
    : z! x: X( \6 k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) G! X* Q6 @/ Q  O9 H
  20. client library - basically all you have to do is to use a 3.x client library as % |% b; C' N5 B) L* i
  21. "VendorLib" and a 4.x database to connect to.1 |4 X; w7 J, H, g0 r4 `& I( H
  22. If you need more info about dbExpress, you can contact Borland.3 L6 H- Q+ S! t/ a

  23. , u( d0 g, C( y- Y: G5 T0 ^
  24. ### Doing the work ###+ M# R+ x$ O+ @7 v& G' p8 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ K- d. T. T  H) r
  26. the perquisites right, just open your server.ini file, and add this section at! M/ X9 q5 J- u8 |0 D% y
  27. the end:- k* D- N# c- W* |* L) t. V
  28. ---cut here---
    $ z- T# C% f( g! c* y0 f
  29. [DBEXPRESS]; B7 e; E% [0 e4 Q& B* C
  30. sqldir=mysql_sql
    # [- R* U' X3 B4 o5 C1 m0 Q6 ?
  31. Drivername=mysql: j! @: i7 j# X
  32. Database=Your_Database_Name_Here( W, k* ?3 X- `3 W$ H7 S0 }' X
  33. Hostname=The_PC_the_MySQL-Server_is_on
    4 x" ?/ `7 T4 l! `; E
  34. User_name=User_name_on_the_MySQL-Server
    3 P+ W! }6 h8 H0 h) @2 b0 G& U# p
  35. Password=Password_to_go_with_above_user_name
    & H9 H3 U, A5 t, d
  36. GetDriverFunc=getSQLDriverMYSQL
    3 Y1 k1 Y- s9 ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    . Y$ W6 I; V  a$ U$ M
  38. LibraryName=path_to_libsqlmy_libary) Y" O* a4 w2 O' i
  39. Active=1% y( r1 e' k1 P- ?7 _2 d
  40. ---cut here---- C- B: q! T/ C1 c+ g+ k
  41. In my environment (a linux box with a MySQL server running locally) I have:' n- I8 s7 a9 u
  42. ---example---
    / d6 S5 l6 E  u  c
  43. [DBEXPRESS]$ i$ K5 }% L' G" ^
  44. sqldir=mysql_sql7 B2 x. [* C& Q7 g/ C
  45. Drivername=mysql
    ; e) a' p" [( @( q0 L' u
  46. Database=test8 i( r4 u, I8 K. @$ Q+ I  O; D
  47. Hostname=localhost
    " G0 q* H/ W( U! y7 T. E7 [
  48. User_name=testuser8 ~4 H! h" M4 N" F
  49. Password=my_password: e/ K. ]3 t( M% {
  50. GetDriverFunc=getSQLDriverMYSQL  Z* m# `' g. e8 t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 a$ R/ P* O" e4 R, z
  52. LibraryName=./libsqlmy.so# M6 L; Q. ^  {$ F) Z
  53. Active=18 K& c: h% t0 Q8 B; K
  54. ---example---
    1 B5 N3 b8 y1 D! x0 q! F

  55. % }3 p! p) R& E
  56. On a windows box, also running the MySQL server locally, it would be:
    ) k% X. q. A1 f
  57. ---example---
    . Y# a5 y6 n! k0 w: e' z3 x# \
  58. [DBEXPRESS]
    $ m3 s3 Q9 O7 P+ |. T
  59. sqldir=mysql_sql0 S- Y& ]* u* \1 K/ B: I
  60. Drivername=mysql
    & Y3 R* R: J  s1 z! B4 P" t1 R
  61. Database=test
    ; i. e8 F% ^! s
  62. Hostname=127.0.0.1
    & z: ^; M  Z6 j9 R3 s  K+ n
  63. User_name=testuser
    " V" ^+ V( S& I! H
  64. Password=my_password  |4 H/ g5 {* ~6 X0 Z3 a% W4 y- j
  65. GetDriverFunc=getSQLDriverMYSQL
    " Q6 K# Z& y. J& a0 j
  66. VendorLib=libmysql.dll1 O) F' W8 b( N5 D! s2 ]! D$ ~
  67. LibraryName=dbexpmysql.dll) e) {! |5 k, M% a) y, o4 n8 \
  68. Active=16 D) X1 U3 e4 k: t( z; \
  69. ---example----  |8 ^/ J; @# K
  70. - written 02.03.04 by pwk.linuxfan
    ) |1 Z& k7 ?. x4 v7 r
  71. . F* j4 T4 ]$ K$ B1 [
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 ~6 ?5 ?8 T+ A5 h& g+ E) P/ i
  1. ( M+ [3 t# @8 e: @1 ?" R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . f, O! X8 S- T+ B

  3. 8 N, Z2 G+ R" w6 ~# H
  4. # # #我们所需要# # # ! Z( i" ?/ B+ x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) Z3 L: c: w/ R# n" C
  6. 不会解释如何做到这一点-也有文件存在,为; O$ N7 D. x& x3 I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ h6 W2 g; @" f- ^4 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    7 V- C3 N; S7 Z% S# P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: h4 [5 X2 e! v8 Q0 E
  10. 本地机器,这是我的MySQL安装。
    8 R# x0 d4 E2 u- V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% @' c! q6 G4 g; U; E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " @; g2 X/ f. ?7 Q! _
  13. 数据库。
    . u, q9 I" v7 h3 k; ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! T6 [- W. w$ M- n3 \- W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 y! f+ f; [# @/ L
  16. 在teamspeak论坛,如果你有兴趣。 & o% A  \7 ?7 I0 k+ c. h( H" G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% n" @, y0 ?# d1 j" J
  18. Borland公司使用。这个司机只能界面与客户端库/ Y* `) G) Y4 A/ r; [+ q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ @6 @% I! i: ]) q: d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" h- [& v; }4 x
  21. " vendorlib " ,并解数据库连接。
    5 ^" t2 g. A, Z7 C! R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & s7 n3 A) X: U3 q, e1 i

  23. * G- c8 K; L% _! K
  24. # # #做好工作# # # * s# @4 p6 U3 ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 V! [4 b8 h. D" H5 }6 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 |) Q+ {& y7 [
  27. 结束: 6 {1 x( D- T3 s/ D
  28. ---削减这里---
    . B$ ?7 N2 Q: G. J( R. K
  29. [ dbexpress ]
    1 K: d$ f9 B+ R6 Y8 L* t7 D
  30. sqldir = mysql_sql - w: |5 \& L5 a" |- w) l
  31. drivername = MySQL中
    + G: i7 p8 L' J' V/ }1 t1 E
  32. 数据库= your_database_name_here
    9 c# w" F3 J( D2 w7 f* p) J
  33. 主机= the_pc_the_mysql - server_is_on
    . T% j$ b/ z0 v% M
  34. user_name = user_name_on_the_mysql服务器
    ) \# X& K2 ?. M5 Z4 N5 ], W
  35. 密码= password_to_go_with_above_user_name 9 S& C( n9 ?" J- a1 o1 o% @* u: e
  36. getdriverfunc = getsqldrivermysql
    ' S9 B4 j- H* _8 r$ _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 N' P. L( l( [) e, S' C
  38. libraryname = path_to_libsqlmy_libary
    ! [" W+ e* C8 R, N/ _4 J, R: |
  39. 积极= 1
    ! H, K: {5 P1 n: \5 |
  40. ---削减这里--- $ O# x0 G( g* S) w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    / m( C5 z" O/ p8 F& l# \
  42. ---例如--- % \8 X; i, u! d- y+ x% U! e
  43. [ dbexpress ]
    ' L# W: X; z2 c1 c- ~5 ?
  44. sqldir = mysql_sql . ^7 _7 o" w( _: ~" g. O
  45. drivername = MySQL中
    0 Q6 ]8 ?- ]! j
  46. 数据库=测试& x  J3 t$ h5 Y6 o! Y9 m
  47. 主机=本地主机/ V3 q$ ]  }  T- g1 M
  48. user_name = testuser
    ; p. U& f$ V4 ~1 G9 }8 v! Y. x
  49. 密码= my_password 3 g- D/ b5 A9 L$ k3 G' @
  50. getdriverfunc = getsqldrivermysql
    $ [# |" @$ s* g7 O, s* Q8 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 u+ f) n% B1 h
  52. libraryname =. / libsqlmy.so % |% {  b( k: e# H5 _- g& t4 K5 h4 m
  53. 积极= 1
    : z8 V  z, c$ ]
  54. ---例如---
    , [" G4 S( J5 F  t4 D! |. c9 ?4 W% H( Y

  55. 2 |0 Z* n$ B2 y8 P, U0 [
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & d! A# T' \- P" S2 B. N
  57. ---例如--- 6 l+ ?& B2 ~  W- P8 e
  58. [ dbexpress ] 6 |2 W9 w1 S2 s; n1 v2 W% @$ ?
  59. sqldir = mysql_sql
    6 V# W. l, V/ }6 v: G
  60. drivername = MySQL中3 G8 n) F5 F% q3 i7 {
  61. 数据库=测试5 P6 n: ~% g" S3 B
  62. 主机= 127.0.0.1 5 P" E, o; e3 @8 S
  63. user_name = testuser 4 A, e9 C  o0 n& ?* \! J" B" }
  64. 密码= my_password 3 u  k" X% }2 [7 R7 _4 Y' i
  65. getdriverfunc = getsqldrivermysql
    * e5 y1 }, H( c6 f# p& M
  66. vendorlib = libmysql.dll在( q  m7 w% I8 I% ?$ e
  67. libraryname = dbexpmysql.dll 8 R8 |5 R! ]& Q7 I. e
  68. 积极= 1
    5 c# ?7 K0 r. G( d
  69. ---例如---- 3 |* m# v2 H# O4 F, K7 k
  70. -写在0 2.03.04由p wk.linuxfan
    . q. }$ b4 ]" K* e" e  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
+ O, @, ]& u  c8 \( p
' S: b8 Y: [7 Z- p( O$ X6 i$ F5 Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-23 21:34 , Processed in 0.045965 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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