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

2626 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# L0 _2 ^& e/ J4 L# A4 l# `7 l3 U& C, ^' K& `( I" ]
  1. : H+ Q+ A! W4 ^: \
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* q& q" Q5 P8 J7 L' Y+ r7 P( K
  3. / i: c0 c1 k' j9 A
  4. ### What we need ###% @# P& o8 I9 z$ z7 p' C
  5. Naturally, we will need a MySQL server to store the data for us, this document $ O; B" X4 V4 Y6 p8 @6 \0 U
  6. will not explain how this can be done - there are documents out there for the 2 `% Y* k7 z4 l9 K& t6 j
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 ]- X3 n4 `3 z7 F: J7 M. J7 E% O
  8. and a user account (username + password) that has the permissions to do stuff+ v; {9 ^2 F. n1 I: F0 |& K
  9. with the database. Additionally, you will need a vendor library installed on the0 n& T2 [$ v; I* y$ }. y; t
  10. local machine, this came with my MySQL install.& ?4 A$ a( q% |2 ]6 o: v0 B
  11. These instructions will not tell you how you might transfer your data from the2 R8 P7 r  d. P. Z+ S9 \- v! u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& R" T+ ^4 u* Y  n; @; o
  13. database.  x* ~: U" r+ Z! N9 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at& Z+ p* U- d8 t
  15. the time of writing, there are still too many issues - check the current status
    2 `/ Y) p- C3 G  _% E; h( j
  16. in the TeamSpeak forums if you are interested.
    % T( |3 K, @" Y" V2 X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  S: ?! [6 Z6 v+ r) ]. }
  18. Borland was used. This driver can only interface with the client library that
    / F* _# X# A8 H5 t/ J. \( P
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # U! ~/ n, y2 t1 y8 U
  20. client library - basically all you have to do is to use a 3.x client library as
    # f" _; T4 G" F# |6 `
  21. "VendorLib" and a 4.x database to connect to.
    * N' Z2 F1 S+ \
  22. If you need more info about dbExpress, you can contact Borland.% D# H% v- `" N" n7 s1 d
  23. 8 d+ O9 f+ ]; @" u( F3 R
  24. ### Doing the work ###3 x' ~- S5 h6 D% T' n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # t7 }" x8 [' Z5 [4 T' h9 v4 {0 x' V0 }
  26. the perquisites right, just open your server.ini file, and add this section at3 t! p( r1 R9 U7 r
  27. the end:
    ; b+ f2 w4 T9 q3 u  s# s
  28. ---cut here---
    7 d, z0 x7 E7 u4 M
  29. [DBEXPRESS]
    ( V  g+ \. O) n3 j) {  F( r+ }9 K
  30. sqldir=mysql_sql
    , I8 W: e! f( C* q& [
  31. Drivername=mysql
    3 F# a+ l  j9 h" j1 v7 _
  32. Database=Your_Database_Name_Here( G9 F3 B( l% L3 Q
  33. Hostname=The_PC_the_MySQL-Server_is_on3 s$ V' U7 j3 e# a6 o) L
  34. User_name=User_name_on_the_MySQL-Server
    , }( X& F6 `5 d
  35. Password=Password_to_go_with_above_user_name$ ^% }2 c. Q- r- \- R% q
  36. GetDriverFunc=getSQLDriverMYSQL/ i8 S( f. n. ?5 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 H4 a, u3 m2 i! \3 @6 E
  38. LibraryName=path_to_libsqlmy_libary
    1 I3 }9 l4 O/ Q* D' K0 p
  39. Active=1% m" l+ J2 C7 z$ I
  40. ---cut here---
    ' V5 e: ~: d0 w) z. W- k
  41. In my environment (a linux box with a MySQL server running locally) I have:* u3 p4 u8 L  [9 ~0 `
  42. ---example---% `/ |' g! f, J9 `
  43. [DBEXPRESS]
    ; w$ J+ J5 d& W8 U; J7 L
  44. sqldir=mysql_sql
    3 T: `; q; [0 ?! N+ ^2 p& q$ \
  45. Drivername=mysql) T# ]8 H* J6 U8 z: q- W: b
  46. Database=test
    & D4 ~9 w+ `; b# u0 u0 x
  47. Hostname=localhost
    ! e) l: c/ P3 R" Q: ?  Z
  48. User_name=testuser$ E# A0 C6 |2 b& w
  49. Password=my_password
    ; l" W) R% N% c, H& L* v
  50. GetDriverFunc=getSQLDriverMYSQL
    % Z/ l7 n4 e5 F5 L0 K2 A
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% I: r6 W- {4 m) S: r8 N. o  }& F" W
  52. LibraryName=./libsqlmy.so
    2 s8 ~3 B" p/ v% }: a' U
  53. Active=1
    , q4 e" T6 g7 J$ o" y
  54. ---example---
    ' b2 I8 |3 x& J5 `2 G

  55. , l$ w# H0 J/ q
  56. On a windows box, also running the MySQL server locally, it would be:  B* {' v$ L" j0 `( u
  57. ---example---7 G: t( Y( r6 m& p% H/ Z6 [
  58. [DBEXPRESS]
    # V1 \" ?( }6 W' ?
  59. sqldir=mysql_sql& O7 H8 E5 u& ^+ i8 n' k' S
  60. Drivername=mysql) Y7 g* O# S9 j, r
  61. Database=test
    + q. m4 \5 E0 y( s) T7 ?# \
  62. Hostname=127.0.0.10 S3 F) |% F3 O/ B- C
  63. User_name=testuser
    + a4 O' r! a3 [. g# G1 p
  64. Password=my_password
    - F9 H. P- t# B& ~  t8 w4 g
  65. GetDriverFunc=getSQLDriverMYSQL
    9 ]" ?( ]$ A% u. b! h. t
  66. VendorLib=libmysql.dll6 B9 y: y& @# z4 Z( N
  67. LibraryName=dbexpmysql.dll
    # u4 c3 t# k  D  C
  68. Active=1* o" V: s6 }9 p( e$ N
  69. ---example----1 K- V& A2 T& o5 s2 J; F6 K; w5 P
  70. - written 02.03.04 by pwk.linuxfan, N% N1 N; n3 Q  {" t

  71. 8 l& {+ q$ k' U4 v6 ?7 _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: v2 Q; [4 F& x" e- v9 O1 W
  1. . w3 C* S: t7 p! c" t3 {$ K& H& ]! I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 x% q8 ^$ g* p# |

  3. ' m& _2 T, b; R' _( X+ q/ {
  4. # # #我们所需要# # # / R9 _: C) P3 F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ! `2 p: w# q8 b% H) E; W* n- b
  6. 不会解释如何做到这一点-也有文件存在,为! U; v2 i0 b- }3 |+ B( @4 i
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 ^" ]" ?8 R& I3 _; C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& j5 \. d* D" O4 V: [$ Y& e& o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! H9 [& U" Q0 F( c. k
  10. 本地机器,这是我的MySQL安装。 7 @) J  ~" S- [4 a9 P2 c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 w8 J2 L" V  {- s5 R" Q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 q( c6 ~2 P) l
  13. 数据库。
    : g4 K! q, \* U# `
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" c6 A; H; z4 O7 F+ e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 ~0 u3 w1 E9 R+ c( J/ {8 P8 p
  16. 在teamspeak论坛,如果你有兴趣。
    5 k" o+ n# Z- J# T( i  e7 y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 H3 Y: ^1 `: d2 U) d% @# D3 I+ C
  18. Borland公司使用。这个司机只能界面与客户端库
    ( x! }; z' U7 l2 ^, H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 T' E2 z5 N; G* H! ]3 u7 ^' K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    # ^7 H6 \& u$ E0 d/ q! \- W
  21. " vendorlib " ,并解数据库连接。 4 ]3 k$ H4 o" d) J  K
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 J4 h* B2 B2 l3 T! V7 `2 ^' Y
  23. 7 `  W0 U$ G. M5 n3 V6 z/ K5 c+ M  E
  24. # # #做好工作# # #
    4 J7 S. n& d& M( A" n% A" f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) V- q1 t' A( A9 \9 f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 h" i% {* X. y2 d
  27. 结束:
    5 J9 ~$ [3 M% }$ R+ z) g2 t
  28. ---削减这里--- 3 Q$ f1 y$ y# j! }0 o( a* [5 F
  29. [ dbexpress ]
    3 v* Z0 C/ B% }2 D# u
  30. sqldir = mysql_sql
    2 i* a+ F* F: Y
  31. drivername = MySQL中
    : J- L# L6 f0 D( m5 y
  32. 数据库= your_database_name_here 7 m# q" H5 W, t9 D# y1 y! E$ k
  33. 主机= the_pc_the_mysql - server_is_on & C2 g# z7 Q: M% |# {
  34. user_name = user_name_on_the_mysql服务器
    7 @5 Q" o0 `1 w, \. L; c& Y
  35. 密码= password_to_go_with_above_user_name
    " D: }0 Y$ c" _: Y5 S
  36. getdriverfunc = getsqldrivermysql
    % B' F8 I+ R& D6 W, L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      d, e( D$ I; V0 c) N6 {
  38. libraryname = path_to_libsqlmy_libary ( @  A3 H0 d$ V. I
  39. 积极= 1
    7 O0 \4 ?0 ]$ H" m& u) P1 e7 A" x
  40. ---削减这里--- ; j6 S' g! z, n+ M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    8 c, D) M# n( m  q8 O4 H
  42. ---例如---
    # F8 e# F5 m6 e; J+ X( F% G; W
  43. [ dbexpress ]
    * q7 M7 [* V7 S# m
  44. sqldir = mysql_sql
      }5 w6 j' U3 ^, E2 h5 J" l2 G6 Y
  45. drivername = MySQL中
    8 N) x" h7 C) O8 w. W4 m; l/ Z
  46. 数据库=测试& c+ C. [4 C7 A' P7 i4 c5 G
  47. 主机=本地主机0 ~9 |0 f6 a5 |  }. }0 v" e6 Q! ~2 }# H
  48. user_name = testuser - `8 v& n3 n1 {4 c9 O: ^1 E# }
  49. 密码= my_password
    : u; _" E& r# g; B1 t
  50. getdriverfunc = getsqldrivermysql ; i, a  Z9 v7 N! a* `' y# F
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + {3 a, \  }  ], t! Q
  52. libraryname =. / libsqlmy.so
    ( P2 D% C5 H, v9 O2 Y+ O' k- a
  53. 积极= 1
    * a* k- q: |7 w7 a/ A# q
  54. ---例如--- . E: J  g* W# B' \0 f
  55. * M5 Q" Y" N9 l$ c! T6 z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + n4 d3 I. u  o$ Y
  57. ---例如---
    - v' p% t+ U5 j7 P7 f( ?2 m
  58. [ dbexpress ]   A2 b' v! L& J5 H  d$ s/ E
  59. sqldir = mysql_sql * S( V! j* X4 B  d1 B
  60. drivername = MySQL中% y+ T8 [) V6 i7 r! \, H+ K& e
  61. 数据库=测试0 k. B8 M* ^: J) M( s
  62. 主机= 127.0.0.1 ) N/ n& E4 y1 r; I% M" o- G! w) X
  63. user_name = testuser 3 @/ B9 t+ f; K/ i: K
  64. 密码= my_password $ R0 W  J7 f: P4 G
  65. getdriverfunc = getsqldrivermysql
    8 X0 D, c9 O/ C- L1 L9 p1 ~5 Y. a
  66. vendorlib = libmysql.dll在/ r: I$ b# ^8 q! [
  67. libraryname = dbexpmysql.dll & {% o( X( N0 t, h% Y
  68. 积极= 1
    1 ~4 U" \( Y! s/ a! r4 M+ d9 x7 v
  69. ---例如---- 3 L; I+ Z3 t! c8 M
  70. -写在0 2.03.04由p wk.linuxfan
    : B" ?: L/ F' R5 V6 Y6 i$ }/ N  |
复制代码
发表于 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
& e( i: J% R2 w( ]6 g/ n4 }$ g, P* L/ g0 t
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-16 00:07 , Processed in 0.106341 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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