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

2979 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
/ n1 N3 j( [* m" @& C% E7 g  l( G4 E" W( B# o% k5 K

  1. 1 y: @& F! @  U
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 L  {2 X' f0 i( Z
  3. 0 y: }, M) O/ S! x0 l; F
  4. ### What we need ###
    3 b' K6 F" u8 ?& T3 \
  5. Naturally, we will need a MySQL server to store the data for us, this document - w3 A2 @7 {3 I2 P- p+ s3 P8 |
  6. will not explain how this can be done - there are documents out there for the ; f& \) ]3 d+ l- o# o/ k. d
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 t6 B( N. C6 e1 |5 ]
  8. and a user account (username + password) that has the permissions to do stuff
    & J2 U( j$ Y/ Y$ y
  9. with the database. Additionally, you will need a vendor library installed on the
    ) e0 U- R6 `" n; v$ V% m6 O
  10. local machine, this came with my MySQL install.; C/ u0 Z1 g4 P8 c
  11. These instructions will not tell you how you might transfer your data from the
    0 W: N: d% c2 m; k, O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 B: x( E( f( B  R
  13. database.
    . K3 N; a* @4 X% q
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ S" t" d: {; K
  15. the time of writing, there are still too many issues - check the current status
    ) L0 I, T1 I0 M, H: _# n7 G" C
  16. in the TeamSpeak forums if you are interested.
    ! x! d; Y) h1 H6 _( x3 l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    , L1 B# ]! s. q! S) h
  18. Borland was used. This driver can only interface with the client library that ; |0 s* o1 I( H' q" `. J- d! b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
      y! D% W7 l3 R  r8 S
  20. client library - basically all you have to do is to use a 3.x client library as
    " C  y1 z& P% p& G( W
  21. "VendorLib" and a 4.x database to connect to.6 I' Z6 M  Q0 N1 @! P
  22. If you need more info about dbExpress, you can contact Borland.. w8 U; H; \' ?
  23. 9 g1 U: e+ B2 {3 @* J% d: i
  24. ### Doing the work ###
    . ]1 P$ u; o) p/ a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 F3 y) H. V5 \; l" E5 z5 S& W
  26. the perquisites right, just open your server.ini file, and add this section at; C* s0 ~" A0 H- s) n: U
  27. the end:2 J# G- p" _: N# R
  28. ---cut here---
    " t+ H  C& u. }4 |/ p# h% A) p
  29. [DBEXPRESS]
    . R+ {. S* G6 U! w% e6 d, A( v% n
  30. sqldir=mysql_sql+ d* F7 `7 z% }; F: X9 v0 r4 J: {
  31. Drivername=mysql
    : b9 C" E* C3 o4 V/ N/ H8 y
  32. Database=Your_Database_Name_Here/ N+ g9 I; D! \( n" g( W3 V$ h
  33. Hostname=The_PC_the_MySQL-Server_is_on& a0 I1 u2 c; y1 o( k$ w
  34. User_name=User_name_on_the_MySQL-Server
      g- z6 M1 y9 S0 X9 Q
  35. Password=Password_to_go_with_above_user_name' N, J# s7 d) ^3 e) @/ e" d" A
  36. GetDriverFunc=getSQLDriverMYSQL$ w" U- ]8 w% Q* u, i
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 e2 X$ g2 g! t8 f2 R0 I
  38. LibraryName=path_to_libsqlmy_libary" ?$ J" X# O) d2 n: g# ^: h
  39. Active=15 d* I2 w5 C3 D- Y" U7 X6 n; `
  40. ---cut here---9 B/ M4 i- n7 x
  41. In my environment (a linux box with a MySQL server running locally) I have:& b) X! ?) b5 U% ~7 s9 G* Y
  42. ---example---8 A& H3 G. j" K* Y
  43. [DBEXPRESS]# J- {' B. m3 {1 Z7 b. I
  44. sqldir=mysql_sql* V0 w9 X; m+ i) e) k" F
  45. Drivername=mysql
    9 u- V- A% t6 N' Q  W
  46. Database=test) |6 d. e: K. @2 K, @
  47. Hostname=localhost
    5 b, V$ y, V8 C' h3 A4 G
  48. User_name=testuser
    , ]. n. \( f: n8 I; Z$ Z7 \8 t0 ~: d
  49. Password=my_password6 }# C* `' d' U7 f( O
  50. GetDriverFunc=getSQLDriverMYSQL4 Y: `' J3 `7 \7 d7 H' B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' X; x9 Q7 _& V8 [; v7 k* o9 V
  52. LibraryName=./libsqlmy.so* ?) W- y& j6 k5 J& c: }
  53. Active=1* v$ `- C# m4 f) P0 X
  54. ---example---9 F4 M' X5 J3 T$ t. w

  55. & o0 {% K6 `$ E$ S
  56. On a windows box, also running the MySQL server locally, it would be:& V! ~; X! F( {+ n! K2 `9 Y1 A7 ^3 D
  57. ---example---
    8 ]( i0 y/ P2 L) @
  58. [DBEXPRESS]* q3 _2 t0 z( T* o' g- M6 x
  59. sqldir=mysql_sql, |5 P" Y: G/ A
  60. Drivername=mysql' |% N/ G* i9 [' A/ f* F
  61. Database=test
    ( m; u1 o: i1 i' M3 V4 m
  62. Hostname=127.0.0.1+ z% ~6 V: ]/ A8 z. Y1 \; A$ J
  63. User_name=testuser
    6 q) k2 D- W+ K/ R! Q  |" k3 Q
  64. Password=my_password
    7 `! w( H9 S( H' s: r
  65. GetDriverFunc=getSQLDriverMYSQL, u/ |, B$ @8 |( `( z
  66. VendorLib=libmysql.dll
    4 c6 M5 a! [3 y; p$ y7 A
  67. LibraryName=dbexpmysql.dll
    . |( D0 Z, G" _( C
  68. Active=1
    # ~' {8 E1 j: T. h: s; C3 D
  69. ---example----! ]3 P( x! z$ m$ q' v7 Y$ ~
  70. - written 02.03.04 by pwk.linuxfan
    $ k$ h- W" g! [& t

  71. & Z7 d, C3 e9 p7 n$ f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
! w8 }. q' M5 S% K- m3 [) ^

  1. ! p. S" w8 P) [. C- y  `/ _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # G! U4 S1 x% n# h6 Y  y. K  F, Z
  3. 5 n2 h) Y- M5 \5 {1 v
  4. # # #我们所需要# # #
    + J6 p" D, V- c: q0 N( G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' Y5 I$ Y& B) `# ~: v1 l: ]/ t
  6. 不会解释如何做到这一点-也有文件存在,为
    ! C$ m9 v8 `* K; E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    8 @. q% _& k4 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ' ]* f6 [0 x4 y" r5 r$ P0 I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 ^! L' I" O, z% r2 U. O
  10. 本地机器,这是我的MySQL安装。 5 T, H" B/ w9 K6 T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    1 \  o1 O& ^% ^. u) S" R
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) j6 B6 _2 Q: }
  13. 数据库。 " ^& p2 }' f* V5 ?6 _, V! R7 B7 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" |+ F" K6 N( y' u3 P5 m: l, {
  15. 编写本报告的时候,仍然有太多的问题-检查现状  @2 r8 ~& P7 ~. P. c% b
  16. 在teamspeak论坛,如果你有兴趣。 1 B3 i8 H9 G7 G- I' G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    # ]: P& Q: S' F9 L5 B5 V' O4 A
  18. Borland公司使用。这个司机只能界面与客户端库
    0 |8 I8 e5 Q1 c" t3 V3 A
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# a2 C; F, }( l8 [; d1 w& @; v' @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      ^# b9 q) ~# e* G$ T, F5 @
  21. " vendorlib " ,并解数据库连接。
    ( s0 ~- e  a( Y% r' I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
      F; `/ N- }( {

  23. : J* y$ W7 J# v  l. s! Q
  24. # # #做好工作# # # / ?8 n) `% k( [9 u  E) L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ o- H% H% D6 H! W6 \. O# T: f7 e3 r# q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ P8 I# ~7 Q3 J; ]
  27. 结束: ( j& L8 g7 \, Z7 p7 `8 |' A
  28. ---削减这里---
    4 o& c, N+ w4 A# u- g& m9 A. o
  29. [ dbexpress ]
    . P6 C% J9 h' C$ f
  30. sqldir = mysql_sql / o0 {3 j5 B5 ]- X5 I  x
  31. drivername = MySQL中2 `$ `8 T1 U- z% d4 c  p9 z- j
  32. 数据库= your_database_name_here , D- a2 j1 d/ j' v
  33. 主机= the_pc_the_mysql - server_is_on
    ; `& m# o& k% U# W7 W; r' h
  34. user_name = user_name_on_the_mysql服务器* d+ J) L- ~+ \+ q! A
  35. 密码= password_to_go_with_above_user_name
    , U$ ?) x- {1 C. E% x; l
  36. getdriverfunc = getsqldrivermysql
    ' i( O" V) p+ H7 i: D
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / y% P" ^7 ]/ E/ L: t
  38. libraryname = path_to_libsqlmy_libary
    + S0 y7 |6 a0 s1 F
  39. 积极= 1 - _8 }# n9 v) d* l% u% I
  40. ---削减这里---
    $ s* k+ i  {, e& o. j0 r9 A0 U2 M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " W7 S8 J' [4 z1 }6 X- ~
  42. ---例如---
    / g, j6 @7 X; q; g6 X) K7 q* n
  43. [ dbexpress ]
    * C& Y, c9 e5 [+ y$ S
  44. sqldir = mysql_sql 6 Z+ X& U: l3 b: @
  45. drivername = MySQL中8 z: d% K9 K+ b. g8 ^
  46. 数据库=测试- h( w9 X; Y6 y/ L
  47. 主机=本地主机
    : i) y  y! _: J2 K' f. C
  48. user_name = testuser 6 e' M8 Q: [& n' h6 V9 k# P
  49. 密码= my_password ! C# F' M6 @6 u3 V
  50. getdriverfunc = getsqldrivermysql 6 U# z( P7 q/ h: k5 ?: [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # s# g5 F+ b' d/ x$ q$ `3 }+ I' l
  52. libraryname =. / libsqlmy.so 5 X( |& S2 y+ h2 i5 v2 B9 g
  53. 积极= 1
    0 P' l; F. |+ D' N
  54. ---例如---
    * v5 ]7 |# O& M1 c; ~* F
  55. 9 P3 W" w& c; s' G6 S/ I
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # w/ ?$ K( c5 w5 ~+ p: s
  57. ---例如--- - }! ?( D+ w2 X, o' C( M7 K
  58. [ dbexpress ]
    0 N% |) i7 l3 g* _0 M3 ^' t
  59. sqldir = mysql_sql 3 d9 B3 z: P, |& r  u) {( {
  60. drivername = MySQL中1 T) Q, ~& R5 ?7 {
  61. 数据库=测试9 j  x6 s1 X, g) Q% D1 Y/ z
  62. 主机= 127.0.0.1
    ' \. J8 C' s4 n, A
  63. user_name = testuser
    " |, K7 ?  ?$ B5 O6 G+ S) R
  64. 密码= my_password ) Y# R5 Q2 U- z, x, z/ j4 S3 K) Z
  65. getdriverfunc = getsqldrivermysql
    7 }0 I% {0 g7 Z1 I
  66. vendorlib = libmysql.dll在  a3 ?/ N! }4 d( U- T; ]1 R$ l
  67. libraryname = dbexpmysql.dll
    2 Y2 `: g( q3 p& K+ p/ w
  68. 积极= 1
    . s6 J! w/ T2 K) t
  69. ---例如----
    " A7 S# x2 b0 q3 N5 w
  70. -写在0 2.03.04由p wk.linuxfan7 b, u, W3 Z6 w" c7 K, _1 d
复制代码
发表于 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 A3 e8 M. ?$ G4 m" w1 k  z
: J* \% t7 f& Fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

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

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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