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

2796 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 w: {6 B4 G: O0 K0 ~# V

, i1 @% v5 J' n2 ~* ^2 c
  1. & z% m& q4 F! ^# t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 I) n1 D, q. K9 T
  3. ; ?( L8 s6 t1 ?' M6 f
  4. ### What we need ###8 ?) e3 g* c( S
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 C, B0 m0 G" J& E
  6. will not explain how this can be done - there are documents out there for the
    " o: U7 H9 Q) o! g9 z6 R
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ h6 g/ N! e2 h7 V. J5 Q
  8. and a user account (username + password) that has the permissions to do stuff& j- B4 {) Q$ F  p) r" a
  9. with the database. Additionally, you will need a vendor library installed on the  z7 U$ B+ }; x+ {; m4 v. H5 w4 K
  10. local machine, this came with my MySQL install.
    3 ]8 i! g! A# p5 M$ d9 Q# ~! [+ |( d
  11. These instructions will not tell you how you might transfer your data from the
    ( u' z# k) ~" t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' L6 w, n0 @3 ~4 q$ I
  13. database.
    - @, S/ c" N$ O& c5 p# [/ T
  14. Some users have reported ways to import a SQLite database into MySQL, but at2 x  U- W0 V6 v. ~% C% l( e/ g
  15. the time of writing, there are still too many issues - check the current status% k3 |0 r9 W/ i4 `, g
  16. in the TeamSpeak forums if you are interested.0 {8 _9 B& F( e7 f( @) X
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    & H; u. U* R& _
  18. Borland was used. This driver can only interface with the client library that
    ' ~8 z7 M  ~. y4 b* h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 Q/ \# {. c- W  l5 U2 d. I) Y5 Y
  20. client library - basically all you have to do is to use a 3.x client library as
    2 [4 R5 Q: u' |/ _( [
  21. "VendorLib" and a 4.x database to connect to.
    " X( H5 g6 E* Q; S7 i
  22. If you need more info about dbExpress, you can contact Borland.9 ?1 g3 d- [0 F, B( v2 ~6 J8 w( P

  23. * F5 b5 J: ~) _( t- v
  24. ### Doing the work ###
    # _' r2 M, }7 z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all" M; R  m  \* x& \& z$ D) q3 e4 o
  26. the perquisites right, just open your server.ini file, and add this section at9 ?( r# `7 i1 ]- O" o- u
  27. the end:( G  k- ^; t: F  \
  28. ---cut here---! v8 L) ~% k3 P: q) r+ e  }' X0 ]
  29. [DBEXPRESS]
    7 d, U, ?9 S/ }& E9 e3 Z9 q
  30. sqldir=mysql_sql$ z% j7 [( {9 f+ e3 o' C" l, o; k
  31. Drivername=mysql
    ! t: \; K0 \" m
  32. Database=Your_Database_Name_Here$ Z: [% }: @9 o
  33. Hostname=The_PC_the_MySQL-Server_is_on( a+ M2 x  m' w8 ?( h
  34. User_name=User_name_on_the_MySQL-Server" g$ c; O1 e) w
  35. Password=Password_to_go_with_above_user_name
    . k$ }, C3 M; A3 j9 r. G$ C8 `
  36. GetDriverFunc=getSQLDriverMYSQL
    $ R4 {) K. m2 y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 b  ?7 [6 `$ z* w
  38. LibraryName=path_to_libsqlmy_libary% T8 p6 f1 ?3 A' c
  39. Active=12 d8 ~# l* P* n9 J
  40. ---cut here---
      b: q0 I( |' C" D1 e! h
  41. In my environment (a linux box with a MySQL server running locally) I have:3 u! Y# x: t$ w
  42. ---example---
    0 N3 ]  b" O. I, j' x5 ?
  43. [DBEXPRESS]- _  U& z5 j4 C, ^3 K
  44. sqldir=mysql_sql, b) s# j9 F+ h1 Z/ |
  45. Drivername=mysql7 d) m6 [& E7 S$ p9 B! _, N
  46. Database=test
    ; _% }* S' b' ?# z8 g- @, |0 _
  47. Hostname=localhost8 u9 w& [5 _8 P9 {4 Y; k$ R% y
  48. User_name=testuser
    5 l- Y" I6 L" N9 _7 k. P9 h4 T
  49. Password=my_password
    # ~$ {/ ^% `4 R2 B
  50. GetDriverFunc=getSQLDriverMYSQL' J2 ?# \" p( x% D+ ?: j$ c9 \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0" P/ h, z, N( ?% z
  52. LibraryName=./libsqlmy.so
    9 ]7 a  u4 L9 ], a5 v
  53. Active=1
    ! T3 O) R" Z& B( h/ q9 U
  54. ---example---6 g" e* U7 w5 V5 k. ^9 U" D
  55. 4 }; D! t) K1 ]; m$ y
  56. On a windows box, also running the MySQL server locally, it would be:! q0 f' h2 t. [8 M; Z% M; U/ n' e' s% M
  57. ---example---  t" j* t1 w- L: k
  58. [DBEXPRESS]
    - W9 e: K0 B8 w  U, r6 k
  59. sqldir=mysql_sql
    ) L; h# D4 H2 m# Y8 _0 `
  60. Drivername=mysql. U1 v3 q( R( o8 n4 h( s
  61. Database=test# V. b  |* W- {9 P. R( Y$ d5 g
  62. Hostname=127.0.0.1
    " H0 l, h0 z: y$ Y. r) V
  63. User_name=testuser
    9 ?' q$ o! ~' q6 C
  64. Password=my_password
    9 w) W7 R! |* w/ @
  65. GetDriverFunc=getSQLDriverMYSQL
    : B$ K7 P! }. f6 ]* V/ F
  66. VendorLib=libmysql.dll
    0 ]. S; x& d9 C# k; Z
  67. LibraryName=dbexpmysql.dll
    4 k) K/ N  ?1 Q% M% P' O$ O
  68. Active=16 [" ~7 x" D8 @/ O: r
  69. ---example----
    8 T( A6 d2 \0 A8 X( V6 {( _% t
  70. - written 02.03.04 by pwk.linuxfan$ B* f' Q9 Y) h7 v
  71. 6 h9 i, k/ ^. _1 Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 E& Y  r3 \6 z  g$ d

  1. . V& R9 J, Z- z; n9 ^$ v7 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ O4 h1 U$ r0 z2 v! i2 {3 g
  3. : V5 \3 ?  e7 R7 A, m
  4. # # #我们所需要# # # . `; R8 |4 S0 R7 M/ J
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    3 F( R3 V" F$ a" L( i
  6. 不会解释如何做到这一点-也有文件存在,为
    1 a. h/ H+ S" d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 n& F9 x$ U5 X8 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 J$ t* H7 Q; z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( a# n: ~/ ?9 ~0 A$ Y% @5 C5 S! g
  10. 本地机器,这是我的MySQL安装。
    8 k# t' N( V- L6 y0 i1 |+ R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 l; G, u. U3 i- V
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # Q$ ?- P, I8 E( h" D
  13. 数据库。 $ E! A  n, C) J( C! p6 ]6 f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 k  ?, I& z. q+ h
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    8 q5 I3 a1 a* J6 z
  16. 在teamspeak论坛,如果你有兴趣。 ! Y8 b2 s+ F+ W; S2 I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" |, v( a0 I; B% H% M* h" l/ Z
  18. Borland公司使用。这个司机只能界面与客户端库) ?1 y5 q4 _+ N8 `$ ?6 x  O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ G* q% C( F8 }7 e' o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- c2 l5 o5 w9 H) x1 T8 ?& @* e0 Q
  21. " vendorlib " ,并解数据库连接。 2 c4 Q0 x& |& e2 v
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 x+ L% \4 _$ z$ b# B, e# n

  23. 5 ]; b4 I: N6 Y2 H& T# \
  24. # # #做好工作# # # $ @8 V3 {/ `( q2 {& \- V0 e$ j
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% W# a1 P; G( u  t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 [6 Z* t  H( o, u+ v6 B% E
  27. 结束: 4 B0 N- w8 V0 r% C
  28. ---削减这里---
    1 `. n% y$ q' M1 `' @
  29. [ dbexpress ]
    & w  @  r- S; d4 ~
  30. sqldir = mysql_sql
    # S# n2 w( t5 j! L
  31. drivername = MySQL中( M6 |; M$ r/ V8 J. \
  32. 数据库= your_database_name_here
    # s: H/ S! N3 ]# b
  33. 主机= the_pc_the_mysql - server_is_on + E: g1 J  p6 Z4 B+ s  h& a
  34. user_name = user_name_on_the_mysql服务器' r0 j7 K) T/ S5 W* r
  35. 密码= password_to_go_with_above_user_name / _) U/ q$ ^2 d. ^% i! S
  36. getdriverfunc = getsqldrivermysql " T. B4 G2 Q+ F. h# r3 x$ c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # F3 G' ~8 {8 |8 r/ ]  E7 Q% p8 \
  38. libraryname = path_to_libsqlmy_libary
    4 S& @+ s0 T+ T
  39. 积极= 1
    . Q, F  `. k  ~
  40. ---削减这里---
    ; N/ A0 M( E1 b0 J- u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      u  v2 D0 j; R- A
  42. ---例如---
    1 y7 M& k. K+ Z. k9 a6 g
  43. [ dbexpress ] 8 h$ O* |1 d! g5 J; D
  44. sqldir = mysql_sql
    " k3 l. j( A: {* i! S7 F
  45. drivername = MySQL中
    1 N( |7 I' H: v' p3 o3 t3 Z: h
  46. 数据库=测试
    $ z8 q3 I* M( \5 L- m' Q8 c
  47. 主机=本地主机
    " M2 @+ [0 o4 V' o0 u& ^% v
  48. user_name = testuser
      U; Q6 x, _4 l1 k) h/ u' J
  49. 密码= my_password
    0 Y- D5 L% y  [, z. x! G
  50. getdriverfunc = getsqldrivermysql ; r2 }9 o8 d. j4 E7 w9 B+ a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 F$ V3 B( _! U& g
  52. libraryname =. / libsqlmy.so
    5 N! E1 ]$ A& Y5 L6 ^$ `# `4 i2 q4 W
  53. 积极= 1   D, w% R0 t& y0 Z  ^
  54. ---例如--- 5 N/ W% J2 h. Q, m) S

  55. ) J$ T! _4 Y! Q) H& t! f3 ]
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ n. L' i; [( G4 c' l
  57. ---例如--- 3 M: l2 f8 p; v6 N+ a: M5 P
  58. [ dbexpress ] ) \5 B) e' l3 b8 m: D. k/ C$ B% x
  59. sqldir = mysql_sql ( B, g+ B% v# d' T0 K: j
  60. drivername = MySQL中. h0 }( M' Z$ T* x
  61. 数据库=测试
    + x+ S+ F2 m9 _- u; B. `4 i
  62. 主机= 127.0.0.1 % V2 O+ _  i/ C3 w
  63. user_name = testuser
    5 N! _2 S/ E" k# L' Z4 |
  64. 密码= my_password 5 n# v- ~2 ~! G0 e2 b) G4 S
  65. getdriverfunc = getsqldrivermysql 1 m% X5 Y/ Z6 Z- p
  66. vendorlib = libmysql.dll在' ?8 q7 @7 ~% B4 _$ _( y, n6 [+ Z
  67. libraryname = dbexpmysql.dll
    $ o( G9 G9 v) K# U' b
  68. 积极= 1 ' Y; f& k6 C- g
  69. ---例如----
    8 X/ V+ q6 @' i2 Q% w# ?% _
  70. -写在0 2.03.04由p wk.linuxfan
    8 d% }. O& q% C" i, I! h! f0 S
复制代码
发表于 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. [1 J- J0 d* u0 n

8 v2 ?: f1 Z6 e6 T7 {% kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-23 14:33 , Processed in 0.093256 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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