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

2993 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! g/ g! S( U- a$ M
) `: H  J. q- }& O, K7 v( ]3 J
  1. ' p# x0 J+ w! c8 I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    $ k9 {! ~5 E0 w+ W
  3. 2 g" `$ K2 D" W0 ]% g$ N; A& Z
  4. ### What we need ###
    7 x. O8 }7 B: s7 |2 P. B' C
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 f$ s$ I4 B/ _! u
  6. will not explain how this can be done - there are documents out there for the
    " r$ P" a) B2 k3 P) y1 Z2 d) _
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ E6 |0 ^4 H1 ~  n- Z
  8. and a user account (username + password) that has the permissions to do stuff
    ; a( u) [/ E) f  g. g# Q( l
  9. with the database. Additionally, you will need a vendor library installed on the
    0 Z3 E9 Q8 v2 D+ ]0 f1 J$ a; l
  10. local machine, this came with my MySQL install.
    0 P) n! W! }; {9 m* R* x* a
  11. These instructions will not tell you how you might transfer your data from the
    ( E( E( G9 H! K- q2 l! D& g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    4 N+ d8 y! u) c. k% V5 k
  13. database.
    ! ]8 \# t1 D2 b7 p
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    & L5 P1 f& l( w, e0 j7 F( F
  15. the time of writing, there are still too many issues - check the current status( w. R& J/ y- S2 ?8 _
  16. in the TeamSpeak forums if you are interested.& _6 H2 L" ~% F8 W! Y  ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) l3 D) w9 s: R+ I' u/ l
  18. Borland was used. This driver can only interface with the client library that ) k4 |8 E  W! o5 D( q+ x1 m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" S3 F8 ~) }2 A3 K
  20. client library - basically all you have to do is to use a 3.x client library as
    + |8 a' W) c% q" t
  21. "VendorLib" and a 4.x database to connect to.6 `1 ~, ^, Y, a
  22. If you need more info about dbExpress, you can contact Borland.2 P3 ?, y# H1 k5 b7 ]

  23. / e9 [3 m5 v( g+ }- P3 \
  24. ### Doing the work ###
    ) ~6 o7 |5 s3 j+ m5 U; x$ g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% \0 Y/ ?& X+ P! Q0 f
  26. the perquisites right, just open your server.ini file, and add this section at
    4 w$ r8 }, j" u# k' U
  27. the end:% A: x! `: ^- |& _4 @
  28. ---cut here---
    2 \  k0 c" U* ~5 y1 E
  29. [DBEXPRESS]7 g% B( C5 C0 ?9 t: m
  30. sqldir=mysql_sql, K1 Z7 f7 N6 S+ A
  31. Drivername=mysql
    7 Y9 |8 {) i/ {/ ]- X: z3 m
  32. Database=Your_Database_Name_Here9 r5 |" ]7 |0 w$ Z- w9 x7 ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # u. C4 j+ G" r; _9 p
  34. User_name=User_name_on_the_MySQL-Server
    + V1 ^# J6 i" G9 m
  35. Password=Password_to_go_with_above_user_name8 z$ b: h, K* e) Z% R7 N5 T
  36. GetDriverFunc=getSQLDriverMYSQL
    % R( G- U- e9 ?2 Z# |
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 p) O! H1 y, I2 t/ B% }" d
  38. LibraryName=path_to_libsqlmy_libary
    0 Q+ r( T( w! \
  39. Active=1* C+ e* q7 x& L8 `+ f
  40. ---cut here---; t( Q" z. ?$ F+ @: F
  41. In my environment (a linux box with a MySQL server running locally) I have:
    . ]' Q* D+ h) B( X
  42. ---example---0 _7 n. {" ?  B9 I0 P& n
  43. [DBEXPRESS]
    ! w1 h% ?( t3 y, E
  44. sqldir=mysql_sql; `: X8 e% l* f
  45. Drivername=mysql
    ( Q3 G3 a7 H$ H
  46. Database=test
    - _, l7 ^6 i, G0 X' s# w( b
  47. Hostname=localhost
    9 N+ |; V( D: r) f8 W4 t
  48. User_name=testuser8 O! o, w( h+ Z/ S0 c
  49. Password=my_password
    % p6 v! k* \# U/ Z0 {
  50. GetDriverFunc=getSQLDriverMYSQL
    ) w1 T3 u  D/ W6 @" z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    / A6 H2 ]- \6 |# [8 @" ?3 x+ ^
  52. LibraryName=./libsqlmy.so
    3 B+ D- u) z7 q$ {
  53. Active=10 k$ r  O! P  h/ ~$ L" i4 S- e& d
  54. ---example---+ Q6 s% N& i( c3 N+ I
  55. # E; S3 h- x( ]/ Q  S1 R
  56. On a windows box, also running the MySQL server locally, it would be:, ?% ^2 S- W# s- e2 w6 P
  57. ---example---
    & g( X% f- ]( }6 b( b7 D- h6 R
  58. [DBEXPRESS]
    ; r. z! {% n: ^3 {4 ?4 ]
  59. sqldir=mysql_sql
    ) a" o$ o8 N: r/ ^8 `
  60. Drivername=mysql
    : R0 k5 X6 f8 _! V
  61. Database=test
    ( z* @& J$ e0 ^. B* M/ o8 W
  62. Hostname=127.0.0.1
    / z5 o& K. j! z1 D+ E
  63. User_name=testuser" y  K- i5 J( F: ]  P4 k7 H
  64. Password=my_password) z/ H/ Q# ]. c4 F2 k( |
  65. GetDriverFunc=getSQLDriverMYSQL
    " Q4 U7 Q+ L1 ]% L& m+ w9 O
  66. VendorLib=libmysql.dll" `- q$ ]: [( y7 b) k/ f
  67. LibraryName=dbexpmysql.dll
    ; Q  c0 p3 n3 P' F, k1 R  x/ h
  68. Active=1
    6 d# T6 j/ w- z1 y9 k
  69. ---example----
    % y, }5 P, W3 m) o, r. x: }
  70. - written 02.03.04 by pwk.linuxfan
    2 r0 d) f4 ]  z3 H3 T) K

  71. . p. ~8 I1 D$ M, l+ n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. H) M! `5 d# C6 e

  1. 3 l: |# M1 W" S' N! v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ) P' t) r# g# V$ j
  3. 6 ?8 i8 q& \; J6 e- v2 h9 I
  4. # # #我们所需要# # #
    , @7 m  J8 M" e) u( l' y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 i: J2 U8 G% z% R3 \& b- x% P, F
  6. 不会解释如何做到这一点-也有文件存在,为
    7 p* [0 Z0 J+ ~; L1 W# y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 V6 g* p+ P  L2 M% v3 Z2 U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: W1 l  F% D) m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# d: P' u2 J% @- K8 }+ o
  10. 本地机器,这是我的MySQL安装。 $ G; Q( [7 l: d4 K! |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 P" k* B7 b+ n$ x6 b( Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ e1 m; ]9 U: g" u
  13. 数据库。
    8 z9 K: g5 G* w% E
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ P) {6 r, S% y9 D7 F" J  p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 _# ]2 a" p8 b- G1 }
  16. 在teamspeak论坛,如果你有兴趣。
    8 g9 w5 A8 b+ Z( c+ H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / d; L: q, e2 X- E8 S2 U9 B: W. x( e
  18. Borland公司使用。这个司机只能界面与客户端库$ x: I, f! G) J, V; _9 a! z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: @, Q$ d# r2 w. \2 B/ A' x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    6 U# C# N5 w3 l
  21. " vendorlib " ,并解数据库连接。 , I8 E6 w" @7 k' p/ _+ Y& Z+ v( R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! |$ g0 h! |( H. X( ^
  23. ! ^( W5 R& l. P
  24. # # #做好工作# # # - d$ i% j5 Z9 m. a; Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 F0 j5 g& G! Q, z" x7 P; l( }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在' n+ p- Z+ K; {
  27. 结束: ( y/ W; ?& P  x
  28. ---削减这里--- - c, Q5 C6 f1 q$ w2 c
  29. [ dbexpress ]
    7 Z$ Y  {9 d7 `1 y
  30. sqldir = mysql_sql
    3 u7 D" n- ~: f7 }  z* U
  31. drivername = MySQL中# J& z* X6 C1 k; W
  32. 数据库= your_database_name_here 4 e* X5 S( r) J$ x8 Z
  33. 主机= the_pc_the_mysql - server_is_on / Q9 c4 H; }: d
  34. user_name = user_name_on_the_mysql服务器' J' z" `3 O1 A4 \5 `( H
  35. 密码= password_to_go_with_above_user_name
    : e; B4 w' s1 z1 g9 Q6 m3 T
  36. getdriverfunc = getsqldrivermysql 0 a3 k% M; L; W" S; u: }1 X
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 Z6 p, u% @0 I2 b1 R
  38. libraryname = path_to_libsqlmy_libary 2 B% A) W. Z: E
  39. 积极= 1 ; {5 s% z6 j4 M4 S( m+ s' p2 T) U
  40. ---削减这里--- ! k. W! P( G6 j0 Z# o! ]0 s3 n
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 M' c* g+ T, \$ y0 V! g
  42. ---例如--- ; l" q8 V- o. v. u7 J9 m8 f
  43. [ dbexpress ] 8 {9 g" a" V0 [  z
  44. sqldir = mysql_sql   C- T3 [8 e' ^" f6 u+ c
  45. drivername = MySQL中: C' g$ {5 h* Y* H* D, F! S
  46. 数据库=测试% S9 ?  c0 `3 q3 U6 S. T
  47. 主机=本地主机1 Y9 b# i. Z. G2 Y9 X- `( D' T
  48. user_name = testuser
    6 E$ T0 u: i* q- v% @
  49. 密码= my_password
    , b$ Y! C/ _% J! `! w; x
  50. getdriverfunc = getsqldrivermysql
    , T9 ?$ _& }+ v. H* x) b4 l
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 3 |" Y6 V! O9 p) U! |) P% J* F
  52. libraryname =. / libsqlmy.so
    * v; k3 n  J* u) D" @" h# Z9 l& z
  53. 积极= 1 + b5 k: ^4 G2 y4 y* A6 h, _
  54. ---例如---
    " F! {( ^1 ^  g* i

  55. 8 M" h+ J* i4 ?4 _) k
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 4 y; i  C1 {( u0 f) y% X) \$ t; v
  57. ---例如---
    : _; g+ o/ y0 j! S+ n
  58. [ dbexpress ] % [2 o9 w3 Z' V& x- g
  59. sqldir = mysql_sql
    6 O4 g; O4 y. h/ c
  60. drivername = MySQL中# O* L$ s! [: _6 P& q5 [3 X
  61. 数据库=测试
    ) D! a, {# x2 a2 I2 K
  62. 主机= 127.0.0.1 & y2 r: b5 V& n5 b0 p/ _
  63. user_name = testuser 3 \" b9 L( x7 \7 \. M
  64. 密码= my_password 7 U0 P2 U+ k3 I( K0 H5 n
  65. getdriverfunc = getsqldrivermysql
    . ]9 x5 E; @; T2 [+ Z: R
  66. vendorlib = libmysql.dll在
    5 e3 n+ y! M, C8 a
  67. libraryname = dbexpmysql.dll % G! u1 d, U! f) ~" J# ?( G
  68. 积极= 1
    ; s% ]1 B, g$ P" r7 a9 f( o3 t1 v% U
  69. ---例如----
    9 w  u  c9 y  O
  70. -写在0 2.03.04由p wk.linuxfan9 H+ r) @: n% f& k5 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 words% J( O$ u" Q7 A0 h4 I
! C( d$ L$ E" e* }# s3 M! C" K
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-7 23:12 , Processed in 0.123713 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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