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

3179 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! Z) M* r% t! N, {( |# ^% v* l, l4 `  c
  1. ; y) w# F  @) w1 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # N5 }8 J" C( |: k; O

  3. 1 G0 x. r; H& Y. O4 h
  4. ### What we need ###" V4 O" ]; _$ p2 j% c9 i: ^5 b1 _
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 W% l2 L' e% g, [- n: j+ l; u
  6. will not explain how this can be done - there are documents out there for the : a3 d0 R( z# O, n3 Q5 {3 E- k0 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    8 n0 I0 ^, F: r- d8 y4 ]
  8. and a user account (username + password) that has the permissions to do stuff& I7 R: f# N- J; Z4 G$ w
  9. with the database. Additionally, you will need a vendor library installed on the% a; r# Y+ @/ a; I5 ^
  10. local machine, this came with my MySQL install.9 B& w* ?! r! k+ p: `" t7 Q
  11. These instructions will not tell you how you might transfer your data from the* F4 B$ {8 ?* S- [. {4 F( e; Q- t( _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( w- Z7 u# l" K, Q8 A1 t
  13. database.
    2 V/ U8 i! u9 y6 w( y
  14. Some users have reported ways to import a SQLite database into MySQL, but at( H5 v" n4 s) L
  15. the time of writing, there are still too many issues - check the current status
    1 U0 G7 [) C5 s- K
  16. in the TeamSpeak forums if you are interested.1 R6 j4 s( ^7 k& U2 B! L6 v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 V. \! H- a5 x; Z- C+ B1 ^; D
  18. Borland was used. This driver can only interface with the client library that
    + Y& [- W- ~9 G
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- [1 g6 V( h) f  Q
  20. client library - basically all you have to do is to use a 3.x client library as
    : _8 t* K/ Z- e# d8 K- O/ @
  21. "VendorLib" and a 4.x database to connect to.
    + Q: r+ M. d$ N0 ?
  22. If you need more info about dbExpress, you can contact Borland.
    3 r8 C, e8 `) R+ ~

  23. " W. p3 r5 d/ H# h
  24. ### Doing the work ###, g: |; M* e5 x, v; h7 ?& {  i
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 q8 m2 r3 p: a, ^2 Z% [+ V
  26. the perquisites right, just open your server.ini file, and add this section at
    - @$ C# [" A  [. Z( a/ k& y
  27. the end:! h- R) o3 x; H2 q- ~( d- G9 e
  28. ---cut here---
    3 K! k% d/ ~. o; p8 L1 Z1 o' f
  29. [DBEXPRESS]
    & _9 u1 D; [" m4 Z) ~- y# |' `
  30. sqldir=mysql_sql9 ^$ s7 K, Q! [! b
  31. Drivername=mysql" p3 _2 i3 i% ^- b
  32. Database=Your_Database_Name_Here: u0 }7 h/ }7 |9 S9 @5 l0 F* t
  33. Hostname=The_PC_the_MySQL-Server_is_on& C' s) }- ~( L/ a$ d# }2 G
  34. User_name=User_name_on_the_MySQL-Server) H1 P; K* _; Z. K+ I5 z4 K
  35. Password=Password_to_go_with_above_user_name
    % Y( O4 _* d+ A* n
  36. GetDriverFunc=getSQLDriverMYSQL
    + g5 h7 l: ]6 A4 C4 W2 V+ X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 r3 h8 s3 J$ P
  38. LibraryName=path_to_libsqlmy_libary  D& e! t* j) F0 i( r
  39. Active=1% s; r! T% [$ ^/ E
  40. ---cut here---, j/ T( E1 W. Z; J
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; x, Z6 m: ]$ Y1 H7 t* s* b
  42. ---example---1 P3 S+ S3 T3 T/ L
  43. [DBEXPRESS]7 M5 o8 n" k! H# N  q
  44. sqldir=mysql_sql
    8 t! C. x9 t" J
  45. Drivername=mysql
    " ?! I0 q/ j0 H
  46. Database=test
    & B* C* u% h; N) ~
  47. Hostname=localhost
    ) C" E- {$ y3 C, r% u% {
  48. User_name=testuser
    5 z! M' d7 d! x/ b/ J+ Y* F
  49. Password=my_password
    * W) q) Q% ~# G& Y3 u. b- ^. S
  50. GetDriverFunc=getSQLDriverMYSQL" d! y; \# V$ N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 U1 e/ S! ^4 ^- Y$ Y1 {8 L! g
  52. LibraryName=./libsqlmy.so
    $ l8 t- b1 s% J1 u3 m
  53. Active=1
    & m$ v+ p' @0 c& Q
  54. ---example---- W! r- [% ?* {! H

  55. * A  x7 Y' T- ~2 O
  56. On a windows box, also running the MySQL server locally, it would be:/ e7 @1 c% S+ e/ a' k
  57. ---example---
    7 ~* M6 B3 Y# k- V/ V
  58. [DBEXPRESS]
    ; v( [6 V+ F; T2 i# Q2 [  N
  59. sqldir=mysql_sql7 d3 x8 D7 D3 z, V" x6 L( g
  60. Drivername=mysql
    - h$ Y& c  W9 j  \! D' G$ q: `
  61. Database=test
    0 @7 s5 X8 M' Q
  62. Hostname=127.0.0.1- V) V8 u6 L! g* j
  63. User_name=testuser  D' i% c$ f- k0 {: e
  64. Password=my_password
    ' t; u7 c2 F6 Q- t3 I
  65. GetDriverFunc=getSQLDriverMYSQL$ y7 E# V. C: g1 \
  66. VendorLib=libmysql.dll
    ( o9 l0 q# {: E  G  T3 T; D5 ^. e
  67. LibraryName=dbexpmysql.dll( r$ p) m" V$ L" i
  68. Active=1+ I8 t: Q$ x. V7 ~% H
  69. ---example----
    / q/ ~; b$ @$ W  o/ \$ m
  70. - written 02.03.04 by pwk.linuxfan
    1 ]5 u* e/ r/ _7 S

  71. 1 L8 J. d, N6 H: V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 ]9 S4 }' j2 x2 Y0 _' i& q, R

  1. 3 G! Y0 X1 Q$ g$ o* e
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( R& ^/ K8 G& c: `/ }. v. ^

  3. % b) G+ E" r: c/ x5 F  l4 _
  4. # # #我们所需要# # #
    & m: k2 l& `( Y2 ]3 l1 j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ n5 U$ S$ _9 F/ p0 f/ |
  6. 不会解释如何做到这一点-也有文件存在,为+ ?) w/ z6 s  c: w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, e. E7 a; I3 ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) y3 t+ K$ }- s4 \/ x
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 A5 ^' h6 A! U2 M* @  E
  10. 本地机器,这是我的MySQL安装。
    - V8 V, Y' y, Y$ V3 o5 ~
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : E! V! F; ]1 @) o" C; p: @) z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL $ \* t) d8 _0 `
  13. 数据库。
    - a" b) w( I6 e0 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在% L1 m6 `  q' ?; `, h! c* C
  15. 编写本报告的时候,仍然有太多的问题-检查现状! w  v0 W' x4 s7 X- Q, I
  16. 在teamspeak论坛,如果你有兴趣。
    8 c+ F  C3 e: t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ b# S1 i, b4 m0 r
  18. Borland公司使用。这个司机只能界面与客户端库0 ]% l6 S+ M6 \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    * @7 Y" J" d" W9 ]  K
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ; A# {& A6 `, S4 E. g( e9 |
  21. " vendorlib " ,并解数据库连接。
    1 ^. H/ C3 N0 @  u1 t; X' V1 ~! \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # w; `& Z0 Z. S- U1 |! Z; I- p- Q& [

  23. 7 v2 D8 A6 @6 S5 o
  24. # # #做好工作# # # 4 t4 L; a' b; Q1 H! @7 [
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , j9 Y- E. [1 X+ a  K8 z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, h1 r, ~% W* W) }8 S
  27. 结束:
    / S! }. p0 S. g, A' N$ g- P
  28. ---削减这里--- 0 \1 p7 w7 T2 a3 }
  29. [ dbexpress ] - @+ h4 G2 W  G, N4 o0 B# N" F
  30. sqldir = mysql_sql 9 H7 ]2 Q6 |4 F4 k5 D, n
  31. drivername = MySQL中) }" q. f+ h& U: ?8 E. M& Z
  32. 数据库= your_database_name_here % {$ E; j: Z9 G" Z8 u$ x( b; }
  33. 主机= the_pc_the_mysql - server_is_on
    & X9 V  D" h8 S1 h2 @% |
  34. user_name = user_name_on_the_mysql服务器
    1 t( b$ m6 l) M! r) {' U7 O
  35. 密码= password_to_go_with_above_user_name ) l( ^7 Q% Q1 |1 x9 t8 k8 ]
  36. getdriverfunc = getsqldrivermysql
    ' m) J; m5 `3 W% ?: f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . D1 c7 Z& V( B( e) c2 A
  38. libraryname = path_to_libsqlmy_libary
    ' `8 z  J/ @& N, U/ s
  39. 积极= 1
    . \& t" m( o$ W* L: V
  40. ---削减这里--- * F; P' w' J- w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 4 t5 v, k! m* P" g* P
  42. ---例如--- ! o/ B9 h( k8 H! X+ j. x4 r8 {
  43. [ dbexpress ] / ^$ x( R9 h  Q' y
  44. sqldir = mysql_sql % P! X  i1 M+ L' E: |# C' |  v
  45. drivername = MySQL中/ r" X6 d" b- L0 a
  46. 数据库=测试0 |2 H3 Z+ p5 i" c4 P, }: y
  47. 主机=本地主机$ m* [( ~4 x& I; o9 N( \4 S
  48. user_name = testuser
    & y* J3 Z' l' j7 {' L$ B" H
  49. 密码= my_password + F: g/ q, d# y8 I, p" S
  50. getdriverfunc = getsqldrivermysql * X- D1 N5 F1 L' |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    1 m# j# a7 G" m1 H. O7 }
  52. libraryname =. / libsqlmy.so 9 ?) V7 m. m  b& J2 I' s
  53. 积极= 1
    & {& E# l4 q. S" w
  54. ---例如---
    ( I& c! k! [8 Z$ }2 X+ P6 V

  55. 4 }2 c# [8 ?6 {4 L4 x- a$ |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   w5 a4 _4 j- `/ s- f& S) N
  57. ---例如--- ) Q- e/ ]: P! h6 _* a5 D0 ?: |% O. G
  58. [ dbexpress ]
    # `( p, J/ I3 P  {2 J
  59. sqldir = mysql_sql
      I3 k  e3 E# K) V7 _: t
  60. drivername = MySQL中5 r( H$ G' W& C! C9 ~
  61. 数据库=测试
    : O4 ^! A, \7 f- Q% Q5 X0 o% {
  62. 主机= 127.0.0.1 ; m5 I$ Y8 G  y- E7 A3 r
  63. user_name = testuser
    ( S3 Y, Q% a, N
  64. 密码= my_password - B( C. E* \1 _$ G
  65. getdriverfunc = getsqldrivermysql 5 x+ E1 e7 T- r# l9 f; P& Z# x5 p; t( {
  66. vendorlib = libmysql.dll在: S0 T$ s/ d2 W7 l
  67. libraryname = dbexpmysql.dll
    $ |( W7 f; ]0 b2 P& I0 H8 B, Z  ?  G" U
  68. 积极= 1 6 t% _7 q' R3 i" q3 b: c
  69. ---例如----
    ; F4 O6 x$ f( H  y$ B
  70. -写在0 2.03.04由p wk.linuxfan
    * I: g9 F, P0 L1 Q! }+ j) i- N
复制代码
发表于 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
* U' P6 L4 R/ n% k5 L2 l" c
; m& Z/ I" u+ p. v* Zbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-17 13:46 , Processed in 0.099042 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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