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

2752 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " p3 Q7 @+ h, n2 U  h

$ @" S  m6 m( E$ N

  1. 2 Y$ O0 T4 K$ ]2 j, U- J1 _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * |* q; z! Q8 h+ @5 e/ c: t# C
  3. 8 Y& m# C5 q" l! Y4 b! q
  4. ### What we need ###
    ' T4 v; [% K8 t6 H) M; P, U
  5. Naturally, we will need a MySQL server to store the data for us, this document , i7 `5 T* s2 B8 h
  6. will not explain how this can be done - there are documents out there for the 4 p  r: r- p7 Z# [3 H$ |' K
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 _' @; Q4 b6 v
  8. and a user account (username + password) that has the permissions to do stuff
      k  w  D; p% v, C. `7 `
  9. with the database. Additionally, you will need a vendor library installed on the3 {! B* _$ G4 [) Q- p
  10. local machine, this came with my MySQL install.
    1 T' z$ D% q7 y8 n& h# Z
  11. These instructions will not tell you how you might transfer your data from the
    6 g" t" b( A+ @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; `7 T& Z3 Z5 Z0 v
  13. database.
    : ~/ z: B4 r, d$ s3 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , L! m& [# K1 M- I7 M1 I( i$ Q
  15. the time of writing, there are still too many issues - check the current status- B4 s; ?& b4 D, n, r
  16. in the TeamSpeak forums if you are interested.1 D- Y6 ^$ y9 p  q. }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 J3 N1 q: Q7 m/ M
  18. Borland was used. This driver can only interface with the client library that . I  I8 }+ ?/ p- y, H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 O& W& k0 }. F: K5 H4 E$ T
  20. client library - basically all you have to do is to use a 3.x client library as
    + s& D1 V: ~* }  o
  21. "VendorLib" and a 4.x database to connect to.
      P$ c9 t; I1 {/ L3 V2 V  g' ?
  22. If you need more info about dbExpress, you can contact Borland.
    9 Z$ b, I) I( b* }; p* D, {
  23. & y5 e8 r; x& `
  24. ### Doing the work ###5 C/ t6 `% A+ ^: [; W  |: Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      x" ?! n- t6 `& Y8 ~
  26. the perquisites right, just open your server.ini file, and add this section at4 h$ }9 B6 @* V- C' ~
  27. the end:
    3 d; e! P( ?# w7 T5 s
  28. ---cut here---5 k& h$ ^' m/ \* ^$ h2 y
  29. [DBEXPRESS]
    " C" h3 t1 k: i. `; k: y
  30. sqldir=mysql_sql
    1 A, D3 W" X1 a/ T8 |! U
  31. Drivername=mysql  F# ?3 w) H6 B0 Z
  32. Database=Your_Database_Name_Here0 ?; ^+ a$ Z0 P$ B
  33. Hostname=The_PC_the_MySQL-Server_is_on$ U4 y; y2 v4 |! m4 O+ r* a( S
  34. User_name=User_name_on_the_MySQL-Server
    * r4 p, m4 u% M: u( p7 Q
  35. Password=Password_to_go_with_above_user_name" @. t! }) x& V
  36. GetDriverFunc=getSQLDriverMYSQL
    3 a8 X, l6 U0 W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 p* v. C) }9 @7 e- p
  38. LibraryName=path_to_libsqlmy_libary
    # |; f; g1 a% [. W2 |
  39. Active=1
    : z/ v5 }# Y! F& o5 z
  40. ---cut here---
    1 \2 b- _( ]7 e# x6 \3 R2 U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 I6 r: |5 [" ]' v, b& \% L
  42. ---example---
    . k# Y# @+ s3 p5 V4 u; ^
  43. [DBEXPRESS]
    9 a. c, Y2 B+ |! n, {
  44. sqldir=mysql_sql
    . r3 V: R5 i3 w) m4 x
  45. Drivername=mysql  f/ d4 [* g/ I' F
  46. Database=test
    ( ?* m6 \5 \" J( A: f. c3 @" F
  47. Hostname=localhost' U0 Z& W( Z' d" i3 p7 n
  48. User_name=testuser- \5 l& K( R- L2 i
  49. Password=my_password' U( K+ e! T  G! v
  50. GetDriverFunc=getSQLDriverMYSQL
    0 ]( e6 D, b0 W! J4 @' t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 ?3 A  g( W) Y- r
  52. LibraryName=./libsqlmy.so
    , \- ?# X2 ?5 V
  53. Active=1
    + c1 ^; U, Y7 `, v' y7 J
  54. ---example---5 j( u$ P, T' Q

  55. 4 x! G  _4 x) I7 W% K+ T+ A
  56. On a windows box, also running the MySQL server locally, it would be:
    , p5 d0 e# f0 @& x7 d2 Z0 h, n
  57. ---example---
    ) s! u" O3 q1 D) h' i/ T/ }
  58. [DBEXPRESS]
    0 }9 a) {7 Y3 t$ P4 k* k
  59. sqldir=mysql_sql) N( P9 h: m4 i" b8 l
  60. Drivername=mysql: m6 X2 d4 @; w/ v& G! t: s' V
  61. Database=test. H- h( k9 G( T! U# O1 d7 L
  62. Hostname=127.0.0.1+ _  L2 ~0 H( j: G: k
  63. User_name=testuser
    6 n- N4 ?6 c$ L! a1 g* m) X$ V5 g
  64. Password=my_password- D! D  r( h: D# Y. }+ K
  65. GetDriverFunc=getSQLDriverMYSQL
    ) U' L" K8 Q2 Z, ~3 p
  66. VendorLib=libmysql.dll# T% G4 ?2 Y$ O, _! C; T# K
  67. LibraryName=dbexpmysql.dll# X/ n  |* H; p+ f3 {$ G# R% B6 K
  68. Active=1; T) n# i) P; b% A
  69. ---example----) g2 ~5 ~8 j9 @+ w
  70. - written 02.03.04 by pwk.linuxfan2 G+ w$ g, s# k3 ^  G9 c

  71. 0 O( q- s1 C' ~  `4 ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& z; X) V0 P* m. w9 G) W# d
  1. , o, M  J: R, W: I0 W8 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 R# Q# Q! Q1 L) w
  3. $ i7 I/ @# Y: {$ U. b
  4. # # #我们所需要# # #
    ; m& N! O. |4 r2 l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / q2 P, H& x7 a5 U) q" s. W" x
  6. 不会解释如何做到这一点-也有文件存在,为
    ! i) H% T6 a/ y; a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + N- W6 f6 n" e3 P  k. H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    , b) L+ t9 Y& B1 l7 s/ E! i# l6 Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 d% l* W9 J+ c& [% H: ]
  10. 本地机器,这是我的MySQL安装。 8 x  A. a9 [4 T+ a4 @1 W5 h5 l$ E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 O- z; m! C& X6 A7 ~
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    * l8 ?5 q. k4 [8 G' O
  13. 数据库。
      t3 b6 X2 B/ @8 T
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 x( w6 I; ~" S- r/ D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % _7 a- {4 ?7 u& [- R8 \
  16. 在teamspeak论坛,如果你有兴趣。 ; {6 F6 F% R3 ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* |0 x. {, a0 p$ o# M
  18. Borland公司使用。这个司机只能界面与客户端库
    9 m; b/ V6 e3 m; D* v7 u4 W. r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这( |, A- I3 |7 c8 o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 R& w$ c# j8 @
  21. " vendorlib " ,并解数据库连接。
    # R5 b8 X$ V% w* w/ F" R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " t) p  X$ D! j3 r& a7 D  _+ Y/ h+ n

  23. + p' L; g: T* D) H; a  h3 M$ Q
  24. # # #做好工作# # #
    ! J% S8 Y0 x% u- M) n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 ?# V" W1 z/ p, T3 m. k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    7 |  j  k  Q3 |4 u$ J* d: `
  27. 结束: / f, Z+ {0 Y+ e$ `1 \/ o
  28. ---削减这里--- ) |* A- `. |8 Q" J1 T
  29. [ dbexpress ]
    ! }- {+ f# `. e' c0 x1 X
  30. sqldir = mysql_sql
    : u; i4 `7 z1 F, u/ X
  31. drivername = MySQL中
    " `; @, @& J, d1 y
  32. 数据库= your_database_name_here ( F2 @% I% q2 E5 j% ]6 A8 ?; i
  33. 主机= the_pc_the_mysql - server_is_on
    # P2 i4 r) \3 S# B  ^5 f
  34. user_name = user_name_on_the_mysql服务器
    ; q# w" x: U4 x
  35. 密码= password_to_go_with_above_user_name ) C" Z8 h% A* b3 N1 [1 z
  36. getdriverfunc = getsqldrivermysql ) i  m2 z1 |6 x) b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * t! c- |4 Z7 Y' h6 W- j
  38. libraryname = path_to_libsqlmy_libary 0 a* f* U7 d# y6 y9 {, s
  39. 积极= 1 6 P$ D. @/ v3 t% ?' s; G( I, u2 l
  40. ---削减这里---
    : ]# q* l! k# v+ v$ B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 y6 O0 B( S* i1 q
  42. ---例如--- 0 H1 @# c8 b# D5 s
  43. [ dbexpress ] . h5 J; S! y" Y% o' }
  44. sqldir = mysql_sql
    : K- z1 {- C8 L# e
  45. drivername = MySQL中8 q3 Y+ U" A# q; x! j7 D
  46. 数据库=测试  A% Z( n1 S$ ]  r
  47. 主机=本地主机
    8 Z: y5 a# v9 {! u: A0 r
  48. user_name = testuser
    / I% h; B$ O) S/ Z* K7 Z. u5 E. U1 ~
  49. 密码= my_password ! ~2 j9 V5 x4 X: N$ r# f
  50. getdriverfunc = getsqldrivermysql : p' F  r* ]( G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 M9 K2 {% Z5 m0 I* _
  52. libraryname =. / libsqlmy.so 9 \% A# N. V# `# j# s$ e/ F
  53. 积极= 1
    ) Y* @/ [( n: T- b& q
  54. ---例如---
    5 B' B7 \  D* R

  55. 9 [& d7 V7 b) n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    # l* S0 [+ j* K2 G6 W
  57. ---例如---
    " V/ e$ D% q3 w/ x
  58. [ dbexpress ] 3 H* c+ M5 s* K) N/ N8 W
  59. sqldir = mysql_sql 8 w3 q; F2 c4 E, s% S. c& t3 `
  60. drivername = MySQL中
    % J- c7 H  d5 \  @3 v2 d
  61. 数据库=测试4 i2 A1 S0 G# o" f! R' m- ~
  62. 主机= 127.0.0.1 ( N% J0 x3 x* U) B' T2 s8 C
  63. user_name = testuser
    . ^" Y0 H% j5 H9 m9 p4 X
  64. 密码= my_password
    : v! g: {( R; B2 Z) g% i
  65. getdriverfunc = getsqldrivermysql
    " i* `; p" l% w1 \8 t
  66. vendorlib = libmysql.dll在6 j% v3 K8 T0 _0 |
  67. libraryname = dbexpmysql.dll 3 u; M0 Q' w$ `1 r6 u
  68. 积极= 1
    - n( I' U, A- p" w! _+ U  I9 r; P
  69. ---例如----
    . D( @1 j, S$ i
  70. -写在0 2.03.04由p wk.linuxfan
    5 G7 ^6 x: Q- E1 ~* W! ?
复制代码
发表于 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
9 q  \' N1 P; l+ t) ]7 u5 H( R8 m+ B/ |
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-12 19:07 , Processed in 0.097075 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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