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

3101 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' @; q. N2 _& G, o3 r3 w
  e! w! I. a* u

  1. 0 n) e) O# ^1 l) }- I, w' J0 V
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 e  Q6 z8 P6 e4 o6 J

  3. 7 K& ?# Z' P  K: m
  4. ### What we need ###4 E& p9 v4 \1 U* P
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - `- k  B* e7 S! R, y6 O% Q
  6. will not explain how this can be done - there are documents out there for the
    5 a" j/ p# I  i  T' G0 p
  7. interested. The requirements include a (empty) database for TeamSpeak to use. M' a6 k% @( F- ^
  8. and a user account (username + password) that has the permissions to do stuff
    0 K6 S8 y5 Q) V1 y
  9. with the database. Additionally, you will need a vendor library installed on the
    7 j# m1 X5 e; o
  10. local machine, this came with my MySQL install.) z# P8 ^% {& N1 i7 \6 ^! K& J* K
  11. These instructions will not tell you how you might transfer your data from the. `1 [$ t5 D& |  ~& |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      D' n( F) @% q
  13. database.% e' H" [+ ~5 v+ W6 G+ L
  14. Some users have reported ways to import a SQLite database into MySQL, but at! O) Z! o' y& a& l( w: {  \2 f
  15. the time of writing, there are still too many issues - check the current status
    0 y4 P; n( ]: E5 ?
  16. in the TeamSpeak forums if you are interested.
    & X2 k. H  b% \, a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    . S& c4 ~1 \6 I9 x2 h! ?
  18. Borland was used. This driver can only interface with the client library that # s! b: Q% D0 L' ^% O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: e' h& f: e" S  ~( y
  20. client library - basically all you have to do is to use a 3.x client library as ( ?1 y! n, |) g" q9 T" y
  21. "VendorLib" and a 4.x database to connect to.4 P: S, G( v! o4 K
  22. If you need more info about dbExpress, you can contact Borland.; d' i0 u+ V. b8 M" J, l
  23. ' g% k4 p  }& A  ?; }) d" n: o
  24. ### Doing the work ###
    3 i& y; i+ c+ W/ i% V7 h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 L* L$ Z6 e2 k" y% |( g& z/ ]
  26. the perquisites right, just open your server.ini file, and add this section at) c  j6 b; r$ }6 @( }- E0 I" z0 L
  27. the end:
    6 j+ F+ G7 J7 L/ ^$ ^  C
  28. ---cut here---
    4 k# s( V' a& U
  29. [DBEXPRESS]
    ' U- t" A5 ^# }- k  G
  30. sqldir=mysql_sql; s) a( q  k7 P3 M1 Q# F
  31. Drivername=mysql* x$ J6 c7 I5 F
  32. Database=Your_Database_Name_Here
    4 J4 k  J  b6 q( q: ]+ x* h1 y' q" _
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 u: Z- @% h) X' h
  34. User_name=User_name_on_the_MySQL-Server
    4 [; ]$ Q/ S* Q: x; w8 b3 T/ Q
  35. Password=Password_to_go_with_above_user_name
    8 \% Q9 w; o5 c3 x+ R3 N  \
  36. GetDriverFunc=getSQLDriverMYSQL+ R' Z/ }- d. l- }* Q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 M- E" A1 }$ }( {5 q7 g
  38. LibraryName=path_to_libsqlmy_libary
    0 [' X7 v- ~! _/ \4 [8 q2 q2 Y2 p* S
  39. Active=1  e' N0 D& |: X; x
  40. ---cut here---- ~# C, }! y- n0 Z) h3 O5 r$ H
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 }2 g/ G; @; |7 {/ k5 W+ J' w
  42. ---example---( e" O/ u' u. ]- r1 V5 x
  43. [DBEXPRESS]% D; `: D/ F# v6 G1 E( D
  44. sqldir=mysql_sql& l! f" Q' l5 k, l
  45. Drivername=mysql" w0 \4 {$ i/ m0 T* i
  46. Database=test
    $ W3 t2 t9 d( {) T
  47. Hostname=localhost
    * A! v; r3 i- s1 g9 G9 g
  48. User_name=testuser  J; T5 K" N7 w/ R/ Q
  49. Password=my_password
    " i1 i0 W* t# M9 U% ]
  50. GetDriverFunc=getSQLDriverMYSQL
    0 x& ]! j. |0 P. y4 G/ a0 G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  l& {0 M+ @/ V) x4 x4 n
  52. LibraryName=./libsqlmy.so; ~/ n7 M, q8 l1 I5 ]7 U
  53. Active=1
    + F7 ?0 C  H: d* i; y. r
  54. ---example---# A9 I/ w& R: O2 Y/ a$ G  t

  55. ( q# P" c% n+ E( z, X. a9 ~
  56. On a windows box, also running the MySQL server locally, it would be:! H# r3 k, l: G) n  j1 [7 \
  57. ---example---
    / d& {1 Q# I( c- W2 T& d
  58. [DBEXPRESS]
    + p6 I7 [  p) S2 z
  59. sqldir=mysql_sql* M& ?2 U4 }& F3 N3 W. U
  60. Drivername=mysql( w! E# f: k! v( N, t
  61. Database=test
    2 O+ @; N5 ~4 S/ ^$ A& A8 [5 z
  62. Hostname=127.0.0.1
    8 p, ^4 O  p. ~8 R9 R; F8 d% |8 Y
  63. User_name=testuser: e0 H( D! q) p$ i  A
  64. Password=my_password
    ( Q* f; I2 c/ |+ [, W' j/ f% n3 W! l
  65. GetDriverFunc=getSQLDriverMYSQL2 Q9 N$ r, i! Z; v
  66. VendorLib=libmysql.dll/ W. y7 X- T) {0 y/ b9 [  i: `
  67. LibraryName=dbexpmysql.dll$ J! R& a0 G2 r" w8 Z
  68. Active=1
    2 v: x. t+ q1 p/ y4 K/ d
  69. ---example----
    7 _5 _' x0 B3 o( C7 t
  70. - written 02.03.04 by pwk.linuxfan7 J+ X, U& Z3 A

  71. ( h$ z& ^% k* q/ o9 p$ k. w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ c1 l3 a+ R' ?1 e* T
  1. + i& r* E; b* v& h
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) k" M) T* a9 \1 K9 z, A$ W- U# \. j

  3. ! Q, U  k/ m1 U- X% [
  4. # # #我们所需要# # #
    " m. u: v% g0 S* L
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ) X  E5 e* j6 \& ]0 }& h
  6. 不会解释如何做到这一点-也有文件存在,为# k  P  m- p- y1 J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用2 j: F* Y4 r' a) b* y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 ^- @9 A, g1 ]- b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 p9 i+ B  B! e0 P
  10. 本地机器,这是我的MySQL安装。
    % G! r) E0 u" {" w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 J7 s# w- c5 Y! e
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    2 F1 u* F# b0 j& C
  13. 数据库。
    / _+ o# N  G% K5 M& M1 O9 D
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: \5 N- b' v  N1 j5 M
  15. 编写本报告的时候,仍然有太多的问题-检查现状" s, @) p) l" T9 B3 K8 g/ M$ w
  16. 在teamspeak论坛,如果你有兴趣。
    % ]& q# v7 s' j! v9 X5 E3 T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机3 }6 ]/ H: Q) V# m, g+ D/ {  a
  18. Borland公司使用。这个司机只能界面与客户端库
    # B8 N( t- Z! Z. o2 s. n$ W% ]
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , x4 N/ z3 ?, T* V% Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 K. |3 z! Z3 Z# E( _7 F. y* D% W
  21. " vendorlib " ,并解数据库连接。 ' F5 C2 M9 A) m% K7 \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . e& d0 O3 d7 i5 X  k

  23. 8 |2 q4 {7 L9 ~: [1 C, B3 x* P
  24. # # #做好工作# # # - k( V% Z$ j3 a9 q+ J* n1 [6 d  i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 a6 q3 Z5 K1 _  d. ~/ V  C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 a6 K5 i+ o9 J. Q( H0 U+ y
  27. 结束:
    ( Q6 T/ }9 r4 c( O% y
  28. ---削减这里---
    # S  E9 g0 z% X3 O* {# ~  x9 R/ h/ Y
  29. [ dbexpress ]
    8 M" B8 g) V8 }" b6 D; r7 H+ V) g9 L
  30. sqldir = mysql_sql
    2 f1 F: j% i' ~/ _0 d( D
  31. drivername = MySQL中' e1 l. y3 z* Q8 f( |' I, y% L
  32. 数据库= your_database_name_here 0 n  N, Z9 [' w- h% G% |/ K
  33. 主机= the_pc_the_mysql - server_is_on 3 C& @0 |5 _0 {- [
  34. user_name = user_name_on_the_mysql服务器6 y( Y! C3 d& d
  35. 密码= password_to_go_with_above_user_name + x; V" L  G) B( q. n+ p
  36. getdriverfunc = getsqldrivermysql + @3 J1 Q  }" E4 R% h: |4 L6 e* R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 h. u- T3 k3 m& l2 f- t
  38. libraryname = path_to_libsqlmy_libary , t/ i" D4 B  Q1 |- u. _' O: \
  39. 积极= 1
    + i5 h% A0 |) B4 J
  40. ---削减这里---
    5 ^" ~! ^$ M% p( i" G8 e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' V4 y& r" ]2 v8 v( u$ \5 k# ^% n
  42. ---例如---
      ^2 o( Z/ v* |) r3 S
  43. [ dbexpress ]
    4 E& q; ~& B. B; r7 k* O/ l6 S/ B' l
  44. sqldir = mysql_sql
    $ W, i2 B" P! X
  45. drivername = MySQL中
    # x- _6 _  l5 }
  46. 数据库=测试* d2 B- y9 l2 s( ~  v8 l7 o" ]2 }
  47. 主机=本地主机3 L1 o; O5 P. A3 s" B" q3 L' ?
  48. user_name = testuser ) A; E6 d6 X" |' i' s
  49. 密码= my_password
    2 v* q. I- H4 t+ ], i% e
  50. getdriverfunc = getsqldrivermysql
    6 Y% C" `  T: N6 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 A' B0 w" E* x2 n5 b0 q
  52. libraryname =. / libsqlmy.so 7 t1 v1 d& ~3 }, g. a. I0 Z
  53. 积极= 1 3 u: D4 [# O" U2 r$ X5 {! c
  54. ---例如--- + \( W( F2 }4 f' d
  55. - h4 W0 K# L: o" o' l
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , b$ b) m  r* g) {) _
  57. ---例如--- , `" ?& A5 X4 k. K) M  h1 m' }
  58. [ dbexpress ]
    0 ]# x4 q4 L8 x5 r
  59. sqldir = mysql_sql $ d& s7 f9 _3 {
  60. drivername = MySQL中
    8 G4 @4 P5 k  U6 ~* M+ y- ]; q2 Z
  61. 数据库=测试0 K& y! \0 U) A9 y
  62. 主机= 127.0.0.1
    . z9 h% j+ u) p  U/ f& B
  63. user_name = testuser 1 `% ?" M0 U$ @- Y( S
  64. 密码= my_password ' n4 b* x5 q, G. D  ?
  65. getdriverfunc = getsqldrivermysql
    9 W1 J) s0 F* @+ R) Z" s# U+ ~  s0 j
  66. vendorlib = libmysql.dll在
    2 H  d) }& X! h. ?8 |7 N, `9 r
  67. libraryname = dbexpmysql.dll
    " {8 M0 |0 u5 @
  68. 积极= 1 9 Y6 s; ]% `7 X* j* ]/ t
  69. ---例如---- 5 o& r) p" k4 L8 T: ~* k: l7 _
  70. -写在0 2.03.04由p wk.linuxfan
    0 s2 |1 {  Z0 `0 x9 F
复制代码
发表于 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( b! l6 }8 }( g- n3 n
2 @& v1 u* d/ t  g) i- E. q
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-2 04:28 , Processed in 0.090183 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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