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

2363 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 M( V" v1 m' L4 n
$ m0 i4 ~  @2 i* N, p" ?

  1. ) V3 S) |* p+ R. I
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & x: m$ P# D# |$ x$ \3 B  {- U
  3. 2 c# A. a3 m4 t3 e3 y
  4. ### What we need ###
    ) G1 P; j( l! s: G. B# M+ L5 `% C
  5. Naturally, we will need a MySQL server to store the data for us, this document ' L! R: h) K$ I: t
  6. will not explain how this can be done - there are documents out there for the , ^8 q4 y$ M" A
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 N4 h! K6 N3 `% H0 j
  8. and a user account (username + password) that has the permissions to do stuff
    8 [3 P# T. i+ H: x" ~9 c4 X& R
  9. with the database. Additionally, you will need a vendor library installed on the
    , Y" x3 {5 W0 B* Z! X3 l% I& K
  10. local machine, this came with my MySQL install./ q1 ]  B5 O5 u6 u" W
  11. These instructions will not tell you how you might transfer your data from the3 T4 e: G& x! T8 k  m" T# g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) q3 B- v; a; P$ P
  13. database.* R& j0 o9 w; F6 q, C
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 I+ X# F& ~7 e. t: @% }
  15. the time of writing, there are still too many issues - check the current status
    # I' @+ q# C+ z* f& M: ]' r7 `
  16. in the TeamSpeak forums if you are interested.# M7 |1 F1 q) U: E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 h: V& o9 N/ ^4 ^& e, y2 w& C/ K2 f
  18. Borland was used. This driver can only interface with the client library that & A' V8 c6 D6 h# y: O+ u/ L$ y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ }, _' v( E( b
  20. client library - basically all you have to do is to use a 3.x client library as 6 e7 x8 U' R# c3 W2 t
  21. "VendorLib" and a 4.x database to connect to.
    " F! b: W+ k+ D$ S, J/ \5 k
  22. If you need more info about dbExpress, you can contact Borland.
    6 E0 Q% w6 [2 i* \0 q& {6 o4 O( P$ t

  23. % V' j1 n7 T+ H. N/ v
  24. ### Doing the work ###, B9 d4 Z" I" e! o5 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 h2 j3 `& c1 v- i2 L4 R
  26. the perquisites right, just open your server.ini file, and add this section at
    2 N! t+ A' B% u, D- b
  27. the end:
    . M  S' F, u8 f
  28. ---cut here---
    / c: C. z# A* j. W3 g; E
  29. [DBEXPRESS]
    " d: S+ Z4 f5 p1 G) ^% a# [' ^3 u
  30. sqldir=mysql_sql
    $ E. j  h/ V6 `, h% m
  31. Drivername=mysql4 b" D$ N/ I2 Y4 R6 T9 w: O
  32. Database=Your_Database_Name_Here5 M* }% f5 b7 y  c! p6 ~
  33. Hostname=The_PC_the_MySQL-Server_is_on% e6 f+ Q# p0 d5 B9 y4 i
  34. User_name=User_name_on_the_MySQL-Server
    ' i) M" o- J, o$ i) n+ z/ K& P, H7 E! J
  35. Password=Password_to_go_with_above_user_name, J% a! Z0 b/ e* J6 w, p; C
  36. GetDriverFunc=getSQLDriverMYSQL0 @# Q/ X6 g. Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    4 R; c8 F1 Q6 I4 ~/ L# ~
  38. LibraryName=path_to_libsqlmy_libary6 m/ T+ ]+ j3 P$ {$ k8 Y9 j
  39. Active=1
    / I( ]; A4 v" C9 L8 g$ O8 n
  40. ---cut here---
    & ^; W3 g' P5 `/ S9 i  y
  41. In my environment (a linux box with a MySQL server running locally) I have:6 o' q4 {$ H/ R: F2 X3 }
  42. ---example---: U" B: p, ~: t0 {' p0 P5 b/ o
  43. [DBEXPRESS]
    / j# S) Q7 ^7 l- u) M
  44. sqldir=mysql_sql3 N0 m* S) z) T: k& u3 t0 y
  45. Drivername=mysql
    ( Y, u, ~, e6 k8 W8 W8 i" r
  46. Database=test
    4 |% n% B1 b) a1 F9 {! I4 h1 X; R! Q
  47. Hostname=localhost
    3 v" k) d* B6 P, x) ]0 V# L4 U9 k
  48. User_name=testuser
      v5 W* ^( r2 x7 G4 a" \
  49. Password=my_password
    : T% x+ p- O; E3 ]( d6 w
  50. GetDriverFunc=getSQLDriverMYSQL
    : m0 n! C; J& ?# j5 a
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 s+ R4 S  a4 a, i9 K4 Y1 W% o
  52. LibraryName=./libsqlmy.so
    2 T# s  D/ n/ [: |' A# P5 m
  53. Active=1
    # {) R$ V, d1 k
  54. ---example---
    ; o+ N" `* _% f7 E. P2 D8 C4 d

  55. ! ?+ q) y* h: m7 w' j
  56. On a windows box, also running the MySQL server locally, it would be:
    ( ?: e/ L/ y7 E+ Y; e; [& j
  57. ---example---
    ' c! ]+ O- |) z9 F9 ?& f  v
  58. [DBEXPRESS]
    + X# x, o: w8 _) n; M+ U
  59. sqldir=mysql_sql
    ( [6 c5 _  }) g9 E3 M' U! q
  60. Drivername=mysql4 Q! q% b: U; {' @  ?, _
  61. Database=test
    6 Q! Q/ ]# y! l4 s( }
  62. Hostname=127.0.0.1
    " g# M% ~8 I- i) v7 h
  63. User_name=testuser
    # Q& C$ N' i) D8 p. v/ q( X5 y
  64. Password=my_password
    + ]& }, k- y/ A
  65. GetDriverFunc=getSQLDriverMYSQL! F! V- T5 c) s: t6 B. _7 x
  66. VendorLib=libmysql.dll
    * X1 ^% I9 r; N1 t2 r& p% Z
  67. LibraryName=dbexpmysql.dll
    3 G, r4 c3 S6 Y! @; O3 |# E
  68. Active=1! v$ d$ l, C6 ~  t% r
  69. ---example----
    , B  R8 _' B, X- F$ _7 o9 K! p8 W
  70. - written 02.03.04 by pwk.linuxfan  m$ w2 I: e+ ?/ v- ]

  71. # P' D6 c, {6 O; b9 X+ _* _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* Y' A" Z9 J1 g! n6 f* H/ g" b5 T

  1. : U+ d9 u! X( D& V1 K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , g" S( f$ ~  g3 E# W# e
  3. 9 H9 M& B+ l1 i7 }
  4. # # #我们所需要# # # / C) Z) {; n( d1 U% @% t# C4 S& q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ P! X" L" D9 @1 v
  6. 不会解释如何做到这一点-也有文件存在,为
    , X+ m- l1 H" W7 q7 [; t3 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    # p3 z& B% q7 G9 z: |! l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    9 D  f; [7 `7 @6 O+ g2 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 q/ ^1 z+ I" R- V
  10. 本地机器,这是我的MySQL安装。
    7 r3 @2 K5 a. x% `! _1 ~2 t0 t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 U* }; p4 o9 W2 O7 I: J- w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . x) [) o- i, R! d! q
  13. 数据库。 ' [1 m+ ?$ L: V! [4 P1 T5 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 b2 T+ W# S) Q3 i, T
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 ?: c6 e1 a: W+ ^7 R- e7 L% d
  16. 在teamspeak论坛,如果你有兴趣。
    * E9 K9 X6 f+ N6 ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 Y- n. U# t7 A6 I, @% L7 E7 ^
  18. Borland公司使用。这个司机只能界面与客户端库% s  B9 j+ d( @7 K
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 z; X  V2 j* t' y: ^' R& A
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    " k! z8 L# A4 Z* g+ v; w
  21. " vendorlib " ,并解数据库连接。 # a+ W. K" @7 P' h6 N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " E/ k( Q5 u+ O! A$ n" ]
  23. - {5 X3 G  c; [( i1 }( M; }! B
  24. # # #做好工作# # # ( s& H( i3 t& H
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    8 A( d$ L- m' k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: K* Z/ M0 Z$ i$ j
  27. 结束: . B0 _0 N& r( s! r/ }  J
  28. ---削减这里--- ' @" z  v- X0 S0 `0 U& f
  29. [ dbexpress ]
    - r9 U# H" H6 N- C/ ~
  30. sqldir = mysql_sql
    9 P% w0 f& s8 C( G& }4 I
  31. drivername = MySQL中. {5 Q% N: z, \) t; v9 J2 C
  32. 数据库= your_database_name_here
      J7 y* x! k# |
  33. 主机= the_pc_the_mysql - server_is_on
    & U; S; y2 B" o) ]& }+ R+ q8 T
  34. user_name = user_name_on_the_mysql服务器  R6 [/ f3 @' n7 g# p
  35. 密码= password_to_go_with_above_user_name
    . I; x4 i! h5 d% C4 c
  36. getdriverfunc = getsqldrivermysql
    6 U! A$ Y9 }# o* S& k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 G. M  }. E- j7 `1 Q# R/ ]/ s
  38. libraryname = path_to_libsqlmy_libary % d) j3 w4 P8 t( B9 r
  39. 积极= 1
    7 B7 z. I1 ^! Q& _* S
  40. ---削减这里--- 4 p/ g7 X! F; i- `7 ~" z$ z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * X: j5 a; U2 P, [3 d: z
  42. ---例如---   F' G" T8 z$ u7 |. r
  43. [ dbexpress ] . g0 |0 s# D' K
  44. sqldir = mysql_sql
      U1 L# b# P5 _
  45. drivername = MySQL中
    2 T6 Y# Q" e5 M. Y! ]! y/ d
  46. 数据库=测试
    1 Q. ^( s) V4 ^& t% x
  47. 主机=本地主机
    ; I* l* Q+ m% i
  48. user_name = testuser
    ( J& K: |  B9 Z8 l  m, e! Z  k4 B. f
  49. 密码= my_password ; A) ]. \$ j# t' e3 N: N$ q
  50. getdriverfunc = getsqldrivermysql   o4 H2 K8 n' A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # |+ B' M( ]+ L. |
  52. libraryname =. / libsqlmy.so 0 h! p5 z% g8 `6 i& ^: g1 d2 E- @/ ~
  53. 积极= 1 # L. G" y+ o$ M# d! o1 x3 A
  54. ---例如--- 3 C$ m- z: |; H4 U& `

  55. ! a# w" _& I* E* I. e: X' E* C9 R
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 Y2 N+ m  `7 \8 R5 e9 c% n7 \* q. S
  57. ---例如---
    . e% v3 K3 Z: T# o/ {
  58. [ dbexpress ]
    , B9 A- ~2 p* x) a# q, R
  59. sqldir = mysql_sql
    7 J/ w, a5 T" x: G6 L
  60. drivername = MySQL中+ V3 }' I1 l9 d2 z+ N
  61. 数据库=测试
    9 d/ Q1 t' Q8 \
  62. 主机= 127.0.0.1
    * L- l9 ^3 ~2 V" c; j
  63. user_name = testuser ( I) ~( `% B% h" G) F8 k
  64. 密码= my_password ! Q. P- S% W2 l9 C3 p) y
  65. getdriverfunc = getsqldrivermysql . D0 t4 X7 V2 s/ I1 M# C& R9 J
  66. vendorlib = libmysql.dll在" n% C1 U* Y6 d# Z- q3 \
  67. libraryname = dbexpmysql.dll ( E( x, `! o5 g6 F7 z- [+ t- _
  68. 积极= 1 $ [+ D- Q2 X9 P; W7 a6 i& v
  69. ---例如----
    4 I% O3 `* b8 H( ?' e7 ]2 N4 c0 B
  70. -写在0 2.03.04由p wk.linuxfan- I% [( `# y" G7 S
复制代码
发表于 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
# P# A- u7 P$ Y  t2 R  ?+ F0 x2 o) |+ }; j3 J
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-7 09:47 , Processed in 0.103528 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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