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

2620 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, N( b& K! H5 `! u9 t- L2 E
7 v/ U, H: i9 ^) s$ Y. t
  1. 5 K+ q# I7 `/ P- g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & v0 B+ T, F9 m

  3. " N5 N! D0 v6 [6 [: _' d$ _
  4. ### What we need ###
    8 U& m( E. X; y* O: h% A* R
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 ~) x1 ?/ o9 l5 \3 A& y
  6. will not explain how this can be done - there are documents out there for the
    6 G: |- ^; S1 a, ]7 N- {
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + I% l" v: Y, m/ q' W, @6 |# m
  8. and a user account (username + password) that has the permissions to do stuff3 q+ U# ]( k6 w9 R" t/ i0 w) o5 G3 T: ]
  9. with the database. Additionally, you will need a vendor library installed on the1 S1 @" M" \$ s6 `$ p+ Z4 F
  10. local machine, this came with my MySQL install.  F$ c: x1 b1 A$ g
  11. These instructions will not tell you how you might transfer your data from the
    . l! a7 W0 w" m" f3 h) C8 E* D# V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      m) U1 y2 L, F: K
  13. database.6 i9 y$ F- z1 G6 W! h3 Z5 O& K
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + X& Q# ?+ W6 ^. Q, ^2 P
  15. the time of writing, there are still too many issues - check the current status8 K. j# K% b) y
  16. in the TeamSpeak forums if you are interested.
    + @) w) f$ N/ M. O  v3 I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ R, M' `+ r' q# [0 j- J
  18. Borland was used. This driver can only interface with the client library that
    ( w. h/ ]& K, B/ V' X* [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( _+ e$ m" J( l; v( b8 X4 h' `
  20. client library - basically all you have to do is to use a 3.x client library as
    ( d, f0 S$ U+ U# l# b1 h  o3 r: ?. |
  21. "VendorLib" and a 4.x database to connect to.- S' c! r0 y# K" e
  22. If you need more info about dbExpress, you can contact Borland.
    " ^! K" R# K5 B1 _4 Y$ {: y
  23. 2 u4 s/ L& [* Z6 B5 M$ N
  24. ### Doing the work ###
    1 z5 g, Z. }, b- y# W2 U* b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all- z$ d% k1 I6 N5 H* c5 \9 U% _
  26. the perquisites right, just open your server.ini file, and add this section at" J( J. }% T% t5 s5 [4 B
  27. the end:! y# ?! y/ f. x, k8 v/ @  c* ]
  28. ---cut here---) a9 _  q' s& U/ K' U! p0 K! t
  29. [DBEXPRESS]4 a3 t7 {" S& j. [9 t
  30. sqldir=mysql_sql/ t: Z; D/ {4 Z$ n( O
  31. Drivername=mysql
    8 c( Y1 U/ g; U' G, @: Q# @
  32. Database=Your_Database_Name_Here
    : z; l" t$ r. ]* r
  33. Hostname=The_PC_the_MySQL-Server_is_on& p/ B2 ?1 F( I" r) [5 z8 D( g4 K' O  o
  34. User_name=User_name_on_the_MySQL-Server
    : |2 x3 N+ _- a+ f" ^7 ~" @- E
  35. Password=Password_to_go_with_above_user_name
    * Z$ e6 _5 R2 T
  36. GetDriverFunc=getSQLDriverMYSQL" l" B1 y$ n$ X. Z( c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 U+ E% ~2 R' _" p6 s& ]: `
  38. LibraryName=path_to_libsqlmy_libary: E0 ]. ?5 K0 T( L+ k4 R
  39. Active=10 N: a/ l) v. _
  40. ---cut here---- r! T4 t; Y) ~4 O; U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ B* Y2 v) |3 M( J6 m
  42. ---example---
    2 g% r. H: v% ]( G: }
  43. [DBEXPRESS]
      d1 T+ X. K/ O3 K: s
  44. sqldir=mysql_sql4 I1 Z* j9 a3 M7 L+ {
  45. Drivername=mysql8 W, r( W/ g6 ~9 h& e+ p( f4 E
  46. Database=test5 Y6 v. k6 ]% x( Y5 [) [6 K
  47. Hostname=localhost
    & V2 [) R' w6 I
  48. User_name=testuser
    ( Z$ j" |6 U0 v+ \
  49. Password=my_password
    / h. F; R# t! ]1 F' Q, \
  50. GetDriverFunc=getSQLDriverMYSQL8 D1 J0 ~" c* ?& r& @/ d0 b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ i5 ~! z/ E* `( G
  52. LibraryName=./libsqlmy.so  p. X4 }" v+ N) U" ?# ]
  53. Active=1
    3 x2 G. q4 ~% q, i. U" h9 Y% R
  54. ---example---- S, V2 P3 x, I9 U8 a" C

  55. 7 b* N0 P* `5 I' `: C1 S0 }1 z
  56. On a windows box, also running the MySQL server locally, it would be:
    / O' l1 e2 }5 u5 J! M: s
  57. ---example---- M3 o0 v/ }2 Z: v8 c
  58. [DBEXPRESS]
    9 C; F& M- K0 u" P" G
  59. sqldir=mysql_sql% ~2 {# w% v" y
  60. Drivername=mysql. w* g# i) l9 L
  61. Database=test2 v0 ~( T+ {1 g7 D0 r. U
  62. Hostname=127.0.0.1
    4 ?  \# J8 h/ ^+ w
  63. User_name=testuser9 Z. D+ y/ c$ L$ I" L" d
  64. Password=my_password1 _  A! D$ W! j" m% R
  65. GetDriverFunc=getSQLDriverMYSQL; R' K- n9 s; f5 t
  66. VendorLib=libmysql.dll% g, z; F9 w4 u2 r: h* J; |6 S0 q
  67. LibraryName=dbexpmysql.dll
    3 \1 [, w+ l4 _. K! |/ O2 \
  68. Active=1
    % P! w0 F3 M' Z% X
  69. ---example----& }+ Q* ^' t$ }" E/ L1 Z
  70. - written 02.03.04 by pwk.linuxfan# z& C  G; _$ u% E" J

  71. 6 p" }. E  S, k- `- r% s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* m3 O. L% H& ^4 U8 w$ N+ y/ K

  1. & a( \% I6 i$ Y! q/ S8 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " v$ n2 L: w! a' |9 ^
  3. 8 B$ A) O5 D8 Y
  4. # # #我们所需要# # #
    + @3 }/ y4 y7 u% @1 O/ ]; D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 S! g1 I/ O$ x( w: k& K) D
  6. 不会解释如何做到这一点-也有文件存在,为
    5 C1 S; V! v! G# u& f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 M' ^# ~- j, `6 \3 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    2 O4 P: ?* Q! v% W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    0 x, `* f+ U1 E: @% a2 [
  10. 本地机器,这是我的MySQL安装。
    & a6 K% I; F/ [. y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  @4 n$ G0 W/ C/ C& I0 |4 I
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL / |  X5 U  I* v7 o5 s& u: Q' u
  13. 数据库。
    8 [& g9 o! i1 p) X% Q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ _+ z. [- y# E8 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 a8 t9 O8 e; e' s9 f& Q
  16. 在teamspeak论坛,如果你有兴趣。 8 {8 C2 h+ i( J$ D; D' g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / r( I. f) P4 J! d3 r
  18. Borland公司使用。这个司机只能界面与客户端库
    : \% C! F4 ~3 |) A3 p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& j% @( Z; c1 M8 C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " U4 p; Y2 u9 [1 E' @3 v
  21. " vendorlib " ,并解数据库连接。
    5 S- W' b  W3 |8 `- x: ~0 \3 ?) j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - ]$ [9 ?2 f2 V" X, }4 q1 x) {

  23. 2 }) ^8 B' {. K/ @
  24. # # #做好工作# # #
    8 n+ a' U+ \  ?3 ]( ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * P5 y6 J) H* q6 ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ s. H& ~3 |6 ]( K
  27. 结束:
    # n( i) L( P5 N0 ]4 Y
  28. ---削减这里---
    5 ]0 N' n, D3 r- m3 x* j
  29. [ dbexpress ]
    # L  |8 B8 o/ U' c
  30. sqldir = mysql_sql
    , ]5 p( `( N: S: [' _
  31. drivername = MySQL中
    " G3 B2 p1 \: }3 L
  32. 数据库= your_database_name_here & G, A' ~3 {& u+ A
  33. 主机= the_pc_the_mysql - server_is_on
    4 k+ j4 u& h% B5 v6 R0 R/ L0 H! v, X/ |
  34. user_name = user_name_on_the_mysql服务器* h+ B7 ^+ }9 R( m% ]( H5 G3 I/ t
  35. 密码= password_to_go_with_above_user_name $ v- L( R1 q0 l6 `& i: ?/ J
  36. getdriverfunc = getsqldrivermysql
    , F" ~0 q, }/ D" r$ f; Y: X  o
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ d* L4 }' T+ r, x# U$ z
  38. libraryname = path_to_libsqlmy_libary 7 e0 b# F5 s0 {% Y: K; P
  39. 积极= 1 ! r/ K4 a- F. A& n" {# p* @! Y
  40. ---削减这里---
    ! S" f( P/ s$ r- R% i% V8 E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 K0 M# H3 F% v8 }: h
  42. ---例如--- ! M0 D! ]( y+ K1 p$ R! }1 m
  43. [ dbexpress ] 4 o( A0 ^$ S- E* B3 H7 q* G! `
  44. sqldir = mysql_sql 8 {1 I# O6 J/ T) v  R/ ~: \
  45. drivername = MySQL中
    & S! ?6 J5 E; L; ]( N7 U' B2 {
  46. 数据库=测试
    ! w: u; f3 x& e8 b) r" k
  47. 主机=本地主机2 v* z, M6 X: ~8 i
  48. user_name = testuser 2 E) Y* g8 f# e3 Y
  49. 密码= my_password   Q- s: i/ Y& `" d
  50. getdriverfunc = getsqldrivermysql 8 m' E# C" M) X# P  m) w- s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ! k1 U9 m2 ]. I$ a+ T9 {7 P! O% G
  52. libraryname =. / libsqlmy.so 8 O$ J" P% s8 _3 ^' J2 E
  53. 积极= 1   s  S) I/ u# D1 ?& ~6 G& O( q( e
  54. ---例如--- 5 m% v, M, f- O4 b0 m% T5 V# o& \/ X
  55. & N% v- o) K- ]% h$ g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 }: r3 b) S% w, d
  57. ---例如---
    , T+ R7 k4 g3 o6 J& `
  58. [ dbexpress ] * q+ G, K( {: U  l* P, V0 ~, {
  59. sqldir = mysql_sql
    , k& z. t6 m. G
  60. drivername = MySQL中0 Z. l0 f0 I8 L6 c
  61. 数据库=测试
    2 ]( Y( c* T; u7 B3 e% ?
  62. 主机= 127.0.0.1
      y5 y7 a# O7 ?) I& X
  63. user_name = testuser
    1 m+ s5 B3 g6 h4 L# O1 q
  64. 密码= my_password   j7 t; Q: ~% W% {/ s" K# o8 b, a
  65. getdriverfunc = getsqldrivermysql 9 ]. D% u% N, _2 M1 ?% i. Y  a6 k7 f* V, [
  66. vendorlib = libmysql.dll在( u$ v0 T) x3 p
  67. libraryname = dbexpmysql.dll
    : s( a$ O+ ?0 D/ @& S# b
  68. 积极= 1
    0 ]" z/ l. l5 O/ b) {
  69. ---例如----
    " T8 r$ Q' o2 m) V
  70. -写在0 2.03.04由p wk.linuxfan
    8 l2 t8 I( e( ?6 o9 N/ L( T
复制代码
发表于 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 words0 U2 r! ^9 X5 e2 B

; y2 C! W' L; V& P- e- t/ jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-14 07:19 , Processed in 0.104495 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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