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

2238 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
) ]" T1 _9 y( _8 a* }2 G1 `4 ~8 A$ z# G& S
  1. 1 r1 y# @' Y, y/ I: u  _) S
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 W9 f! Y9 J+ L) `
  3. ; [3 d1 Q5 ^5 x
  4. ### What we need ###
    & j& i( _0 Y+ u3 F& ^
  5. Naturally, we will need a MySQL server to store the data for us, this document + ~/ u1 ^& `2 }3 E& I
  6. will not explain how this can be done - there are documents out there for the . L8 {9 D9 c" }1 F) u5 ]- y
  7. interested. The requirements include a (empty) database for TeamSpeak to use; Q5 \' U8 Z7 y3 j/ }5 d
  8. and a user account (username + password) that has the permissions to do stuff) {1 B0 N- m' T5 J; l7 n
  9. with the database. Additionally, you will need a vendor library installed on the
    6 h/ v5 N8 X+ S2 @8 q% Q
  10. local machine, this came with my MySQL install.5 A# a" @9 A) L: n
  11. These instructions will not tell you how you might transfer your data from the/ G0 ]' [& C4 g  K3 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! o0 x+ M1 g4 s  w, o% L1 e
  13. database.
    : s, n  V3 l) i4 ^: }3 |/ M  K
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / z" q1 U4 Y0 @( A
  15. the time of writing, there are still too many issues - check the current status. v+ u/ B% s* f/ O. k1 {/ D/ }
  16. in the TeamSpeak forums if you are interested.
    2 g" _! d' D, c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 Q2 U  U. n" \) N* @( e( A
  18. Borland was used. This driver can only interface with the client library that $ |, N, Y+ [" _, j
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 }/ ?# Y+ _2 I' {) c* M
  20. client library - basically all you have to do is to use a 3.x client library as
    / A' C2 p1 i6 @
  21. "VendorLib" and a 4.x database to connect to.  q2 T* z0 U0 p3 y  s
  22. If you need more info about dbExpress, you can contact Borland.
    ; t, s/ ~* v5 ?* T* u4 [
  23. " X0 K3 o1 r" h2 |
  24. ### Doing the work ###
    / [! M% f2 F) h3 V7 H1 T; y  H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 S, q$ Q. p/ o4 o4 M
  26. the perquisites right, just open your server.ini file, and add this section at! o) g  [9 s$ l6 _) S
  27. the end:
    5 W3 O  Z, S1 L! B" Q; @) w
  28. ---cut here---
    & p/ J8 v! j0 H
  29. [DBEXPRESS]
    , I$ @3 U! T1 I
  30. sqldir=mysql_sql+ \) W/ _: [9 G/ j4 |- h
  31. Drivername=mysql( d  Y3 \" L" r& P  \4 M! C& c4 K, t/ S
  32. Database=Your_Database_Name_Here
    " `, ?3 ]4 ?4 C& y, j, n7 s7 j
  33. Hostname=The_PC_the_MySQL-Server_is_on: T6 S0 N+ j% `8 J* r
  34. User_name=User_name_on_the_MySQL-Server$ [/ l( ~: ?. I( f- m8 h- o
  35. Password=Password_to_go_with_above_user_name0 C& j3 T: O, ^  B. c, k: F8 n
  36. GetDriverFunc=getSQLDriverMYSQL
    3 t8 Y; Q- ?1 n4 C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % k* W1 v! p9 t+ n% O* _
  38. LibraryName=path_to_libsqlmy_libary* w2 g& u8 O# }
  39. Active=1
      C& B/ [& s! d( [2 E
  40. ---cut here---
    # \% H* C- W4 B/ a& V: S5 r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + V7 E% T' T8 H1 @/ j) d$ s" A
  42. ---example---
    ! K( i- }) s* a( c
  43. [DBEXPRESS]9 b; J. u9 N: J
  44. sqldir=mysql_sql
    0 q; r4 N$ \+ R: j2 y
  45. Drivername=mysql" P: ]6 f; u6 O- H  Z  y4 L
  46. Database=test0 u, S* ~% y& O% z7 C4 H$ |
  47. Hostname=localhost
    3 W4 E- f0 X% y
  48. User_name=testuser
    ! _: N4 {7 h( R. R: p) e
  49. Password=my_password/ i7 ^: G, t4 \( @( [
  50. GetDriverFunc=getSQLDriverMYSQL7 I+ s: Q* r8 r7 H  w) u2 [$ V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ B1 ], h: G; ]7 l1 w$ f- c
  52. LibraryName=./libsqlmy.so
    - h9 I. s7 K5 J1 R# w6 ?) S" {
  53. Active=14 r6 N' \0 N3 k$ R% D% ?5 f
  54. ---example---0 `& r' U* V. d( J$ j
  55. 2 G% K5 U, |; ?$ H! `7 p) y5 a
  56. On a windows box, also running the MySQL server locally, it would be:
    + I3 P: H/ V8 h5 q7 x
  57. ---example---4 X$ }# D0 _- @2 B) k  n
  58. [DBEXPRESS]
    $ y! U; L2 R4 e, B
  59. sqldir=mysql_sql0 l. R0 e& }# g
  60. Drivername=mysql
      a+ _; H% M- }
  61. Database=test3 G% Z" ?0 q+ k) g
  62. Hostname=127.0.0.1
    9 J, u8 R* k1 u/ z
  63. User_name=testuser6 t! V* ?5 L+ I
  64. Password=my_password! G( Z  Z7 A. Z; u+ f1 y  L
  65. GetDriverFunc=getSQLDriverMYSQL
    ; U( x8 E# A/ j# b* y. c
  66. VendorLib=libmysql.dll6 a5 P9 v2 s0 P$ P
  67. LibraryName=dbexpmysql.dll
    % }/ J3 O. x7 S; c( `; W
  68. Active=1
    % s0 V; H+ Q! n7 V  I1 Z- v: v
  69. ---example----, z. ^) \8 S. {
  70. - written 02.03.04 by pwk.linuxfan
    / _  q7 {" Z* P' I
  71. 5 R0 v; C% k: K& M: S5 j9 i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( q2 g" @9 A% z( F3 R+ ?4 a; m
  1. . v' f2 c8 I4 m! d- n0 S  t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + A  i8 M* w; R3 M, E  Y
  3. 6 _$ {) t6 w2 S; h
  4. # # #我们所需要# # #
    . o9 p; V' H( _0 x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件- ]. v7 i8 d. ^1 v( Z
  6. 不会解释如何做到这一点-也有文件存在,为
    8 e" t4 R' r6 L( H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( P6 M7 r( M0 Q* ?& [7 D, P; Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 y0 y1 a4 f$ G) i
  9. 随着数据库。此外,你需要一个卖方图书馆安装于* a6 d4 H7 X* O) O( l4 d* X: z
  10. 本地机器,这是我的MySQL安装。 ' J0 c3 B( v, S; [! T. T
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 V9 F+ S# i. }1 U' Q5 ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   ?- N2 q4 M; M) p) M1 s
  13. 数据库。
    & Z8 ]. ^5 L6 w: C  A$ a; X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在7 c* P. w* I) H; j( d. t7 ]  C
  15. 编写本报告的时候,仍然有太多的问题-检查现状& J6 B% e! R! I2 `; C
  16. 在teamspeak论坛,如果你有兴趣。 8 r* m. m8 B# T/ Y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    2 h7 T! y/ ?. b
  18. Borland公司使用。这个司机只能界面与客户端库) G& O1 i) q( I- o4 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这5 y* v8 W4 K+ f! Y/ f$ q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 g# P1 a$ j1 P* w' X
  21. " vendorlib " ,并解数据库连接。
    " X" x* g. O3 V. [3 Z
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 Q7 y$ X3 ]; e2 `7 I1 H. \

  23. ( N0 m8 q6 }  S( t& P: }
  24. # # #做好工作# # # + T% Z# G6 H8 K- r6 |% B( O- a3 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# |4 \  `  Q9 W) c1 f* s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 L( x7 t7 P2 l+ G
  27. 结束: ( `1 Y- b; r) v. u
  28. ---削减这里--- 5 Q& z( ^- F' H; R1 r# h( b* I! F
  29. [ dbexpress ]
    . y9 w1 u) F. {& ]% t, k2 ^. \' w
  30. sqldir = mysql_sql 6 m$ ^; J- B  A3 ~' ^, G
  31. drivername = MySQL中
    + {" X7 l3 E& Y
  32. 数据库= your_database_name_here 0 l# @$ Y. @3 M4 |  x6 E' c9 {
  33. 主机= the_pc_the_mysql - server_is_on
    ' x/ O5 E, Y) A  K; c2 N) K
  34. user_name = user_name_on_the_mysql服务器& o4 N, b' A, |1 Y
  35. 密码= password_to_go_with_above_user_name " e  t: _* \& u9 {6 C
  36. getdriverfunc = getsqldrivermysql & l- A3 @9 ~0 ]) v+ [* t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! c/ @% B4 k/ J% H4 V
  38. libraryname = path_to_libsqlmy_libary ( {& a+ w6 s0 ]
  39. 积极= 1
    3 ~& Y1 Z4 v1 {4 A5 l% c
  40. ---削减这里---
    ! P6 p# A2 }/ ]7 w' O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & M2 i6 n' @4 H7 {
  42. ---例如--- ) W. `& |. ?8 p8 o
  43. [ dbexpress ]
    4 Y. k1 f: L, O8 V& G
  44. sqldir = mysql_sql 5 J( @' j2 W0 P7 U; ]2 |
  45. drivername = MySQL中
    ( {0 ?8 Y' S0 }" _
  46. 数据库=测试
    / o8 p5 a) X0 P
  47. 主机=本地主机
    4 }  |, M- n' _1 x  }7 C
  48. user_name = testuser
    ) K4 l4 e) i; r1 M9 J
  49. 密码= my_password 6 @/ R: k# A8 G
  50. getdriverfunc = getsqldrivermysql
    6 }+ }- ]4 y7 a) P# b; n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , Y5 h; ]' n& h6 C: i
  52. libraryname =. / libsqlmy.so
    ( C  R' O# M2 y" t
  53. 积极= 1 ' ^5 V5 A$ V/ H% |# V0 H3 o3 @
  54. ---例如--- 2 R" j  H  @) ^& x8 g  {* N# W& l0 b

  55. - _  T4 \3 c5 l+ m3 f
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 6 ?! h1 D# u# ]" b
  57. ---例如--- , C7 F) _# F  o: W) d
  58. [ dbexpress ] + D9 i& F1 M2 j
  59. sqldir = mysql_sql / f3 y  S9 u# |0 F/ a; O% e# K
  60. drivername = MySQL中. a! m$ l* I) g7 S
  61. 数据库=测试
    8 q# U7 p2 ?+ \3 u" Y! e# w$ F5 Z, b
  62. 主机= 127.0.0.1 * R& ]  V1 q6 P0 r2 }
  63. user_name = testuser # U8 e) R5 W+ f3 F- h
  64. 密码= my_password
    2 W, R; u! s9 w) E4 L
  65. getdriverfunc = getsqldrivermysql : ^* U+ G# ^. ~- P
  66. vendorlib = libmysql.dll在
    9 T; F. T- e/ }& U  W( R0 D
  67. libraryname = dbexpmysql.dll
    8 m# V1 U! ?: f0 M( n+ Z- B: p: ]
  68. 积极= 1 : r8 Q% w+ h) K
  69. ---例如----
    2 P( J3 D# i5 {6 |
  70. -写在0 2.03.04由p wk.linuxfan! J0 d: j- [3 V0 g
复制代码
发表于 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+ y/ _. Q; y4 w2 E0 `

  d9 k( j/ A% obut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-27 21:45 , Processed in 0.111143 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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