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

2553 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 ]; Z6 E( Z( j
4 i. Q- R' m9 ]8 k2 v0 C

  1.   `+ ~* I# G; m7 s: q1 Q3 E& Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ G% ?$ f. ]' h. {) M4 }# \# Z% }
  3. * E- E" K  `8 @, m
  4. ### What we need ###3 h6 I/ C+ a0 V% h' j$ M9 J
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 U2 R2 K/ \3 b  t2 p
  6. will not explain how this can be done - there are documents out there for the 8 ^9 s) u9 X; |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ Z7 G6 i& ~" ]; d: ~- @5 U
  8. and a user account (username + password) that has the permissions to do stuff
    , z- P* x. b4 i/ n, e! C1 o
  9. with the database. Additionally, you will need a vendor library installed on the
    ! `" v8 J5 Y  [8 Q0 L, S+ |
  10. local machine, this came with my MySQL install.
    0 s7 V. I2 H/ J( Q# g1 G! {
  11. These instructions will not tell you how you might transfer your data from the
    9 w. \% }/ K. N" f+ s& U* o# Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& v6 n# l; g7 j* f, O3 |9 [% g9 T
  13. database.
    1 |$ p5 H7 I/ Z! F9 q0 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at4 O7 s" P& h9 z0 b' r1 X7 _4 ?) q, n
  15. the time of writing, there are still too many issues - check the current status# f8 g+ p! v6 y6 |6 N- T5 c) D2 o
  16. in the TeamSpeak forums if you are interested.
    7 N2 i  d2 c( X8 M6 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: z/ N5 V& M0 l# {4 u' Z
  18. Borland was used. This driver can only interface with the client library that
    & Q6 y7 @5 s) L+ k6 m" m' t7 H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( U5 K! P$ q! \7 b
  20. client library - basically all you have to do is to use a 3.x client library as $ V2 v/ M5 `2 D1 D6 [; r( E. @
  21. "VendorLib" and a 4.x database to connect to.- x% P* r# o9 _
  22. If you need more info about dbExpress, you can contact Borland.# h. r5 \/ n$ I" q) ^2 \

  23. % |4 x) ]: W) i8 c& T" n
  24. ### Doing the work ###
    9 b1 o; S- t1 o  C' j0 P  G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : z* A" Y5 ~; |+ ]
  26. the perquisites right, just open your server.ini file, and add this section at! z5 b% L( }9 k- F/ q) m
  27. the end:% m, z( b$ C  ]/ w
  28. ---cut here---$ N6 V, |9 T, H: j1 ^3 D
  29. [DBEXPRESS]; F5 C3 u% O! b; |# U
  30. sqldir=mysql_sql
    7 ]" P$ }% d7 a! q
  31. Drivername=mysql
    3 I1 {/ O; H& j& f
  32. Database=Your_Database_Name_Here, |, c! t- z2 n6 c. ^: g: h0 _5 S4 r
  33. Hostname=The_PC_the_MySQL-Server_is_on2 q3 Q) t3 l# ]8 L6 P
  34. User_name=User_name_on_the_MySQL-Server+ z: O; |5 n# Q1 }
  35. Password=Password_to_go_with_above_user_name+ Y2 e  P: o' j' F
  36. GetDriverFunc=getSQLDriverMYSQL! u* u  r& U3 i, h4 d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& T# d( l/ _: `8 b4 O( W7 B) t
  38. LibraryName=path_to_libsqlmy_libary+ u* `" O  Q/ y! c
  39. Active=1
    - p# [. t; N/ i) {' U) _
  40. ---cut here---' t9 H5 l- E0 a
  41. In my environment (a linux box with a MySQL server running locally) I have:$ v/ G1 t: G3 S" i6 y# A+ v- m
  42. ---example---/ b4 u. |2 Y1 |+ y. q6 o' f
  43. [DBEXPRESS]: T- k( F4 c1 r$ k& P8 R
  44. sqldir=mysql_sql" s& |8 Z8 P, X- V
  45. Drivername=mysql1 @* O- h) ~3 Y% o4 U0 P/ \
  46. Database=test4 a3 O1 P4 ~+ x7 J( N, W5 T& g
  47. Hostname=localhost
    1 `7 [9 k0 M# H4 E& h
  48. User_name=testuser- H/ i( e& _2 u- \
  49. Password=my_password6 n) {" s4 S& W; l
  50. GetDriverFunc=getSQLDriverMYSQL' `/ b- w; \- K- C: k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  H' O6 r$ ?% ~9 K1 B/ k1 A
  52. LibraryName=./libsqlmy.so
    , a) N3 z/ A" d8 r0 [
  53. Active=1
    8 ^8 W+ s* o$ O% b, J( L( \4 }/ P/ l
  54. ---example---5 {$ k8 j! P" s$ F  i; [/ u
  55. 9 W* M. |4 D8 n+ J
  56. On a windows box, also running the MySQL server locally, it would be:! ]# R1 J9 U5 b( w! _
  57. ---example---8 u, |7 K# O3 d; j; T
  58. [DBEXPRESS]
    8 i( {0 L! _$ Q) x& ~4 f
  59. sqldir=mysql_sql0 L1 ^* x% u+ ]% P8 D1 H
  60. Drivername=mysql! O* I' X7 |  c* J8 Y" X. E
  61. Database=test
    , S* B2 i$ s& ], u+ k* ]! M
  62. Hostname=127.0.0.1
    5 K, I! }8 x" g; z8 [1 {
  63. User_name=testuser
    ( K. H; U! i6 E' j+ g
  64. Password=my_password
    6 z! k0 V9 A% F3 V6 B$ R, W
  65. GetDriverFunc=getSQLDriverMYSQL2 ^3 o) E7 u+ \3 W
  66. VendorLib=libmysql.dll" K% T3 P0 x# z) f9 E5 ^
  67. LibraryName=dbexpmysql.dll: F" U/ ~" q1 w
  68. Active=1; f+ i$ o3 [* M3 I# {  I
  69. ---example----
    # M3 s2 I  O7 Z- K& v& D% Q# T3 U
  70. - written 02.03.04 by pwk.linuxfan% X# W1 q) w4 L7 Y  \( ~
  71. * z3 g% Z5 Y- h  N$ R( D/ s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# V, v( W+ C8 V2 u. I2 `7 k

  1. % i0 d1 @% z5 E3 k$ c0 M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : |7 n. S7 l9 Y. H5 p

  3. 9 N6 s; s) U( ^3 x- S9 z- F& ^+ d3 m
  4. # # #我们所需要# # #
    # N/ |9 l- i' a2 k/ n! K. n% ~, D$ j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! I7 N! c  T8 o) I
  6. 不会解释如何做到这一点-也有文件存在,为
    " X: m3 J5 C. _+ A2 I& b: ]' L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    3 z2 j+ o2 Z1 C) e
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " c1 T! n! \5 R/ v3 f6 V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ y% u/ i- C0 M7 l9 N. M+ j
  10. 本地机器,这是我的MySQL安装。 8 ^+ X7 r9 T; K/ c
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    3 |/ x1 W, L1 G9 j: e0 T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; G- @% N+ @: N
  13. 数据库。
    1 A5 C$ [) u8 B$ c$ W% V1 P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 y: Y. z3 y  r1 ]9 J+ V) F
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 l+ ?- m9 B3 J, @
  16. 在teamspeak论坛,如果你有兴趣。
    , p3 B# y, E+ L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: F) S" Y% u$ @2 G* w) b- K
  18. Borland公司使用。这个司机只能界面与客户端库' X; C  u* {; c9 g/ I: |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- N. L  n" F) A1 v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : R& f! r7 \4 @' ?4 l9 B2 j8 t
  21. " vendorlib " ,并解数据库连接。 7 _4 B  p! a  A
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ \8 c" O% ?2 z' ~

  23. ) J2 x# `- v$ b( p; h
  24. # # #做好工作# # # 7 Y; A9 L. f+ n4 j' B
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 x& W3 H* T  \4 {& V2 H
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % j0 f0 Y0 O1 k) e
  27. 结束:
    " W7 V( s( s" b0 S. N8 V# i
  28. ---削减这里---
    / ]( e8 `! b0 H" N* F
  29. [ dbexpress ] 0 z8 G% D9 \, }" h2 H" Y' p
  30. sqldir = mysql_sql ! r+ C5 p* [" y; Y( d/ {
  31. drivername = MySQL中) M8 U" E6 u0 a+ X6 v" k
  32. 数据库= your_database_name_here
    ; v& S) Y, j! ^! B8 p- O8 b+ _4 A, u
  33. 主机= the_pc_the_mysql - server_is_on
    ( L7 P' @7 i( P% p) z! d; Y. J
  34. user_name = user_name_on_the_mysql服务器# ~% x" Z# ^  o2 x8 x* y1 ^5 K
  35. 密码= password_to_go_with_above_user_name
    ! d% j: A2 y' A* W# @% ?
  36. getdriverfunc = getsqldrivermysql
    & M6 K! Q, R% V; O* S" D7 \
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * |5 R1 g- k1 s1 D" q$ \1 T% e
  38. libraryname = path_to_libsqlmy_libary
    8 m6 T7 T/ p) c0 D7 E& t
  39. 积极= 1 ) E: s! X+ ?( f' j% M9 Q
  40. ---削减这里--- $ r  e4 G4 i5 \& p5 r& X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 I5 w9 E( P6 V
  42. ---例如--- 0 p: M4 [0 q  E% y, ?. S, A
  43. [ dbexpress ] ' O  q* E4 e% }- Z  G( _
  44. sqldir = mysql_sql
    ' E4 @* {6 }. Q7 v" R' F' i
  45. drivername = MySQL中
    / w- T" q2 v/ Q8 u6 `3 N4 R. M
  46. 数据库=测试6 O; H7 f: J, [+ T5 _0 l
  47. 主机=本地主机: C; i1 p$ G* m+ u; o1 A( f! L  ]
  48. user_name = testuser 6 Z3 @1 ]$ U. K. |2 W: d" r
  49. 密码= my_password 6 S6 C; k) Z0 d" ?- e
  50. getdriverfunc = getsqldrivermysql
    2 G: w0 x" H9 U: S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    3 r! g* Z+ k( e" I8 W9 A. x1 X
  52. libraryname =. / libsqlmy.so
    0 y0 H1 x9 W2 E& @, f9 S  ]" C% V
  53. 积极= 1
    2 ^9 O& `, m: Y
  54. ---例如---
    6 O1 H  d4 @8 M. E
  55. 2 U+ B9 B3 ]( h
  56. 对Windows中,也运行MySQL服务器本地的,那就是: : y  V9 Y4 x: }- C# \
  57. ---例如---
    / u% {- O4 o  o
  58. [ dbexpress ]
    ' H+ b: Q( T. w8 k7 t& [6 v
  59. sqldir = mysql_sql
    & X: `( g: [9 E% p  p7 F9 w
  60. drivername = MySQL中
    , D1 t+ \0 \' G; n3 P( O$ c
  61. 数据库=测试2 N- B4 u: b( q: K% V6 ^+ P+ w; o
  62. 主机= 127.0.0.1
    ' \1 t3 Z9 Z7 I$ O  \! j
  63. user_name = testuser
    5 M( h. j1 l2 ?+ m# G: w
  64. 密码= my_password
    3 Y% R2 T, h. f3 |/ O& n
  65. getdriverfunc = getsqldrivermysql 8 k+ y# ?. c( Q6 t( \+ F' i! F
  66. vendorlib = libmysql.dll在: `) f& N' w, X9 {- E# l
  67. libraryname = dbexpmysql.dll
    3 W: m; A, ^, N' @) `6 k6 x: @
  68. 积极= 1 2 e: q! k" S' K3 C* R8 t) J) ?+ H8 p
  69. ---例如----
    ( }6 h. w1 m+ n5 p/ r
  70. -写在0 2.03.04由p wk.linuxfan0 E% g+ H+ h$ O4 q- k& D0 |% N
复制代码
发表于 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- G9 F, n* ], V; y

7 Z* F& M* T( ]; E* jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-25 12:39 , Processed in 0.091544 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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