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

3489 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! K& N. W9 z& j; C( x5 S4 H" R
2 H# O: B, o5 R  ]
  1. ' i  r, p9 O  M- I( @+ N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; Q0 B! O, M3 ^2 U' u, Y5 @1 c

  3. 4 i3 ^. r5 z2 K5 Q! \
  4. ### What we need ###
    4 l/ B' N- H+ Y& ]* _$ P
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 S' x3 S( z: A# g0 R
  6. will not explain how this can be done - there are documents out there for the
      q0 [2 A; e# [2 T. |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ' l. z4 M, a" g% g+ |
  8. and a user account (username + password) that has the permissions to do stuff
    4 c4 R$ ~2 O& x5 z
  9. with the database. Additionally, you will need a vendor library installed on the
    ! G, `  f. y& U$ P
  10. local machine, this came with my MySQL install.
    $ f: @3 Q* v! O! B
  11. These instructions will not tell you how you might transfer your data from the
    6 R4 ?# c' ^: F6 e2 I7 n. i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & A4 Q2 @1 A1 t* D
  13. database.5 m  F% w& ~7 r/ }0 w
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % v2 ?& _8 h% Q" m0 h# |" ^  J, `
  15. the time of writing, there are still too many issues - check the current status
    2 W% y( L+ k5 F' C2 {4 n0 M2 Z9 I
  16. in the TeamSpeak forums if you are interested.4 ]1 y' D2 ?: l, `+ |% d- I
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) s) R5 }$ r) Y0 t# n8 x5 q+ g$ F. u
  18. Borland was used. This driver can only interface with the client library that
    9 I' I; T1 g- U. e
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 E6 t4 T+ J  ^9 K& s* w
  20. client library - basically all you have to do is to use a 3.x client library as
    , H1 I; t4 c* n; [! h% y& G/ {
  21. "VendorLib" and a 4.x database to connect to./ t1 e2 u. k; J( y, i+ F% }
  22. If you need more info about dbExpress, you can contact Borland.: F; O3 I$ ~; u) B2 e+ A8 O
  23. - G, U; l. l& ~
  24. ### Doing the work ###
    0 P3 w3 {$ a/ C3 m5 T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) Z& W8 v# h6 d% i9 ]3 `
  26. the perquisites right, just open your server.ini file, and add this section at$ ]5 ?( Q* N1 r1 Q( O5 M
  27. the end:
    6 E& o& v7 ^, L5 N3 K
  28. ---cut here---  ~4 M% K' {, i# r
  29. [DBEXPRESS]4 X  I: @1 W4 E
  30. sqldir=mysql_sql
    ) H6 _- N$ w5 e4 @6 m
  31. Drivername=mysql  o* w, n( a$ q+ c% |7 V/ }# W. }7 s
  32. Database=Your_Database_Name_Here
    & b* w' t9 [1 E/ C0 B6 ?/ F
  33. Hostname=The_PC_the_MySQL-Server_is_on
    % k7 F1 U+ \- s
  34. User_name=User_name_on_the_MySQL-Server
    9 B' G6 _( f6 e8 v  _7 H9 A+ o
  35. Password=Password_to_go_with_above_user_name' N# D. _/ ~; J- F
  36. GetDriverFunc=getSQLDriverMYSQL2 W0 V( |( D$ _) u- l2 \& `* w8 S+ w1 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      V: @5 K( R! s5 ?
  38. LibraryName=path_to_libsqlmy_libary& a7 z) [  m2 h6 `: g
  39. Active=1
    9 Y" b2 v, C0 D' B
  40. ---cut here---
    1 y) a. m0 A/ M6 m; B* m# ]( D
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * h. ?9 U/ e( \8 q4 s
  42. ---example---7 Z& D  w4 J+ U; @
  43. [DBEXPRESS]
    , X( p) \/ n0 w# Z1 H# \' M) |
  44. sqldir=mysql_sql9 b5 M# E/ ?+ z
  45. Drivername=mysql
    & u* I5 f) m0 ]1 g9 ]3 s
  46. Database=test/ s, q% M" \+ C. N. P" |
  47. Hostname=localhost
    + Z( h8 r& J' s$ V) N/ _
  48. User_name=testuser4 L4 t6 J# o4 i/ p" }' i
  49. Password=my_password: C5 c  l3 O$ a7 z: o* N$ h
  50. GetDriverFunc=getSQLDriverMYSQL: k+ Q: h, T7 B9 j* o8 K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * C' O" @3 C9 ~; Z
  52. LibraryName=./libsqlmy.so
    2 B) D, n9 l6 k4 N3 v# ~6 |( `3 L' f7 @
  53. Active=12 m, Z+ D& e3 R2 f
  54. ---example---
    ( [/ r7 d4 f5 ^& }
  55. , S$ y0 [+ f% d
  56. On a windows box, also running the MySQL server locally, it would be:
    ; h' y7 E6 Q9 R! V( d# q
  57. ---example---  W$ P4 @& `% a" a7 H
  58. [DBEXPRESS]
    * [( B: h3 q3 \  e$ `5 j) S# |0 l
  59. sqldir=mysql_sql% o: |7 ]$ a: L
  60. Drivername=mysql  X1 D9 x$ N& v: @1 R+ z* U
  61. Database=test! C1 x6 P- n- v0 d. p
  62. Hostname=127.0.0.18 z% W: N* l& W, a
  63. User_name=testuser
    * e8 }, R1 Y. s1 a6 J  K
  64. Password=my_password
    ) K# Z# R# j. N2 |) }
  65. GetDriverFunc=getSQLDriverMYSQL
    8 p' ^$ s" B7 O9 P: c
  66. VendorLib=libmysql.dll
    : h% K) t( I, y5 _3 R. }# j$ n# X
  67. LibraryName=dbexpmysql.dll' o3 M/ i3 X# q0 z0 |( F' L# P
  68. Active=1
    7 n+ I! Q) R/ W; L
  69. ---example----) _# \9 W) T% B& A8 R  o+ R
  70. - written 02.03.04 by pwk.linuxfan
    0 q. P' ?1 N7 E8 A+ \- g4 g

  71. ; `- }1 J  f8 d% c( O6 Z' p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. M% U/ a/ }2 [/ N7 l  V

  1. " M2 R5 E) Y9 M1 K) {6 J, y) `( H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / `, v! g4 O  p! U, |8 w% g

  3. 9 w3 |" ^, ^6 g- H/ |* d
  4. # # #我们所需要# # #
    - v- v# }+ o% f$ \% H  A5 K" F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + \- D# [* I7 G- c
  6. 不会解释如何做到这一点-也有文件存在,为/ A" w' h6 @4 l/ T& ]1 S# B
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. _/ M# I0 U2 d$ C) D% y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西2 c  h. @2 }# @0 s# ^* s% S; \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! C+ v4 F0 i3 N+ P( y* a
  10. 本地机器,这是我的MySQL安装。 5 @7 Q# K0 s* ?; D* N% D9 J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . Y  [5 f0 w0 _' Z4 h- k  d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 u0 T/ A5 z+ ]+ y: J8 X
  13. 数据库。
    # W, {1 i9 [) m" E, X; X  ^  G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    & D: o( q: w7 y% ]# b+ U: @4 k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 }$ ^, ]% p+ ]% a5 G- V
  16. 在teamspeak论坛,如果你有兴趣。 / V; R6 x! }$ u+ x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ Z* _. A3 y& `  j/ S
  18. Borland公司使用。这个司机只能界面与客户端库
    7 n" ]) u* m6 Y& |7 T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 a7 k8 E+ N1 |/ O, B0 j3 Q0 j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' N0 v: Y1 |1 \, M: T* X
  21. " vendorlib " ,并解数据库连接。
    9 G: O+ K  D" ^9 s$ T; F
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; l6 [- T' d: b5 L# g$ L
  23. " L2 P* c* j3 y# N0 R
  24. # # #做好工作# # #
    ) L3 H, L1 E0 A
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 V3 _7 E/ P( T6 h. J
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 @+ t+ D) M7 A1 q) \
  27. 结束:   _0 l: A0 r9 {: h" @
  28. ---削减这里---
    7 E( v1 D5 X8 }- I" g, d1 X
  29. [ dbexpress ]
    ( e% N/ B0 k6 F/ ?( H. a& i* g
  30. sqldir = mysql_sql 0 ~9 r: |' w, u# [  O- I
  31. drivername = MySQL中
    4 s' U4 C1 ~0 V. q+ i5 p# p6 Z
  32. 数据库= your_database_name_here 5 N* K8 f; ]4 w+ r7 \  I7 z+ y
  33. 主机= the_pc_the_mysql - server_is_on
    7 R  C& Z4 N: r1 n5 q  I
  34. user_name = user_name_on_the_mysql服务器
    ) a  @5 c- C9 j8 J6 w; |% W
  35. 密码= password_to_go_with_above_user_name
    7 x" v- f& ^  L/ p6 _5 W$ m
  36. getdriverfunc = getsqldrivermysql ' O* t  W1 w/ @' D1 o6 u: Y$ v5 `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 w" D- b- L3 L% ^" q1 V- g
  38. libraryname = path_to_libsqlmy_libary 0 p6 A- _9 w6 R+ f3 A5 _$ ~
  39. 积极= 1
    ; [$ j1 w9 F- S; B7 L, Y2 v
  40. ---削减这里---   }( B& @- {$ x& Q# g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 9 Q  e" d0 F4 j, D
  42. ---例如---
    4 N/ W6 v6 i  e. U; J" S5 V
  43. [ dbexpress ] $ ~9 P% R7 Z8 p) V* T" a$ j
  44. sqldir = mysql_sql
    8 P  z3 J; o2 R' ]
  45. drivername = MySQL中
    " a* |9 ~* s1 S; |4 o4 o) Y: H# A2 b
  46. 数据库=测试  m9 k6 X. d5 P1 Y# z  f
  47. 主机=本地主机
    , X" u5 X" Q- d% h
  48. user_name = testuser . `6 V/ H9 f' N: d8 T' a* D) z3 D
  49. 密码= my_password
    ) P) i0 o4 Y  R' x# Z: N
  50. getdriverfunc = getsqldrivermysql
    - q2 i. \" J8 {1 a- ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 + s6 B$ o7 b; ^" P* P; w
  52. libraryname =. / libsqlmy.so
    ! l2 F; p) K' `9 u6 g7 S, w6 U* F
  53. 积极= 1
    2 z# u% ~  d" \" P& u9 z7 Q
  54. ---例如--- 6 k5 o1 K( \6 Q
  55. ) |' a; I% R4 v1 u
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 k! s" j& m' y6 h  m
  57. ---例如---
    + H( Y8 \* j. Q2 e
  58. [ dbexpress ]
    1 V, x3 J5 h4 o
  59. sqldir = mysql_sql
    ; Y) S0 {- J$ k5 f! t/ o
  60. drivername = MySQL中' C# e6 C6 n- [# _$ _. J# i
  61. 数据库=测试
    - f0 g/ H% {4 M6 s: u
  62. 主机= 127.0.0.1
    9 [% {" S, l+ x& H4 i
  63. user_name = testuser
    9 v5 |0 V9 Z9 Q
  64. 密码= my_password
    " J' i/ f4 t1 k7 ?% k2 ?
  65. getdriverfunc = getsqldrivermysql
      c3 `$ e+ g1 P) l; o
  66. vendorlib = libmysql.dll在
    4 A! F& l7 y  C8 c5 D; v3 \
  67. libraryname = dbexpmysql.dll + J- e9 T3 o: f( {4 b
  68. 积极= 1 # f1 O! A" O5 |7 R5 x) Z
  69. ---例如---- 1 |/ e. \" o$ J: J4 z
  70. -写在0 2.03.04由p wk.linuxfan
    ! R9 B/ A" ^+ `4 P2 V; R% U3 \
复制代码
发表于 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
4 b% w& v: l) e; g8 G9 V; o
, o+ S8 O2 A( M' M" I) ^  q1 _1 a4 ebut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-8 05:30 , Processed in 0.056696 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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