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

2758 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 n# I* c. G1 {; I. f, T8 d
% H) D6 r, x5 h( W: F# x% x- T

  1. : w- G, z, y% f# G7 U* D5 W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 i2 z8 l" o' }$ B4 s$ S9 Z3 `

  3. - ]5 D/ B; O, |2 \, H* _1 b' g
  4. ### What we need ###
    " ^" g2 ?; K! H) Q% j# \
  5. Naturally, we will need a MySQL server to store the data for us, this document * I* R! }0 ~' Z; ~4 C0 X" A$ Q
  6. will not explain how this can be done - there are documents out there for the
    : H- v3 }; p7 ?8 [8 j7 T
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ e! q8 X' D* J
  8. and a user account (username + password) that has the permissions to do stuff! z0 ?9 E1 s! C3 d4 U
  9. with the database. Additionally, you will need a vendor library installed on the
    ! z; D: ~* b( y) O" v' i
  10. local machine, this came with my MySQL install.7 r( p# F8 B% b2 B% _: U; f' d* J6 N
  11. These instructions will not tell you how you might transfer your data from the3 D5 n; E7 P) {! u0 q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      f. y$ ~/ D3 e, X2 Q3 Q) i
  13. database.
    # M! I/ {* J0 G6 b
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! B: O. ]: |& j9 X3 o/ [- O9 x
  15. the time of writing, there are still too many issues - check the current status
    ( D+ i0 l: h- V) w5 ?( b3 c- I
  16. in the TeamSpeak forums if you are interested.) p/ `+ Q2 e- s8 L6 M5 U
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 |1 p  e( o) I+ g- `
  18. Borland was used. This driver can only interface with the client library that 9 }8 B# |* a+ f6 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( T9 S5 Y" O' ?: a& z
  20. client library - basically all you have to do is to use a 3.x client library as
    : G* `( @2 w; F
  21. "VendorLib" and a 4.x database to connect to.
    % L% }9 N- S+ j: {  W
  22. If you need more info about dbExpress, you can contact Borland.
    ) K  N+ K4 R( r

  23. 8 Z/ f, C+ Y3 M
  24. ### Doing the work ###5 |! l$ S( x4 e3 L) l* x) w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, b" i1 e% V9 d# X5 \0 n
  26. the perquisites right, just open your server.ini file, and add this section at. y8 W3 ]6 o/ V+ f0 H! S2 v8 h# R/ K; }
  27. the end:
    / P/ {% w6 Y! Q& L/ B& `
  28. ---cut here---
    ) X- I! w9 e% O4 p, r8 S  G
  29. [DBEXPRESS]6 W" Y5 L# Z/ j' g5 R
  30. sqldir=mysql_sql
    / [/ C" l+ z4 `
  31. Drivername=mysql" ]9 I; [( N, A/ L$ X3 E
  32. Database=Your_Database_Name_Here
    ' W. y) t7 K! \% E% c
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ d/ q2 I5 c' l; ]$ y
  34. User_name=User_name_on_the_MySQL-Server7 W3 H2 C$ Z0 o* r5 t
  35. Password=Password_to_go_with_above_user_name
    / W. z6 y& H2 j3 m' R! V- ~
  36. GetDriverFunc=getSQLDriverMYSQL
    3 M1 a! A5 ?& A% K' ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    $ Y1 k4 x! ?- m7 l
  38. LibraryName=path_to_libsqlmy_libary
    8 c1 j% l' l1 _0 V& O; P; W, N
  39. Active=1
    . X7 A& t6 H# U4 R& g
  40. ---cut here---$ W, a9 @) K8 `5 O7 x2 O6 T; |
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! _/ J; [/ r3 ]9 q% J! X
  42. ---example---# C0 D! s3 Y+ ~/ p+ _
  43. [DBEXPRESS]( p+ M3 y8 x3 H/ q, z9 S# X3 x
  44. sqldir=mysql_sql
    * {7 ?) j& m& d3 S- o, G8 @
  45. Drivername=mysql
    / ~6 K' d$ A+ `4 b8 w4 y
  46. Database=test
    + m3 ]7 c* X; x9 D5 y- z) _# b
  47. Hostname=localhost
    + p! ]6 E4 }2 c
  48. User_name=testuser! N  P5 Z# o) L; @7 Z9 \; f; U, E
  49. Password=my_password
    ; G7 R7 f$ m3 {9 X2 F9 u1 O
  50. GetDriverFunc=getSQLDriverMYSQL' p7 x9 R3 o% X& I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 o' p; E/ V2 p  ]
  52. LibraryName=./libsqlmy.so
    , `. Y' L( X! C+ z" N4 N8 m8 ^" p
  53. Active=1
    - p1 I" n( A( ^8 K/ L7 j
  54. ---example---
    - }: h- R, |& I3 W- o# V

  55.   L, i( Q8 X0 \: f7 K
  56. On a windows box, also running the MySQL server locally, it would be:" a8 }% B' J) e4 P
  57. ---example---
    4 @- I7 j0 N( a3 P4 @' |
  58. [DBEXPRESS]
    6 C: }9 ^* l; T/ C; _/ @) ^
  59. sqldir=mysql_sql
    , J( f& l4 c1 x, F
  60. Drivername=mysql; o' k9 i8 P3 e. ?9 f9 b
  61. Database=test
    * z4 x$ e- `  P* e/ R
  62. Hostname=127.0.0.1+ H3 c, k) `$ k
  63. User_name=testuser
      y9 o4 X2 `9 {% b2 Y) y
  64. Password=my_password  z% n6 X, l, @+ T
  65. GetDriverFunc=getSQLDriverMYSQL
    ) k+ i& z4 r5 y6 \6 w8 Z8 ?& Q
  66. VendorLib=libmysql.dll, ^; `5 m, f/ I9 A; S' @$ \
  67. LibraryName=dbexpmysql.dll3 c' c/ l# b, a& M7 ^
  68. Active=1
    + X' P% ~0 F) g
  69. ---example----3 C9 J" a& n: d$ J% B" H0 @% o: R
  70. - written 02.03.04 by pwk.linuxfan( T0 o' v& |" z) t

  71. ; z9 U9 l; N2 S' U0 g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 v0 h: Q: O! ]. ~9 I' f
  1. 5 q7 T9 F9 u  W3 a, I5 [
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) R! Z' P. v4 m: W& S8 c' N4 z

  3. & N1 w" Y4 ?# r1 _  M
  4. # # #我们所需要# # # ' n6 J5 x* m% I: B. b1 ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ q, Y8 |: ~6 I
  6. 不会解释如何做到这一点-也有文件存在,为, F3 R+ }2 Y) I: V% {) r( g
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' {: Q& ]+ ?& G
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / Y- e0 e; R8 P0 z$ B3 B3 R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 k& U0 G' E9 f( d/ I' E
  10. 本地机器,这是我的MySQL安装。 9 ?' h4 W4 K0 c+ D2 A' H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ N, S' q1 H& \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   L( M% j' Z* }3 K9 X
  13. 数据库。
    / D* J7 [3 f& h4 p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& J9 c+ Q  y) b1 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状# L, J1 S, z" K. I, n5 Q. [
  16. 在teamspeak论坛,如果你有兴趣。 % J" q0 h+ A0 H9 ]' C5 Q
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 P& Y0 }/ }' T# v; [. e, a
  18. Borland公司使用。这个司机只能界面与客户端库
    , ?) o7 W0 C" o* r0 P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  ^1 V* K$ W: N+ c6 w  ~* Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . J* J6 Z9 U$ v, I
  21. " vendorlib " ,并解数据库连接。 / S1 W+ H1 y* O2 C3 n1 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 Z" {6 p2 T2 x

  23. 0 \! d) g* S3 |$ ^5 l3 d! `6 R
  24. # # #做好工作# # # ! G0 x7 R( }( l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    2 l; ]' V5 _5 [6 C6 z7 T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / a! v' o0 @' @5 M& W, S
  27. 结束:
    0 I% D2 _# r6 c& R
  28. ---削减这里---
    3 m7 J% B' d! [# u9 Z+ I) K
  29. [ dbexpress ]   o% M7 U- J4 i9 ~' |" |
  30. sqldir = mysql_sql - C& s2 J; e  X- ?6 N
  31. drivername = MySQL中
      D8 L8 S. i) |% e! s
  32. 数据库= your_database_name_here 6 p- V' d+ C: [4 b# {4 N$ G$ N" d- [  t
  33. 主机= the_pc_the_mysql - server_is_on - Y4 H# H1 T/ ]' y
  34. user_name = user_name_on_the_mysql服务器$ x) v: o$ O! x' H/ `  ^1 J$ ]
  35. 密码= password_to_go_with_above_user_name $ g3 J; J) ^7 [! h. E& j9 o  T; o
  36. getdriverfunc = getsqldrivermysql
    + w) p( ?) @2 B6 `
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 @7 G) R/ R% f8 {2 e
  38. libraryname = path_to_libsqlmy_libary * M3 N5 ^; e( w; }
  39. 积极= 1 / c. k+ m1 Y5 {1 i6 n
  40. ---削减这里---
    ( \. o  L/ j. F7 m! l9 W5 p4 \; _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ s$ w( G8 L% b; v/ F" z
  42. ---例如---
    , _: m1 b3 m% W1 L+ F# v
  43. [ dbexpress ]
    9 G0 [* W6 k  z
  44. sqldir = mysql_sql
    . C, g' p6 ^$ C* ?, L  c' B5 p
  45. drivername = MySQL中+ u. ?- e. g! S0 k8 h- X5 B7 f
  46. 数据库=测试
    8 t  P8 m2 D* U) u% j$ b
  47. 主机=本地主机2 U' M2 }+ B2 K' D3 `2 C: j3 r
  48. user_name = testuser + S* W) v0 [" J3 |2 R& p- @) G
  49. 密码= my_password # R! F6 F" x! I+ V
  50. getdriverfunc = getsqldrivermysql
    5 q. v, ?. x3 Y8 B1 G& q( P0 z& P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 j/ f5 L% P6 o6 n: e0 b
  52. libraryname =. / libsqlmy.so . K8 z$ z; q( u: p, Z
  53. 积极= 1 & z, o# [% K! f5 `6 `5 Y
  54. ---例如--- ! z! k4 U* [# P, f" E# i

  55. - W/ G# M7 ~/ K* s* e
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    6 _& ?9 z2 e1 d/ Q
  57. ---例如--- 0 Q. A- a2 {: N7 \
  58. [ dbexpress ] . @% v  d, D  b
  59. sqldir = mysql_sql 3 ]1 M# l; F( Z+ L
  60. drivername = MySQL中
    / B0 N1 R4 c1 v( |0 E' a6 @
  61. 数据库=测试
    ! H) O# n9 R9 _; U4 ]! j+ J0 G
  62. 主机= 127.0.0.1 ) w, a" ?& i/ _+ H9 i8 k2 `( @
  63. user_name = testuser
    . g6 }+ z" |9 ?2 i9 X
  64. 密码= my_password 6 m( r& F! @/ S4 g; u: l& N- E3 X
  65. getdriverfunc = getsqldrivermysql
    1 A7 x( {) z8 L" i3 ~) H
  66. vendorlib = libmysql.dll在( |4 \3 {. Z; v! H( {  p( |
  67. libraryname = dbexpmysql.dll
    % a, o0 ~! b! D5 @5 C/ r1 d
  68. 积极= 1
    , I9 d8 `' x5 V0 H0 H
  69. ---例如----
    2 S: F4 @. R. A- K% i
  70. -写在0 2.03.04由p wk.linuxfan
    ' J# u, i3 W2 l; z( o
复制代码
发表于 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
4 U) R7 O& b" I( `& x
; g: f8 @: C1 z. V% Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-14 00:54 , Processed in 0.090506 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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