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

3149 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# B7 D1 {8 w% O6 B& ^; k/ v  S2 q$ r7 E' W

  1. 0 {) r$ B/ V3 m/ }# P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; y: Q5 n' C% c# F* ?7 t
  3. % q( P2 B9 c: h( H6 |2 n9 C
  4. ### What we need ###
    * s7 `; E% e+ t- d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : E5 Z1 S. H. V3 @4 ~$ q7 n  i8 F
  6. will not explain how this can be done - there are documents out there for the & O3 b8 u  O' y! K" x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 {" G  Z: H1 B2 f. S" l0 R, i
  8. and a user account (username + password) that has the permissions to do stuff
    4 x- B8 j, [6 T5 v. Q6 I
  9. with the database. Additionally, you will need a vendor library installed on the7 a$ f2 S" m6 c" {' t
  10. local machine, this came with my MySQL install.
    ) Z" C3 G" r& Y4 J& ]4 D
  11. These instructions will not tell you how you might transfer your data from the- o4 f$ B# G; W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 u* N& P* @8 ~: H# m0 ]$ d
  13. database.
    ' ^6 g# I9 X& q9 ]& V
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % }) C+ d- v( x3 k% ]1 I7 \7 h
  15. the time of writing, there are still too many issues - check the current status, W% E0 H; V2 @  D$ p- e; s" n( j
  16. in the TeamSpeak forums if you are interested.8 A, t- w) f; c5 x0 z1 T8 n  \) G
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ g3 E& W3 J; r  O& R) [" R
  18. Borland was used. This driver can only interface with the client library that
    0 w! k. u; T! T* I& G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 \  v5 g5 r; O4 e
  20. client library - basically all you have to do is to use a 3.x client library as ; Z2 e  i+ G! f# F
  21. "VendorLib" and a 4.x database to connect to.0 L! ]9 F# X7 Y" Q
  22. If you need more info about dbExpress, you can contact Borland.* B: \! W8 H1 E  W2 E* N
  23. % o, {. g- b0 Z9 O$ Y& w
  24. ### Doing the work ###
    6 G8 v; ?* ^, ]0 h" O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , Y1 q) a  n& r
  26. the perquisites right, just open your server.ini file, and add this section at
    7 A& r, E0 K" h
  27. the end:
    / L) E& @. w' ~$ P
  28. ---cut here---6 w9 O& S# ^3 c
  29. [DBEXPRESS]
    7 D! S0 H0 `8 X/ s" Z
  30. sqldir=mysql_sql6 r' F7 t( a) C3 T% p0 s: e2 E9 Y
  31. Drivername=mysql
    , j# N1 D, V# Y& y
  32. Database=Your_Database_Name_Here! ]3 Z/ H! T- r' B6 ~3 B4 c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! D! Y0 ^6 b& H1 A7 a! i& @
  34. User_name=User_name_on_the_MySQL-Server8 c; @6 n% ?/ ]6 X% B
  35. Password=Password_to_go_with_above_user_name  q! Z0 {6 ^/ m7 J- m  H
  36. GetDriverFunc=getSQLDriverMYSQL7 l7 b, W/ t: E+ C7 i1 n5 {6 S' |4 `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ ], y2 e2 M1 }5 Z% [
  38. LibraryName=path_to_libsqlmy_libary
    4 I4 V4 A/ Y! |9 ^" M
  39. Active=1" h3 a% X) k* q& o
  40. ---cut here---
    . k2 T4 W- @( a% t' x) \
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # n1 ?( U9 Z4 k  y- ]
  42. ---example---
    ' ?9 ]$ U& F$ {2 w3 u
  43. [DBEXPRESS]
    6 m5 j' {1 c2 Y# y' `$ e
  44. sqldir=mysql_sql
    ; c$ g& t7 n0 h( e3 d' y" _
  45. Drivername=mysql7 p5 M" F+ J8 C/ P1 y( _; A
  46. Database=test7 |0 ]& `3 j' r+ y, Q
  47. Hostname=localhost6 \' k$ v9 @! B. q! o, P2 [
  48. User_name=testuser
    " K& C6 E, r, [
  49. Password=my_password
    * A. g7 N1 C( V/ Y1 Q( s4 l& B8 @
  50. GetDriverFunc=getSQLDriverMYSQL
    * {. f0 |. T5 O& F$ A+ _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    & g0 L1 o1 }, j; b
  52. LibraryName=./libsqlmy.so9 ?( y9 k8 r5 u8 X, ~
  53. Active=1
    ; F2 P( K) H' l7 G7 r
  54. ---example---
    # w/ l; Q( F! g) A

  55. ' S! @& Z2 _* M) g0 R. W
  56. On a windows box, also running the MySQL server locally, it would be:. e% Y/ V% N/ \/ q, _3 I" r1 z9 q1 d
  57. ---example---6 j+ q, D: a& ~0 k' Y
  58. [DBEXPRESS]
    4 w& x) B9 ~# W+ i' c- @
  59. sqldir=mysql_sql* M  ?+ y9 R' w  p7 r
  60. Drivername=mysql) N. W  e6 i2 P
  61. Database=test
    : P$ H3 g! G" }2 K* V/ n# Z
  62. Hostname=127.0.0.1
    6 H* ]. Y6 |$ d5 A9 J
  63. User_name=testuser
    ( O8 R: \  X9 Y# h, ~; W3 f0 F
  64. Password=my_password
    : I2 r' M. n+ y, |' m7 N% h- g& i
  65. GetDriverFunc=getSQLDriverMYSQL
    . _6 r/ r4 i- Z$ I, {& L2 t% W
  66. VendorLib=libmysql.dll
    : j# E# s7 u' s* @4 i3 L# {/ X+ u
  67. LibraryName=dbexpmysql.dll& x# k* O% b! U! P' r' j+ ]% h5 n
  68. Active=1. `9 W. c8 j7 N: N: |% b. n! M0 S$ G
  69. ---example----& h. R+ Q" k  w! Q% B
  70. - written 02.03.04 by pwk.linuxfan: o& P9 Z/ Y& z: ^* L
  71. ; b4 d: o3 u7 G2 p, b
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: ^" i! S! F0 l4 S& X1 M6 }
  1.   E- k: T% |  T  \/ b0 l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 l4 E3 ~; N, _  h  Y" K

  3. : m6 D/ t  V5 f3 I2 v0 ?5 `( [
  4. # # #我们所需要# # #
    ! m. h" L$ K7 Y2 U" \8 X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件4 j$ a6 x/ b8 C: @- Q& C9 w0 N) ^- Y
  6. 不会解释如何做到这一点-也有文件存在,为6 [/ q& I. m8 e! N" e* Y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ E9 n+ `' Z. |9 `8 o" N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    8 C) I( U+ C4 k* J3 v$ W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 d3 d/ k0 v: w" M
  10. 本地机器,这是我的MySQL安装。 / {" ]6 q+ r" O# g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从3 C+ W6 B9 h" D( K
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . ?3 ?& s* E; Z2 ~0 p. k) J
  13. 数据库。 ; b8 |! m0 o( `, i/ `, E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( K' o- d- O0 i6 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状+ z+ l- y" o% n% o+ F
  16. 在teamspeak论坛,如果你有兴趣。 % L* Z! n% W3 P+ T& Z* Q. {4 @( @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 M6 h* G( Y6 z* T8 o0 T1 b
  18. Borland公司使用。这个司机只能界面与客户端库+ e- V( w. H# n! }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 L( v9 P% N: Z3 B. Q3 c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 I) m7 i  b+ e: @
  21. " vendorlib " ,并解数据库连接。 $ L, _% y  e. L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 $ k4 l7 V7 A. v+ l

  23. * S& Z! K- M( p7 W
  24. # # #做好工作# # # " E5 B- ~) c  X1 g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * X: k& _7 V, a3 h' |' f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# z2 O% o; H; S
  27. 结束: 9 O& {% y' R2 v" l. T
  28. ---削减这里---
    1 n* o' ^1 r" i
  29. [ dbexpress ] + K4 F! L2 k2 _
  30. sqldir = mysql_sql
    7 |6 e: u) {% o+ J* N' ^& _
  31. drivername = MySQL中7 j/ i& t( o2 \7 B! e7 X: @
  32. 数据库= your_database_name_here
    & e- q9 m' c) s) K- _7 D: c! ]
  33. 主机= the_pc_the_mysql - server_is_on
    . s+ J9 o1 v* M5 J
  34. user_name = user_name_on_the_mysql服务器& h1 ^% T* P! F9 G6 _: B
  35. 密码= password_to_go_with_above_user_name ' q+ r% I$ z' G+ M* r( @0 p
  36. getdriverfunc = getsqldrivermysql
    % C/ L/ i) @4 T% k* d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; M0 M5 Y; F: c' z* N2 ?4 I1 ?( j+ I
  38. libraryname = path_to_libsqlmy_libary
    ( r% @" f0 f% F! \# d! X
  39. 积极= 1 - v: V1 U, {) F2 z' w" e
  40. ---削减这里---
    ) \+ o0 n. w" L" W0 `- p$ R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 w# J6 q5 m+ m( K7 C
  42. ---例如--- 4 m/ z; j6 F, _- Z; [
  43. [ dbexpress ]
    + @$ j$ ]' N/ e: F2 j
  44. sqldir = mysql_sql . A: G# v3 d! U1 t4 u9 w
  45. drivername = MySQL中/ }( ~. C: m2 }7 p8 x! x
  46. 数据库=测试
    0 w& E( m2 }8 A
  47. 主机=本地主机. u% f- r$ M8 c& A
  48. user_name = testuser 2 v5 ~" L! J4 I" E8 z- D
  49. 密码= my_password
    / F! X5 l: H+ m6 n1 I
  50. getdriverfunc = getsqldrivermysql
    9 f! N8 [8 {) {# J+ s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ ~' L0 S4 Y4 H  c5 I7 ^
  52. libraryname =. / libsqlmy.so & r, g+ c9 y' p. |, H
  53. 积极= 1
    9 J# [2 ?5 R5 F( ^  J% g
  54. ---例如---
    ' J9 L8 `& S5 l+ m0 [& }) ]
  55. 8 f3 |+ s- N0 x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . M: w- ~$ \- w) y! E2 L) N& _2 y
  57. ---例如---
    ) b% O, I5 C* d# A2 M
  58. [ dbexpress ]
    ; W+ u% m0 X2 ]% o$ Q: Q
  59. sqldir = mysql_sql
    ( J% O3 ?- z( ~" @4 O
  60. drivername = MySQL中
    ! L' X/ @7 }# q# t7 v8 x
  61. 数据库=测试
    & [. t1 }: @: P: c4 A/ l9 ?) R
  62. 主机= 127.0.0.1 ; T% ~1 w: H/ |" t" D* j( j
  63. user_name = testuser
    ) v) t4 c+ Z- M; z
  64. 密码= my_password
    1 b3 Z8 M9 F3 ^" _: A
  65. getdriverfunc = getsqldrivermysql ) H7 p; x- V: b8 [) k( i
  66. vendorlib = libmysql.dll在, {0 D! Y2 o% w6 I+ k
  67. libraryname = dbexpmysql.dll
    : [7 I9 x+ o' `5 E# y$ ~" |6 P
  68. 积极= 1 $ V( t9 M! Z. ^1 J
  69. ---例如----
    . L/ L0 P3 G0 Y; u' t. j
  70. -写在0 2.03.04由p wk.linuxfan
    0 C4 `1 ~8 m8 a! `1 m
复制代码
发表于 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
- Q: l+ F" }/ N: b" A  |5 ]7 G; P0 M" S# Q6 f8 a1 ~& l
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-11 15:17 , Processed in 0.099922 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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