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

2797 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# P5 D0 z0 J$ M9 ?7 b( ^* @
- f$ {% C& v8 s) X, R5 N4 D: \  t
  1. " g  t7 |0 ^. p2 E# k9 p' n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) D2 a/ q6 `3 w. l
  3. # p: s5 S0 \0 N1 F* e
  4. ### What we need ###, V, [( Y7 U' d0 b
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 n- I' Z/ X' D; r# K- ?4 F4 Q
  6. will not explain how this can be done - there are documents out there for the
    * O: M, j7 G3 P3 V1 L) b5 G
  7. interested. The requirements include a (empty) database for TeamSpeak to use) W) ~% G9 k. W8 c3 Z$ q
  8. and a user account (username + password) that has the permissions to do stuff
    % ?/ x' c* H) M* u& `
  9. with the database. Additionally, you will need a vendor library installed on the2 j" Q& A5 V) w# T* S  |% f
  10. local machine, this came with my MySQL install.
    . z( l, r$ n0 v. l* p
  11. These instructions will not tell you how you might transfer your data from the
    3 g4 E: i9 h; ]! v4 r- M  T# k0 q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , c) E5 g3 t& z' K& n  U
  13. database.) z  e3 u$ {6 y; B, z8 U; @6 e% F9 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 ~' ?2 }$ X8 h& X7 T0 V- i6 i
  15. the time of writing, there are still too many issues - check the current status, J6 h' ]* F& [  _8 S
  16. in the TeamSpeak forums if you are interested.
    + A. P6 x7 ?; n8 I5 g, f& }( R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from! p$ S; Y( [: l/ @. w8 v
  18. Borland was used. This driver can only interface with the client library that
    8 h& r5 w6 ^" y, b# Z# S; E3 `9 ~  F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; K2 H  P; q2 B  ^; t
  20. client library - basically all you have to do is to use a 3.x client library as : Q, W: h! l! r9 @2 _. Y
  21. "VendorLib" and a 4.x database to connect to.
    8 W' d5 r# N2 J$ |6 i9 D0 H- `
  22. If you need more info about dbExpress, you can contact Borland.
    : e" d( j' V" A. V1 ^
  23. ; ~7 M% M" A3 b6 s  p
  24. ### Doing the work ###
    7 t1 f5 x* [. q7 M$ ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) Z: u9 \' i/ K7 ]# M* h$ G' v
  26. the perquisites right, just open your server.ini file, and add this section at5 q( Z: [# h8 e1 v, R% e- O
  27. the end:- c# T. B6 L: y+ ]/ @/ E3 g/ \4 s
  28. ---cut here---. Z/ V; o8 M) i1 `" `, z& W
  29. [DBEXPRESS]7 n8 a$ i& Q  F  k: Q' {
  30. sqldir=mysql_sql7 T$ q0 {* P9 Y; m, W8 {; c
  31. Drivername=mysql
    . k& E8 U  Q# b5 i. ^1 f
  32. Database=Your_Database_Name_Here
      P' R9 F3 p2 }" Z9 ?! l
  33. Hostname=The_PC_the_MySQL-Server_is_on2 p6 R0 u+ |4 }# Y* ^
  34. User_name=User_name_on_the_MySQL-Server7 ], @( |+ V% E4 j$ m/ L1 V
  35. Password=Password_to_go_with_above_user_name* ]% u$ C5 c! ?  t
  36. GetDriverFunc=getSQLDriverMYSQL* H' a4 W, j6 b6 J3 q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 X9 r9 S% s5 n* c
  38. LibraryName=path_to_libsqlmy_libary' Q3 t. y% ~: W6 {
  39. Active=1
    ( w* b+ f9 ^* |% j" l
  40. ---cut here---# e2 ?9 B$ Y6 a$ O" m
  41. In my environment (a linux box with a MySQL server running locally) I have:1 b  U; J9 ]7 r! [" e) F
  42. ---example---6 s' V7 z8 ?3 s3 c4 e6 \7 \
  43. [DBEXPRESS]) G* L5 N1 v" |" S. Y+ H# g5 T
  44. sqldir=mysql_sql  I9 m! k. [* D
  45. Drivername=mysql/ }; B9 Y6 q; W) q2 @3 \! j* R
  46. Database=test
    9 V& N' V2 A, L; G$ v! ~, Z& S
  47. Hostname=localhost
    0 D% f% J/ e( w5 @( H0 M' \
  48. User_name=testuser1 a- J( u5 y' s* f# V
  49. Password=my_password( G/ W( o0 v( _% X5 `7 d
  50. GetDriverFunc=getSQLDriverMYSQL- r1 T8 S) f, a4 c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 j- Q$ g# X- _/ a
  52. LibraryName=./libsqlmy.so8 J: g* B4 j2 s3 A' L! q4 j2 D* y
  53. Active=1
    / T( t/ C6 v8 d9 p' U
  54. ---example---# o; M, Y. p, e4 h+ u' o" E

  55. 8 Q% v6 w6 {: o' y+ k7 B3 G
  56. On a windows box, also running the MySQL server locally, it would be:
    3 ]  S0 H7 E+ o2 \, Y: W$ ]
  57. ---example---
    8 G0 ~. ?, I1 u
  58. [DBEXPRESS]! `2 V( E5 F/ `
  59. sqldir=mysql_sql5 c, _$ D3 q( K9 I+ Q
  60. Drivername=mysql. g2 V; q( @) G$ g0 M
  61. Database=test, t$ A+ z8 n: b
  62. Hostname=127.0.0.1
    5 f! `( \9 @+ ~
  63. User_name=testuser8 L, c4 H) n; ?# n% Z5 C4 Z
  64. Password=my_password2 `* n! P& X  D& d. g* b+ w7 ]
  65. GetDriverFunc=getSQLDriverMYSQL
    % t' }  ^. v2 @- j" _
  66. VendorLib=libmysql.dll
    $ v+ x( E6 J; ]/ x: v
  67. LibraryName=dbexpmysql.dll
    $ S7 P. b# c$ i+ t0 r: M1 c* F! H1 s
  68. Active=1. y2 D! R4 y$ w2 t8 o# f7 A
  69. ---example----$ R% }1 g3 ?1 y( {! E- X0 n
  70. - written 02.03.04 by pwk.linuxfan: c/ m1 w; U" A. t* r/ T

  71. " x. q+ L1 d& ]1 h9 R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 m: @- B  K: c4 M

  1.   e% F: t/ \) i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( @0 d2 e+ k4 J

  3. , `) D6 ?" [4 Q/ X5 W" l7 I- E+ l
  4. # # #我们所需要# # #
    0 f; V( X* X, E( q& Q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , X, ^0 `, x4 ^
  6. 不会解释如何做到这一点-也有文件存在,为9 f- q$ J* K$ }( o
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( D  x- \/ L# g& X  K- p/ R0 D. H, Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! U3 q6 X- l' ?6 v9 E# y) B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) c8 ~0 }- W( r# w) z! J" ?9 m
  10. 本地机器,这是我的MySQL安装。
    % }/ m+ L3 m- @9 R, v) @
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) r7 `* {, ^1 |6 c/ f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 5 P/ k6 d, ]$ f, Q" r) c
  13. 数据库。 $ A0 F5 W8 k; o
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 N. ^: g$ c# l$ u7 V2 `7 i
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    6 b2 C1 I! M5 `5 d+ Q( Z
  16. 在teamspeak论坛,如果你有兴趣。 ! s7 E5 ]1 e$ `5 U* l. f
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) O/ `( @: ^' d3 y/ T4 ?& e* O
  18. Borland公司使用。这个司机只能界面与客户端库
    " k) [# N1 F. D0 M' _
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这, q' j- [& C  U" i
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为; P# j3 M) j# e: k, h
  21. " vendorlib " ,并解数据库连接。 : f6 Y) h  W2 }# C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 \+ X2 ~1 `: f

  23. ! f7 q; H) d" n4 d+ |
  24. # # #做好工作# # # / ]& \/ d- p( k, K2 g% |6 |1 h0 t6 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ( p& R0 |+ b$ U; s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* O5 Q  y+ u& m/ r" b: q, @8 F! P
  27. 结束:
    * f- K9 r; u9 w8 ?' _5 D
  28. ---削减这里---
    6 d. {  P' B! ^  n
  29. [ dbexpress ]
    ( \' j$ e0 |2 @
  30. sqldir = mysql_sql
    . z6 E! ~6 m& Q" K2 H
  31. drivername = MySQL中
    4 ^! c" D2 @3 R) L( E: `2 x
  32. 数据库= your_database_name_here
    ; ?% w- j* K( x" C" R$ \
  33. 主机= the_pc_the_mysql - server_is_on
    ' Z3 z! K. I$ G4 e
  34. user_name = user_name_on_the_mysql服务器# \) F/ m3 Z5 a5 F5 s' V
  35. 密码= password_to_go_with_above_user_name
      L7 }& l$ o2 f) P4 }2 u: C9 q
  36. getdriverfunc = getsqldrivermysql
    9 _/ ^6 n) S" @. F* o# r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " s1 t4 x1 E$ `/ I
  38. libraryname = path_to_libsqlmy_libary ! L% ]' x3 p+ Y9 J2 l; L
  39. 积极= 1
    # F. L: s( Y! q  n9 f; o
  40. ---削减这里--- 3 m1 L$ \3 q6 u8 E* @9 B. ^/ X
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) X) A5 N0 J; h; }+ K) L5 P
  42. ---例如--- - `3 x/ |, X8 e4 C8 m  D
  43. [ dbexpress ] * q. c! r" K  Q# Y
  44. sqldir = mysql_sql
    5 z  i! A5 L9 H# g1 D
  45. drivername = MySQL中- D3 n! Z" V$ S& E+ b/ B1 B
  46. 数据库=测试9 _$ N1 M& x9 E6 o  F& p5 j0 \
  47. 主机=本地主机) U8 q9 m1 I' W- n
  48. user_name = testuser
    8 r0 B" x; R- c- s% l9 L7 _- {
  49. 密码= my_password 2 v) p" v* t! u6 e" M  A* x
  50. getdriverfunc = getsqldrivermysql $ e- g) u2 @( A2 p- X0 |  N
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 8 |8 D- ^, o; h( l  `
  52. libraryname =. / libsqlmy.so : \+ K8 S  o* e3 R4 M. k
  53. 积极= 1 4 s- L/ b8 o. s* H, ~
  54. ---例如---
    . ], ]0 o/ g1 h/ w- |! M" r
  55. 9 I$ l5 e7 o6 d9 }7 u5 r
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 m3 T' t3 A* L; a& t% G
  57. ---例如---
    # h7 i+ ]; ?) A7 |. D( G" b
  58. [ dbexpress ] 2 ]1 }" o" R! `0 ]. X6 v9 V: d
  59. sqldir = mysql_sql 7 w3 `0 V1 P4 g; k1 a3 s0 x2 ?, H8 V0 [
  60. drivername = MySQL中! e* s! y- j- ]6 {
  61. 数据库=测试
    . K# _& }8 [- w$ _" i
  62. 主机= 127.0.0.1
    . C; E$ j" k( K/ C- r8 m* V: {
  63. user_name = testuser
    0 S  {( v# }$ f0 Z# _/ b& P8 r( @( C
  64. 密码= my_password
    1 c- u: H# I* ]; f5 c8 G7 ?9 o
  65. getdriverfunc = getsqldrivermysql % N+ U0 n, T% N, S$ B8 i
  66. vendorlib = libmysql.dll在3 j8 g' s' B$ H9 A3 c% ^# ~
  67. libraryname = dbexpmysql.dll
    7 j; H% ^4 J' L! x6 g
  68. 积极= 1
    ! s2 w  U) o3 F* L
  69. ---例如---- - j, ?  o  i9 ]$ T# P# D
  70. -写在0 2.03.04由p wk.linuxfan
    , Q: y2 j& p5 v7 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$ O% C2 T3 l1 Z

/ {- [- J& l1 [/ u' Jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-23 22:14 , Processed in 0.111571 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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