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

3228 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 v4 U* s3 Y# w/ ^1 j4 w
( M8 g( H7 T3 N: o

  1. ( A( l- K: ?1 L: w* r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 `* I* v. x0 |3 n- t) N2 e% g

  3. ! _8 l6 C1 ]0 @: _$ o
  4. ### What we need ###+ f' A( J* m6 ^, X- E1 I* ^
  5. Naturally, we will need a MySQL server to store the data for us, this document 8 L+ [, u2 z- k# y, T; F
  6. will not explain how this can be done - there are documents out there for the
    3 }' ?& f7 h- S7 ]$ o; G
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 W* V7 P9 }9 Q9 i2 U( V4 E
  8. and a user account (username + password) that has the permissions to do stuff
    0 Q, A. ]5 y' a% C: K9 a; l( X& e
  9. with the database. Additionally, you will need a vendor library installed on the
    ' q+ n5 P1 i2 v# r
  10. local machine, this came with my MySQL install.- `1 Q3 w, p9 D4 O2 ]5 i% \
  11. These instructions will not tell you how you might transfer your data from the
    6 i, ?# \& V# O" Q2 i
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 U8 e% R. ?' {
  13. database.7 h- m" ^  D8 a
  14. Some users have reported ways to import a SQLite database into MySQL, but at% U2 x0 s4 D: a
  15. the time of writing, there are still too many issues - check the current status
    2 y2 ?- C* w  w6 N  x
  16. in the TeamSpeak forums if you are interested.
    & X, B: ^1 W; y& W" ^; b+ V1 Q& _: u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- S1 T4 r  a9 P+ D& U: D
  18. Borland was used. This driver can only interface with the client library that
    ; T, w1 o" u+ [+ p9 h% b/ }# `! Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 ?7 R; k" G  V/ @
  20. client library - basically all you have to do is to use a 3.x client library as + a1 U' ~$ G0 Y* @( K  A( X
  21. "VendorLib" and a 4.x database to connect to.
    ( b& w+ L3 v3 o5 C
  22. If you need more info about dbExpress, you can contact Borland.4 A& o* B' q8 p$ j) y" j7 M

  23. " d+ H) Y7 e; x5 j' @1 R
  24. ### Doing the work ###
    ( v0 ]: T$ f, A% ^! u5 K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all4 h  l7 k( u6 N( f3 F* B
  26. the perquisites right, just open your server.ini file, and add this section at- V8 k6 d+ `/ S% {4 k3 ]8 |
  27. the end:
    6 m. N+ C2 _2 K" \* K8 L. m
  28. ---cut here---
      b5 Y, x! R. S
  29. [DBEXPRESS]& S( j  Y" a: C3 q) _  p  J
  30. sqldir=mysql_sql
    4 V" |6 t' ~/ Q  d
  31. Drivername=mysql
    ! w) R1 L+ I: c$ N: n$ h
  32. Database=Your_Database_Name_Here
    2 J. W0 q8 H# C) d
  33. Hostname=The_PC_the_MySQL-Server_is_on! g3 K7 p, N7 M  W
  34. User_name=User_name_on_the_MySQL-Server' v* k$ I* D8 t, n7 k3 i9 s
  35. Password=Password_to_go_with_above_user_name
    9 _+ ?( M0 P  X5 g
  36. GetDriverFunc=getSQLDriverMYSQL
    ( f$ c/ ?- n2 _/ f. g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib; B2 M: v6 D" k9 M, @' O
  38. LibraryName=path_to_libsqlmy_libary, f2 f+ J  t% g( g7 e* o# j
  39. Active=13 }8 g' ?6 Y- Q8 V6 B
  40. ---cut here---: Y+ o+ f" H" `& A/ u' r
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & w9 U3 {# l- J9 }
  42. ---example---9 Z! `  {1 B; {! Z" r5 o* s4 P# O
  43. [DBEXPRESS]5 V+ o9 W+ W" t* r8 a
  44. sqldir=mysql_sql0 X' q" v9 d1 j& ~. e! ~. t
  45. Drivername=mysql
    ' ]5 z) N1 K# C- ?$ H3 r
  46. Database=test
    0 {8 q, G5 _: S' Q7 z5 Y8 n
  47. Hostname=localhost
    4 A* Y$ \' [1 _& Z
  48. User_name=testuser, Q) w7 Q& V6 d8 d" [" E1 e
  49. Password=my_password$ {7 ]3 r2 v' v. J
  50. GetDriverFunc=getSQLDriverMYSQL* q) \  T0 T) S% Y7 e& i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ `. m  ^+ ?( {- e9 k+ l% ~
  52. LibraryName=./libsqlmy.so
    7 x- E5 H0 V2 p1 B  t8 u6 Z) D8 d. Z' w
  53. Active=13 O2 r7 x# a# {- w; K
  54. ---example---" s: o  Z5 i) @/ C: o

  55. 7 B- m  W, ^; X' G% R3 M
  56. On a windows box, also running the MySQL server locally, it would be:
    8 H, P: d" E5 {
  57. ---example---; V- K% }9 d  m
  58. [DBEXPRESS]* w! M( N# K* K, m7 R+ W
  59. sqldir=mysql_sql; Z) c! C; N# ^2 M* N
  60. Drivername=mysql
    ) v' ^' v) K  J8 z+ a( o
  61. Database=test
    0 A+ R/ N$ D# m3 C6 u
  62. Hostname=127.0.0.1
    4 a% C% H& m0 h$ [2 Z
  63. User_name=testuser
    2 s: _) S1 U$ C& k+ k$ \: j
  64. Password=my_password
    9 z- }% f  z. Z' U% w4 V+ Y
  65. GetDriverFunc=getSQLDriverMYSQL
    0 H& Y! G) n6 u+ P$ ?& n9 b% ]2 f
  66. VendorLib=libmysql.dll
    . V. ^; c3 _6 n; \
  67. LibraryName=dbexpmysql.dll5 x- ?- y5 c6 q/ I! v! G
  68. Active=1& a' a- x7 x$ q( Z
  69. ---example----: ~. m9 I( R% R4 |: M1 R$ e
  70. - written 02.03.04 by pwk.linuxfan
    4 }7 g8 e9 m" G' U8 P* B

  71. % t7 \" O, o& a2 w  Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  k5 k5 w$ D: J. O9 e+ c6 I

  1. ; t+ H% M7 f% T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 V1 v8 N/ m4 x* v: }' I5 s, }# L

  3. # t# t: c0 A5 a( m( ~8 s
  4. # # #我们所需要# # # 3 F$ ?5 M0 @9 l- R+ I; ?) m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* r# W: a" h( F1 O
  6. 不会解释如何做到这一点-也有文件存在,为
    0 L# T5 N9 a  @# T, R& j$ d6 ], F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ F7 f* t! ^) \* h
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' @6 l, I3 y8 Q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . V  W6 @8 l, _6 \% ~$ I
  10. 本地机器,这是我的MySQL安装。 0 W* ?' |. _3 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    / N5 j  h" a; S  ]% @
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & ^8 B( A8 ]* M) V
  13. 数据库。 4 A9 p5 Q! H* q4 ~% y7 H, o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. W# ~5 l* h+ l
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 e: P5 l9 {8 U$ ^. h
  16. 在teamspeak论坛,如果你有兴趣。
    # h3 C6 r$ W: H6 c& E5 Y' }3 U( z0 R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 S  ]; T; O6 }; c
  18. Borland公司使用。这个司机只能界面与客户端库
    & ?' e; q* o# q' m. C5 i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) H9 u  [; u: q0 x  r; Z) P/ e" x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 C# f8 P6 l: s9 C3 ]4 k# r. r4 W
  21. " vendorlib " ,并解数据库连接。 ) B- y" S" U" V1 p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 3 M7 ]3 _/ g) K4 Z9 G; g
  23.   u/ S- ?: N( R" ?2 Y. b  T- @
  24. # # #做好工作# # #
    ' u8 Q8 l1 A1 @6 m( h8 J
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 f- p* ?+ D* f3 J' ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    # k0 W: B- t) Y* E8 z/ h! V' H
  27. 结束:
    1 Q) a5 r( {! x/ f; |
  28. ---削减这里---
    ' @6 B+ u. w- \6 a# ]  L
  29. [ dbexpress ]
    6 j& E. [3 M+ t9 }7 [3 R; X
  30. sqldir = mysql_sql
    % ^, D5 y0 [& ?
  31. drivername = MySQL中2 \, }2 Y) H$ L' p& h% i1 h
  32. 数据库= your_database_name_here
    ( U1 `3 [4 S! F% E
  33. 主机= the_pc_the_mysql - server_is_on
    5 V# e8 G9 h. f1 J1 O+ b
  34. user_name = user_name_on_the_mysql服务器  l. G. F- U# U( c& p0 F1 L8 r
  35. 密码= password_to_go_with_above_user_name
    ' ^4 D  R6 J, W* `, L4 H
  36. getdriverfunc = getsqldrivermysql   R; y% A$ N* J' [" e' Y/ y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) C$ m3 x0 W# n6 I, e5 \
  38. libraryname = path_to_libsqlmy_libary # {% U. N" e: r6 V  ^" g# p! E
  39. 积极= 1
    2 d# D  J+ c, I' D6 O
  40. ---削减这里--- & w2 |2 p; p( c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 {9 X6 G* V& |3 o0 z3 m
  42. ---例如--- 7 x1 Z, n" W- M7 P2 r9 U# k1 V, h; R
  43. [ dbexpress ] ! l& e. W1 r7 o/ ?. x3 H
  44. sqldir = mysql_sql
    : Q1 F) h# ~3 }" c* ^8 U
  45. drivername = MySQL中$ m0 m% A& l" e; f  |
  46. 数据库=测试( u- @6 F2 W8 d
  47. 主机=本地主机
    ( F* R. K$ J1 f! \  p; a$ e7 z
  48. user_name = testuser # x( m/ e! t! ~( l0 W0 _  A
  49. 密码= my_password / {& R/ L+ j& R1 z7 d
  50. getdriverfunc = getsqldrivermysql
    & y: P8 o1 g7 [6 [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    / u' J8 D" q. s" P) O' ?- ?
  52. libraryname =. / libsqlmy.so ( O: }4 K+ C& S& h. O- R
  53. 积极= 1 2 t  ^- |9 ~3 R
  54. ---例如--- ; b- i( p* Z- r

  55. : ?, {) v  }2 ]- H: \/ m. O
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    + M- ^: S! U2 J9 ?
  57. ---例如---
    $ ?1 _) \; n* j+ o# \
  58. [ dbexpress ]
    . U- |! U: W* c+ A8 O1 h
  59. sqldir = mysql_sql 9 D5 D" f4 y- j" D
  60. drivername = MySQL中! m0 Z  ?" ~9 l9 o) f. d5 G! i
  61. 数据库=测试- P% p% s* ]& `  }& ^, z
  62. 主机= 127.0.0.1 " N7 y2 ]* T. {0 U" W
  63. user_name = testuser
    & F& h+ I5 ~% k/ V# q, @
  64. 密码= my_password 4 Y0 a4 M# F# S0 T4 R# b% n3 T0 u
  65. getdriverfunc = getsqldrivermysql
    . |  ?$ A: D- [5 V
  66. vendorlib = libmysql.dll在: i" N5 W/ f& Y+ c
  67. libraryname = dbexpmysql.dll
    1 I, u1 {' J( |' A8 |  f. y
  68. 积极= 1
    1 c& G& v2 x" f( i, J
  69. ---例如---- # _4 u! ?) |/ Y3 N( @4 C2 Q3 i7 o  S
  70. -写在0 2.03.04由p wk.linuxfan
    1 E+ `/ }+ K* R" 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 words4 N6 {4 Q8 G3 t
6 l: V: n  V/ S0 `( l/ f, G) R
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-25 14:30 , Processed in 0.106660 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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