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

3394 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ) L+ n0 g* l$ m$ j( p- Y, \5 H
7 a% ~# X  ]2 a( V

  1. # K. W2 U) t% R0 j8 E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , K0 Q- F8 F) y# P

  3. 1 p* l( |) V5 p- l2 h( @8 B6 a1 _
  4. ### What we need ###4 B6 s5 Y. v$ V$ `; O: {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + C, R6 |: f4 e* F/ u5 Y
  6. will not explain how this can be done - there are documents out there for the * C7 }: ]  _* V4 C, m2 O
  7. interested. The requirements include a (empty) database for TeamSpeak to use* _, ]7 l0 O/ Y9 c
  8. and a user account (username + password) that has the permissions to do stuff, {4 V. P$ ]5 x3 U
  9. with the database. Additionally, you will need a vendor library installed on the
    & _! j; Z# Y% t( q# `# X; S
  10. local machine, this came with my MySQL install.
    . R! `* s8 a* e: V
  11. These instructions will not tell you how you might transfer your data from the1 a- h$ N7 _7 F% E& m; O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : r- k+ k0 m3 k8 L, |2 j" c+ T! l
  13. database.
    0 d# q" u, ^- t5 J% o* o" O. Q' c
  14. Some users have reported ways to import a SQLite database into MySQL, but at& z3 X0 B8 \' w  z
  15. the time of writing, there are still too many issues - check the current status$ |1 M$ r: B: i6 d. q) S' ^) h
  16. in the TeamSpeak forums if you are interested.
    5 s4 q5 n- J2 v* n2 K4 b8 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 r8 y  t: G: l0 Q0 Q' S
  18. Borland was used. This driver can only interface with the client library that
    . n& y: B4 J" `, @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- P0 t0 E6 G7 W5 c
  20. client library - basically all you have to do is to use a 3.x client library as
    1 L4 L& s0 V+ W. V& {5 h  K, C2 l
  21. "VendorLib" and a 4.x database to connect to.
    4 I; U7 J- S$ V1 X: E
  22. If you need more info about dbExpress, you can contact Borland.
      B8 V: |% H* X" v# T: a6 `9 r; T
  23. . M) `/ {; ?0 x3 x) ]7 Z4 u
  24. ### Doing the work ###! z: u2 m) W& [& v  q: c& |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ O. Q" ^" b% ?$ O! o% T& c( d
  26. the perquisites right, just open your server.ini file, and add this section at' y, L7 f% ?5 D! Z3 F' J
  27. the end:
    ; O" ?* `# x! T! P
  28. ---cut here---
    7 d4 k5 Z/ Z( T9 L0 @
  29. [DBEXPRESS]! N# n" S" R8 e: T: X
  30. sqldir=mysql_sql
      ~$ g7 y( L" V7 j. O
  31. Drivername=mysql% Q& u* P: j% }, d+ @
  32. Database=Your_Database_Name_Here
      I3 A/ L5 l; W3 U% ]% X; i
  33. Hostname=The_PC_the_MySQL-Server_is_on9 g2 P$ E: ^1 b2 N) M& S9 `
  34. User_name=User_name_on_the_MySQL-Server
    ; |' f5 Z( r4 e6 i! N: {, o
  35. Password=Password_to_go_with_above_user_name
    % e- H' _3 [& l! c. K) k  Z
  36. GetDriverFunc=getSQLDriverMYSQL2 ~) j' X- I" {2 o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ ^- }7 Y# [0 y( i6 L* W
  38. LibraryName=path_to_libsqlmy_libary
    - N% m. `% ^+ q
  39. Active=1
    ! W5 b% ^; I/ n: J' x% M& O
  40. ---cut here---
    8 b4 Q+ [' ~/ y1 _* K
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' {! q: L/ I9 H0 p0 [3 ^. Z
  42. ---example---+ w* e0 Y  |# T9 H, r
  43. [DBEXPRESS]0 \3 C5 O* z+ K% G1 A, [  X- N+ b1 \
  44. sqldir=mysql_sql7 m; \' Y& v/ R* ~9 V  Y) P
  45. Drivername=mysql- Z, j) W1 C2 d& L9 {7 g
  46. Database=test
    ; l' }9 J3 g, i, u
  47. Hostname=localhost
    5 ?4 C, \) Y3 w4 t3 u5 `. O3 P6 U
  48. User_name=testuser
    ) H. @1 e: b$ C, a
  49. Password=my_password7 B+ y' {8 `& x- B4 U
  50. GetDriverFunc=getSQLDriverMYSQL/ l5 j. R5 S) a  z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " Z3 c& z( F3 \! U
  52. LibraryName=./libsqlmy.so
    ! P5 Z9 q* I+ `
  53. Active=1
    0 ?2 n5 K4 B- S
  54. ---example---" P& B  y0 m# ~9 v9 C5 b. v+ ~
  55. * k* k; f% x2 H+ {  d2 i
  56. On a windows box, also running the MySQL server locally, it would be:
    $ R/ H8 N( M3 ?0 `: g6 J
  57. ---example---* W2 B6 a% ?. N
  58. [DBEXPRESS]
    - O. c$ l7 a# s% i+ n5 A. z0 |2 E! a
  59. sqldir=mysql_sql
    ! W3 I8 _- l: n: ?
  60. Drivername=mysql' O1 k; G7 H$ ^( {
  61. Database=test
    3 W2 g3 Y. N6 ?3 |- q; F
  62. Hostname=127.0.0.1
      I6 m" w( c9 b# U$ `# d
  63. User_name=testuser5 [1 ^" N: \. {3 Z+ ?
  64. Password=my_password
    3 [: B& F8 g5 H5 }( F
  65. GetDriverFunc=getSQLDriverMYSQL
    - Z# N% T- X, r- \& d
  66. VendorLib=libmysql.dll8 ^8 E* g$ P- v7 U3 y) ]0 ]2 U# g
  67. LibraryName=dbexpmysql.dll$ B9 v9 Q; S' S) y6 i  H
  68. Active=1
    * Z) N2 R9 _0 v/ k' [8 K4 a
  69. ---example----5 m2 u5 }8 _; @
  70. - written 02.03.04 by pwk.linuxfan
    " [% u' l0 n9 I' Q5 b
  71. * o! K9 V) ]' }# v$ c
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看; C$ j  Y: v( D5 v
  1. , H% W& ^: I# ^$ U6 X6 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : H( Y1 }. Z  j+ z

  3. 3 L: ?0 m- o7 b' Y- `7 T: F
  4. # # #我们所需要# # #
    3 f0 I$ O% i7 b2 ?( o  V# h
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 R/ A9 |! Q; I; G1 h4 s
  6. 不会解释如何做到这一点-也有文件存在,为  A+ B: k+ c; V, k. J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' q; g5 K- ~% G3 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. D- {( ]; V& h5 E: e& A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . W# K0 N( R, {7 u
  10. 本地机器,这是我的MySQL安装。
    , Q- ^. P+ w5 U' t# u4 k- L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' R3 a% n6 N, K) W3 K1 B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 m  T1 F2 E% O$ q5 Q
  13. 数据库。 2 n& @5 C2 t( y) N' G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - G' r+ V6 ?7 b6 ]$ o- T. R1 @& {
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 F0 e- U8 ~) R  Q+ B/ R
  16. 在teamspeak论坛,如果你有兴趣。
    3 s7 N( A& J0 \. T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 N, l7 b0 B* d# s8 t* C
  18. Borland公司使用。这个司机只能界面与客户端库% ]) e6 E( m$ {7 H' ~( s* T, P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) y/ C" {2 X+ i9 b- @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# t/ s6 k  q3 T& L& p' Z
  21. " vendorlib " ,并解数据库连接。 9 f: q4 ?/ [8 h6 O( g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 D* E$ p' c* N+ P
  23. . i6 K2 N! U- d: m$ a& a, H2 W! ^
  24. # # #做好工作# # # 9 G7 w2 R- X$ b8 C" d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 F! Q4 p% L) d$ f3 G2 P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ q* n2 m$ o( v/ c5 o4 \& l
  27. 结束:
    " l) \" f( w# b  U/ y
  28. ---削减这里--- % Q- Y# \- S- w7 C0 L5 `8 d, o
  29. [ dbexpress ] 6 C' U# U3 O) X; q# }* B+ s8 W
  30. sqldir = mysql_sql
    ) |( }6 O* a/ G; E( `
  31. drivername = MySQL中
    $ O1 z: }8 c# M8 W1 z* w5 Y
  32. 数据库= your_database_name_here - t6 I. N# B  {, S& |
  33. 主机= the_pc_the_mysql - server_is_on . c3 {3 }. o) r7 `& N1 T2 `
  34. user_name = user_name_on_the_mysql服务器. S0 x: t5 z: g7 j4 g) a+ _
  35. 密码= password_to_go_with_above_user_name
    & y/ X. z' @% ]0 R3 d# Z; x
  36. getdriverfunc = getsqldrivermysql
    : [0 w4 Z* F, C% W  I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # u. Y) Q3 r9 ]# f  ]3 W
  38. libraryname = path_to_libsqlmy_libary
    4 M3 B% ^! X4 m5 [
  39. 积极= 1 % W! _; S; \+ j9 r
  40. ---削减这里--- 7 M' c5 h2 U1 L7 [6 W( f$ C$ N- g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , v- v9 s* j: p$ F5 ]9 V
  42. ---例如--- / s4 O- v# j0 \" u3 [+ O; f6 _8 E
  43. [ dbexpress ]
    1 r0 W9 g7 {- P" K& J$ g
  44. sqldir = mysql_sql
    6 o9 [2 U' o" i( y0 C% c
  45. drivername = MySQL中
    0 h% Q3 d3 v! Q# W
  46. 数据库=测试( _' y' G' y0 B: w
  47. 主机=本地主机2 o: ?. q9 Z& o: |4 {8 p, z
  48. user_name = testuser 9 ?: a. Q  a6 s  ^
  49. 密码= my_password - R  a' f; v6 M; @0 ~8 J5 H
  50. getdriverfunc = getsqldrivermysql
    ' J# S6 Q* g9 ]% L
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : g! G0 X  n& R! ]8 c# T6 X- `
  52. libraryname =. / libsqlmy.so
    5 F. g/ D0 e/ {) f5 ?: c
  53. 积极= 1
    * k/ C$ U- m6 p3 i. {  |* _2 c
  54. ---例如--- $ c: O( x: S4 C; @" f
  55. 3 Q# E9 z5 T; Z# c
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 J  H8 C6 S, B: ^
  57. ---例如---
    - e9 Y" k, x+ e4 v. W
  58. [ dbexpress ] & ~$ V5 ~! A. S! `
  59. sqldir = mysql_sql . z9 b9 j! i$ s, w
  60. drivername = MySQL中& a) H, X3 |" h/ n/ e- l
  61. 数据库=测试
    , T4 P1 A3 f0 ~, }0 b% `" G$ v- h. g
  62. 主机= 127.0.0.1
      T8 |) e6 d3 I6 M
  63. user_name = testuser ' }' ^( e# B  {8 j7 @0 M3 ~3 {# X
  64. 密码= my_password $ J# N) T, n9 G& `3 q
  65. getdriverfunc = getsqldrivermysql " H6 T9 D/ p5 p6 V" n
  66. vendorlib = libmysql.dll在
    7 ?& P2 s6 n7 ]
  67. libraryname = dbexpmysql.dll
    / a/ q0 I  d1 a: i2 F
  68. 积极= 1
    ! D$ }! Z: u9 c7 E4 u* e( R. ~# }2 p
  69. ---例如---- 7 h! I' I6 H% H  s* |) V: w
  70. -写在0 2.03.04由p wk.linuxfan: C/ O) l$ b& r' l' H
复制代码
发表于 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
/ r; k7 P) Z. R' v) M, J
. n0 ?( P( {2 E# ]6 P) X  F4 Lbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-26 11:34 , Processed in 0.096494 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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