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

3151 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. O1 D, M. n6 b/ L0 E+ \# ?- C: g
  m, Q" m" Y. Y% S/ l9 e4 B  b- O
  1. 0 B( n/ m4 H$ U& g2 f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( _. i% B/ v; u, e  Y
  3. , e0 i, p. D+ S* E  m% i, a" z
  4. ### What we need ###. u" K) i$ ~2 ?$ c# d
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # ?" H( L9 p" Q  E( m
  6. will not explain how this can be done - there are documents out there for the
    , t5 f# ~: ~5 u1 ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % T* K0 H; z+ P, C3 _3 K. ]9 J% O/ D
  8. and a user account (username + password) that has the permissions to do stuff6 S1 p  ]! J; h" K* @
  9. with the database. Additionally, you will need a vendor library installed on the
    . a. c' d% r3 l3 @- ?& ?
  10. local machine, this came with my MySQL install.
    6 [5 w; u) [8 G# r! Y
  11. These instructions will not tell you how you might transfer your data from the
    4 m: J  n' E0 M/ P6 Q2 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ q3 X6 M1 {' l7 J
  13. database.
    # Z0 s  j% e* {+ m# ^3 r& U
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # h& B, R7 Z7 Z
  15. the time of writing, there are still too many issues - check the current status  p) X) r2 m( v+ Y! ^- u; n" W" y
  16. in the TeamSpeak forums if you are interested.
    1 v7 X4 f8 R" b9 d+ H1 P' h& Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * I; l6 Q; z' d9 m/ N" @
  18. Borland was used. This driver can only interface with the client library that
    - J6 `# q$ ^$ u) V$ j6 A9 g7 H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ I' S$ R; Z" ]$ \3 h6 f, T
  20. client library - basically all you have to do is to use a 3.x client library as
    5 m1 M4 Q9 l" o8 B% s5 @
  21. "VendorLib" and a 4.x database to connect to.3 X, h) @4 m7 B
  22. If you need more info about dbExpress, you can contact Borland.4 G/ ~, r0 x' H$ ^2 r' w
  23. " p9 \6 G  b. c. w" j5 s8 H3 V
  24. ### Doing the work ###
    ; b2 U  O8 d3 u+ M4 w# E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( [" x, Y6 V& `  o; t9 e
  26. the perquisites right, just open your server.ini file, and add this section at
    1 E5 R+ {! t& q8 k5 r" `
  27. the end:$ O& J0 d) ]& U( [8 [# e" _6 @
  28. ---cut here---, y# K; k% i# q
  29. [DBEXPRESS]. Y/ s4 `7 |5 `- q
  30. sqldir=mysql_sql
    / N% y# c/ ~0 K; j( r1 T
  31. Drivername=mysql8 W: N9 ~- ^% C
  32. Database=Your_Database_Name_Here  I- ^0 m/ N' h8 _4 }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ ?6 d; D  G$ a. x
  34. User_name=User_name_on_the_MySQL-Server) t5 `: p2 D( G( @3 \8 O' m! [$ ]: G3 ~
  35. Password=Password_to_go_with_above_user_name
    . q$ g( ^  z5 `- W; k. V
  36. GetDriverFunc=getSQLDriverMYSQL
    % Z& I% h5 S- q, J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- X+ b' ?* [/ z& R
  38. LibraryName=path_to_libsqlmy_libary
    ; ~" }: A) g% P# Q! J
  39. Active=16 C$ b/ w- k! u, B3 o
  40. ---cut here---
    : @; X$ z( Q. `
  41. In my environment (a linux box with a MySQL server running locally) I have:, j$ B/ E$ L/ Y. j
  42. ---example---( S8 B& s( `* K' f, c( O9 {7 ~
  43. [DBEXPRESS]  g. j; k  @" r5 c
  44. sqldir=mysql_sql  q& r5 K6 J& l7 A, O3 _
  45. Drivername=mysql! C9 J& w/ l- L9 Q
  46. Database=test
    5 V- }/ d; L/ p. R
  47. Hostname=localhost
    / K  K' H5 X. y1 A
  48. User_name=testuser' m. E: U9 z0 J, a
  49. Password=my_password0 ]2 n5 \: o! _# T- }7 G  I7 U
  50. GetDriverFunc=getSQLDriverMYSQL5 G4 ^2 ~; c, m" _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 f& H) h( l2 F# [3 h' a
  52. LibraryName=./libsqlmy.so
    6 b; @. t+ Y2 ]( m4 l
  53. Active=1
    & @0 N. l: j% ^# H/ p
  54. ---example---. A) P' ?- c8 G/ i$ d: Y
  55. 2 F. Y, S0 i( Y% O. X  I
  56. On a windows box, also running the MySQL server locally, it would be:
    ' q6 h1 ~+ Q+ y8 H  \5 d
  57. ---example---9 D  [7 k8 x2 ]. g8 J
  58. [DBEXPRESS]5 e+ n0 A3 O' w+ f0 b, @* n, l1 L# ~
  59. sqldir=mysql_sql
    ( n! w& p, ^1 r- y& a; f
  60. Drivername=mysql5 R, j$ |+ b5 ?' o  e
  61. Database=test. P" O$ G! p0 P
  62. Hostname=127.0.0.1) K7 s+ Q* R; ~# O3 M; X
  63. User_name=testuser; L& a* M1 V6 |
  64. Password=my_password& n) X! x0 K- D6 m$ ~/ i4 a
  65. GetDriverFunc=getSQLDriverMYSQL
    ! m0 w1 \6 j5 D% |
  66. VendorLib=libmysql.dll1 i* O, e' w8 t" m
  67. LibraryName=dbexpmysql.dll) T0 U& g  ~' A: c+ S+ O
  68. Active=1
    + `! \1 n( W3 l/ |  ?+ x! C( V
  69. ---example----
    & ?" u# v" }" p; c; y& _; v
  70. - written 02.03.04 by pwk.linuxfan
    ) |: _  L; d/ s1 U% f
  71. $ r* E  O/ w7 ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 f% h; J2 L$ }% T9 y* Y

  1. ) L  [3 u6 V. V7 U( e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 P" M: p9 `1 w& s8 L
  3. * q: ~( ?6 O( `3 \
  4. # # #我们所需要# # # 4 K% S4 g/ k" X0 K* [; s( c
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 O7 l8 e- W5 o$ X
  6. 不会解释如何做到这一点-也有文件存在,为' M! e; y1 U7 q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      d5 Y' P3 Q$ ~& D; [2 _. ]$ I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ _$ J8 w3 Y: t' X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. p$ B9 s  R0 M9 v& h0 g9 C* W
  10. 本地机器,这是我的MySQL安装。 / X9 K; K# l6 k4 o- Z( t) r. i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& g: \& i; p* I  k. `- g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 r; q+ n# G" B3 e, y
  13. 数据库。
    ! v! |9 C8 _5 `2 {7 M" v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( l5 p# t0 s( t( i
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 w9 z' U+ i  g; o- W
  16. 在teamspeak论坛,如果你有兴趣。
      M5 n: u8 `- P1 _7 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 g: `7 ~0 H7 Y7 W
  18. Borland公司使用。这个司机只能界面与客户端库* N0 U* w5 X& w* I1 J. t, m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ L8 ~; g( g1 o! z) P1 i; i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( \8 ~. s7 c8 a( @% B
  21. " vendorlib " ,并解数据库连接。 5 a( p( U! [& x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 M4 P1 S: f1 D

  23. ; |2 S4 P) H/ g2 s& p5 u
  24. # # #做好工作# # # $ E( l, f$ `: E# w+ D$ D( v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    * K3 {4 W5 q/ N' ~# ?1 N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 {5 \) g$ f: M( `" J' O
  27. 结束: $ q/ I+ \' w1 ~7 k0 r
  28. ---削减这里---
    ) @$ w, j7 }2 j, ?8 v: t1 G7 G
  29. [ dbexpress ]
    7 y4 Z8 ]9 z5 [# B: y& g
  30. sqldir = mysql_sql ; |, S: Y, x% l# x6 a, f; W
  31. drivername = MySQL中  d! f5 z: H& h! K/ a3 F. Y, y( G2 r7 U
  32. 数据库= your_database_name_here 2 d7 x) b! i$ s
  33. 主机= the_pc_the_mysql - server_is_on
    0 }0 o- B3 g% }5 y
  34. user_name = user_name_on_the_mysql服务器
    9 a* H7 t1 `. l& w$ c
  35. 密码= password_to_go_with_above_user_name : f/ C) q; H. C* t# L/ p
  36. getdriverfunc = getsqldrivermysql 1 n! z" ~# W+ W' Z; D  d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # X; ?, m$ N- M* Q3 ?; T) r
  38. libraryname = path_to_libsqlmy_libary ) Q8 O7 M; L( ]# d% t$ [  m$ ~
  39. 积极= 1
    2 |* J& z* b6 y
  40. ---削减这里---
    - j* o. [4 t  C2 Z1 d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( U4 C. q* \1 j% p0 b( q
  42. ---例如---
    8 ]( @( f! y. S0 I8 }7 P
  43. [ dbexpress ] 7 I" b& Z/ x; \
  44. sqldir = mysql_sql ( C6 F. M- J  D
  45. drivername = MySQL中% N2 K# l7 R( I$ w; z6 i
  46. 数据库=测试
    , K9 J7 U6 D+ Z7 o
  47. 主机=本地主机
    ' k1 a$ I! b2 Z- b2 r8 B. Z: j
  48. user_name = testuser
    2 {5 d, _0 h7 E5 |3 Z  @; C1 H  O
  49. 密码= my_password ) V  ]' f9 t8 [' c" S
  50. getdriverfunc = getsqldrivermysql 5 F% t0 o* x0 V; G' H8 q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 C/ q: E. p* r/ F8 Q  g
  52. libraryname =. / libsqlmy.so : N, V3 W% m, G% g9 x% W/ N
  53. 积极= 1 & o  E* m* i' e+ s
  54. ---例如--- ) Z: `  e6 E* F; ^2 r9 [  J4 [) n& N
  55. " N! G% k! f% [( m! A& i
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 G. w# ^& ~& k2 |4 Q- |, ^
  57. ---例如--- ; t6 b' c: Y* w7 U# j: P
  58. [ dbexpress ]
    / A1 d2 _/ H" ~5 v
  59. sqldir = mysql_sql
    , f; H3 t4 L( M. ^- l7 _& W
  60. drivername = MySQL中: ~  o' ]( l1 i+ r. o- T
  61. 数据库=测试- A" D. M, z3 H* z4 O- M4 s
  62. 主机= 127.0.0.1 " s' W3 N1 C# i( m0 ~& N
  63. user_name = testuser
    ) i% g- l! \+ p/ J
  64. 密码= my_password & r( t: f7 X# `! {& b3 X" ?' T! `
  65. getdriverfunc = getsqldrivermysql " S" R1 h: b; t: }2 K& Z4 ^
  66. vendorlib = libmysql.dll在* c$ b5 S' r" {
  67. libraryname = dbexpmysql.dll $ O: k3 _$ F% E& {' `
  68. 积极= 1
    4 [0 q" P0 U3 L% w) Z9 Y$ i5 _& m7 A
  69. ---例如----
    + Q( i7 y& f, e) a7 v/ S( S
  70. -写在0 2.03.04由p wk.linuxfan
    1 j/ [, i$ e, A! }
复制代码
发表于 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
4 _' o9 t# h/ X4 R! `% y. y" b& F! f$ D0 H: Y  V. r# F( _
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-12 08:02 , Processed in 0.086744 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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