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

2493 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 Q) d( f) z$ I; x/ u6 e. P3 a) A9 T- G3 f# O6 {

  1. , Q: H* k5 w0 p" ?2 a: g- g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 d7 e7 d0 K5 m9 o; f" h/ u3 F
  3. ! E/ C# M3 ~$ [. K' O# `5 b' q7 g& N
  4. ### What we need ###
    6 p% M. G" F8 {8 ?# }
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # r1 {2 X7 F9 C; R  ?! _
  6. will not explain how this can be done - there are documents out there for the 8 q5 }+ ^4 Z2 n3 ?3 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * L0 r( z. _& u" T* v) A/ c
  8. and a user account (username + password) that has the permissions to do stuff8 t0 y8 o* a$ Z! `! M  W, c0 D
  9. with the database. Additionally, you will need a vendor library installed on the8 y  n2 S( b( C& h+ U
  10. local machine, this came with my MySQL install.
    5 G) \/ P6 G1 i/ |& z1 p0 u7 O
  11. These instructions will not tell you how you might transfer your data from the
    # J1 ^* a# u# G+ ]7 ^  _6 I0 ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL3 T9 ]" `- H& c/ L
  13. database.( ]9 C7 B( `: ]# s& y5 Z4 _7 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at* o* L7 t0 I3 `/ @4 A; Y7 F  @
  15. the time of writing, there are still too many issues - check the current status* s# Q! V( L4 H; B! r
  16. in the TeamSpeak forums if you are interested.
    $ O0 `! V1 D: {5 B
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 s, u5 F5 w9 I% n; ~
  18. Borland was used. This driver can only interface with the client library that 4 x/ d) x, W& [5 G- s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 {5 m$ d) o% p' \
  20. client library - basically all you have to do is to use a 3.x client library as
    ( v9 k2 ]6 `4 y) ~0 o
  21. "VendorLib" and a 4.x database to connect to.
    6 w; h. e5 D5 x' B' n  m/ n6 e* o
  22. If you need more info about dbExpress, you can contact Borland.
    ! R2 n4 @% @& h

  23. 7 u; M% O! x* Y2 e( Y- e8 F
  24. ### Doing the work ###9 n( R6 W9 g- ~
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    9 \2 M% r2 F" g1 K7 c7 q
  26. the perquisites right, just open your server.ini file, and add this section at5 ?% K+ o; v0 J3 ~' x
  27. the end:$ l( N; A7 j; e6 d0 T
  28. ---cut here---
    3 ]' t1 _" }, m  {9 c; @: b
  29. [DBEXPRESS]
    ; e* f" v( ^3 g: O( Y$ ]5 I
  30. sqldir=mysql_sql5 C) I$ g* A" h/ z
  31. Drivername=mysql  s/ _& r% f* Z, e# ]" V7 m6 u
  32. Database=Your_Database_Name_Here
    " S5 s  u: f; j3 g+ Q& i
  33. Hostname=The_PC_the_MySQL-Server_is_on: q' f) u* P% b$ ~# l
  34. User_name=User_name_on_the_MySQL-Server# j: Y9 G, l: q
  35. Password=Password_to_go_with_above_user_name% x4 x( v  |6 b" \! K1 T
  36. GetDriverFunc=getSQLDriverMYSQL
      j3 f2 W9 v( p6 {% |9 `
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' D0 `5 A3 u( p, `8 A, N
  38. LibraryName=path_to_libsqlmy_libary
    9 s4 X2 n% I7 u7 T5 Q1 S
  39. Active=1/ A3 k' V' [7 f8 r
  40. ---cut here---; S: D5 }( V# ~5 Z. l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    : G# e- `' t! K6 J
  42. ---example---7 a: b/ i( I/ A8 {7 `
  43. [DBEXPRESS]+ Q0 Q: h( u+ u# C
  44. sqldir=mysql_sql4 |$ V7 |2 I; u# U  v2 m
  45. Drivername=mysql
    ' ^& ?" x6 a/ Y& O. E
  46. Database=test8 r7 _5 M9 H1 L: `. o
  47. Hostname=localhost% r, B8 C7 ?" K2 p  w4 u  d: g% i
  48. User_name=testuser
    % T7 J7 [1 X& r
  49. Password=my_password
    ' V& j4 ?- |& e% C' g+ a0 `3 R# c# [
  50. GetDriverFunc=getSQLDriverMYSQL
    & ^+ l) ]' u; ]+ s8 ]7 d6 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. X  h" S& {0 O5 w4 ~8 k! a0 ~, Q. c
  52. LibraryName=./libsqlmy.so/ P, J* E  Y  U9 x
  53. Active=1% }( }# t+ n/ o* H+ v
  54. ---example---
      ^! R6 P" I) A8 _7 y$ q* F/ \- T
  55. 6 ?0 Y; n+ {# e* ^! l' Y0 A
  56. On a windows box, also running the MySQL server locally, it would be:/ E4 g! G+ X! d3 p; b$ d
  57. ---example---4 x2 `& q; R7 r) O
  58. [DBEXPRESS]
    , m" l! j: D2 \
  59. sqldir=mysql_sql
    - x0 k. ]) j) L( M* `
  60. Drivername=mysql/ `, O+ A  A! s$ v8 m
  61. Database=test. a, E2 c: u7 U  S) D4 N+ @1 _2 f
  62. Hostname=127.0.0.1
    % {2 [" @: J% ]
  63. User_name=testuser2 K; S2 K  y0 X7 L) u
  64. Password=my_password
    $ Q1 g& j& g0 ^. I$ F; v1 t
  65. GetDriverFunc=getSQLDriverMYSQL# H( D/ R: i( s" @
  66. VendorLib=libmysql.dll. c  x( F1 Y- `. J/ y9 K, ?
  67. LibraryName=dbexpmysql.dll- N0 m7 t( @1 ?; {$ t! }, }, ]
  68. Active=1
    $ U+ T  h% `) b1 T. N
  69. ---example----( e' X" Q8 g! D( m
  70. - written 02.03.04 by pwk.linuxfan
    - J6 T6 ]! |% `4 z
  71. ) Y' R1 S# R2 J) r
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 |0 [+ q: G# ?/ J% _

  1. . C* }0 f; B" p3 j/ M5 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ @; w6 g5 L5 J+ o' q, N. N4 E( [

  3.   q  k( l$ A& q8 A
  4. # # #我们所需要# # # 7 O! x/ c0 l% [
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件1 v' w$ o/ K$ M! }: T. i
  6. 不会解释如何做到这一点-也有文件存在,为* S) `" h$ c  J$ z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( e/ t' ~) U# A0 j2 l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 ]( m0 a7 ?$ `4 w6 Y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 W( N& I9 c8 [# h; s
  10. 本地机器,这是我的MySQL安装。
    / U4 ]+ y/ j, m: m" L
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
      F% _3 v" B; o2 ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! Y* j6 m+ Q1 B) H
  13. 数据库。 ) y& v/ E% ]5 o1 h$ x/ h/ s7 }! \
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( y2 w9 z2 f  y& v2 ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状: e: e# d+ ?+ {7 B# g: X
  16. 在teamspeak论坛,如果你有兴趣。
    8 `7 u( P' A# x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + [6 |+ o' q2 l1 n% }6 E1 Z/ W
  18. Borland公司使用。这个司机只能界面与客户端库* {3 `; F% O/ l' `( \9 G$ @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + m) v6 `) g  |$ M3 f  u* ]/ l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- E% Y/ \' j7 ]' f! c8 P
  21. " vendorlib " ,并解数据库连接。 ) r" \- G8 ^5 b" G
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 \0 e: ~1 |! v4 c

  23. + C# A* i9 Q  S$ I3 P+ r) a
  24. # # #做好工作# # # ; C! d% D& L' H, C" _6 R' d; W( [3 p
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; T. X0 }/ o( E# t& `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: D7 J* O! }6 q8 m/ P  W4 h
  27. 结束: + l& J: e8 d, J
  28. ---削减这里--- - a9 z6 V+ A5 M, p8 _5 k- v
  29. [ dbexpress ]   F+ C. t5 i8 N( v7 C2 t' C
  30. sqldir = mysql_sql
    ) B# W# l, E* z) w; f
  31. drivername = MySQL中
    % i) ^! N& T& q7 p$ P
  32. 数据库= your_database_name_here
    7 q, F& d2 r$ x  g& j8 I2 b" _
  33. 主机= the_pc_the_mysql - server_is_on + r8 l" B8 a2 q- e* B" ^! w& X6 t
  34. user_name = user_name_on_the_mysql服务器
    * h. u! ^2 E) S, I" A( C
  35. 密码= password_to_go_with_above_user_name
    5 }7 Z- Z  P  O, p
  36. getdriverfunc = getsqldrivermysql
    8 ?) Q& m, B1 N  {: o1 a. K7 K5 V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 y( S. y6 u7 O$ k6 |
  38. libraryname = path_to_libsqlmy_libary - G' H. D- g+ O- E; S! O* f! Y
  39. 积极= 1 6 @# \! f) o- }0 d
  40. ---削减这里---
    ( [! K. ~7 e4 [5 O
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ; @9 z+ M) h& U( w5 G+ D) j7 g' y$ M0 v
  42. ---例如--- 0 q$ b! V+ g2 g- o) I9 \: R; T$ y
  43. [ dbexpress ] 0 k- O# [$ d! p. z: Z% H- a3 ]
  44. sqldir = mysql_sql
    . c) d- w$ h4 z3 p: ?' E
  45. drivername = MySQL中' |0 [# u* E! s
  46. 数据库=测试- d" T" J0 n9 p% _( X
  47. 主机=本地主机2 H+ |- n0 {: t) P2 O) N
  48. user_name = testuser
    9 j3 j0 e3 K' P' m) T7 X7 I6 Z
  49. 密码= my_password 9 T" f& c, `6 T- {2 O. J' y, Y
  50. getdriverfunc = getsqldrivermysql
    " R( y7 U" W4 X1 f" m
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 y) {% H* @- ?. f5 D7 ~
  52. libraryname =. / libsqlmy.so 6 P* _; F8 t5 Y
  53. 积极= 1 ( }3 {+ J- q. z" ?9 f
  54. ---例如--- 0 z. z# V3 S: U5 @' {$ Y% h

  55. 8 ]) c0 q! |+ J
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    0 ~( E4 D1 i$ x2 R6 E7 a0 L1 h
  57. ---例如---
    1 P4 J7 p% c/ y. u% l4 z/ G! ~; k
  58. [ dbexpress ] , w5 v3 @7 J! D( O
  59. sqldir = mysql_sql - [8 i4 C  f. r- z3 ?
  60. drivername = MySQL中
    6 m, @: o: j8 P( O" h/ o
  61. 数据库=测试
    : |) w' Z+ r# X( D, m: O( U
  62. 主机= 127.0.0.1
    / x% V& b; Q2 ~# N: B. A6 G! t. q
  63. user_name = testuser
    2 c8 u" \+ A' n5 I# V
  64. 密码= my_password 4 M" e/ C( U( g
  65. getdriverfunc = getsqldrivermysql
    5 j  P  S' |5 }3 a& ?
  66. vendorlib = libmysql.dll在' K- W0 S0 f0 ~% Q. U( i/ X& G
  67. libraryname = dbexpmysql.dll # f- O9 v/ s. ]* t
  68. 积极= 1
    : `! `" e6 V+ O
  69. ---例如----
    + s) X! h- u0 B$ a$ I0 _
  70. -写在0 2.03.04由p wk.linuxfan
    : N& y' H8 }4 \' `' R; A9 r
复制代码
发表于 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 words1 t0 G9 B8 w  n3 g' A0 E
. l0 Q* S) d8 u5 O
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-10 10:54 , Processed in 0.113468 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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