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

2445 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ Y( P2 R2 b. W8 h! C) {, ?% r0 g1 P- F

  1. 8 V/ ^# |, y/ v8 Z; L+ b6 o& M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * C0 X% S7 ]; h
  3. 5 t. @; {& X% Y  E) ?% Y
  4. ### What we need ###
    $ l! I; g3 ^( M7 ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    2 K2 W# c. }3 [. X; {
  6. will not explain how this can be done - there are documents out there for the : k* o' ]# w! S/ {: x0 o' K* ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * U- V1 u( W: Q: M) u
  8. and a user account (username + password) that has the permissions to do stuff
    $ P* H, s/ D- {: |8 Y2 `! Y  z1 w
  9. with the database. Additionally, you will need a vendor library installed on the: _* m4 F& o" u, Z& u4 t
  10. local machine, this came with my MySQL install.
    ; j4 t* B* H  r1 x- |
  11. These instructions will not tell you how you might transfer your data from the! C( o1 w  n, B4 b0 A9 l8 ^+ x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL  C: A0 Y  _% Y" d' j
  13. database.
    ; B' x9 ~. j- ?5 f2 d7 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / d7 ?" O& u8 X) m$ I/ C) f/ M
  15. the time of writing, there are still too many issues - check the current status' g' n2 X' y9 _, ~! N# S3 K* V
  16. in the TeamSpeak forums if you are interested.3 \6 h2 C. C- ~+ v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * E2 Z! m, Y( z' w; g
  18. Borland was used. This driver can only interface with the client library that 4 I1 \; g0 B; u6 ]( M( w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 p% i  N. T+ W/ h
  20. client library - basically all you have to do is to use a 3.x client library as
    7 z7 Z0 T5 x5 V2 S  ?8 ?* D/ b
  21. "VendorLib" and a 4.x database to connect to., S. Q) ?/ V1 |9 G
  22. If you need more info about dbExpress, you can contact Borland., {1 `  Z+ m  V# A% k4 F* y
  23. , [: d$ _! N  Z0 @  [8 h
  24. ### Doing the work ###
    ' r9 X6 }4 ~) p  z' H( l9 V* ~: b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 I3 V4 Y- z) A- E6 x
  26. the perquisites right, just open your server.ini file, and add this section at' k5 U* v7 v/ o
  27. the end:
    + l) c2 j/ }$ h
  28. ---cut here---4 T* l. p' q3 b1 H1 |6 p( ?
  29. [DBEXPRESS]
    / D. o, ]! I) w! t) ~
  30. sqldir=mysql_sql
    , @! f$ U) w; I9 f9 f1 A0 k
  31. Drivername=mysql
    ) G: Q2 M6 g% Q9 J$ L
  32. Database=Your_Database_Name_Here5 [# z+ ?/ J" D& z2 L1 w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * I6 P# i" g+ @. C! h4 M
  34. User_name=User_name_on_the_MySQL-Server
    ! {' W% h8 z' K( S# \1 M
  35. Password=Password_to_go_with_above_user_name
    + F0 f, z. _- e; U' g' b
  36. GetDriverFunc=getSQLDriverMYSQL: p7 L* V! ]" W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      M) G7 ^# k& N2 [
  38. LibraryName=path_to_libsqlmy_libary
    % q# |2 s* m1 j. v: `
  39. Active=1
    $ E8 i- X# m8 b' _" E; e
  40. ---cut here---9 n/ M7 R: a! a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : [+ `4 t0 C: b2 ^. c
  42. ---example---
    ( t& O, X8 p+ c: n+ k* _* s+ e
  43. [DBEXPRESS]4 E* i, r: l  M9 L) k& T, D
  44. sqldir=mysql_sql  _3 H" n/ Z) V( @, A
  45. Drivername=mysql. I( j0 _. K' o6 I1 ^; }
  46. Database=test
    ' i8 ~# N8 p. i5 {" E
  47. Hostname=localhost7 q. R- U* c" O9 @' s! m, q; m- R
  48. User_name=testuser" P  Q' H& g6 M4 r" ^
  49. Password=my_password8 i7 X. y5 u& ~+ K0 C, g+ H
  50. GetDriverFunc=getSQLDriverMYSQL" Y+ x; l- \3 M; N! m
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; N4 q- R( M/ |* o  o$ Z7 x
  52. LibraryName=./libsqlmy.so
      K+ o! ]( `1 j. ?, q
  53. Active=1$ y: B7 C2 c# x1 r3 I; L
  54. ---example---- v6 i7 t  X0 d$ F9 J! F

  55. / l3 p, u: B7 }
  56. On a windows box, also running the MySQL server locally, it would be:
    $ O2 n! d8 x" ~- p8 k
  57. ---example---( a; n7 i8 h$ D  Q) ]( q3 Y
  58. [DBEXPRESS]  x2 T/ ]6 I; U8 I& H. L+ T
  59. sqldir=mysql_sql' N- k% u' E! l7 A$ P4 x/ i
  60. Drivername=mysql
    ' R0 m# c+ A4 `5 n) z0 L  [
  61. Database=test
    6 K& ]& ^$ ^# C8 Q5 Q% G8 U7 G, Y
  62. Hostname=127.0.0.15 N6 s8 l" L/ G5 s7 b; F$ D/ F
  63. User_name=testuser, o) J' N  z; _) {& s) r, z
  64. Password=my_password* I& ^4 W5 T& A! G1 U
  65. GetDriverFunc=getSQLDriverMYSQL9 k5 r7 @# s7 D+ n
  66. VendorLib=libmysql.dll
    - w! J4 x. F! s! k. S
  67. LibraryName=dbexpmysql.dll
    , C! {, s8 {( @2 L- G% I  ^! C3 y
  68. Active=1. a% _7 U( W3 |  S% `7 i
  69. ---example----( K& J' B- O9 }5 p$ C1 h
  70. - written 02.03.04 by pwk.linuxfan% ^' e9 {: V# E  W1 r; v, X7 t

  71. $ j' k9 S& M1 A- Y$ J3 u- N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 U* o# X% }6 \% k6 q; p, F( \

  1. ( F% M# L# U- y. c) Q2 X: \; ?0 i$ B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , o( C( @! f: N8 ]0 h  A

  3. 2 z8 w3 H6 I% t
  4. # # #我们所需要# # # - `" B" M+ U: f; |. w0 e$ t1 K, c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 s+ e) X* m; J) O" a0 G
  6. 不会解释如何做到这一点-也有文件存在,为& O# Y+ M  E4 W5 j* l; I
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) k) G+ U  h% }0 a& @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ l; _* _+ c) W: h- X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 z3 z, W4 F  j# x8 A
  10. 本地机器,这是我的MySQL安装。
    ' @4 o' n' K1 ~* {( x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从% C; _5 W* T; S! e3 H5 O3 L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 h' O  n% ]0 p) y* |6 i
  13. 数据库。 4 P5 |1 |. H3 }2 E, c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& E. i: f. s7 K2 d1 Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / C; Y/ p& i: V" Q- J" M3 u
  16. 在teamspeak论坛,如果你有兴趣。
    - v% {% X: t( V: V8 H3 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ m1 x$ \9 ~  M5 L+ j6 y7 K
  18. Borland公司使用。这个司机只能界面与客户端库
    0 z) I: L& O& t) _) O! Z; W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: E5 L# _, }" M
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : D3 j& W9 J- b3 T- i) q$ u" W4 s# H
  21. " vendorlib " ,并解数据库连接。
    / w7 F6 t: w4 y% V4 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 8 H5 p+ X5 f4 k8 c$ `- ^- q
  23. - P* x& Z( p7 _' C7 G
  24. # # #做好工作# # #
    ; C8 A0 q' D8 W3 g# G$ j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 D' k* L2 o& |# |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ( t7 l# `4 @- J. w; E+ S8 m
  27. 结束: 6 p) G9 @4 D$ o3 t7 }/ ~2 B0 e
  28. ---削减这里--- % K" E* M5 Q1 b, `& [. C
  29. [ dbexpress ]
    * Y, z  A" x! u
  30. sqldir = mysql_sql
    ' P& [! ?  [" d  F' U' g2 P
  31. drivername = MySQL中) _# M5 G0 W1 a1 o( w/ e' {
  32. 数据库= your_database_name_here
    ) q9 A! s! J$ I, @! q
  33. 主机= the_pc_the_mysql - server_is_on 6 Z" b* V( C" A5 ~: V
  34. user_name = user_name_on_the_mysql服务器
    $ S' w7 V* K% Z4 l  P! F* |$ A
  35. 密码= password_to_go_with_above_user_name
    ) O# o% h6 t: A
  36. getdriverfunc = getsqldrivermysql : w8 o$ e$ }2 R5 t' w, l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 V3 _& S- c1 I) A
  38. libraryname = path_to_libsqlmy_libary - N" h; q! q' K  {6 V
  39. 积极= 1
    ( S' b% I2 O" C  c2 O# p, F0 B6 n
  40. ---削减这里--- 0 S1 Y( A: A' N' a+ K$ b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( k3 G4 Z: G( y$ ]6 s
  42. ---例如--- - T, K( c, j& Q
  43. [ dbexpress ]
    0 z  ~9 D0 m( c. x9 T" Z* K5 y
  44. sqldir = mysql_sql
    ' v) I! u- p& b: Y0 R- F, ~- Q
  45. drivername = MySQL中, R" B* O! m1 \+ m3 p1 M- M3 h% V
  46. 数据库=测试0 U- q  M5 B2 o$ m, U
  47. 主机=本地主机9 ?0 Q. w6 s# Y% a$ U  L0 w
  48. user_name = testuser 0 [; Y# ^5 r9 D# [, `
  49. 密码= my_password
    1 W  s; `2 R0 q& z4 _
  50. getdriverfunc = getsqldrivermysql
    + M3 y8 E: H+ m3 e+ G, M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    * L& ]1 e4 d% _9 d9 M4 f3 d0 Z
  52. libraryname =. / libsqlmy.so
    $ t: `( m6 t& ~* \/ p
  53. 积极= 1
    7 {3 x9 @* Y  q, i$ X
  54. ---例如---
    + s; l8 a7 \$ a9 |. u
  55. 6 F; `: a' M) l7 P5 |8 i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . g. p: X# Q! P  b6 g
  57. ---例如---
    0 b  I: e& z5 w- x  t
  58. [ dbexpress ] & S+ J0 f: b4 H* D. v. ~" i
  59. sqldir = mysql_sql # d: a+ z0 h0 R' f: B! t
  60. drivername = MySQL中4 ]9 l" b" a# I6 X0 U+ v
  61. 数据库=测试6 s5 Z  J) \2 Y* H
  62. 主机= 127.0.0.1 . F# I3 e* E$ b" J+ y( A* T' h5 t
  63. user_name = testuser ( T3 O0 t2 ~9 N9 `1 e
  64. 密码= my_password
    ( @$ C7 c; Z8 Q6 W: H/ H) }
  65. getdriverfunc = getsqldrivermysql
    - m0 {, @) u, Q
  66. vendorlib = libmysql.dll在
    9 N( _# G7 C6 @
  67. libraryname = dbexpmysql.dll 1 }+ \# d8 O, C# {+ O0 ^% _
  68. 积极= 1 6 `0 y" w( H0 C
  69. ---例如---- ( v& I, z1 k) R- S) I. J
  70. -写在0 2.03.04由p wk.linuxfan
    $ o  g- M, b  b. T- Z9 s
复制代码
发表于 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
) r, K7 }! p& v* ^7 y0 s5 }! r, i3 d' @: p# w  \: 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-4-4 21:05 , Processed in 0.092758 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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