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

3364 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # P3 O- O+ e5 h2 ~6 F- w. Y

9 J  c+ M, D2 a

  1. 0 j+ X; Y% f! T! I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . g; k2 C) {, M
  3. - M* p6 y2 s$ b5 v0 ^
  4. ### What we need ###
    ( s. k( G* k/ T/ c+ _7 ^/ F" ]
  5. Naturally, we will need a MySQL server to store the data for us, this document
    4 A! X1 y6 [5 H7 @& \* Y* {
  6. will not explain how this can be done - there are documents out there for the 7 i: n3 _1 u7 L4 W5 m: e6 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use# p3 [; K( i6 p- t
  8. and a user account (username + password) that has the permissions to do stuff2 R1 [5 ^! c" s) o/ n
  9. with the database. Additionally, you will need a vendor library installed on the
    ; H9 |5 ?% T' R% D# K+ I  ?7 M( s2 X
  10. local machine, this came with my MySQL install.
    ; `- x1 W& d5 n1 @
  11. These instructions will not tell you how you might transfer your data from the. d# r+ g2 o+ L! D* I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      C2 N" q; ?* [/ i
  13. database.7 }$ x+ `0 w5 w2 ^$ L" H+ l2 E4 X
  14. Some users have reported ways to import a SQLite database into MySQL, but at) _+ @8 @1 i7 t
  15. the time of writing, there are still too many issues - check the current status& A. M+ `2 W7 X* R7 J: F; v# p
  16. in the TeamSpeak forums if you are interested.' P; g: D  {2 \0 L8 [2 R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 l$ b% O1 m  v
  18. Borland was used. This driver can only interface with the client library that
    , d0 Y# p9 U* P" I6 z% R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ U: M; n  Y% B( j: S
  20. client library - basically all you have to do is to use a 3.x client library as
    , q: }8 u" P2 B3 t2 a
  21. "VendorLib" and a 4.x database to connect to.
    - O1 U: E, M8 Z% Q
  22. If you need more info about dbExpress, you can contact Borland.
    . C. E: R  h4 }7 q

  23. 3 l2 t% {! Z9 q2 e; F/ [0 u; H5 I( U
  24. ### Doing the work ###( d! Q' a) ]- v" j" N& k9 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * A* `5 ]% N0 F. I
  26. the perquisites right, just open your server.ini file, and add this section at/ O: `- I1 h6 Q$ T, ?
  27. the end:
    1 Q) ~* x+ L: D: X/ H, J
  28. ---cut here---
    # |$ W  ^, H5 g+ \2 H0 d8 f
  29. [DBEXPRESS]* }  A/ y% n1 G0 a: L
  30. sqldir=mysql_sql) `+ V1 @, T6 a: |
  31. Drivername=mysql
    ( J# u, m8 [( {  z4 s+ s+ U& Y7 d3 |
  32. Database=Your_Database_Name_Here3 D6 p6 k2 U/ U$ B) ?7 P
  33. Hostname=The_PC_the_MySQL-Server_is_on+ s8 V  ^& {, Z1 [
  34. User_name=User_name_on_the_MySQL-Server
      S# u4 C$ r5 p! X3 k% h
  35. Password=Password_to_go_with_above_user_name
    ' S( M0 n2 b+ e; j5 E$ n8 m. a
  36. GetDriverFunc=getSQLDriverMYSQL
    7 p. |/ {& d1 {) k7 k2 V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - ]3 r# ?0 Q* m0 l" C6 j' x0 Z
  38. LibraryName=path_to_libsqlmy_libary- d" b7 z$ G6 q$ x4 S6 O' E, c
  39. Active=1+ j* c" O* U# S0 @8 [
  40. ---cut here---
    6 k( m  Y: B3 g- i$ \9 o! ^
  41. In my environment (a linux box with a MySQL server running locally) I have:. a! f) Z2 u  g! F
  42. ---example---- D8 ^; L6 c  ]: s0 b3 |
  43. [DBEXPRESS]* n3 C: f3 z$ M" S1 f; s" }& ]4 x
  44. sqldir=mysql_sql/ E6 ~* L/ Z8 v
  45. Drivername=mysql
    + z0 K4 Q: S$ v
  46. Database=test# H+ x' C  a. P. g3 ]
  47. Hostname=localhost
    " F4 Q2 w8 i. ]  S  @' i
  48. User_name=testuser
    $ C: d. j& `+ q0 o# k1 y
  49. Password=my_password
    7 [, \* g  |' e8 ?
  50. GetDriverFunc=getSQLDriverMYSQL
      c" e0 G7 B  E- M" C, Y" f( B  J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 ]( c2 G( C, ?0 J* X: \& \. y. _
  52. LibraryName=./libsqlmy.so
    3 \$ y; \4 b6 Z/ X, E, D
  53. Active=18 @7 j6 N- ~+ p$ A  B& j; C
  54. ---example---+ [4 W; K* M+ H+ J6 x7 S

  55. ; R8 B1 _; v% q" ~3 y6 V
  56. On a windows box, also running the MySQL server locally, it would be:0 A" f! I9 ~* |0 ^8 E! U
  57. ---example---
    / w  U6 B1 s0 T9 ?- u& {' [
  58. [DBEXPRESS]/ g: M9 B1 @! g. P, u7 B9 @+ M
  59. sqldir=mysql_sql
    : `+ ?* X! o. C' |
  60. Drivername=mysql
    % K) u8 s6 f7 f, C" ?
  61. Database=test% }2 b0 [, W- x
  62. Hostname=127.0.0.1
    % d/ u* u" A. a) @% r3 j
  63. User_name=testuser
    & H/ I4 V2 S# S( l. V4 m
  64. Password=my_password
    + o4 ?' A; H# y3 F; ^+ y
  65. GetDriverFunc=getSQLDriverMYSQL
    # E. v9 J6 V" `* c( q
  66. VendorLib=libmysql.dll
    9 z& t: L6 [/ h: f! v, L
  67. LibraryName=dbexpmysql.dll
    7 Q, r# U" c0 _& D: V# f
  68. Active=1
    - a( m. b; X) G
  69. ---example----, g( K7 h- T6 X; {2 N% Z( i
  70. - written 02.03.04 by pwk.linuxfan/ E0 K2 ?- Z  J$ J3 u. f- ^

  71. / e; n& s4 u) a7 {0 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 K8 s# h/ \6 n& J& L0 M
  1. ' K4 E6 h# Z4 l, J
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 d3 J* ?2 O8 }0 n; _
  3. ; Y* J% B8 [1 |: Y7 Z/ p
  4. # # #我们所需要# # #
    4 e# G8 ]# b3 h; f* R4 Z
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件3 a7 C1 l2 U) B5 [' z5 A  H
  6. 不会解释如何做到这一点-也有文件存在,为7 M0 J; b% q! u* p( ?# E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 \' E7 c2 K% L( D9 k) M- j) @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - O% F1 C+ _! R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 F6 m: I+ E! D; \2 }* Y
  10. 本地机器,这是我的MySQL安装。
    ; K7 ~' l$ ^& [3 \: b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 T% F/ x0 Q/ o2 s' W+ [; i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) |+ n6 z% V1 t, M7 a  q( y% ]
  13. 数据库。 . ~# O# O; p: k- J; M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' U, F. R. Q- v# R7 r5 \
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    * e  K* f* ]. u2 ?; n4 w, k0 q
  16. 在teamspeak论坛,如果你有兴趣。 : E- z1 j! W1 J0 _: D7 E5 C% X1 l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ Q" d% h0 e% t3 A
  18. Borland公司使用。这个司机只能界面与客户端库* g- v6 k' U+ w. H. u
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 t  L, ~) ?( N, `! P+ i, |& {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- Q/ u; \8 B; O( e; P
  21. " vendorlib " ,并解数据库连接。
    8 L- U# K# G4 t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 W1 F  [0 i8 l% n0 z

  23. & ]5 K, P% K( Q4 |
  24. # # #做好工作# # #
    * R. s' _7 ^# @& ]! z& l$ b' F- v4 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " r8 S. n1 M1 b" B6 N" F! i* {3 P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 F. t' n& a9 x3 F- _% F
  27. 结束: 5 y) V' B% o+ a, z& P
  28. ---削减这里--- 2 W& c3 O5 G7 ]3 K! y* F) A
  29. [ dbexpress ]
    ) B; i9 C8 f  [3 o" l
  30. sqldir = mysql_sql
    3 ^, G& \3 U' a4 G6 S
  31. drivername = MySQL中; V2 A6 \: u" t! T
  32. 数据库= your_database_name_here ( ^* m/ |* \  K" a; R( H8 T
  33. 主机= the_pc_the_mysql - server_is_on . a0 F4 t6 n7 T! U1 S7 W# v
  34. user_name = user_name_on_the_mysql服务器
    2 K  b% o' |# J: U
  35. 密码= password_to_go_with_above_user_name
    ( D  R  O. m1 g! K% `" r( n# t
  36. getdriverfunc = getsqldrivermysql 6 y# m4 ~8 A9 E: M% i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    - y8 \( I' h; e: s2 d$ d$ H
  38. libraryname = path_to_libsqlmy_libary # Y8 Y  ~6 c7 Y9 h& \* a' [
  39. 积极= 1
    7 @1 u. ]9 |. F
  40. ---削减这里--- % G* N! q5 K( b
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * c% I, j& @0 B! J. H/ V
  42. ---例如---
    ; y" N5 S" y7 @/ K( D* z
  43. [ dbexpress ] ! [: Z' w5 T. w6 ]8 {8 U
  44. sqldir = mysql_sql   v- L: `0 l9 z# ^0 o
  45. drivername = MySQL中
      j) }& K/ ^% X3 u. c0 g
  46. 数据库=测试
    ( Q+ O' A7 ^! S" \  B/ T  [
  47. 主机=本地主机9 r. n6 O; l  a0 d) T; u. b! |
  48. user_name = testuser
    ! B7 \' W! u) N- M5 ~8 f
  49. 密码= my_password & ~8 |' u1 }0 }9 {" s/ d
  50. getdriverfunc = getsqldrivermysql
    3 i, ~0 d" P6 t6 E! J# a: ^: P! T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 1 j7 B( K8 b( n* M' |
  52. libraryname =. / libsqlmy.so 2 V. T/ ?) i) [4 f/ k- H2 l' p! `' f' H
  53. 积极= 1
    ! I8 x  e: A, T+ {* U2 P! T% O
  54. ---例如--- ; D# b* r8 A. [* W- w
  55. 8 l  D/ q, J0 L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ k7 r& L4 h: h; N; O3 k
  57. ---例如--- : }% Q( _- |# R; |9 Y( O) b
  58. [ dbexpress ] 6 E' }) c' }+ I
  59. sqldir = mysql_sql 7 v" n# r8 a: a
  60. drivername = MySQL中
    / a/ f3 k' a0 K; ]4 _% u# Q2 P
  61. 数据库=测试
    ! y5 `9 g$ i# N+ }4 C' ]3 H4 Y
  62. 主机= 127.0.0.1
    2 L" b7 C4 i- p& V3 O
  63. user_name = testuser 5 O  W. a, g6 L0 d$ ~0 [; Z$ l
  64. 密码= my_password
    . U  ?+ f; g) r& z; l! {5 F0 Y; ]% U
  65. getdriverfunc = getsqldrivermysql
    4 \1 A4 a+ I$ F5 X7 i3 Q
  66. vendorlib = libmysql.dll在
    : J* R" n; |: i0 G) W
  67. libraryname = dbexpmysql.dll & G: F& Y: v) w: Z
  68. 积极= 1 . q$ ^, R6 ?0 V
  69. ---例如----
    & }! w8 u( b; }" J: j# V
  70. -写在0 2.03.04由p wk.linuxfan
    7 d& h: c  z) b0 U
复制代码
发表于 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
0 _& G; P  }+ O& S3 k* P1 |6 e/ L* L5 n: f4 g
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-20 14:10 , Processed in 0.101330 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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