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

2763 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 G( w% T0 M4 Y& F2 ]' c1 j' u

& X4 z/ @+ o% K2 C& B3 E
  1. 3 W7 L6 K4 h* I7 U7 _
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 I" c3 u5 G, b+ ?' V/ k

  3. ; U9 j9 V+ L0 g% A5 J
  4. ### What we need ###
    ) ^/ @. b  J/ {2 b8 U
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( j) [- ^0 _% ~8 N) j
  6. will not explain how this can be done - there are documents out there for the
    3 H( Y3 d* V# V# K- \
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 {) X/ A/ W' N) L# n
  8. and a user account (username + password) that has the permissions to do stuff# o9 J5 J1 m' y# ]  K; y1 ?; x
  9. with the database. Additionally, you will need a vendor library installed on the
    & M3 R, @+ O9 h* _
  10. local machine, this came with my MySQL install.
    ) }! P- A1 F+ {; Q
  11. These instructions will not tell you how you might transfer your data from the% m8 |+ @' q6 a4 e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " a$ M2 J4 w' f9 `9 I
  13. database.* N/ l9 e; L5 x) _
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 Q5 l8 U+ J/ R, g# H' O
  15. the time of writing, there are still too many issues - check the current status, {7 G  a1 j" A
  16. in the TeamSpeak forums if you are interested.
    9 c: \* p! j# O( g. _1 f
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! ?, D$ F% q+ P( ^
  18. Borland was used. This driver can only interface with the client library that
    1 m! V7 t, z2 ?& u7 ]$ f+ G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 l/ t5 I& j# P7 r5 s- W
  20. client library - basically all you have to do is to use a 3.x client library as
    * @- D( e4 B! I% F: }0 c
  21. "VendorLib" and a 4.x database to connect to.$ ~6 `) y  U; G( o7 K. X
  22. If you need more info about dbExpress, you can contact Borland.1 m7 m+ n. l, g! ]

  23. * Y7 {* x- |6 O& H/ U7 A# t
  24. ### Doing the work ###6 c! L* K4 G# G6 j* M
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 j! B5 X1 E' i
  26. the perquisites right, just open your server.ini file, and add this section at
    2 }" z' o; M& ]9 z* N
  27. the end:4 F, R  P* H9 Z! L2 h
  28. ---cut here---5 F0 R9 q6 Y) _9 S3 ~; M2 j. _3 n
  29. [DBEXPRESS]
    " }/ R/ ^$ e* g! D
  30. sqldir=mysql_sql
    & V1 t9 Z* Y% o2 O
  31. Drivername=mysql+ c6 q: {8 e: w
  32. Database=Your_Database_Name_Here
    3 Z6 a1 H/ u1 u
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 U$ w- e8 ]; S- o3 }/ G! q8 m
  34. User_name=User_name_on_the_MySQL-Server0 f2 u5 n5 p6 M) I
  35. Password=Password_to_go_with_above_user_name
    6 K/ |( a4 a  {2 _1 f0 W4 J  l7 R
  36. GetDriverFunc=getSQLDriverMYSQL
    7 j/ A  g$ R, g9 a  Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( _+ Z! \4 S4 t  c* k  o# @
  38. LibraryName=path_to_libsqlmy_libary- C( @1 H' y2 t/ N' F
  39. Active=1  P" Q+ }( w* ~- |0 m! Z
  40. ---cut here---
    ! J* `( ~, }* P& `$ m( J
  41. In my environment (a linux box with a MySQL server running locally) I have:
    5 t1 ^+ ]6 y9 I. v4 Z; J) E% q
  42. ---example---
    5 Y* t% _. j* c' I
  43. [DBEXPRESS]2 o8 o7 f( Z5 M9 @( Y
  44. sqldir=mysql_sql/ `, x) Y, d3 y4 D' N9 c4 g
  45. Drivername=mysql
    - U1 G4 l& U* F! n2 p+ [
  46. Database=test
    , ?7 B9 J. H# d/ z# C3 \1 u. s( |
  47. Hostname=localhost2 w2 H1 C; {; [, Z- B
  48. User_name=testuser
    ! q% h. M) u/ Y1 p
  49. Password=my_password
    + W% P+ M' g3 C6 S7 S5 B
  50. GetDriverFunc=getSQLDriverMYSQL
    3 \6 T. y2 L6 `8 W2 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0/ t, J3 a* [8 ?3 I
  52. LibraryName=./libsqlmy.so
    . x6 ^! g4 r  a7 q) z; m) W" R
  53. Active=1
    / b5 {# p$ `5 z
  54. ---example---1 [8 J3 B5 i, x
  55. 8 Y6 ]/ z% [& l) n- z
  56. On a windows box, also running the MySQL server locally, it would be:
    9 L( j! A3 s) T
  57. ---example---9 l. K( n. }! n
  58. [DBEXPRESS]
    7 a7 d9 i( y, m" }3 l
  59. sqldir=mysql_sql
    * i: F5 f! T: }% y4 z; i
  60. Drivername=mysql
    ' `" r- H( L& l1 {1 I
  61. Database=test2 U2 E# T# p9 `0 \3 ?+ W4 X
  62. Hostname=127.0.0.1! |  D% i! n$ b; g) k
  63. User_name=testuser
    4 f$ y- F/ N9 ~( d6 e& g
  64. Password=my_password
    6 G: ^" p# t# F
  65. GetDriverFunc=getSQLDriverMYSQL
    5 N, B" a% I) K# }  x& @
  66. VendorLib=libmysql.dll
    ' J+ u: O1 ?. o- P* c, H. m4 f" }
  67. LibraryName=dbexpmysql.dll) j& X7 |/ T$ d
  68. Active=1& s$ b/ c3 M+ T* i* u$ y5 j
  69. ---example----: n3 `5 O; p& ~% |4 v
  70. - written 02.03.04 by pwk.linuxfan
    : P* e4 f% e  Y5 Y7 \: I: w
  71. 2 w0 |. G8 m5 f! N( Q" Q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看0 n" L7 S  _- ?( K3 C9 a6 a

  1. $ z+ D: C4 P* @) W9 k2 z. t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### . z/ q- K6 c& S: ?( Z" N( E8 |

  3. & ^7 U1 a- J" |( [+ X% S
  4. # # #我们所需要# # # 9 h, O" q( m1 c% h8 }  |; p
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    & v: U  y3 I) q' P& L7 |; v+ P5 ~
  6. 不会解释如何做到这一点-也有文件存在,为3 B' r% {" _9 I8 w% `
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' r9 G7 x) p: \0 g1 h: O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
      x% h- q: K. I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ Z1 `& X3 c* a! W+ [
  10. 本地机器,这是我的MySQL安装。
    " k9 w4 T# q& P' v' Z; R
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从  l9 i) h. C* s' ?( B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . X! R& f: w! }$ i5 p9 i9 A. O- J; f
  13. 数据库。
      r) P3 x/ W  t5 P1 Z1 O$ B: ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ! O# a# e" D+ @. }
  15. 编写本报告的时候,仍然有太多的问题-检查现状- w- i1 u: ]% \. B$ Y. {: `
  16. 在teamspeak论坛,如果你有兴趣。 ' f  c( x+ ?' F" C) k/ q4 l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. s  N% X# t+ f7 |
  18. Borland公司使用。这个司机只能界面与客户端库
    * v# W7 H, B$ X/ N/ g1 M# O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 |$ I7 z: h/ P1 e1 T# l/ U6 o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . ^; z  j$ s5 T
  21. " vendorlib " ,并解数据库连接。
    2 n/ _# L- z% [% B% ^4 \* ^  y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' ?4 q  j( x# u, G# b0 S) [
  23. 7 s5 A# v0 y) n, S
  24. # # #做好工作# # # 8 i' h% \5 W  W% n2 [5 k6 F+ G, {! R
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: O5 |. {. }% k# R: }5 s4 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% O& |2 }: b* W! L3 U3 s
  27. 结束: ( G( K: R6 f% j/ N4 y+ G4 R0 N
  28. ---削减这里---
    1 `; B  x* I+ p" l% T
  29. [ dbexpress ]
    # J& Q) v$ H  X5 T  b
  30. sqldir = mysql_sql
    9 p6 ]- n( w8 |( L) o0 Y' S; S- P/ _
  31. drivername = MySQL中
    8 n3 g3 M# t' I. Y' R
  32. 数据库= your_database_name_here
    0 r+ O6 I+ [. g! Z- ?
  33. 主机= the_pc_the_mysql - server_is_on
    8 H; r3 U4 V' h8 |* F: _( W" F
  34. user_name = user_name_on_the_mysql服务器- `7 \0 @% O2 k- w# ^
  35. 密码= password_to_go_with_above_user_name
    , @8 {# L+ [; H" e( ^! U
  36. getdriverfunc = getsqldrivermysql
    $ v$ \$ o8 V' x8 K$ R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 Q3 w( h  F4 G( @# [6 H0 ?  ~! u
  38. libraryname = path_to_libsqlmy_libary
    * K4 _' f& ^) `' T
  39. 积极= 1
    * o7 h% c; M! q
  40. ---削减这里--- % x% F; Z1 j" C( y, J
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + t" P- o7 X# h- b! m$ @! }, P
  42. ---例如---
    " m* ~. _; R; w2 w$ f! U& g; _
  43. [ dbexpress ]
    ' g& v) F8 o  Z+ P1 h; K
  44. sqldir = mysql_sql
    8 r, _: a# o% ]" w% G
  45. drivername = MySQL中3 E# r4 X4 N2 u$ T: s1 J
  46. 数据库=测试. G$ t+ }' u7 w! |: ^/ B1 W( b
  47. 主机=本地主机
    * M$ @7 N+ L  b( @3 A1 I' k& X; a
  48. user_name = testuser
    . M; u0 v4 x* G' e# c  P
  49. 密码= my_password : c+ _/ x2 s2 P7 I
  50. getdriverfunc = getsqldrivermysql 0 E7 \* c9 s0 U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 h& G/ |: V) K& E  I" N6 e" ~; q
  52. libraryname =. / libsqlmy.so
      @( J( `' ~* ?
  53. 积极= 1
    ! R* A9 s4 c$ C9 E$ e* B
  54. ---例如---
    $ d6 c* g0 w1 I2 W: f0 `
  55. : e" ?; w  g5 d. z
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / o/ j% r. }7 R! z& I; O4 D
  57. ---例如---
    & b: j, n4 a' r" h) W" ?6 U# s
  58. [ dbexpress ]
    ; C7 m3 J+ C$ L1 g  Y% D
  59. sqldir = mysql_sql
    3 U. t7 L* U% A7 m/ A# z
  60. drivername = MySQL中6 W( ^/ O- ]4 y! N( e  e7 _
  61. 数据库=测试5 P7 G! h( }  y' h6 J4 C+ z
  62. 主机= 127.0.0.1
    2 f& h0 P! Y% o; |* {$ ?
  63. user_name = testuser - ^/ }; k* {3 ]0 p
  64. 密码= my_password
    # ~! r, Q. T9 P0 A2 n
  65. getdriverfunc = getsqldrivermysql
    9 t  @! a9 |4 H4 h
  66. vendorlib = libmysql.dll在: q; }) F" X" t/ J: d
  67. libraryname = dbexpmysql.dll
    7 ^7 l- _# Q/ P5 d; W# k# X
  68. 积极= 1
    6 h) ~! p; c2 g$ |) \9 x/ D  F
  69. ---例如----
    ( x; z* X: w5 @2 i8 M
  70. -写在0 2.03.04由p wk.linuxfan, f7 h7 p  H% [, S) A
复制代码
发表于 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 words7 Z8 H( F% C9 O$ r  H
8 j$ S( Q* d3 x; 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-15 09:42 , Processed in 0.106044 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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