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

2376 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 a, H! U8 _: a
& ?: T% V" L5 j. h

  1. 6 D: E6 N! B; k! H$ x7 G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    2 E: Q! E, q0 W- A
  3. ( e6 ]% T) C& L3 j/ @  g
  4. ### What we need ###! Z9 U4 y! v5 U# ]3 E
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % W- F* a; L0 z* v& j' R
  6. will not explain how this can be done - there are documents out there for the
      m" @* j6 m+ U/ m
  7. interested. The requirements include a (empty) database for TeamSpeak to use) W9 d% R4 d$ N, v; z, D9 i' V
  8. and a user account (username + password) that has the permissions to do stuff
    . m( x+ L/ g6 ?- I- ?$ O
  9. with the database. Additionally, you will need a vendor library installed on the
    . k1 ]4 b8 ?$ l) ^$ `" b* D
  10. local machine, this came with my MySQL install.! M3 j. \, [: H( _- h; }
  11. These instructions will not tell you how you might transfer your data from the* t1 x9 L- j: a7 N4 g) o2 l
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 L. T% q; k% O/ c6 y! {3 _
  13. database.
    3 n# V9 t; f, x" m1 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) \& D, f5 }+ ]# V4 V. P. T1 }
  15. the time of writing, there are still too many issues - check the current status
      z0 |! L8 l5 O8 d% g# d1 }
  16. in the TeamSpeak forums if you are interested.$ @  F  x' k1 K; w/ P
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & [" o7 H1 a+ _0 I4 B0 Y, ~9 X
  18. Borland was used. This driver can only interface with the client library that
    : }( {; A" D  s! A' h9 T$ _- V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this. e3 G+ k  x. K6 O" w3 W9 h) J. r
  20. client library - basically all you have to do is to use a 3.x client library as / ~; c: f" \6 J
  21. "VendorLib" and a 4.x database to connect to.
    * S" j0 ^7 }$ M) y( H7 m
  22. If you need more info about dbExpress, you can contact Borland.
    9 q) B6 A6 S4 r- ?$ g/ F
  23. ; I8 j* @# y/ V" |- `6 }
  24. ### Doing the work ###
    . g2 H8 J6 d: n8 p/ R% {+ X: z6 _2 A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 h, a, l4 q+ Y# L7 K0 L9 w# x' w
  26. the perquisites right, just open your server.ini file, and add this section at( c3 i' l0 n% I1 ]5 m
  27. the end:
    + U/ T- {4 [2 t/ j" U5 @. a/ f
  28. ---cut here---4 M& p+ a4 J+ b$ _9 O
  29. [DBEXPRESS]
    / J7 i: Q6 Q( e) U
  30. sqldir=mysql_sql
    / @( Y  q. g! x+ R$ I6 d/ @
  31. Drivername=mysql
    : u% b  I: n2 w. K7 A, U" O! c
  32. Database=Your_Database_Name_Here* ~5 ?! p/ m$ y: i# F. |
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 z  z0 L- H/ E( r2 r
  34. User_name=User_name_on_the_MySQL-Server1 D  _& \$ w- l3 n2 F+ A
  35. Password=Password_to_go_with_above_user_name5 y' R3 P( x1 {8 l4 X6 X  m
  36. GetDriverFunc=getSQLDriverMYSQL
    # ]1 q  o5 s+ G1 h% ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ B& M' m+ o6 w
  38. LibraryName=path_to_libsqlmy_libary
    * Y4 ^# P; C! M) |# W8 W
  39. Active=1
    " l9 }' j; @5 L* ]+ ^* {
  40. ---cut here---2 ~" u/ j1 _2 }# Y' Z3 R7 b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    * l. O/ g5 f1 j" F2 s0 ?1 }' [' l
  42. ---example---5 p6 {2 s) O! S- h3 c8 S
  43. [DBEXPRESS]
    : X& x: ~& c) ^- z7 G
  44. sqldir=mysql_sql
    8 s2 F6 h' s( W) Z4 ^- ]
  45. Drivername=mysql
    8 c/ X7 a& |! N2 K2 N
  46. Database=test
    4 K7 f4 W7 G1 ?
  47. Hostname=localhost: D2 X& k5 {& Q" ~9 G9 N& U' @
  48. User_name=testuser
    ' E( y: d' R7 U3 X
  49. Password=my_password
    / G+ z- p9 e+ B* O2 ?" [# `
  50. GetDriverFunc=getSQLDriverMYSQL
    : o) B2 x, r+ U9 K( A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' C+ s4 r& k* d& l/ H
  52. LibraryName=./libsqlmy.so* X' e0 K4 p: f! Z
  53. Active=1
    2 h  f' J, N- H: b7 C3 m
  54. ---example---' r  D8 L! n& R) s! r* m2 G+ e
  55.   p( a; r0 F4 Y7 h5 P4 k/ O
  56. On a windows box, also running the MySQL server locally, it would be:; q' e. P# Z6 v' {: E, s$ H
  57. ---example---% m) V. I$ e0 [& o0 t8 k
  58. [DBEXPRESS], N" q9 E9 G1 q0 u# t
  59. sqldir=mysql_sql- ]- o: A$ y1 D, c/ Y
  60. Drivername=mysql' Y$ \- t" E$ |
  61. Database=test3 D6 g9 u, A( |9 I
  62. Hostname=127.0.0.15 C5 Z/ E1 Q2 S% o/ T2 o% a# n
  63. User_name=testuser
    , M$ }" w% F) S& w
  64. Password=my_password9 i- o: Z5 ?) B. v- i5 z
  65. GetDriverFunc=getSQLDriverMYSQL
    2 A$ R* D. R0 O& u) m
  66. VendorLib=libmysql.dll. Z3 }4 k, N* e( S
  67. LibraryName=dbexpmysql.dll
    2 T- o; ]1 g: r' S% k
  68. Active=1
    + i" v) ~3 q  A( H
  69. ---example----6 k9 k2 A. x& a; ^! |  C: f
  70. - written 02.03.04 by pwk.linuxfan% P  o) P: A) ]& R, Y

  71. 2 X, _+ Q* e) D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) G/ t. S( v/ ]- q1 A

  1. $ o2 U4 A, g* ^' o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " l9 ]( \8 {1 J* I

  3. : |! M2 i$ l5 Z! J
  4. # # #我们所需要# # #
    3 l' g- O7 g4 x* H9 Q( \% G1 ^4 Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 R. ~- J  d9 K! Z7 M' d
  6. 不会解释如何做到这一点-也有文件存在,为4 d) k  S' w: x4 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ z) S4 K2 @6 b! Y0 G3 Y' D% m
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西$ o8 ^! r% f( d( q; z) g
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ' |9 h6 I! V, ~4 \; a* g2 Z
  10. 本地机器,这是我的MySQL安装。
    - E! A9 L. P( D
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 p  q2 _* Y2 P+ ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' G6 f$ E) `+ _. r7 p, J9 {
  13. 数据库。 ! I8 x4 Q$ ]5 S6 t1 u; M/ L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在* o, ~: V3 V3 I- N
  15. 编写本报告的时候,仍然有太多的问题-检查现状% F  a# r5 ?# ?. ^& a+ s. m: {) R* \
  16. 在teamspeak论坛,如果你有兴趣。
    0 y# g* O) H: V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% [0 q' W. c% A& r9 |: k
  18. Borland公司使用。这个司机只能界面与客户端库1 {/ E; \: e! `; E; q9 Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: f: q: B( ]% ?$ L. B; C# A2 Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为  V: V- b6 Z2 w
  21. " vendorlib " ,并解数据库连接。 2 O4 ~- w) T5 v3 J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 i0 W5 [5 U. W; q1 f1 W

  23. + q0 y# F  T" X! j. G
  24. # # #做好工作# # #
      W8 ^  x* m: j( H6 `2 w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , F+ b; l  z& G' ~. G& @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 `1 u  Z/ s; r3 s
  27. 结束: , y" k3 E' K; ^1 m9 t  s, I
  28. ---削减这里---
    , r6 P& [6 n% b% a/ z0 h/ w
  29. [ dbexpress ] , e( K9 ]4 x4 t* y  J: @
  30. sqldir = mysql_sql
    7 a9 a; `+ g& O9 U/ [8 y
  31. drivername = MySQL中0 r' n  I$ m* i( m5 O
  32. 数据库= your_database_name_here & H, l' x$ o( o- c7 w( q9 j
  33. 主机= the_pc_the_mysql - server_is_on
    + b) ^9 |5 V4 ^* c. A
  34. user_name = user_name_on_the_mysql服务器
    ! [+ N3 c* |$ u$ U2 X; l
  35. 密码= password_to_go_with_above_user_name 8 R6 x. M4 a7 s* b" ~
  36. getdriverfunc = getsqldrivermysql
    $ h# U, p: W4 F/ Q6 h; z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 j9 V: V7 {* l: ~) Z& Y
  38. libraryname = path_to_libsqlmy_libary
    % [& P$ d6 p/ l) w# ~
  39. 积极= 1
    4 _  _+ e! D2 M
  40. ---削减这里---
    9 z8 u" r- W, |  J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . q5 J0 r2 j4 u3 f3 h
  42. ---例如---
    . R" x4 V$ w2 ^0 c: t1 A
  43. [ dbexpress ] + b. Z; J/ e  P
  44. sqldir = mysql_sql   }5 H' z3 N. T% U/ H
  45. drivername = MySQL中
    % G0 j3 M2 H& A/ \( e" r) s2 n
  46. 数据库=测试
    $ K- f' ^% r' I/ |  m0 S
  47. 主机=本地主机
    4 c2 l  \" T6 {9 {  _- P% j
  48. user_name = testuser 2 {0 O1 g; @2 G$ }
  49. 密码= my_password 9 D8 p/ w' x. {9 D+ j. q
  50. getdriverfunc = getsqldrivermysql ! R3 o% i( A2 ?2 {! o' P+ j7 x  ?3 B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 ]1 d% q- g) T1 }1 x
  52. libraryname =. / libsqlmy.so
    2 W6 p. U1 @7 B" h
  53. 积极= 1
    9 j7 F' }$ _9 |5 Q. a
  54. ---例如--- 1 a3 m* \( l  D, o/ h( R
  55. ( y- b- n: E2 q$ |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 @* S* p! V: d9 E
  57. ---例如---
    . k( E" ^- K: \( r8 D8 }3 P
  58. [ dbexpress ] 6 x  n8 K1 T5 m5 M( a
  59. sqldir = mysql_sql ; v: D4 o4 {! ]5 z1 O
  60. drivername = MySQL中
    ' R5 O" o8 E+ Q. I6 j+ `3 p
  61. 数据库=测试
    * W; t) S7 E* x- r$ r# M
  62. 主机= 127.0.0.1 " m, }9 {$ k' c) K
  63. user_name = testuser
    / a2 ^0 V1 f* h: V6 \4 f2 ~5 n
  64. 密码= my_password 8 C0 U  |0 l+ t/ ~9 r
  65. getdriverfunc = getsqldrivermysql
    ! [  E5 Y/ A: D( H: L. k  _
  66. vendorlib = libmysql.dll在
    4 c8 |6 s. h+ Z# K9 y
  67. libraryname = dbexpmysql.dll
    2 R% n% }. d# N5 M0 L3 U  P
  68. 积极= 1
    . p4 l) i7 Q. T5 j1 S$ z: p- Y
  69. ---例如---- * s: M- a# M' E6 }
  70. -写在0 2.03.04由p wk.linuxfan
    * A- W/ @+ m) f( Y' T( Y
复制代码
发表于 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
( G- Q0 Y7 N( @, c0 o+ M! |8 D" C" K
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-11 09:56 , Processed in 0.096778 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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