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

2549 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 }5 T6 B) S" X. ~8 \3 h1 l* Y
& A( o) c8 _# u" B6 n7 @
  1. . n, b' h$ I7 O  W3 ]+ }' U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; T& Q- Z$ g0 p# I$ G9 O

  3. 1 }% W+ E1 P/ t4 i8 \, `$ k' A
  4. ### What we need ###
      o4 Y6 n0 Y1 C! W- \
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ' W  g' |6 [2 d  L7 K
  6. will not explain how this can be done - there are documents out there for the + t$ B3 s6 L+ c* f
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      F, b: x$ Q# G
  8. and a user account (username + password) that has the permissions to do stuff
    5 h9 ?" V0 m  `7 \, ?
  9. with the database. Additionally, you will need a vendor library installed on the
    ) f! G' W! Q. ^7 Q
  10. local machine, this came with my MySQL install.
    9 u; T  z9 x: A- {7 `# x- U
  11. These instructions will not tell you how you might transfer your data from the' M+ J- Q5 v5 H5 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 h+ {. A  d4 S$ V7 D7 H0 F
  13. database.! w; O8 ?9 D% c
  14. Some users have reported ways to import a SQLite database into MySQL, but at- _4 a& ?: \' p$ w: Z/ ~
  15. the time of writing, there are still too many issues - check the current status5 q# F# q9 q: i0 s
  16. in the TeamSpeak forums if you are interested.) [9 V- ?1 [  W, }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; Z/ J+ p  m/ K5 G" m
  18. Borland was used. This driver can only interface with the client library that : |$ X, G! b' l
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : y3 c4 a" u4 O% C7 W. |
  20. client library - basically all you have to do is to use a 3.x client library as / u- d7 j2 I  y% k- B0 ?6 ~9 Y' o- ]' k
  21. "VendorLib" and a 4.x database to connect to.' L4 D9 j7 h$ c, F  i' j$ i3 N( l2 ]6 u
  22. If you need more info about dbExpress, you can contact Borland." ~4 i3 {/ o+ ?$ Y6 c% R7 ?/ C

  23. 8 ~* v: e' Y. i8 [! R; r
  24. ### Doing the work ###6 A( N; ~9 v! a- _6 a9 u2 b: q/ ]3 T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' |# \, \( ^7 U) X& Y3 V
  26. the perquisites right, just open your server.ini file, and add this section at
    & A1 P. l5 X5 ^
  27. the end:
    + d& ?5 ^2 M; a2 `
  28. ---cut here---
    1 s/ A- s: b1 u, v' B
  29. [DBEXPRESS]
    - F4 U2 I9 w; E( E
  30. sqldir=mysql_sql
    " ^* L  z& f8 F7 D( @' p/ ^" d
  31. Drivername=mysql$ ]7 @+ J7 D# f2 F# {  w# R
  32. Database=Your_Database_Name_Here
    : u) Y0 u7 c9 J0 Z% @
  33. Hostname=The_PC_the_MySQL-Server_is_on* H# A7 m9 e: N: G; G9 q! A
  34. User_name=User_name_on_the_MySQL-Server. ~0 a$ C8 }5 d) u, n9 r
  35. Password=Password_to_go_with_above_user_name
    5 s! e4 c0 g: u( ?- w4 c" b' a
  36. GetDriverFunc=getSQLDriverMYSQL
    / F4 D! L% v3 l' P( S
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( U( f( ^- p' I# X8 d8 ~  l& O& M
  38. LibraryName=path_to_libsqlmy_libary
    , |3 [# w  P9 j: o' S+ n
  39. Active=1% Z! a" `. A* Z! E* e" [2 {8 y( ]% ~
  40. ---cut here---  Q: Y8 U- N# \! Q+ `/ G, p
  41. In my environment (a linux box with a MySQL server running locally) I have:: I0 u+ U9 j* B$ ]! s; y
  42. ---example---+ c. f. c+ ~; y1 b% T+ A3 A- L
  43. [DBEXPRESS], [, g3 U6 J4 j7 ~3 c. Y6 k% M% f
  44. sqldir=mysql_sql
      ]* ]4 O( t3 ?( @5 a
  45. Drivername=mysql' n. o, z; x5 i- l; c
  46. Database=test
    ' u8 [( ]+ V' A+ r& Q$ r/ k1 [
  47. Hostname=localhost
    2 g3 H, ?/ h; t7 o6 g' O$ A
  48. User_name=testuser. B: T5 N  f# l9 A
  49. Password=my_password
    9 {7 T6 s  K! l: z
  50. GetDriverFunc=getSQLDriverMYSQL* A  F8 q; V0 ^) [) y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; f- T1 ~! m1 }2 ?$ y
  52. LibraryName=./libsqlmy.so$ f" O6 b, F- r/ Y
  53. Active=1- |( \) B, a) Q$ o$ C- G  P
  54. ---example---. S& Y+ n* T- y9 m! m4 y8 }/ K

  55. 8 i: k7 q/ D& `$ s
  56. On a windows box, also running the MySQL server locally, it would be:. H6 A. P& L5 k6 X2 U6 _" w  @" @
  57. ---example---
    + G' T: S6 g0 i. O; x/ ]
  58. [DBEXPRESS]
    7 I" H. e- r% Q! n: `/ {) |9 O
  59. sqldir=mysql_sql, L+ m4 X5 [* y. s- P& O3 j3 W
  60. Drivername=mysql- m7 M% ?( W% n6 ^
  61. Database=test
    ' h! o. K0 O2 G* c2 T/ W
  62. Hostname=127.0.0.1
    $ ]; F. p% I$ Y5 [+ V* b6 l
  63. User_name=testuser1 l+ h% `; U5 o7 b/ n3 L
  64. Password=my_password
    4 w6 s: L9 Q* I% q' O
  65. GetDriverFunc=getSQLDriverMYSQL: x1 s8 v( u6 N6 `" U
  66. VendorLib=libmysql.dll
    ; Z) o7 g' _' D& H! ]- `* s
  67. LibraryName=dbexpmysql.dll# t$ x  E1 q- z
  68. Active=1
    " y2 q0 \+ m( E
  69. ---example----4 Q  q& S* ~& a0 a  N
  70. - written 02.03.04 by pwk.linuxfan* d3 T4 C  o! D& ?- e

  71. ; G. E8 p! n- K# v9 L, F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# O: Q7 Q% S6 X1 f
  1. 2 v. c8 y. C% Z2 y2 Y# t% h3 {4 g: M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! d; ^& E/ J$ t

  3. ; Z2 \# S' J, |3 Z* E
  4. # # #我们所需要# # # ( n- @) u/ p0 P8 R5 @' W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( @& a4 j2 Y$ G% p- M7 d) V
  6. 不会解释如何做到这一点-也有文件存在,为! a! X( V  y+ @1 u; @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 [2 a2 @! ]! C( J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , ?9 t; J& g8 w8 c/ j" D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% o1 u$ D& \' A" M, c" m6 B
  10. 本地机器,这是我的MySQL安装。
    ; @7 A  D9 S% h" J$ E' [4 ^
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ l) ~$ w* |) s9 }: ?9 Z/ o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " S% Z3 t1 I6 U9 v
  13. 数据库。 ' Z, K+ S! \2 `$ V( }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : H  _! ?% `: p
  15. 编写本报告的时候,仍然有太多的问题-检查现状  N3 O% S  [8 E+ Q5 l( y* \# O
  16. 在teamspeak论坛,如果你有兴趣。
    ! f8 P  d4 Z& D5 j2 h4 j
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    $ B$ I5 S, H- Q) u
  18. Borland公司使用。这个司机只能界面与客户端库0 y6 L  X+ V( w+ k
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; t' M( {! r$ U' S+ A' g+ C1 O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) _8 |. a  _5 l; A' N: ?& V
  21. " vendorlib " ,并解数据库连接。 + R$ }, D9 Y: n$ r# \5 H9 b8 f6 w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 @9 a* G' Y: e+ @
  23. ' j1 Q* \( ^" c1 R4 @+ d
  24. # # #做好工作# # #
    3 j4 J' Y+ M- J- [! [9 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; i5 i$ V+ y" I" m/ D  Z1 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 x6 P! P0 G* K& c* \) o
  27. 结束: ' i' T* m' P7 [+ g9 i
  28. ---削减这里--- : R, f1 |- q+ f; R; X
  29. [ dbexpress ]
    9 G  n) h' n* b: f6 X; K1 k9 Q+ g
  30. sqldir = mysql_sql
    , c+ X: V0 U$ H2 U
  31. drivername = MySQL中4 k' _2 @8 [: E0 A+ _/ f- h1 N$ F6 Z
  32. 数据库= your_database_name_here - l( z# N1 c: @. y- t6 H% E) j
  33. 主机= the_pc_the_mysql - server_is_on + f8 D8 b, u9 g' C; j; J) P
  34. user_name = user_name_on_the_mysql服务器
    9 v& d  F! u8 g. t! C# j% G, `* i
  35. 密码= password_to_go_with_above_user_name , W+ I& |$ h6 U, [# g
  36. getdriverfunc = getsqldrivermysql 7 C3 w/ d8 E. [% R  |. C
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      G, C3 l; J+ S/ w, E4 Q) j
  38. libraryname = path_to_libsqlmy_libary 7 G) Q1 o3 Z. n- p" v0 o
  39. 积极= 1
    ! k7 T0 u, S1 W% ^! f2 X
  40. ---削减这里---
    8 r7 h# U1 F! D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: . x+ {3 q) q4 G6 k6 ~1 d) s9 \
  42. ---例如--- ! t2 }! Y0 p7 L/ ?5 w9 U
  43. [ dbexpress ] 4 g+ J, x) B7 S
  44. sqldir = mysql_sql
    ; ~. \6 G* `. \, ]  B* ~* G
  45. drivername = MySQL中
    9 l0 [; T; ~9 A) }( [  m$ h. C
  46. 数据库=测试) L3 T) x" o$ t! M5 w
  47. 主机=本地主机
    . H7 F* `. l. H4 I2 I  W4 g
  48. user_name = testuser
    4 Q& i2 \7 `/ _9 `5 i
  49. 密码= my_password
    $ g2 l9 y2 C# }+ K* b
  50. getdriverfunc = getsqldrivermysql
    3 U2 O; r/ @% m9 Y: P7 j9 G7 F! ?
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ; P( ~# V9 z! ~6 U2 ^
  52. libraryname =. / libsqlmy.so
    0 m8 _+ I9 b# f" \: O3 {
  53. 积极= 1 / c" c% T* Y- j
  54. ---例如---
    6 W# J6 r5 X, \; T) o! p

  55. 9 S. n# V8 |9 D) I! n! {3 N$ o3 m0 K2 E
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # K& P& U7 y4 ^4 z. c
  57. ---例如--- 3 H9 B8 ~) g) L/ s
  58. [ dbexpress ]
    4 H/ @4 z4 X: q0 p. p# i
  59. sqldir = mysql_sql
    . |! R# M8 G8 \6 `4 z" |
  60. drivername = MySQL中9 j, d/ Y9 W% F/ c( R- F
  61. 数据库=测试( c: ]8 h, o5 P. \$ R
  62. 主机= 127.0.0.1 $ m, s! H3 u, B, ]- s
  63. user_name = testuser # n! V+ D1 \4 p# F6 Y
  64. 密码= my_password $ h- a7 I5 ?1 N: b' F
  65. getdriverfunc = getsqldrivermysql
    : R4 m* A6 w% S( C  Z& G0 Y1 _$ h0 F
  66. vendorlib = libmysql.dll在
    3 O1 n" [. D$ c
  67. libraryname = dbexpmysql.dll
    ' j5 t1 q' h0 h0 T* E3 x/ T+ u6 R
  68. 积极= 1 & c0 l/ i5 Z3 n; ]* d& e
  69. ---例如----
    ; k# _! j  {0 g" }  z
  70. -写在0 2.03.04由p wk.linuxfan
    % v0 X4 w0 j8 @( 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
$ c+ I# i5 T2 h& H; c* F% Y
1 v! B8 X( [, `9 G0 Q0 pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-24 08:42 , Processed in 0.109987 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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