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

3327 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ a" J! G, _1 @7 I* M
3 V! b* k+ @) q0 u+ `
  1. 4 }3 n, y& ^, c, M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # B# o5 ^, l# R; v  V  V$ B+ v# D

  3. ' H) X: d% y2 w5 c
  4. ### What we need ###
    1 ^3 Q/ `9 {9 h# h# c4 x
  5. Naturally, we will need a MySQL server to store the data for us, this document % U% F# x; D5 h
  6. will not explain how this can be done - there are documents out there for the
    : S$ E! G5 b4 E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    6 a) J; e. v) K% @' h
  8. and a user account (username + password) that has the permissions to do stuff
    5 I% e2 I- h" }- L, J4 q
  9. with the database. Additionally, you will need a vendor library installed on the4 W# l) }  H) M3 g
  10. local machine, this came with my MySQL install.8 k# E& `$ Z2 g# F
  11. These instructions will not tell you how you might transfer your data from the
    8 \( p. U8 W9 M) P; G/ n  {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # H6 J4 Q: y3 {) u; ]
  13. database.
    % O' U! B, a4 y7 J) O+ P5 ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " R; ~) H7 R* }2 V) P0 o/ e9 K. c
  15. the time of writing, there are still too many issues - check the current status5 W1 k* h& e" E& _0 H  q* z
  16. in the TeamSpeak forums if you are interested.
    4 ^( [% U/ }: i" Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    + c+ D/ _4 c. D% ]- f4 N4 V
  18. Borland was used. This driver can only interface with the client library that
    * B" V0 r% S) Q: o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 U& @0 \% U5 H
  20. client library - basically all you have to do is to use a 3.x client library as / f# z; n, O3 ?% d
  21. "VendorLib" and a 4.x database to connect to.: U" N8 S2 ]) j
  22. If you need more info about dbExpress, you can contact Borland.
      [- S( u0 h$ S( n& G- n

  23. : z$ U' F& U! x! p1 ^! _6 [
  24. ### Doing the work ###  D; F6 U6 Y9 h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    7 V: o' Y0 N' M% N3 r
  26. the perquisites right, just open your server.ini file, and add this section at
    2 e% R# c9 m" d% ~5 t  C$ w
  27. the end:0 T2 N8 ?2 j+ `  r, g
  28. ---cut here---1 G# ?  V9 h" B) U- J
  29. [DBEXPRESS]
    $ S7 U* O7 F! M. p5 s8 d7 m
  30. sqldir=mysql_sql
    & K( Z5 _  i; z$ C5 K/ E& u5 ?
  31. Drivername=mysql
    + A; i3 m. B# E9 {" L0 h8 K
  32. Database=Your_Database_Name_Here. s3 c# y/ m. X" [% I$ B
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # a$ x6 S  U9 M5 W* E. c
  34. User_name=User_name_on_the_MySQL-Server
    " i3 A" [& @6 a1 z' L+ w0 R) b# p8 Y
  35. Password=Password_to_go_with_above_user_name
    5 g/ I4 M9 t2 u4 x" T
  36. GetDriverFunc=getSQLDriverMYSQL# L: @3 F) p. Q7 k" |) w8 N, e
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib/ f8 z) S- Y7 F% X% @
  38. LibraryName=path_to_libsqlmy_libary  X( \; C7 G' a% G0 u4 h; B
  39. Active=1- S( _% ^( O- @& W, x- |2 H$ c& O* {
  40. ---cut here---
    # Z$ |) x$ f$ b0 u( k
  41. In my environment (a linux box with a MySQL server running locally) I have:  J5 N. F( W, j4 w
  42. ---example---/ c6 r- w+ ]$ Z# S4 r/ g) b2 Q
  43. [DBEXPRESS]  _( o) s6 l2 G' y+ q; v# U3 q7 m
  44. sqldir=mysql_sql
    $ {/ K& x+ w" @, b, D
  45. Drivername=mysql
    & [2 T$ x- W% |
  46. Database=test
    3 c; n; w* \5 {! C& o
  47. Hostname=localhost
    ( U) o, O* o& Z8 ]
  48. User_name=testuser1 [, U+ [8 {9 w: L
  49. Password=my_password" c1 ^. w2 j$ w0 q4 z- @4 w
  50. GetDriverFunc=getSQLDriverMYSQL  ~' ~  @4 t( k6 x6 I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + a; h/ S4 }0 e9 c8 |% k  }: R
  52. LibraryName=./libsqlmy.so
    : `  ?, V6 f2 \( p, A8 W
  53. Active=1
    ! S$ v: b. t' c4 K& C
  54. ---example---
    & Q* l! v9 f" C7 X! a6 n, X3 n5 ]  _

  55. $ Q0 ~6 n  P: Z) a
  56. On a windows box, also running the MySQL server locally, it would be:2 G# E1 m. u" q' f2 G: X; F. U, F
  57. ---example---
    " ?: p+ E$ y$ Y" j; `! p7 v" o
  58. [DBEXPRESS]
    4 M. \$ [, ?: ?
  59. sqldir=mysql_sql
    % G- M; o5 G; p& m/ B; x
  60. Drivername=mysql' S0 ]! _3 i, P0 Y5 s+ R! z$ }. @
  61. Database=test! {- z( [; p7 V3 U  e! W
  62. Hostname=127.0.0.1& K  w3 A) Q0 U8 @# ]. ^1 y* c
  63. User_name=testuser
    ; b* K) Y+ [9 R1 c
  64. Password=my_password
    ' C1 ^+ X; v3 Y2 D; I4 h- c
  65. GetDriverFunc=getSQLDriverMYSQL, d! v, }! a2 D3 G* n8 D
  66. VendorLib=libmysql.dll" W' ?+ \7 v2 h
  67. LibraryName=dbexpmysql.dll. ]2 u3 M, A0 d' c# D
  68. Active=1; ]4 w* g6 ^; d9 n% O
  69. ---example----' c6 Q& H' O4 q: I; b1 L
  70. - written 02.03.04 by pwk.linuxfan
    ) E! |6 l+ |" t2 O* v( Z4 H* m

  71. # i# i$ _+ w; J2 |- H( L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 l& P9 l  P5 A' ]- h& L+ f

  1. % K* u4 s) I4 s- A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , Z. C9 Y6 n9 B3 B

  3. & X& y' w$ y- [3 k( X2 \% L
  4. # # #我们所需要# # # ! D( ?: f1 Y6 p/ e* E( @9 Q- z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : ~  _: X6 U( I% ^5 ^) V0 B/ V
  6. 不会解释如何做到这一点-也有文件存在,为% S% u3 i/ d0 R( D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ b3 Q- o0 a4 z) B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西9 m( |3 h+ J) y" }" q; B/ I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于( W7 o8 n; {6 S& K5 w# q, L7 ~
  10. 本地机器,这是我的MySQL安装。
    + v' a9 K# s; N3 R: X# b0 v2 X0 R& K+ a
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) l4 f( b& D1 `, w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    , l/ s; A' c) k' ?
  13. 数据库。
    ' S% {0 q% p  |2 f" v4 `) Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在- |% r4 s0 _7 o" ~3 V& \  N/ t" f7 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ; A. d9 ?9 J$ q& S' V4 D8 b. H
  16. 在teamspeak论坛,如果你有兴趣。
    9 N4 W% w. l0 v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 {( k0 N4 {- G- n, {
  18. Borland公司使用。这个司机只能界面与客户端库" W; Z7 Z5 p( @7 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    $ K9 @* @8 M0 D5 r- M, u2 I( Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ e) B$ e% c  B. N. ]; F4 c
  21. " vendorlib " ,并解数据库连接。
    # d4 n7 ~! @' i0 _6 {# Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # }! U* B. P8 t' A/ Y
  23. 9 E2 Q& ], l# x0 h6 _
  24. # # #做好工作# # # + L, g8 f8 M/ S7 O" O% h) z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    - }' m# [; \$ |# q! E+ @7 T# D
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在9 A4 S( Z, z% o/ _! u. a
  27. 结束: " t/ \( n( o# v' n& F8 u
  28. ---削减这里--- 2 T) ?- f$ ?0 m# d, w; O: v
  29. [ dbexpress ]
    % K$ k$ l) S: B5 u  v' m7 w: G2 y8 ^
  30. sqldir = mysql_sql
      n9 A% D0 @, A
  31. drivername = MySQL中4 r) u+ C8 n" }  x( ~
  32. 数据库= your_database_name_here
    5 I* `. w% r0 C2 d, ]& d0 [
  33. 主机= the_pc_the_mysql - server_is_on + |1 D4 }: y* @5 X- N  ]9 G% Z( Q+ D
  34. user_name = user_name_on_the_mysql服务器
    , Z% D# k8 e0 [: n. w7 z3 |! G& d* g
  35. 密码= password_to_go_with_above_user_name
    3 g* G! r- w- y1 D1 D3 ?2 l- A
  36. getdriverfunc = getsqldrivermysql
    2 U* T1 O3 ]* q& a! U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 ]/ c1 N' q# A+ E  p
  38. libraryname = path_to_libsqlmy_libary
    6 O% K( R& l. q" f( l
  39. 积极= 1   z0 v; u% l7 j+ w# Z6 z
  40. ---削减这里--- % ?6 l) u6 T+ ^$ b6 l- a( t6 V
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " B) _% o+ d6 k5 N- q
  42. ---例如--- $ [- o, Q  p' \( k$ g; m
  43. [ dbexpress ]
    ; l# G# r+ f' y* P
  44. sqldir = mysql_sql
    - n3 |, q2 }/ i# v) b) J
  45. drivername = MySQL中& o2 u+ E2 |' W
  46. 数据库=测试
    0 Q8 w, w' C- I6 ?* I! @2 q
  47. 主机=本地主机7 o) L0 s' K# s
  48. user_name = testuser
    + V  |: g  ^1 W5 o
  49. 密码= my_password 9 @- ?6 `/ a# C" Y, O& S, L+ M- |
  50. getdriverfunc = getsqldrivermysql
    9 Q% }0 F2 C- k9 E. P( i
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 ?8 a& u# _8 O
  52. libraryname =. / libsqlmy.so
    ; k  D4 G! c; ?+ P* i2 S
  53. 积极= 1
    + `' e4 _8 E6 \: b  Y3 a0 ?
  54. ---例如---
    / Y* \& s4 x6 F/ K$ b
  55. $ R  b; m3 \4 k0 [* k, R% z8 s
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . h" i) {: |/ S
  57. ---例如---
    + q  r# i; [% _% F2 v+ K
  58. [ dbexpress ] ; Q1 \9 y4 e) J1 d0 ~
  59. sqldir = mysql_sql
    5 f  g6 a' C8 C0 Z5 c
  60. drivername = MySQL中
      Z2 x, ~$ I$ D. {' g
  61. 数据库=测试8 }; o$ f) m# l- |# C* X. _
  62. 主机= 127.0.0.1
    8 x! [$ A3 d, A) k
  63. user_name = testuser
    9 w; z- ^7 O# Q) o6 X( k, g
  64. 密码= my_password
    & m# q0 F$ }+ d! o" C: c
  65. getdriverfunc = getsqldrivermysql
    " B3 t# f4 n$ ]: m
  66. vendorlib = libmysql.dll在1 S; j! W7 l1 P+ f) @' J
  67. libraryname = dbexpmysql.dll ) m' Q2 l; X+ l2 p# I) s4 P/ i2 t6 j
  68. 积极= 1 , m; l! \4 @6 p+ q8 @# O* E$ H
  69. ---例如---- 3 j6 g7 Y3 c( P: Y0 H0 i
  70. -写在0 2.03.04由p wk.linuxfan0 W& \9 [0 _! e0 h
复制代码
发表于 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* `, R# \$ u# F, A+ N

3 f" _- a0 T$ Abut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-13 15:25 , Processed in 0.104803 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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