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

3267 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan & e, h9 d! O6 B* H* y1 q% I5 ]7 ^# ]4 [% J

& L2 g8 G: Z& l1 k- N8 U& v2 a/ J
  1. # K1 F% m! ~) x2 d+ R+ ?) S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' \6 k: U, i" U( V  b

  3. + z5 l" F1 [! g) Z$ r
  4. ### What we need ###
    + P: [' X  H) F! z8 _( K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    : p7 T9 x7 Z; j) M1 p
  6. will not explain how this can be done - there are documents out there for the
    6 Q# P# Z& ^- k9 @$ \! u0 D
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 D: H- V! M5 h/ D. b: q6 R
  8. and a user account (username + password) that has the permissions to do stuff
    4 ]+ T8 i; f$ y
  9. with the database. Additionally, you will need a vendor library installed on the
    7 ?$ ]. d$ {( e
  10. local machine, this came with my MySQL install.9 }" {7 \, V7 q2 [
  11. These instructions will not tell you how you might transfer your data from the' `# K! G: k: x( y# G2 ~  M% ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) R3 q" D. E6 _' \
  13. database.
    ( |2 I* D: s1 J/ @. L- W) F# O4 l$ \
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) \0 S& s0 N( w& x3 Y" t8 M% h
  15. the time of writing, there are still too many issues - check the current status
    ( ], @" X; q4 p% f: Q. L2 s8 I
  16. in the TeamSpeak forums if you are interested.
    ! C8 S/ C6 ~7 W/ ]/ S1 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- G. m8 V3 a) ?/ c% Z; N( R7 N
  18. Borland was used. This driver can only interface with the client library that + r8 S  l# N# O& h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% f6 f- t& Y2 b( Y8 `4 Y
  20. client library - basically all you have to do is to use a 3.x client library as ! w, a% T& [( g5 E5 N+ ]
  21. "VendorLib" and a 4.x database to connect to.8 V8 i6 H" ]: P, v9 G; Q$ g
  22. If you need more info about dbExpress, you can contact Borland.
    / j0 L: e/ p0 M3 ?" g* T, T' x
  23. ; G" g: a; s5 E/ f
  24. ### Doing the work ###7 q! R2 h; \* n( G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 z$ P# s4 v) }3 E! P
  26. the perquisites right, just open your server.ini file, and add this section at) u. S5 }* Z; F. m& n7 i; `
  27. the end:
    . d0 m3 a6 B$ r! y6 T$ g% l4 A8 f
  28. ---cut here---
    ! _+ y9 B5 C1 v5 V! ]# t
  29. [DBEXPRESS]
    2 b, o- f, {/ V5 S6 f( x
  30. sqldir=mysql_sql
    7 Y9 f( s/ M6 I, r
  31. Drivername=mysql
    5 m9 N  D! n/ e5 Y
  32. Database=Your_Database_Name_Here
    . A: _5 H8 m7 {* a+ p
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 \9 Q2 u! w3 f0 p( l
  34. User_name=User_name_on_the_MySQL-Server5 m0 A. m+ Y8 m5 h: Y
  35. Password=Password_to_go_with_above_user_name
    9 K! N! x, B4 b
  36. GetDriverFunc=getSQLDriverMYSQL9 K6 @: J* o. U2 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 v+ f& \$ _) E' Z/ K4 [. u$ R( R
  38. LibraryName=path_to_libsqlmy_libary
    & T* p( N, e. a( y4 ~/ ^5 v
  39. Active=1
    6 ^% p) c+ w, R2 i9 R, e
  40. ---cut here---6 d& y# H0 @/ a% Y, M" i1 p/ \
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / z4 F- X. ~: C9 [9 v
  42. ---example---" b: A& q% a& I0 `1 f
  43. [DBEXPRESS]" q+ W5 e7 J# b0 T- i
  44. sqldir=mysql_sql; y5 _; c9 O0 `8 M. L3 b& r( ^2 k
  45. Drivername=mysql# }* W' X  S1 i! q4 K8 O1 M4 b
  46. Database=test
    6 A- w8 _* r' m+ F
  47. Hostname=localhost
    * h8 E% l/ y+ l2 f2 O$ R) o
  48. User_name=testuser
    6 K8 Q1 ~9 X4 p6 y  K
  49. Password=my_password( T: Q- h. n- O! x- x
  50. GetDriverFunc=getSQLDriverMYSQL+ t' D% a) |% \8 Z( D' C9 _0 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 _9 y/ r1 ?4 R+ A# k8 @; A
  52. LibraryName=./libsqlmy.so- H5 z% n+ {, s/ Q
  53. Active=1
    & _8 W' y3 A+ Z2 {3 U& ]. x7 H
  54. ---example---
    / r2 V5 q/ |7 k5 V2 i

  55.   |- _' C& f7 t. ~3 q, L# j4 J
  56. On a windows box, also running the MySQL server locally, it would be:
    9 t+ M' G* E* w
  57. ---example---' X4 F8 p, N9 b0 [$ X, w; J4 L
  58. [DBEXPRESS]* e' e' j, p) e3 [
  59. sqldir=mysql_sql! S6 l% k/ F1 v* k1 \
  60. Drivername=mysql( w  |( E3 o( ]* h- I
  61. Database=test4 h9 |2 Q; s/ F, b' ]
  62. Hostname=127.0.0.17 r6 q% V: F, R0 T
  63. User_name=testuser
    ( D  k+ N( _& M8 b8 q
  64. Password=my_password* c* L3 ]: G8 W; `6 y+ P4 c- [
  65. GetDriverFunc=getSQLDriverMYSQL
    9 |4 x  h. p( }% k
  66. VendorLib=libmysql.dll
    2 q  N3 |$ g7 I$ S: P! j- o
  67. LibraryName=dbexpmysql.dll" \9 v% o9 B6 ~. X7 ?1 W
  68. Active=1
    : W  R- O6 l6 r% P# T
  69. ---example----/ M6 |& k0 B6 x& R& a. H- M
  70. - written 02.03.04 by pwk.linuxfan
    9 `3 Y9 r# M' t0 O0 a2 b; i
  71. & F3 L. O* j7 o' e! L: E* H; F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 |! z, e/ F! b3 Q' j
  1. 4 v6 [6 \' _0 s* p. [' ]( L2 Q& m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 C% |! W% E- }

  3. + b. t1 u& _$ T( j
  4. # # #我们所需要# # #
    ' s( F2 Y0 c4 K- V  B& T8 P8 ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + @! [- T' Q, o. f9 i% N- _4 \+ C* D
  6. 不会解释如何做到这一点-也有文件存在,为& @) n6 O- F' \# O, E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) r* T! p' Z' W+ H9 O4 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# L: ], T6 q; ]% s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 w8 l7 Z. o/ e7 u" p/ Y: T
  10. 本地机器,这是我的MySQL安装。
    . |4 F$ c4 K2 S. ]* F
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) o2 ^/ F& ?. U0 m0 P8 U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ \& O, C6 R2 B$ `1 [' t
  13. 数据库。 ) F0 o: N$ }3 e( a2 _3 q8 }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    . P& s6 p7 s# e6 B! h1 n* h$ l8 ~5 `
  15. 编写本报告的时候,仍然有太多的问题-检查现状, K0 l  d. f3 B; c8 R$ ^; f  \
  16. 在teamspeak论坛,如果你有兴趣。
    8 j# Q' f$ J$ ~: E# U7 r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ @, n; [. N7 f3 K& u+ M
  18. Borland公司使用。这个司机只能界面与客户端库
    1 ?4 k0 D9 L$ U" A& S* w1 p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 c( P6 P; X# o6 O" W8 [1 Q$ b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , t) f% x2 l2 @. Y3 O
  21. " vendorlib " ,并解数据库连接。 2 F, c) W' w; n* g+ ~3 m- j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 v& C) ^$ ^2 p& \
  23. * H' s6 o! ?! m% i/ _  x" z: {
  24. # # #做好工作# # # ' x9 {2 C' X) n$ H2 N
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      i/ G( S2 _9 V0 O! N, H( H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! S: Y  }( u- y3 V7 Q$ ?
  27. 结束: ! c3 p4 F8 m( ~5 e( {- J0 }& D
  28. ---削减这里--- 0 Z2 y! V: `% \! e1 {
  29. [ dbexpress ] . y: L. E1 g2 b5 A( w3 a# d" _
  30. sqldir = mysql_sql
    2 z* J* B6 i9 A1 o
  31. drivername = MySQL中
    / W. Z' c% L/ M' Z8 J0 H% J5 M5 J
  32. 数据库= your_database_name_here
    $ z" ?+ s. g) ^2 ?* @
  33. 主机= the_pc_the_mysql - server_is_on ' `6 V7 ~' U6 c7 I7 u
  34. user_name = user_name_on_the_mysql服务器
    7 x7 j- J( I* E) @5 `
  35. 密码= password_to_go_with_above_user_name $ }& ^+ o; c2 O% m
  36. getdriverfunc = getsqldrivermysql
    / j: ~. b' k' e( }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; x. z9 y- R: G+ ]1 C: f
  38. libraryname = path_to_libsqlmy_libary - y6 I; ^6 i* H8 j6 m9 L8 c& X
  39. 积极= 1 4 f) j* z9 ?$ a+ h
  40. ---削减这里---
    3 U+ ~6 T2 W9 e: S2 L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    9 E5 h+ H- d+ K( D9 q
  42. ---例如--- + m2 F( Q0 w: W( _0 |
  43. [ dbexpress ]
      s+ a; C/ e6 w. |: M
  44. sqldir = mysql_sql ' _! }' u& J. e" {3 P5 X
  45. drivername = MySQL中9 a* c8 q, D3 y& B# T# P3 g
  46. 数据库=测试5 x$ E8 ~$ I; o5 l; i8 g
  47. 主机=本地主机, q9 i/ ]4 E5 Y4 m6 d: p8 _- r
  48. user_name = testuser
    % r# d0 p% Y$ @. L4 Z# W* k
  49. 密码= my_password 0 r( S, q& y1 F6 o
  50. getdriverfunc = getsqldrivermysql
    8 B" b( C3 f# {5 S9 E: h
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    % l8 \$ }: |- R8 ]. F
  52. libraryname =. / libsqlmy.so 2 @3 {  m" j, n/ ~
  53. 积极= 1
      U5 ?9 f  T1 m5 @4 @5 v
  54. ---例如---
    0 d7 a9 V6 Z2 \: f7 q" u. [
  55. " X' f  g0 H) D: _  r+ r1 ^( F- \  E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & b. o( w( J! B: Z; I
  57. ---例如--- " {: n9 u! w4 M( m8 e2 q& N& `4 y
  58. [ dbexpress ] % a4 z8 a4 w. O6 o3 y, T3 J
  59. sqldir = mysql_sql : l! t! ~$ L- v8 v; ?. ]. c
  60. drivername = MySQL中6 ?8 u( K, `+ O9 S) E9 Y+ Y
  61. 数据库=测试
    6 ]+ r- s3 v# X$ x
  62. 主机= 127.0.0.1 6 @1 q& {# I% p4 o0 L* f
  63. user_name = testuser . |5 G& R% `! O% ?8 O7 _8 `
  64. 密码= my_password . w9 T4 W; {; H# _* w! c; v# D" [$ a
  65. getdriverfunc = getsqldrivermysql
    / W0 l# v8 z  T$ R. V0 k/ e3 f
  66. vendorlib = libmysql.dll在6 F9 u2 c5 h) i# X
  67. libraryname = dbexpmysql.dll " o+ G4 @) |& i! H
  68. 积极= 1
    % y+ R: `; F) `* s
  69. ---例如---- & g+ T0 g2 R; ]8 n
  70. -写在0 2.03.04由p wk.linuxfan
    & g  F4 |2 A5 h0 {# D: N
复制代码
发表于 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 words1 |. m8 d* U: c  S7 t

- a( y6 A+ _5 \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-30 23:14 , Processed in 0.095296 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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