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

3071 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan " p' _, W, N4 E2 c! }, t

  o1 i. C( }$ ^

  1. , ^/ y+ [% r- j$ J/ w! U5 I* [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######. Y9 p8 w6 a: X3 _7 Z/ r
  3. 1 m5 A- H- G) b* s3 @
  4. ### What we need ###; B# [2 X$ T4 U: W+ T7 ?$ ~. T& A
  5. Naturally, we will need a MySQL server to store the data for us, this document , M1 Q% q, Q+ x# R
  6. will not explain how this can be done - there are documents out there for the
    ' L1 h, A, ]5 U! v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    . f' }% w% \3 e' D+ Z3 i
  8. and a user account (username + password) that has the permissions to do stuff4 K% X. s' I& C5 `
  9. with the database. Additionally, you will need a vendor library installed on the
    ; R; o3 @4 D" D* O7 R
  10. local machine, this came with my MySQL install.
    ; n; r- V: i8 A* K. O6 p) U
  11. These instructions will not tell you how you might transfer your data from the  D& E. g- q) ^+ f( u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ a, g% M5 \; U* u5 K9 j/ {" _  X
  13. database.
    . ]6 x7 E) x; r4 [, z* E* }( W$ N
  14. Some users have reported ways to import a SQLite database into MySQL, but at% \  K' \$ r7 H- y# I2 ]  C/ N: u' k
  15. the time of writing, there are still too many issues - check the current status- l; H7 T+ S- S7 s, Q5 `$ o, T' c$ e
  16. in the TeamSpeak forums if you are interested.( J. c* R* t3 Q' d" W& B7 R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    4 o' S3 o/ |1 @4 `) g; f7 x
  18. Borland was used. This driver can only interface with the client library that 6 X( x! o& }% B% {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # e) O4 {8 P  C. o  u/ a
  20. client library - basically all you have to do is to use a 3.x client library as # \' q7 z8 c3 H2 i0 E% Q
  21. "VendorLib" and a 4.x database to connect to.  P  N+ T1 }5 c& _
  22. If you need more info about dbExpress, you can contact Borland.) W7 c/ T  m' I. o5 L: |( E

  23. . l4 H0 W9 ^# }# ]( J6 W) R3 s
  24. ### Doing the work ###- Q' }5 W: G% L3 d% |2 L; J! |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 G1 ~4 \) {3 J7 L' {
  26. the perquisites right, just open your server.ini file, and add this section at/ h* \5 s$ h1 k3 G
  27. the end:, q8 [# @. ]) k& f8 {* _
  28. ---cut here---
    7 p$ q8 e2 M% J% [$ w
  29. [DBEXPRESS]
    1 o( Q, \/ w3 T. s& c6 R
  30. sqldir=mysql_sql
    ! a; r/ g; a2 Z
  31. Drivername=mysql$ Z' o/ I7 J3 s' ?5 a! w
  32. Database=Your_Database_Name_Here& g7 h% J' _9 m: C3 r
  33. Hostname=The_PC_the_MySQL-Server_is_on2 y3 |* `( m5 B6 F9 O5 c
  34. User_name=User_name_on_the_MySQL-Server' B: {6 J2 E% k4 z) J. s
  35. Password=Password_to_go_with_above_user_name/ [0 f! m' p# w. I6 \* V) f* n' l
  36. GetDriverFunc=getSQLDriverMYSQL
    : j& {0 `' Z* k4 ~( X0 c  r  Q6 s, {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 T0 d: z) @) H: T* `: W$ }
  38. LibraryName=path_to_libsqlmy_libary
    ; i8 f+ r  K) c2 d4 x, ^: F
  39. Active=1* f* h* s/ {. T' ^& X
  40. ---cut here---
    : ^9 }9 h8 ~+ w- D
  41. In my environment (a linux box with a MySQL server running locally) I have:
      A! e( b2 F% f) N; M2 S
  42. ---example---+ K2 t; N9 U' I* K$ r2 t
  43. [DBEXPRESS]
    4 w8 D# _0 Q& |3 x
  44. sqldir=mysql_sql
    ; r- V; J  R- z* d1 I5 L1 y; S
  45. Drivername=mysql
    & u1 n4 g1 D, a( j, [. a
  46. Database=test+ u( b' D$ }- r; K+ b; @* H
  47. Hostname=localhost
    8 Y. [3 o2 c, G' P+ t
  48. User_name=testuser" m) N, V# U. L
  49. Password=my_password4 c# D- i! c# L+ f$ E0 ]$ r
  50. GetDriverFunc=getSQLDriverMYSQL
    6 S# M2 Y! L; ^; I+ R& |& c/ h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ x; u4 M1 H( u7 |6 D
  52. LibraryName=./libsqlmy.so/ Y: f( t# P5 i$ R$ ]
  53. Active=1% n; r  L5 }* o+ K) e1 Q
  54. ---example---
    % m1 H( Q% F0 {" r+ c9 N" J" Q: o
  55. " S1 m5 u- w9 e# B$ D
  56. On a windows box, also running the MySQL server locally, it would be:
    ' [& k5 ~) X, [6 q2 C1 `+ E
  57. ---example---
    " ]9 z& w5 P9 P' ~. b* N6 {
  58. [DBEXPRESS]
    ' U: B1 L* Z( G
  59. sqldir=mysql_sql
    $ z9 F/ V9 y' b/ A9 k
  60. Drivername=mysql
    ! B, }: I. }/ p1 N) s. H
  61. Database=test8 ]9 ?8 ~$ C0 }" ^5 X+ U1 }8 Y
  62. Hostname=127.0.0.1
    % M: B- ^: q9 G) |9 o3 o7 Q# D
  63. User_name=testuser
    $ H/ B- {( Y' |
  64. Password=my_password
    % u3 d/ z/ @1 H
  65. GetDriverFunc=getSQLDriverMYSQL
    5 O- B; d& e( Y7 S8 E& S
  66. VendorLib=libmysql.dll
    ) ^  q3 ~. q# v9 Q
  67. LibraryName=dbexpmysql.dll* c3 E7 \) {- X
  68. Active=12 c  y" V' a8 c7 k' m" a: z+ r
  69. ---example----  E8 [: s; G8 `4 x
  70. - written 02.03.04 by pwk.linuxfan
    : g; O0 ^2 s# d/ R
  71. $ l+ r" d  u* }% l; c; k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 J1 `7 }+ u* A- m' w6 u2 Q

  1. " [# m5 H# k3 U% g" j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    4 O, U# ]: ?5 O& S( V
  3. : [) v9 t! ?4 q. ~
  4. # # #我们所需要# # # " ]" i+ y2 C9 S& b
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 j/ x  n; g6 ]6 y  _
  6. 不会解释如何做到这一点-也有文件存在,为
    / x+ r4 n8 `, p: y$ Q1 |# A/ \
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" l/ j; e4 M- A5 M# a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# p7 J  y7 s: `: d8 F6 T7 {$ ]9 @, {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& s- W& o) F* U- O3 O& ~
  10. 本地机器,这是我的MySQL安装。 * e: d1 w7 o0 g- T/ I, j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 a/ M1 @% U+ l" `4 [* ^$ L
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 Q  \7 }6 `* g4 R  T% K+ l; g
  13. 数据库。
    - |+ }- v% W6 ^1 `5 v( ?& F* |: d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; x1 t* D) F- {  A  p/ u
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 i2 b: P! Y2 E6 U1 s# q
  16. 在teamspeak论坛,如果你有兴趣。 1 F5 U9 ~8 F! o3 V: B/ F
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - e# `0 l6 a& L! u/ s+ E
  18. Borland公司使用。这个司机只能界面与客户端库
    8 W5 W7 a: I9 _1 a
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这. t  k/ F  z+ N% ?) X$ v2 M! S! P$ r
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& c% u% u% i* `( J; u
  21. " vendorlib " ,并解数据库连接。
    3 e# D0 G9 o9 i5 B7 B5 y: w! A* s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 ]* M! |- A* D8 F  I: p' G  ?
  23. 1 v: R7 G) v- G( E; }( q8 N
  24. # # #做好工作# # # - K, S- D0 t  o* |4 I: {
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " d' o  p& S* {2 G7 i+ t4 m/ u, Q$ z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. a1 D4 }% T. T$ [' J% H3 c
  27. 结束:
    ' Q+ ^" E/ {8 N
  28. ---削减这里--- ! i/ Z% ~- m. l6 m
  29. [ dbexpress ]
    ) S! C! V% t0 S; d- I& p
  30. sqldir = mysql_sql
    " l. E0 I/ b8 v8 e1 g- r# z' p
  31. drivername = MySQL中
    7 F6 L) W0 r& Q. U
  32. 数据库= your_database_name_here + D+ C. G4 _! {8 u0 S
  33. 主机= the_pc_the_mysql - server_is_on
    ( E% ?1 ^2 l) ?; j2 a3 N5 v9 L" Q
  34. user_name = user_name_on_the_mysql服务器! Q) `* U5 _- P6 u' M
  35. 密码= password_to_go_with_above_user_name
    : r* J6 Q' l- h8 D; H) A
  36. getdriverfunc = getsqldrivermysql
    7 A$ Y* u. s* S' X' Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ; F) ~5 C7 ^) P7 Q0 q. b1 F
  38. libraryname = path_to_libsqlmy_libary
    . Q( ~7 i: W7 T  `' L, }
  39. 积极= 1 3 j( @8 g5 }4 U: b) O
  40. ---削减这里---
    & F5 C, P" |) [; R: N+ D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 ~% D3 M8 z: I1 l
  42. ---例如--- 3 _% p. c& P0 L2 }: U% u% L
  43. [ dbexpress ]
    1 V7 Q( [. E9 ~$ O) f5 X+ O
  44. sqldir = mysql_sql
    ! C  A6 o- @3 m& l" U
  45. drivername = MySQL中
    8 m# ~2 @: Z5 q* K, b
  46. 数据库=测试) w- A1 Z& B' A( o3 T) {1 T
  47. 主机=本地主机( A' C4 B+ C5 e
  48. user_name = testuser
    ; K6 t( m9 t7 w- m* U
  49. 密码= my_password , L# K8 s/ X( w. n4 Q( L6 Y
  50. getdriverfunc = getsqldrivermysql
      I+ {! W7 h' l) j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 T; b* l. x; |8 _
  52. libraryname =. / libsqlmy.so
    7 `& s" }; h. L% `8 V, g
  53. 积极= 1 : E) F/ x3 _5 S! Q
  54. ---例如--- / y* J$ d+ N; r" q% G2 `

  55. 5 p8 |4 [7 Y& n$ o! ^% y+ h" ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 b+ p$ J& [. f5 X5 x6 i2 K
  57. ---例如---
    7 G% o0 ^' H6 W2 J+ ^  f
  58. [ dbexpress ] ! H& d6 ^$ h) L7 w+ L7 [/ `
  59. sqldir = mysql_sql
    2 _3 T4 A/ J' }. H! M
  60. drivername = MySQL中/ s# U# O0 h" }( j2 {! H. J9 ]. {8 L
  61. 数据库=测试# e! `) J; t- K& L1 ^3 o
  62. 主机= 127.0.0.1 3 V! @  p) H3 y/ a  s
  63. user_name = testuser * [8 i6 N# D6 U  U& [
  64. 密码= my_password 0 `) n9 z$ A9 g
  65. getdriverfunc = getsqldrivermysql 2 ^+ M2 Z/ A) H
  66. vendorlib = libmysql.dll在2 p0 o/ d+ j6 U. W
  67. libraryname = dbexpmysql.dll ( u7 f2 o' M8 |; L$ b. B' ^
  68. 积极= 1
    2 t& H( R  \& b& z
  69. ---例如----
    ( p- J+ g* o+ Y: y
  70. -写在0 2.03.04由p wk.linuxfan
    7 Y1 P- F% i/ ]' z6 b% |; p3 p
复制代码
发表于 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
% c9 r" r3 g" K5 N1 n
* V0 w0 C4 r) U5 [5 rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-26 07:32 , Processed in 0.097885 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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