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

2895 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) k. M4 m1 {) ]
/ h+ H; H+ s8 _" `, I

  1. 9 h: V+ Z& A% _5 k
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , R7 u/ A: _$ N, m

  3. & o8 ]. M: @9 a
  4. ### What we need ###4 G7 A( v+ k& W; _) t) V3 d" \0 f& }+ p
  5. Naturally, we will need a MySQL server to store the data for us, this document $ P9 g5 Y0 j1 T6 v
  6. will not explain how this can be done - there are documents out there for the ' @) X, {- O" {/ |; i# d$ k; e) B+ A
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ H1 N3 u& ~' {) [7 y
  8. and a user account (username + password) that has the permissions to do stuff/ |# W5 @( N/ @6 a+ w
  9. with the database. Additionally, you will need a vendor library installed on the
    * K, ?8 d  W& B
  10. local machine, this came with my MySQL install.
    & A$ _& R; }7 E; E4 O" S7 K
  11. These instructions will not tell you how you might transfer your data from the) t+ e2 X$ G5 b. b! U' p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL2 j  @. u- f' _* n# G
  13. database.% C) g) ^& N7 K  w& W1 s- @
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 Z4 a+ q: k* q# ?1 s
  15. the time of writing, there are still too many issues - check the current status
    " c+ f- K+ h1 X, c: |
  16. in the TeamSpeak forums if you are interested.
    3 R$ I* f+ p: `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      N/ o  M% Y4 \$ w
  18. Borland was used. This driver can only interface with the client library that
    7 q) z& x. k$ A% x: I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    & p; G" @' Q( C1 k( r9 G. F" P8 l
  20. client library - basically all you have to do is to use a 3.x client library as $ x3 {7 `& L1 h0 `7 b# Q
  21. "VendorLib" and a 4.x database to connect to.* g* ^4 g) C3 \- S  u
  22. If you need more info about dbExpress, you can contact Borland.
    ! i+ V- }3 u) D0 f$ y' [4 t  ^6 m

  23. . j4 c5 n' i) k, T6 M( l7 _' ?% o7 \+ M
  24. ### Doing the work ###
    % a1 N8 _; O" B+ |7 U7 y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% @6 p! w7 @3 X7 f  w" v4 g! }: x
  26. the perquisites right, just open your server.ini file, and add this section at
    0 G+ {) j5 V7 o; E- s
  27. the end:
    ( I* [8 ?. p. m6 Y
  28. ---cut here---
    ( l' x$ i& x' `) h3 z1 |( Y
  29. [DBEXPRESS]! B3 I5 x8 G. e+ O$ k: A$ }
  30. sqldir=mysql_sql0 O: x% X+ I' e# g. U! L) m8 k
  31. Drivername=mysql
    ! [; i2 E$ }1 I
  32. Database=Your_Database_Name_Here
    $ ]9 h9 q2 s: j0 M" I
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * a% t0 G. L- d) \. V) p& i
  34. User_name=User_name_on_the_MySQL-Server
    8 r) q! L' z9 i& X- k+ i- N
  35. Password=Password_to_go_with_above_user_name. O/ I* o' ]% U* h8 _5 Q" R  }9 d/ Y- A
  36. GetDriverFunc=getSQLDriverMYSQL0 @  p1 Z. s' @: k% ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 Z( k0 L, @. x+ T. N! @
  38. LibraryName=path_to_libsqlmy_libary- c# K$ [; A3 G, G/ N& ?
  39. Active=1( s( B+ b& m( H. g; M7 c1 f3 n
  40. ---cut here---" n- b5 G' t3 h5 }' s. o& g$ q
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; F) m, \2 ^1 V8 I3 `
  42. ---example---2 P3 H; {1 v* \# n1 j" x
  43. [DBEXPRESS]( x5 ^3 J8 v" t% N
  44. sqldir=mysql_sql+ N: \( u7 ?# r$ L$ [
  45. Drivername=mysql4 W# J' X) o; ]* r
  46. Database=test
      Q9 }* W# |8 w% x
  47. Hostname=localhost
    1 u! C: A' s. L- i. A6 p( R
  48. User_name=testuser0 J$ s3 N$ P! N* |2 f3 o+ ?
  49. Password=my_password
    6 w9 r7 V! E8 u. w0 N
  50. GetDriverFunc=getSQLDriverMYSQL
    6 T% Z4 A9 b. e; S4 z5 q5 x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - \% s* _* ?% y( F7 c! p# Y6 h9 w
  52. LibraryName=./libsqlmy.so
    ' I  f$ {* C0 Z+ h" E# p
  53. Active=1
    ' q) M+ i8 J7 C) E
  54. ---example---
      u- f0 D' I  K) x/ r
  55. 6 z' |" r+ E' a0 T
  56. On a windows box, also running the MySQL server locally, it would be:% H" |; J, v7 d: p7 f  r
  57. ---example---
    1 W" o" H  F5 C8 G
  58. [DBEXPRESS]# f" @+ x& V8 }$ e: x" B: n
  59. sqldir=mysql_sql
    : _& x- ^! u, D3 ^! j7 j& @$ b; D
  60. Drivername=mysql
    0 s& W/ a- T1 o* c& A) w
  61. Database=test
    / T0 |) }# R# n* N' f* }
  62. Hostname=127.0.0.1  g. p6 j/ A0 [/ P8 a
  63. User_name=testuser
    4 ^+ l! z- y1 H" N; H- O! a
  64. Password=my_password
    ) A+ F! B: m. k& `" A
  65. GetDriverFunc=getSQLDriverMYSQL
    + Z: S- |( Y4 U! Z% b  q
  66. VendorLib=libmysql.dll& v% f5 {1 I& S
  67. LibraryName=dbexpmysql.dll  X) I# q0 l8 [# n8 E
  68. Active=18 j+ v; m6 U' {! n
  69. ---example----! g+ z; @6 s  a' g+ u8 X2 }/ u
  70. - written 02.03.04 by pwk.linuxfan2 Q- b" [2 a$ N1 L* {: i/ ?0 f

  71. $ A2 T$ u2 b4 o3 A/ o" Q) m  w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
" L% ^4 p, g6 u6 u& @$ P
  1. 9 f- `" @- S. g" _/ Z4 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      O+ X$ w" h& _) i8 c3 a
  3. ) M; E/ L0 h2 v
  4. # # #我们所需要# # #
    2 S8 V. x% m, C! I; B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 B4 q7 r/ Y/ Z! h5 P
  6. 不会解释如何做到这一点-也有文件存在,为
    # Q# h+ }8 n$ a6 Y1 u5 U3 b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 \% f( h% f8 g5 |# {4 P1 g3 k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西0 R1 U3 W+ G) U: h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 E; ]  l& r% g& `$ p' k
  10. 本地机器,这是我的MySQL安装。
    1 B. b2 z" I; }8 h' m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- ]4 A/ X0 Y% n$ [4 c4 T+ J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - N) W" ?6 [) J! n, j. G& J
  13. 数据库。
    : c9 W0 g/ g' L# u2 i0 A! s% M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* W( P8 X& o) F0 v" \4 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . Y$ x% p) }3 e9 H5 ~( B6 s- j7 H
  16. 在teamspeak论坛,如果你有兴趣。 ; J3 X0 J& I6 L3 j3 L  t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      R! C% |) F; R, ~5 U( Y5 m) Y
  18. Borland公司使用。这个司机只能界面与客户端库
    ) Z: [$ X$ _$ q( s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - i/ x& D) `6 c% u4 T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 Y2 M  y" Z9 P8 K5 \) W
  21. " vendorlib " ,并解数据库连接。 ; n1 m, \, Y' [" U4 I* Q, u" ?& s5 `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 h6 T# K6 a. P7 X& l/ @

  23. / q! V3 G4 J+ m  a0 A
  24. # # #做好工作# # # 5 I8 C! ^" {2 d+ s
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . G+ p; }0 r5 B7 g5 E' ^+ H: A; Y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 K3 `; P& Z# u, s! x
  27. 结束: " O" e  h6 c3 u5 I: y: A3 d' w
  28. ---削减这里--- # F" C0 p: ?" ?  |% C/ W2 X
  29. [ dbexpress ]
    7 r2 x9 d# }& W/ j2 Z
  30. sqldir = mysql_sql   k; p9 e( ^6 I3 }6 z, ^
  31. drivername = MySQL中+ _% e6 o3 b2 R, `, a2 O
  32. 数据库= your_database_name_here
    1 \& c, t8 @  a- c5 ~, [: A' G
  33. 主机= the_pc_the_mysql - server_is_on # p* w6 p$ r0 H
  34. user_name = user_name_on_the_mysql服务器/ P3 P0 K1 S2 \. A# Z3 l+ t
  35. 密码= password_to_go_with_above_user_name
    3 B9 [8 N! e$ p5 }, b* j) p( f1 {
  36. getdriverfunc = getsqldrivermysql & n( A3 R/ ?# D9 K
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / A* Z0 z& S. g8 X& K! ~9 E
  38. libraryname = path_to_libsqlmy_libary . u+ H3 p" \; j* J7 M1 L
  39. 积极= 1
    1 I5 `' T4 t% o  q( Q
  40. ---削减这里---
    " l7 b: w( s( h1 o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 p' C/ r; p. m4 @4 d
  42. ---例如--- 5 m! ]* l0 y, v
  43. [ dbexpress ] ' c8 o5 A* ^, T4 _8 ^
  44. sqldir = mysql_sql
      x8 z9 R, f9 o% B
  45. drivername = MySQL中6 e2 O( ]2 j4 T) Y# o6 ~
  46. 数据库=测试
    : S, u" Z& l% d5 S
  47. 主机=本地主机
    , `# i2 e8 O% f! T1 t- `: k
  48. user_name = testuser ; p. P: z- t# n. f1 m# p& g
  49. 密码= my_password
    + G, T9 e/ ?& y  N# K3 G6 a* j
  50. getdriverfunc = getsqldrivermysql
    8 z' K4 q* ~5 ?4 \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 A: w! f1 L' m& L: U, l
  52. libraryname =. / libsqlmy.so
    ) f) z6 V. w3 i* a+ }! E
  53. 积极= 1
    # O, T# v' @3 A2 c3 \  ~
  54. ---例如--- ' K3 E( Y: o) b3 ^! |( z

  55. 7 U% _, v8 y0 }1 m" Z  c) c7 k" j
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , l0 P0 y2 e' y: m4 i* A7 H
  57. ---例如---
    ; u5 J8 o8 \$ Z* E/ r4 q
  58. [ dbexpress ] $ Q& T$ u0 M3 B" C
  59. sqldir = mysql_sql 9 k5 a$ X) y. }9 ]6 B. b0 }
  60. drivername = MySQL中1 [% \6 c  D  g8 C" k
  61. 数据库=测试; T; @6 k8 k  I' x1 X. A" a
  62. 主机= 127.0.0.1
    # s) e3 D4 T; f4 v
  63. user_name = testuser
    # N5 _. E2 r/ y  }4 u/ k
  64. 密码= my_password + C8 q: g7 \# b; @. }  c
  65. getdriverfunc = getsqldrivermysql & ]* `: ~. R, C; R( L
  66. vendorlib = libmysql.dll在7 I! Y) H. F. y( N" T8 V; n" n) ~% ~5 K' i
  67. libraryname = dbexpmysql.dll
    8 P  p. s# E3 F( j9 N
  68. 积极= 1
    % [6 @( I' a% L) n- W
  69. ---例如----
    # p* n) `# K1 s% B$ O9 {. E  x
  70. -写在0 2.03.04由p wk.linuxfan# U" |0 ^# v; r6 E
复制代码
发表于 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* l2 ?  l* u6 z

5 u. a7 _* [  D% ^4 Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-14 12:16 , Processed in 0.094826 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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