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

3068 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ U( {! E+ |; Y  l
# z2 [+ ?1 ^8 A1 @0 J; K0 T) T$ {: I: s8 D
  1. 1 G# v0 u* r* v, A8 ^) J: f4 F& r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - Y- A/ b3 F  i/ x8 t8 \
  3. 4 T4 j3 f! y, i( A/ b3 {# R5 B
  4. ### What we need ###2 u3 C" I/ C) y2 u( L. L) N/ G5 z) f, {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 {. B2 g- z% P* I- p* @
  6. will not explain how this can be done - there are documents out there for the 4 ^1 S: q6 Y' Q* q! y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) K' W0 J; ~7 ~" @+ G7 M: d
  8. and a user account (username + password) that has the permissions to do stuff
    ( Y) b, |* `+ |% y) O. O0 k
  9. with the database. Additionally, you will need a vendor library installed on the
    7 |# x. J$ ?/ i. {  {
  10. local machine, this came with my MySQL install.
    8 q9 i& S  f0 A# r) c9 l( M& z7 R
  11. These instructions will not tell you how you might transfer your data from the
    ' B$ `8 L( I2 x1 P
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 O$ o0 P! X# U/ k( M; z
  13. database.- ^1 q+ {5 ~) F
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ b6 m2 ?6 n5 _
  15. the time of writing, there are still too many issues - check the current status( y2 j# Z5 C, x
  16. in the TeamSpeak forums if you are interested.
    & @2 Z: f4 ]& b0 _* u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! [! b4 L+ ?: D0 h3 ^4 I. {& m
  18. Borland was used. This driver can only interface with the client library that & Z( I6 u4 J2 q  C3 r: `& g- {1 M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 g/ f/ a  i/ t, q
  20. client library - basically all you have to do is to use a 3.x client library as ! B# L+ U: E9 y4 W/ j( M6 M& ~
  21. "VendorLib" and a 4.x database to connect to.
    6 F. l+ P. C, `$ A
  22. If you need more info about dbExpress, you can contact Borland.
    % y5 z1 m6 g' Q& y, e

  23. ) `5 ~8 l- A) n8 B, v' g5 o
  24. ### Doing the work ###' m6 B( O" K& {7 I/ O/ X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 h6 w5 E: X! d* M% P
  26. the perquisites right, just open your server.ini file, and add this section at; ?% ?: B4 V  H- j, u6 o0 a
  27. the end:
    ( ^; w' L) C" g& o5 ?: x
  28. ---cut here---# ~; J" u0 y1 `' {3 y+ G/ I! C3 O
  29. [DBEXPRESS]
    ' m: V- {7 j, w
  30. sqldir=mysql_sql
    ! I- G5 h+ i5 ^& m" ?9 R/ \4 L7 `
  31. Drivername=mysql
    : ^% T( K' E9 N$ O
  32. Database=Your_Database_Name_Here$ b3 m/ V3 Y1 f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + W6 j  O( |9 V$ v
  34. User_name=User_name_on_the_MySQL-Server6 ?  c7 t' A" ]/ B6 H8 Z
  35. Password=Password_to_go_with_above_user_name
    5 b: f% ?) @  \. Y  h) z/ J
  36. GetDriverFunc=getSQLDriverMYSQL& e; y/ X2 C% s/ }8 R$ I2 l9 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" f1 i+ Y1 Z. T% D, ^, `. L
  38. LibraryName=path_to_libsqlmy_libary/ u7 `  D5 g5 j) ~8 U$ u+ [8 P0 }
  39. Active=1+ j6 l: X% G- `" e( D
  40. ---cut here---% x. J" b  G, x3 A
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & Z! P2 e; Z/ k0 p" i
  42. ---example---: [+ s! `* e8 i5 k- e. J0 n/ F
  43. [DBEXPRESS]/ Z6 I; u! g* B" B" E
  44. sqldir=mysql_sql" x; g7 H8 t2 v  A' h3 x( \5 k1 }
  45. Drivername=mysql
    7 D- W/ ]; t& `! }
  46. Database=test
    1 B; j: O* \2 R: S" m' [
  47. Hostname=localhost& ^0 K  E. t3 H, X3 A" U3 r
  48. User_name=testuser
    2 a% e: [- r' a" j$ ~! L
  49. Password=my_password
    5 h8 `* ~" d* M( i; j+ a5 ]+ _
  50. GetDriverFunc=getSQLDriverMYSQL% z, k7 y9 [; l  a  b, p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! f1 ]4 B/ A9 j8 N9 D- N- M0 e
  52. LibraryName=./libsqlmy.so0 ^( B- Y$ t& j; T; G  d
  53. Active=1
    1 A0 @. f3 |  T. _: z# e# j/ V
  54. ---example---
    4 H* y! t4 _) }2 f

  55. 5 `: o" ~9 ~- r; U& m* A) C3 ?( u* J
  56. On a windows box, also running the MySQL server locally, it would be:/ C" c& d; p" H) L
  57. ---example---
    6 e. y6 C0 f( X5 u6 j! @
  58. [DBEXPRESS]
    1 j; y1 j5 M: _/ C- E+ K
  59. sqldir=mysql_sql! ?* `7 c& ^  x1 v7 R, a8 w1 L  ]
  60. Drivername=mysql
    7 O$ P; [- J5 U# e
  61. Database=test
    1 j2 _! O/ E5 P7 L
  62. Hostname=127.0.0.1
    0 X* t( j2 B9 v$ u' F7 o
  63. User_name=testuser6 L3 B' B2 j! y
  64. Password=my_password4 H' t; S; o' G
  65. GetDriverFunc=getSQLDriverMYSQL
    " G& V6 ^0 G/ S: t# P
  66. VendorLib=libmysql.dll
    1 Q+ Z5 {3 g/ V
  67. LibraryName=dbexpmysql.dll
    ) t- ~, x! ^. ^/ j1 x3 S
  68. Active=1% I! i5 }' k  i/ ]. n
  69. ---example----: D  F3 j3 _5 v/ m. s8 O
  70. - written 02.03.04 by pwk.linuxfan1 Q7 Z- ^: q0 D8 H9 t4 ~
  71. & U5 Y' k' ]3 U) J) ?8 r( k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 e; V/ t1 R8 v  s3 @  y

  1. / z3 x' B* I' `; W2 J$ k$ `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### : o( ^* P5 o/ N: t

  3. 0 q* G) v$ b+ _# ~
  4. # # #我们所需要# # #
    9 z! j( n6 A1 {+ Q' o3 z3 f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 z- v4 k: r* h+ |+ ?
  6. 不会解释如何做到这一点-也有文件存在,为6 Z% t  O4 D% Q7 f
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! l. d2 d4 O7 i1 }
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西  |  Z" W, Z2 `5 L/ n  j& x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) T  ?8 L! o. F- |
  10. 本地机器,这是我的MySQL安装。 & m6 y0 e) B- A: F! V- `, N' J
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / H# B& }6 R; [" ^( s" w% c& n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : X1 D2 r7 a1 P; j
  13. 数据库。
    7 s# u( b! C' {( C8 S% G: e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在/ {! V7 c4 ^8 ~. }7 p
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 H- r0 R& Z! \2 c7 r; G
  16. 在teamspeak论坛,如果你有兴趣。 2 ~# V% q2 |7 p4 d+ X& v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) v* C1 h, A, M5 J3 k
  18. Borland公司使用。这个司机只能界面与客户端库+ M- D) A6 k! F! x# a4 |/ O! a' r
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + d+ ?, q! {9 E& p- I- z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 N: p7 l" @2 S1 V1 `7 Z# e% o: N
  21. " vendorlib " ,并解数据库连接。
    & v+ u( Y( b; E3 a" `7 _1 w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & _9 _* q0 F! |

  23. + l4 B' L$ c7 h  H( _( p  G
  24. # # #做好工作# # #
    - }4 x% v; `8 y8 }! }$ r. H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; Y* d3 G$ R: f$ M. N( |( f% }1 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在2 p' H! c. K6 Z( [9 l$ X
  27. 结束:
    & v7 B8 {# j8 P! K& l' G
  28. ---削减这里---
    : E3 _4 u2 e% A. d# U& x
  29. [ dbexpress ]
    # L, [# K' g# L) C* H9 v$ r
  30. sqldir = mysql_sql
    + h& ~+ A# B& B$ n; S& z6 L8 Y
  31. drivername = MySQL中+ v* U' t* l  Q- j7 s
  32. 数据库= your_database_name_here
    / l6 Z' H# g# [) T
  33. 主机= the_pc_the_mysql - server_is_on % N% T3 b; z+ a- J* d1 q
  34. user_name = user_name_on_the_mysql服务器
    % I. O! r8 Q, p( O. \' k
  35. 密码= password_to_go_with_above_user_name 0 m6 ]" C$ ]# p& U; c* `/ L
  36. getdriverfunc = getsqldrivermysql - t' }& g$ `1 n4 W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 4 X9 L: N& }" M  [' J# d
  38. libraryname = path_to_libsqlmy_libary ' K8 H3 |' N  R/ |% ]# ?) r1 M
  39. 积极= 1 ; h" V6 o, f6 |3 @
  40. ---削减这里--- 7 M! }" Y$ ^& N( S4 s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " v! p6 K0 F  }% ^' j
  42. ---例如---
    7 l8 D6 Q7 g. b  p0 W
  43. [ dbexpress ] & z$ m8 ]9 [& W: r. o' k8 d* J; B
  44. sqldir = mysql_sql / M6 U4 ?7 j) _' ?2 J; j5 S
  45. drivername = MySQL中
    1 O6 c1 c4 v! t! m0 n
  46. 数据库=测试
    8 E7 {+ Q: T& `) C" S3 x
  47. 主机=本地主机; D# ~( B3 ^/ ]5 G; p0 b
  48. user_name = testuser
    ; A5 e% A6 B9 t
  49. 密码= my_password & B) b' X+ R* T
  50. getdriverfunc = getsqldrivermysql ' h5 }# U* I) ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 5 ^+ D/ o7 Y( T9 ^
  52. libraryname =. / libsqlmy.so 8 a- X8 [  C# P, H4 m, |
  53. 积极= 1 & t* s2 v: f9 _8 e5 ?: a
  54. ---例如---
    ; k( m, p' G1 [, h# _2 e
  55.   r) O& K0 q( h1 j2 U7 }) j
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ P! `! Z& w7 m9 ]% @$ E
  57. ---例如--- 0 \" h2 T* t' \& i
  58. [ dbexpress ] 9 r5 E# d7 X  @' B4 U; d* j% \) I
  59. sqldir = mysql_sql ) s" ?& S( c% N2 \
  60. drivername = MySQL中
    $ j$ L; T7 v: p  |
  61. 数据库=测试1 E& B& A% n! ^$ `( j* r
  62. 主机= 127.0.0.1
    ) K/ L* T" U# B( s) n" b
  63. user_name = testuser & P' |& C% h. {6 h
  64. 密码= my_password
    4 T* ~/ [- A0 o! S! r& E
  65. getdriverfunc = getsqldrivermysql , s8 p6 ?  {* y9 u  `5 |
  66. vendorlib = libmysql.dll在' L- G! a6 G& y8 T
  67. libraryname = dbexpmysql.dll 4 y- C3 r; A! a3 ?# G3 W, X
  68. 积极= 1 % S& M9 j" \4 L0 T
  69. ---例如---- 5 {0 N3 m4 U1 L1 ~9 \: W
  70. -写在0 2.03.04由p wk.linuxfan5 J" ?. |- `' |# t
复制代码
发表于 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
; }+ e' F) s  N1 e
- L7 T$ U, I9 s; Z* z( r# G3 y! sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-25 11:48 , Processed in 0.088668 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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