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

2871 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" `+ T" {. E+ ~" ?8 p$ Y
8 h4 g4 r; _; {5 f0 L8 S1 Q

  1. 4 X% B. c3 d! B( u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######9 u$ F; C/ X( U/ c
  3. 8 G) \! [0 J; g- ]5 Z
  4. ### What we need ###
    , W3 N3 |8 d2 ~( b
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # `( g5 _2 f# Q1 {/ Z8 Y; ~5 \
  6. will not explain how this can be done - there are documents out there for the
    7 V7 f7 j* s( P* M' K: F5 w% F: ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    4 j/ X# d8 w' N+ I  k  d5 X
  8. and a user account (username + password) that has the permissions to do stuff6 \; e  `( k- o) O
  9. with the database. Additionally, you will need a vendor library installed on the8 S9 M& v( w, T- D" ^& X9 e( T
  10. local machine, this came with my MySQL install.% o% e! p- Q+ y7 {
  11. These instructions will not tell you how you might transfer your data from the
    5 P/ i8 t% w* a
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 W" @& H5 l* _
  13. database.
    2 s  q" \$ ^- \! o' a) W- M6 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ U* r' ?  s$ g, J$ J2 ?' C
  15. the time of writing, there are still too many issues - check the current status
    ( D- X- F2 Y! y% s0 v3 d
  16. in the TeamSpeak forums if you are interested.! S) ^( ?0 n. m( n
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) ~/ Y! ?& S$ ~$ P4 e
  18. Borland was used. This driver can only interface with the client library that
    9 j& \" T9 z6 B! Z6 I2 m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 K% l; F$ ]5 D! z% [+ m  L
  20. client library - basically all you have to do is to use a 3.x client library as
    ) T; A- x2 T& s8 P1 z; B5 j
  21. "VendorLib" and a 4.x database to connect to.; A, [0 q  y2 l/ Y( |
  22. If you need more info about dbExpress, you can contact Borland.6 `5 t! m  [4 X* O' P5 X
  23. 1 \5 d/ m' Y: \8 R4 X
  24. ### Doing the work ###& _5 x/ J8 p" I! R, L7 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 \- |! s5 K4 e( ^/ M! A9 a1 D
  26. the perquisites right, just open your server.ini file, and add this section at1 r) [0 A( w/ D- I
  27. the end:! c& {2 R: `9 j4 b* _2 b
  28. ---cut here---+ T) r5 B. R. j0 h% w4 d: x
  29. [DBEXPRESS]' k" h& h% e& n$ Z
  30. sqldir=mysql_sql6 X7 x$ M& a) ?
  31. Drivername=mysql
    / a5 n: ~6 E* ^. _) u& M: C1 K
  32. Database=Your_Database_Name_Here
    8 ]6 u# L4 t# x$ [+ G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 T- u' ~6 W7 I% g
  34. User_name=User_name_on_the_MySQL-Server
    " C  I6 c( T6 Y1 C" \$ {
  35. Password=Password_to_go_with_above_user_name
    8 B' B  I$ S$ M; {( B# T. d
  36. GetDriverFunc=getSQLDriverMYSQL0 w; f$ }$ T6 |, o( _9 J4 Z( z. r, p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 E  d" A5 A( g8 P. ?+ ^) t
  38. LibraryName=path_to_libsqlmy_libary- P8 _2 T( n! ^* i% F0 i2 }! T$ b
  39. Active=1
    2 A: T" N$ M9 _4 N% W
  40. ---cut here---
    % f4 d$ ~1 w6 S; v
  41. In my environment (a linux box with a MySQL server running locally) I have:9 R5 `- x* y1 H2 E0 q1 h
  42. ---example---0 H& p& L# {( U) a3 s+ K) v) ~" ]/ {
  43. [DBEXPRESS]
    - }7 O6 Y) Q0 ~7 N& p2 b
  44. sqldir=mysql_sql1 _3 P, \: O! C; R
  45. Drivername=mysql
    . a  v8 u: q* a6 r
  46. Database=test
    + f/ u  g5 b) {& `% K( c
  47. Hostname=localhost# O' Q9 P% F; W0 C) e. x
  48. User_name=testuser3 [; Z3 g8 C2 T0 B
  49. Password=my_password+ J& X3 U3 ]& Q; M
  50. GetDriverFunc=getSQLDriverMYSQL" R. W" c* f9 \/ C* O2 f7 O; ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    9 X7 C0 j2 [! a  A
  52. LibraryName=./libsqlmy.so% O! C* p. w$ @. ^; k  C
  53. Active=15 u- k, D  j7 k& M  k
  54. ---example---$ Y- U) |- H% a$ y. H
  55. # c7 g2 l# X- l+ Z! p9 N6 w. E+ d
  56. On a windows box, also running the MySQL server locally, it would be:
    4 J# d. Z, f7 B/ h) i3 x
  57. ---example---$ @% W& U& J+ ?/ r2 h
  58. [DBEXPRESS]9 j; Z5 s8 ]: f* P3 c) O
  59. sqldir=mysql_sql7 j6 L4 ?9 y2 _& ^7 k2 x
  60. Drivername=mysql
    + b$ k" O1 T8 K
  61. Database=test
    ) Z& }4 i2 {( k) a1 s
  62. Hostname=127.0.0.1( e, g* X, F6 R% _& f) U3 h* W
  63. User_name=testuser
    # g7 M0 z7 @* I  G  ]9 s8 I
  64. Password=my_password
    2 Q/ I7 t) d- Q, \
  65. GetDriverFunc=getSQLDriverMYSQL: a# s; |3 V6 d- M( G, P5 J; v
  66. VendorLib=libmysql.dll% y8 m# t1 q' u5 P7 |
  67. LibraryName=dbexpmysql.dll
    + E! ^  j8 n. [- f" ?1 C
  68. Active=1
    ' z" X$ `% e! t5 u( c) W$ |$ s; H2 y  z
  69. ---example----
    ) w; C4 W( U/ R2 I" o1 q% p
  70. - written 02.03.04 by pwk.linuxfan( W( ^1 }2 T7 n
  71. ) L6 `; i$ @9 ^9 T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' {' j, V1 x  }( M
  1. $ n" O" ]) a6 Z2 I. I% X) e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " C1 B& W: k! v
  3. 4 F- B2 G  _1 m1 f9 b9 R3 A- d
  4. # # #我们所需要# # # & z1 k" r6 ~, I; f% u2 x$ ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 M  |- n) J: p7 `+ \& c2 \" e
  6. 不会解释如何做到这一点-也有文件存在,为
    * Z: @( C& D; d; \! s* |- s
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % U' f/ z4 _, {% V3 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* X3 `$ {. @& g# \) m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 F/ F5 }- |. [+ Z! H/ _8 g0 X, o  Z, C- k
  10. 本地机器,这是我的MySQL安装。 6 r$ d4 T7 u6 c6 E+ R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. V% u& z  {) J
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; A, W$ }" P6 l3 Q$ i
  13. 数据库。
    + O" q, }2 o8 ~# A$ v/ }- N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 `  P! Q; c0 T: x
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 y) Y* p% x8 A/ k
  16. 在teamspeak论坛,如果你有兴趣。
    ( P6 `7 g. T% N) C
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 a: a6 r# ]9 u% q% R/ o( Q& B
  18. Borland公司使用。这个司机只能界面与客户端库0 v! k+ J, O3 U* s3 z8 v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! x. v" O$ w- ^" I: Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' w! p- Z! p6 m# V- W
  21. " vendorlib " ,并解数据库连接。 / I+ D5 Q8 @. {1 l% Z6 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " w, ^" B" n1 u/ [1 P4 I( p

  23. , G1 ~/ N$ @8 m8 F' R! R- M- ^
  24. # # #做好工作# # #
    # e0 `; d, O/ a$ r5 }2 k5 \  s. x: u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 ~& }% l9 [) {, [7 u7 O/ S
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % w8 k& {# M2 O5 M3 G
  27. 结束:
    , G% |: w5 }, Y
  28. ---削减这里--- 3 T8 \% ~: g: w) d  L. X, P5 \8 k
  29. [ dbexpress ]
    1 @: U! L4 c3 Y
  30. sqldir = mysql_sql 5 Y4 }5 ?4 u0 X2 E, C4 D. {+ M
  31. drivername = MySQL中( C3 D' s1 K0 j* t) `
  32. 数据库= your_database_name_here 9 S" ^# `. _/ {3 W! B) S
  33. 主机= the_pc_the_mysql - server_is_on
    8 ^* I$ a" y9 H) R' g& E: f
  34. user_name = user_name_on_the_mysql服务器2 X+ [: G4 E+ a9 i& p8 `
  35. 密码= password_to_go_with_above_user_name
    - z9 z, z2 B! \- D
  36. getdriverfunc = getsqldrivermysql 4 Y, t! {) @! p4 e) B! k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ w: E0 m4 f; L1 g/ B' E2 i- B" x# C
  38. libraryname = path_to_libsqlmy_libary   O8 @& F& s7 l6 l
  39. 积极= 1   i. A; h; G& N! _& T* I* C
  40. ---削减这里--- 3 y" G# k$ d9 p/ j! Q  b0 ~0 X7 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 b- a% a% k- m* z: K
  42. ---例如--- 3 y4 J7 c0 X: I4 Q1 W2 P9 H( p
  43. [ dbexpress ]
    2 j6 |5 m! F) s9 x3 }9 t
  44. sqldir = mysql_sql
    4 H; f5 G! `% V% V; w) c% h
  45. drivername = MySQL中$ t# _! N$ x3 K" x3 z
  46. 数据库=测试& g4 B8 q. V( C5 w+ F
  47. 主机=本地主机
    " x- v$ L+ X, T' a0 M$ ?  u
  48. user_name = testuser # T/ W, y& I7 q7 \
  49. 密码= my_password
    * h  i( S6 o$ ^3 G
  50. getdriverfunc = getsqldrivermysql - F4 N( H, X: @
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   Z7 d. O5 H% X" [0 Y
  52. libraryname =. / libsqlmy.so - u8 ~. w% D/ T: P
  53. 积极= 1 9 D( H! A& m9 E8 j6 t( P; y
  54. ---例如---
    ! s( D- i7 F! Q# H  V
  55. : F3 _  c3 \" c) y( E7 a' C
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " W% f2 S' ^; R
  57. ---例如---
    0 @* Q' T  x$ O) n: g! e# E$ U
  58. [ dbexpress ] 1 P/ t' R% D% X& A+ H* ?0 o' R0 f( U
  59. sqldir = mysql_sql
    * U6 |3 [8 j: R- W* I) s( |
  60. drivername = MySQL中( z% T: A4 y7 Z/ S" C& P: M
  61. 数据库=测试9 M! q# J' c' s) v0 k- e  M. q
  62. 主机= 127.0.0.1
    ( G; b) N3 w+ [1 {
  63. user_name = testuser
      s3 }2 q& w% m! J& _6 c  ~) z
  64. 密码= my_password + m" E/ L5 ]- W! U4 S" e. ?* f! g
  65. getdriverfunc = getsqldrivermysql ! {' E% O9 {- h7 k- J5 R$ C
  66. vendorlib = libmysql.dll在: R3 q1 b; I% o- n
  67. libraryname = dbexpmysql.dll
    ( B' h7 O! @% B( f# A# v8 n& e
  68. 积极= 1 # T3 M% s& h+ [2 a7 l
  69. ---例如----
    3 [% S7 T8 B. S- Z
  70. -写在0 2.03.04由p wk.linuxfan
    # B4 G) z  O/ m! B. L
复制代码
发表于 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% X. q2 r' K3 ^* B6 R

& ^% ?2 J9 L3 t1 z+ ]3 qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-10 10:40 , Processed in 0.095285 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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