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

3345 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" o# F9 ]7 r0 k- q" S+ ^- V! M7 A! g; n2 @. L: |4 x8 G

  1. * T' u- S$ k" \0 p$ F1 g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) F. F. }6 K5 X+ z
  3. 2 x/ L) S+ Y9 K# L7 Y0 `  N# P
  4. ### What we need ###9 U; d7 a) G; ]. e
  5. Naturally, we will need a MySQL server to store the data for us, this document , v! p7 P- v1 S) e) a
  6. will not explain how this can be done - there are documents out there for the / P3 ~8 s; M" s( o1 @
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 r2 k2 S) G' h, _: n6 T
  8. and a user account (username + password) that has the permissions to do stuff% ?6 H% N6 D. D7 r: A( x6 q
  9. with the database. Additionally, you will need a vendor library installed on the3 e2 z4 |; O2 E6 j9 n
  10. local machine, this came with my MySQL install.* Z# l3 T7 \9 D/ A' a
  11. These instructions will not tell you how you might transfer your data from the
    5 F7 M" n# q2 i+ |6 I3 M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL) n9 D# F" |# |. \
  13. database.
    7 x1 |' e. z6 r' G
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 @/ S. P4 X  A3 n( b
  15. the time of writing, there are still too many issues - check the current status% X  m& `+ b. G
  16. in the TeamSpeak forums if you are interested.( p. S( P+ S. a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 K+ B4 c6 v7 \1 O
  18. Borland was used. This driver can only interface with the client library that
    . _% A8 T* ]# Q9 C) d! E9 J! t
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' G% e# i. E- K) g- X$ l) A! r; E
  20. client library - basically all you have to do is to use a 3.x client library as
    " w6 W! @- T: y' j
  21. "VendorLib" and a 4.x database to connect to.
    + s% f* A2 b% V
  22. If you need more info about dbExpress, you can contact Borland.
    + u) {# f' @; t% k, L) H

  23. + N, A% a8 N% a. g& f6 Z6 F
  24. ### Doing the work ###
    ' ^/ x& e, t0 g5 z% r/ d9 r: H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( y& W1 I, O9 o  P2 o
  26. the perquisites right, just open your server.ini file, and add this section at* O; h2 }' K: T' p
  27. the end:
    & H9 K& ~% p+ R
  28. ---cut here---
    - x. R, S# J/ ]
  29. [DBEXPRESS]
    ' y" [! C) T  t, r9 i
  30. sqldir=mysql_sql+ z8 ~7 y' A# g* y2 V
  31. Drivername=mysql
    8 `& k* l3 j' v6 E9 `
  32. Database=Your_Database_Name_Here- \* o- g9 i$ P* h
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * M; u6 ?2 A6 g- l
  34. User_name=User_name_on_the_MySQL-Server, e2 Q, _/ \. G/ h5 G# K; X
  35. Password=Password_to_go_with_above_user_name  b4 D* Z4 _$ G; e, s% q8 M
  36. GetDriverFunc=getSQLDriverMYSQL( S" T4 d2 ~, P. ?, P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" Y: X& G2 b1 Y9 _4 d& H; X
  38. LibraryName=path_to_libsqlmy_libary! t$ C5 @5 w2 s9 F1 J: X0 u  {
  39. Active=1  U. }- A3 [( o" H" ^* c
  40. ---cut here---8 S1 l- K6 D. q" X9 O2 m, o' g9 C
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 r1 t, ?1 H+ a3 f2 V
  42. ---example---4 {9 \9 Q# ^& _' h
  43. [DBEXPRESS]- }5 w  G, C' e
  44. sqldir=mysql_sql
    8 K- T  S; r# j8 P3 H0 K( D
  45. Drivername=mysql
    ! [# S1 @5 }$ x  F7 J- p8 K
  46. Database=test9 a: |( X+ x7 _2 ^/ B
  47. Hostname=localhost' d4 L' t& d7 y, O! v8 T
  48. User_name=testuser
    6 R/ E5 J1 a# Q( E) U; n
  49. Password=my_password; c' _  l7 c$ h. ^. ]" ~5 \
  50. GetDriverFunc=getSQLDriverMYSQL7 p" }! u5 c( s: r+ g+ f/ s
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " b* Q  M  n3 [' u; c. c5 y# ?
  52. LibraryName=./libsqlmy.so! U' c7 A2 c  a, a7 z! D# d' t
  53. Active=1. s9 h7 Y8 O% }5 f( z$ m% I
  54. ---example---
    6 X) N( u" u( a7 }( W1 }$ |, p

  55. & d# z7 W* z( q1 W6 R3 f) a
  56. On a windows box, also running the MySQL server locally, it would be:; Q1 w* Y" d' Y2 E" P4 |/ C) U. _
  57. ---example---0 g' O  I8 x/ T* z' o5 v) S
  58. [DBEXPRESS]
    & T' D1 o1 e' X# ?" Q1 c! k
  59. sqldir=mysql_sql
    / d) c, B8 O" R
  60. Drivername=mysql
    ; Y; f7 n! l/ W
  61. Database=test$ M! X' A0 U+ A) T
  62. Hostname=127.0.0.11 H1 E% @0 z$ R- ~8 b% c
  63. User_name=testuser
    4 \) f3 A$ i% a# T( f' h& {
  64. Password=my_password
    . P! D/ ]. R* M9 l( o/ T% _; P9 t
  65. GetDriverFunc=getSQLDriverMYSQL# \! J* ~1 `# O4 E) J
  66. VendorLib=libmysql.dll/ j. ?6 N, K) A; e
  67. LibraryName=dbexpmysql.dll. F- l8 s/ F6 X
  68. Active=1
    & t. ~/ E0 f3 a: l7 D  ^0 J
  69. ---example----
    - g8 A3 `0 ]& P/ M+ a
  70. - written 02.03.04 by pwk.linuxfan9 r7 O# Y) }+ h* f8 V9 p" S* P
  71. ( O+ p2 p/ l$ ?' j/ a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" P2 [1 P0 ?1 R
  1. 3 G1 U2 t+ \) r, B! N3 U
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 W/ W2 t8 P6 N' H" s

  3.   y. X9 _) n/ f$ x' K- s
  4. # # #我们所需要# # #
    + b) r# v% T8 h; A" D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 [3 E7 C& F) s: R
  6. 不会解释如何做到这一点-也有文件存在,为# U# g. m+ }& U5 ]& r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) E' c6 |8 M: }2 o/ N' ]2 r8 j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& V" K7 u: j8 p- H2 r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 K9 ?4 H! \+ v6 c  i
  10. 本地机器,这是我的MySQL安装。 ! k% o; ?: W0 g- k. H2 X  Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . q; J; I; Q% j% E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % j/ i1 n0 j' j4 u
  13. 数据库。
    2 v8 T1 N; y3 a9 N( F
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 a- e- M. f; ~6 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % U+ a$ m+ Z! }! ~! ~9 X
  16. 在teamspeak论坛,如果你有兴趣。 # {7 Q. O7 e6 e3 R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机6 q3 a/ r/ L( [* l$ ^
  18. Borland公司使用。这个司机只能界面与客户端库  d3 b, c* J2 c; h& \! Y1 E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      H% @4 S: k4 H7 E' M- d" W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 d/ u$ U; t9 j4 m
  21. " vendorlib " ,并解数据库连接。 : |4 m4 Q7 O8 j& V9 _$ U) ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) q( T3 v* Y$ K5 @
  23. ; G' B, D2 c( l% h5 E
  24. # # #做好工作# # #
    9 j9 P& T$ ^: p, e4 J, G/ f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 z! _1 N2 `# ]* @0 h
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  L) z+ k  [% I6 o" B4 G7 }3 k
  27. 结束: 3 x/ K% a3 x8 l  }
  28. ---削减这里--- 1 o* h' E) {( t6 n- Q& A* M
  29. [ dbexpress ]
    6 T0 P- m& K9 a2 \5 Q& r2 w& ^
  30. sqldir = mysql_sql
    - |: a% F. Y  d5 a
  31. drivername = MySQL中
    " G: R/ @  e- [% r
  32. 数据库= your_database_name_here ! x6 _, ~# O" `* D; g& m& p, ?' F1 R
  33. 主机= the_pc_the_mysql - server_is_on 3 T. @# L5 \3 O7 S
  34. user_name = user_name_on_the_mysql服务器
    ) J5 D  J. P3 w
  35. 密码= password_to_go_with_above_user_name
    ; d( v. O" J1 b# C$ [& r3 p% q3 E* U
  36. getdriverfunc = getsqldrivermysql " P8 l+ ^6 o/ F, ^$ e9 \( K( i9 ^/ N
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! G+ L- I% m: E! ]5 V3 I
  38. libraryname = path_to_libsqlmy_libary
    " [1 N. R; D  n* \% T
  39. 积极= 1 ) d# a9 y4 K/ C' ^
  40. ---削减这里--- ) K$ {, ^7 ~$ a& u! h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( a7 c* g  b4 g" s
  42. ---例如--- + X' H7 G* X( M4 D
  43. [ dbexpress ] $ p( A) o( n  I2 p8 w
  44. sqldir = mysql_sql
    7 ^8 R' F! I! W  a& K+ X
  45. drivername = MySQL中
    $ Y; E3 `9 i) N# O- s
  46. 数据库=测试  x8 d* ~, E7 c' ?  h- C/ ?7 E
  47. 主机=本地主机
    6 q: m( p, a. w! a; S' g' f
  48. user_name = testuser ; }' Q: `8 T" O% m- {
  49. 密码= my_password ( u. [+ J/ ], P  W$ {' f
  50. getdriverfunc = getsqldrivermysql
    ' l) k! D" ^$ a1 z+ l3 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 y  _) f0 p" _
  52. libraryname =. / libsqlmy.so , G% {# t1 b: S2 v
  53. 积极= 1 ' I* V- z) z/ g
  54. ---例如--- 3 x# b6 h* R- `# N2 u2 D- ^- o' T

  55. / @! n+ H/ b9 r1 E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 \. e; `& \- v$ Y5 D
  57. ---例如--- ; p( i* @; {9 }3 h$ H$ V7 {, q
  58. [ dbexpress ] : Q# ~  }+ H& o% j, S9 s) I
  59. sqldir = mysql_sql
    ' R6 O# M8 n4 p5 G  W4 E! W0 f
  60. drivername = MySQL中
    3 r/ B( \. E. o# o
  61. 数据库=测试
    ) {) U& ^0 n! f9 ^* |) m  C6 j
  62. 主机= 127.0.0.1
    9 |4 e: V/ \$ }
  63. user_name = testuser
    4 n& ^- z4 n- C( b7 X
  64. 密码= my_password
    & Q, ~! H4 N4 i. j3 H7 g* c
  65. getdriverfunc = getsqldrivermysql
    $ G5 I) i8 @) T
  66. vendorlib = libmysql.dll在
    8 q9 u) T% Y6 Y% |# u0 z5 m
  67. libraryname = dbexpmysql.dll 2 }0 V' V  |: Q* x8 P
  68. 积极= 1
    " \7 c! b- m( A; t( ~. ]' G% l
  69. ---例如----
    ) J; M( O$ S4 A
  70. -写在0 2.03.04由p wk.linuxfan3 B0 u- b% I' j! b' _) i
复制代码
发表于 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, z: A$ K) }1 T$ v; Q6 w& d4 }

3 Q: l. U0 f3 R, o7 z" \but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-17 03:11 , Processed in 0.111674 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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