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

2587 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - z. |) H# `* J

1 l* ~# \8 N  O

  1. 4 D* K4 m; F0 D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% w/ }$ I% f5 k/ S0 s6 K4 u  H' P

  3. 3 v2 \8 l) b, {" u8 v
  4. ### What we need ###8 c, A+ x. g4 ]# F2 \6 S2 y8 p9 d
  5. Naturally, we will need a MySQL server to store the data for us, this document ( g7 b1 Z, i5 C
  6. will not explain how this can be done - there are documents out there for the ( S- l* b7 J# K( P1 W' y
  7. interested. The requirements include a (empty) database for TeamSpeak to use  y+ q# C- T8 {
  8. and a user account (username + password) that has the permissions to do stuff
    & o; d+ H4 N, g
  9. with the database. Additionally, you will need a vendor library installed on the
    " D- h" }) i  s2 y! W, B
  10. local machine, this came with my MySQL install.
    - V/ q2 c% }) `) m4 x
  11. These instructions will not tell you how you might transfer your data from the+ |1 h* d0 @  z# n1 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ K3 O' }- {+ d7 x* S
  13. database.! [7 Y; ^' e; e7 x' }3 S0 j
  14. Some users have reported ways to import a SQLite database into MySQL, but at( A# }) D! U2 y9 U7 r; X% t7 h
  15. the time of writing, there are still too many issues - check the current status/ H# v9 F+ \$ h2 @7 S1 T
  16. in the TeamSpeak forums if you are interested.! c( G, V3 T2 t1 ~8 R. j( q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) i3 U7 R3 P0 P9 z7 T. _( k6 ]
  18. Borland was used. This driver can only interface with the client library that 4 B& U# U( M7 n
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    + {0 ]2 H' _& X% D
  20. client library - basically all you have to do is to use a 3.x client library as 3 R7 \( z1 ^1 [4 F* T1 M
  21. "VendorLib" and a 4.x database to connect to.
    & q: l  h& W) B% }6 b9 a7 o
  22. If you need more info about dbExpress, you can contact Borland.; e8 W, n  ]6 n1 A, |
  23. ' B- `- s: s2 G/ P9 p8 d
  24. ### Doing the work ###7 t3 ?( ?; C9 s- _5 |/ ]6 A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 v( j; @; r6 H3 \4 E, H
  26. the perquisites right, just open your server.ini file, and add this section at1 Z8 ^" I1 X% U9 S0 _$ w8 Y8 P
  27. the end:  [/ a# E) C! y  E6 M) d
  28. ---cut here---, ]+ k2 b3 O4 u; i% ~, r
  29. [DBEXPRESS]
    0 u$ r& P, }  q% ^" Q# p
  30. sqldir=mysql_sql
    0 U0 I- z( o% l6 \. m: Q$ C
  31. Drivername=mysql; P# @2 @8 ~7 T& p) \
  32. Database=Your_Database_Name_Here. ^, k2 E$ r4 q! R3 ^' L+ P
  33. Hostname=The_PC_the_MySQL-Server_is_on) v0 {7 R7 W3 h, ^& `
  34. User_name=User_name_on_the_MySQL-Server
    8 ~. r$ a9 z$ y& r" y- ~
  35. Password=Password_to_go_with_above_user_name
    ( B5 u3 o* T6 j
  36. GetDriverFunc=getSQLDriverMYSQL! J" t# `3 N; l; u2 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 K' ~# g, R( V' J3 G& A
  38. LibraryName=path_to_libsqlmy_libary
    % ~: C. m: k, J2 S) X! x* p
  39. Active=13 L9 B+ y: b9 I, `
  40. ---cut here---6 ~1 x) ]5 [$ d. r2 p# y
  41. In my environment (a linux box with a MySQL server running locally) I have:/ [; F& G; {, h$ J$ ?7 f
  42. ---example---' c& v8 F8 D! S7 \
  43. [DBEXPRESS]1 L' |4 P- ^# a' L
  44. sqldir=mysql_sql
    ! V4 p+ Y2 B) n
  45. Drivername=mysql
    9 Z5 N% h3 q5 c6 ?6 \' E
  46. Database=test
    $ q4 j# f3 i4 P1 w7 ^+ n* h) l" y
  47. Hostname=localhost
    7 \6 b$ A) V, [1 f$ d0 f, K, d
  48. User_name=testuser
    $ j2 m$ F, m" x9 G
  49. Password=my_password
    ! W5 [; k9 x  [9 q& ^- c
  50. GetDriverFunc=getSQLDriverMYSQL
    ( g  S, J+ I; m4 ~1 z9 }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . i( |7 E  K* ^7 L9 E  X. p, e3 A- o2 t
  52. LibraryName=./libsqlmy.so2 i: D1 N) H( o. s9 t* A7 A. Z
  53. Active=17 U, _: Z% i' |: Z* i. g- B; o
  54. ---example---, r- O  S* h9 E$ d0 o+ _* i$ U

  55. % w, H8 r$ c- s0 V  Q7 b
  56. On a windows box, also running the MySQL server locally, it would be:. J# n: H) |9 H$ Y+ Y9 a) |
  57. ---example---
    * p7 R5 s6 A! I. o/ `1 L" a$ a
  58. [DBEXPRESS]
    * s# s4 I/ W9 n' W9 e$ t! R$ O
  59. sqldir=mysql_sql+ O. y- H- m/ Z) t: W4 F
  60. Drivername=mysql
    3 _/ s1 X7 c7 A* j  @
  61. Database=test
    ; e' X# L. [% {1 i  _& W; W; p7 j
  62. Hostname=127.0.0.1  |8 ?3 x" I0 |4 h, \8 C1 v4 w0 b3 ]
  63. User_name=testuser
    - D2 v, u: W" i! `8 g& l
  64. Password=my_password; a  a: f* X. X3 w) W
  65. GetDriverFunc=getSQLDriverMYSQL
      e# M. b! @" c0 f. ?4 v) |$ [
  66. VendorLib=libmysql.dll( r- }% K9 R! m& O& `5 o
  67. LibraryName=dbexpmysql.dll
    $ F  }& ]5 ?+ D7 _) H" E
  68. Active=1
    # w, _3 r7 `3 x
  69. ---example----8 {* O# M* V$ x4 L" x# V0 u; M/ o
  70. - written 02.03.04 by pwk.linuxfan: x  o/ O# g" N) f

  71. 2 r0 X* ^, h& z, O$ o4 o8 H- ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# S/ M6 @( Z- d; P

  1. , n( V- S# M. s# W% W2 n6 f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ Z2 b  G* Y: Y8 r4 l* j# p/ v
  3. ; p; X) T! a7 e, J. O+ M7 E
  4. # # #我们所需要# # #
    - q$ }. P) w8 \7 ~
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / e$ x- X) ^% k- G8 m
  6. 不会解释如何做到这一点-也有文件存在,为5 W2 X) `, b$ `7 h' r& z* D8 U1 E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : ~9 f& Q; F, f0 I2 t% w2 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 \- I% M6 c% {/ U6 O& t+ ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ d8 f# }/ x: \! C2 x6 q) x2 ~
  10. 本地机器,这是我的MySQL安装。
    $ U  G$ }7 a& V# H7 @/ p
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: K+ }$ G# i) M; a8 @* i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % A* Y6 a# q5 n+ C# q5 T; r0 L5 o
  13. 数据库。 ( |" q7 F: S+ ]7 Q, {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 p: ^; X& T& b
  15. 编写本报告的时候,仍然有太多的问题-检查现状" X! p: u& i) S" E( B- ]2 K
  16. 在teamspeak论坛,如果你有兴趣。 ) ~2 v8 Y$ d4 |# {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 ]/ o4 h! j4 |% L6 D
  18. Borland公司使用。这个司机只能界面与客户端库' Q7 [$ V- p; q; B
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * M2 [5 U' q: P! {0 D4 t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 f9 l: E0 {" b8 c4 [# _* I" R
  21. " vendorlib " ,并解数据库连接。 - z* f' T) c/ v% n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % K. _* E5 C2 U

  23. - B9 l( f, c; g/ r- |* u
  24. # # #做好工作# # #
    6 V5 ~) B4 x; Z* v! S; V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都- K0 {7 G* B4 h+ N! ]1 c8 C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; S9 w4 Y! R9 Q# W' F
  27. 结束: 9 ~4 M6 G- h9 N( k# V
  28. ---削减这里---
    5 Q- B4 W* S( H9 Q
  29. [ dbexpress ]
    * z. l( J, [% X% ]% N5 `( I
  30. sqldir = mysql_sql 4 L. @3 b# i8 h! I" D
  31. drivername = MySQL中
    ' I: {: @7 ?$ @: }" D! W" W. q
  32. 数据库= your_database_name_here
    / B- V  O$ J' r& o( S+ P
  33. 主机= the_pc_the_mysql - server_is_on ' X3 Q( e8 u1 V* ]
  34. user_name = user_name_on_the_mysql服务器; I3 T' J- Y' c$ k- C2 t
  35. 密码= password_to_go_with_above_user_name , q4 F2 k$ ]% H8 p9 M+ C
  36. getdriverfunc = getsqldrivermysql ( }+ h" V! B/ K/ _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : X/ u( L/ N4 n3 {
  38. libraryname = path_to_libsqlmy_libary % `& }+ D& Z. }6 c2 D6 a
  39. 积极= 1
    . @& z. H$ n$ a' ^, U: c
  40. ---削减这里---
    / r, l% j0 ^4 H: D8 |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 }, V+ L2 C5 }) z$ T
  42. ---例如--- " L0 v4 ]% E- U( `2 {; j
  43. [ dbexpress ]   E( b, I1 ?- R; r* j# ?0 H2 d
  44. sqldir = mysql_sql
    6 ?9 }' X& i; e( I, S. B
  45. drivername = MySQL中& v9 }; [' {2 f) J4 H1 L% q9 C; n
  46. 数据库=测试
    : Y$ s4 x6 z9 n# t
  47. 主机=本地主机
    . b2 J1 L' W2 O
  48. user_name = testuser
    ' Q6 P  Y5 i. b7 P! U) T
  49. 密码= my_password
    8 @. B1 e  \* o! D! h
  50. getdriverfunc = getsqldrivermysql
    * T. |5 T5 \5 m* k9 a" t: Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 Y! b& U* w) u& G
  52. libraryname =. / libsqlmy.so
    # E% l7 l6 h& h. {- c4 v
  53. 积极= 1 6 d# m4 p  A9 }
  54. ---例如---
    8 K! e5 ]& p) k
  55. ' `8 w3 _9 n5 j& c* D, Q% b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 |; L1 t4 z. [$ K) U
  57. ---例如--- # p3 Q! l% y1 w  B7 U# h6 s
  58. [ dbexpress ] ) f: D. q; n. T5 ^/ M4 z
  59. sqldir = mysql_sql 9 Z7 t9 E7 D* L. V3 X  X
  60. drivername = MySQL中- G9 L- q% ]& x3 \
  61. 数据库=测试5 p! d  l" H5 c1 e
  62. 主机= 127.0.0.1
    ) d( i+ O4 O1 x
  63. user_name = testuser : H9 U) q1 E) r, A0 O+ N
  64. 密码= my_password " {( w4 \: G9 K2 r- L
  65. getdriverfunc = getsqldrivermysql 4 m# \- z9 g7 y: k* \
  66. vendorlib = libmysql.dll在8 _1 x/ n: p% q$ D9 q% N
  67. libraryname = dbexpmysql.dll 8 Q0 v, G8 O4 d8 d) S4 d# N6 i
  68. 积极= 1 1 @. K$ [, Y6 Q0 ~7 I# p6 G
  69. ---例如----
    / c: ?/ J4 H1 J# i( a$ @9 J. o1 X/ J
  70. -写在0 2.03.04由p wk.linuxfan$ K8 z+ s0 F# n/ }+ f0 Z
复制代码
发表于 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. ]( T' R+ H6 N4 z: V2 V+ @

0 ^7 }; J& B+ hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-6 21:22 , Processed in 0.095914 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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