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

3083 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, l7 v, S4 {% N
9 O! }1 s' ~: {8 L1 O' |" h5 d

  1. ) ^$ A' q$ e  H: O  F
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 J# J3 i$ O. W& v1 @6 X3 u
  3. * m4 g2 v% D' T; |( x$ V
  4. ### What we need ###6 z* l" Y6 B0 Q! b, S4 f" a  o
  5. Naturally, we will need a MySQL server to store the data for us, this document $ r) O6 k; a2 U
  6. will not explain how this can be done - there are documents out there for the
    ( S  X  \. a% w- Q5 R6 c
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ R2 B( d& z. T# {! d
  8. and a user account (username + password) that has the permissions to do stuff
    2 U  R  V0 ?# }0 \2 R; r4 S
  9. with the database. Additionally, you will need a vendor library installed on the
    ) P$ f; y2 J0 w+ l5 x) [
  10. local machine, this came with my MySQL install.
    ! t: m/ i6 l% ]4 O0 A; ]# I  h5 y) Y
  11. These instructions will not tell you how you might transfer your data from the2 F0 z2 R3 _! Z9 U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, Q* x- @+ l3 K& M% e
  13. database.
    , k1 H7 K9 U3 v) v( A! S# s+ u
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ' r# G, s) U. |
  15. the time of writing, there are still too many issues - check the current status
    8 i, `/ J( L! n% T. m4 a/ g0 N
  16. in the TeamSpeak forums if you are interested.
    " o1 \  L. U( `* P* U. n7 l
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* J% u0 F# a- P1 u* b6 A
  18. Borland was used. This driver can only interface with the client library that # E" K1 L8 ~: l1 l# `. S  R4 r  c0 [
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 N2 \, q. b  Z) h; G& C
  20. client library - basically all you have to do is to use a 3.x client library as 5 M2 K% e5 n3 ]- L: e
  21. "VendorLib" and a 4.x database to connect to.8 Z  f" I9 k) q  K& U: C* O
  22. If you need more info about dbExpress, you can contact Borland.
      n+ x$ r3 R5 @# I

  23. ! o; s! Z! @/ E
  24. ### Doing the work ###
    ' L; M, r8 w# _: J9 v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 S/ V- h5 v% ^: v9 Y9 e. H
  26. the perquisites right, just open your server.ini file, and add this section at1 n* j/ L4 x& H& o* q: U
  27. the end:1 R+ T9 |9 ]% F2 D$ r. ]; x+ U* F
  28. ---cut here---, J) _% B4 n9 |/ r5 r% c  x
  29. [DBEXPRESS]( w" m/ d/ J4 ]3 K
  30. sqldir=mysql_sql$ E2 l; ?, e$ C4 |
  31. Drivername=mysql" u  f/ @9 F+ _
  32. Database=Your_Database_Name_Here
    0 k: g& e/ A- w% h! j; {
  33. Hostname=The_PC_the_MySQL-Server_is_on5 b7 T8 E  x2 I9 v
  34. User_name=User_name_on_the_MySQL-Server
    ( C5 f$ }* R( W/ z
  35. Password=Password_to_go_with_above_user_name
    $ U+ E2 A+ e& R) N
  36. GetDriverFunc=getSQLDriverMYSQL  {' |4 ~: c; H7 x7 M
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 h6 N$ r" I* f! z  I
  38. LibraryName=path_to_libsqlmy_libary+ P1 \! l- c+ m6 y% U4 j
  39. Active=15 u' K( U  K, [# f* O0 I
  40. ---cut here---
    * k, S/ b$ E1 S/ [  c# W: ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 k" h0 T! C+ s$ j! P9 Z+ ~
  42. ---example---
    . \1 _$ _4 u7 K) `: x, n
  43. [DBEXPRESS]
    : E- E2 b/ u, ^' b' V) K0 G
  44. sqldir=mysql_sql) |2 a6 b6 A* Q  p
  45. Drivername=mysql
    * y4 h( X( M( C
  46. Database=test! x9 O2 f! s4 e* }8 a4 ^
  47. Hostname=localhost1 c* \1 K' @. ?
  48. User_name=testuser
    ) \3 a7 I' y. n& |- \  _# W
  49. Password=my_password
    , O. G. a1 M/ n: q
  50. GetDriverFunc=getSQLDriverMYSQL
    / h8 w/ [. [, d+ c! E, L' p2 g8 v0 }: r
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # i' {* {; G4 Z( l7 V. o; j
  52. LibraryName=./libsqlmy.so
    7 P$ M: [$ g: Z
  53. Active=16 f% \, \  }+ r6 g& C
  54. ---example---/ j- G& {) z" _! p9 }8 ^0 A
  55. 6 P0 \/ a5 o, G" s1 g" d2 o
  56. On a windows box, also running the MySQL server locally, it would be:6 j8 M2 n9 {% [' o+ _
  57. ---example---( t# a  O5 f( u
  58. [DBEXPRESS]
    + S# G" s6 Y. p: b
  59. sqldir=mysql_sql
    7 C; o5 n3 o6 j; k+ W, l+ T
  60. Drivername=mysql. k0 X* p+ }& ~7 L2 |
  61. Database=test
    # D' R7 F" d. g- J- {
  62. Hostname=127.0.0.1% F" Y0 O: Q/ X/ g7 m! [; q
  63. User_name=testuser  X! H1 }  x8 _$ r, |2 A
  64. Password=my_password7 m" @( K! {4 u  o
  65. GetDriverFunc=getSQLDriverMYSQL' X/ W1 q3 J$ e+ }9 I+ V2 ~
  66. VendorLib=libmysql.dll
    / o- w# |$ f/ R0 c4 u+ l. o$ A
  67. LibraryName=dbexpmysql.dll  H0 W0 C% R$ u( o& v$ z
  68. Active=1+ V% X; g8 R$ S4 `  }
  69. ---example----5 U% {$ [3 a0 L" L5 ]
  70. - written 02.03.04 by pwk.linuxfan
    1 {, |3 h/ A. w  \/ ~6 H# c
  71. ; b. }4 J6 y1 v2 ?" F6 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
: F; h6 Q( ?5 h% c9 |1 c: J

  1. 2 E- A# |2 {7 @# O7 }8 l: j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 0 ?, P+ L7 }' D! l7 Y9 m

  3. ( ~. y7 d# _$ P
  4. # # #我们所需要# # #
    / x0 m+ @" w. I$ C) o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 u. C6 E/ `/ [7 i5 _
  6. 不会解释如何做到这一点-也有文件存在,为
    ( T  d5 @( x: S  _
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' t1 X6 d) h9 \' r" H+ f+ V7 @' X
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! W( g  d' x. T1 ^) {& Y* \  ^8 X4 ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % t, f0 d! ~5 _  f; [9 z8 r
  10. 本地机器,这是我的MySQL安装。 1 c& @1 \; F3 {. e8 h/ g# g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, k7 Y( s" H  R2 ~" S9 l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , D2 A& U; V( s
  13. 数据库。 : }* c6 G; ?$ H9 V/ r$ j3 p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! c% |3 X: O. @# Z
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 k2 c# b* F7 r, _- N
  16. 在teamspeak论坛,如果你有兴趣。 : R: K( d/ |3 B" n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ S; @" H( S5 D
  18. Borland公司使用。这个司机只能界面与客户端库* g. R4 |& Q" i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 U) u- R  v5 C/ D2 v* q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( t4 ^  K( z0 v
  21. " vendorlib " ,并解数据库连接。 4 }* ~" W" z7 U; |+ i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 D6 |5 W$ R9 @+ Y2 M: V( q; d
  23. 4 F+ g- V* m( l6 Q3 N
  24. # # #做好工作# # #
    9 E& v) Y1 i/ f4 H" I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ V/ c6 Q# q, w! S; V' H% y4 d
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    2 a" n" E2 |$ J! l
  27. 结束: ) Z3 B- `  m' R, D/ F. C# H+ M) {
  28. ---削减这里---
    7 H. L" n( v3 F
  29. [ dbexpress ]
    0 l5 E# O% ~9 c2 M  {, V
  30. sqldir = mysql_sql + S2 x+ f; d7 ?* M1 r* ~" W2 N
  31. drivername = MySQL中
    : H( g' r/ ?6 U. S- M  s
  32. 数据库= your_database_name_here
    6 O5 s( z- z1 d2 o0 i$ F9 `1 L
  33. 主机= the_pc_the_mysql - server_is_on ( Z1 [$ S( U) ~5 ^' I) J  }
  34. user_name = user_name_on_the_mysql服务器5 k8 G' z5 a6 F0 v! y" s
  35. 密码= password_to_go_with_above_user_name
    # S  ~, \/ N2 x" W. e
  36. getdriverfunc = getsqldrivermysql
    ! W7 m" f) p. r8 H2 x' i# {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; m6 b" @5 w( P5 \
  38. libraryname = path_to_libsqlmy_libary 6 t5 o0 G; S7 i/ d: n) E
  39. 积极= 1 - y$ e* ?+ B7 C; p8 }
  40. ---削减这里---
    , s/ I) k+ U& z+ n$ N2 c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ' L3 w/ c$ c# T: [8 X0 p% L
  42. ---例如---
    4 o" D) ?& C3 s: `( D2 K- s: C6 T
  43. [ dbexpress ] * I' u6 N' M5 q6 x  q: t
  44. sqldir = mysql_sql
    4 T% T7 g8 D) W
  45. drivername = MySQL中
    . R' y% W7 p3 S0 s) [( F5 K
  46. 数据库=测试3 H7 v  h( F6 E8 e% w
  47. 主机=本地主机
    . I0 O0 z; |3 J& u
  48. user_name = testuser * Y( Q3 J$ `: y' L! N' e
  49. 密码= my_password ; C2 _2 o  T5 f7 s3 i1 q( U0 q8 X: M
  50. getdriverfunc = getsqldrivermysql
    4 f) r" ?) ?2 T4 ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , c3 ~/ J. m% B6 C6 Q; n
  52. libraryname =. / libsqlmy.so $ V! b" `1 s9 n9 `2 O
  53. 积极= 1
    ; |6 [$ {1 D$ _- t1 A3 y
  54. ---例如---
    % G9 X1 q2 `8 x2 S# M

  55. 9 j& {) O5 P$ |: k8 X: }2 B. s; u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 O  w( q% q$ S2 u
  57. ---例如---
    ! B7 w8 @1 e9 x$ ]
  58. [ dbexpress ] + f: s3 N1 {* L4 r( l0 X6 n
  59. sqldir = mysql_sql 8 Q1 D* a' l' w0 `1 r
  60. drivername = MySQL中6 ?1 I' W1 K+ Z4 o8 b4 w
  61. 数据库=测试2 k! M8 p4 d5 ?( ^% |
  62. 主机= 127.0.0.1 4 a( W3 F3 A! H; p- u* J
  63. user_name = testuser
    ! j5 e6 V: i' x% m1 b) o2 \
  64. 密码= my_password
    1 T) d# b! J! F% \
  65. getdriverfunc = getsqldrivermysql - M" Q' o4 D1 l9 n
  66. vendorlib = libmysql.dll在' K1 R1 A! r- V  H% R+ X9 H
  67. libraryname = dbexpmysql.dll ' V  b/ C, W# u  B- H
  68. 积极= 1
    9 k8 h2 k( S/ K# X6 s3 F8 `; D) x
  69. ---例如---- 8 j, S2 i5 F) Y  q' C5 P
  70. -写在0 2.03.04由p wk.linuxfan
    . k" T- R9 w: ]( T
复制代码
发表于 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
. w- [. \5 P. t/ q5 w9 h8 }: \: n3 b6 ]  Q+ p) h% |2 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-8-28 15:18 , Processed in 0.098923 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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