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

2631 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% @2 n$ F( p) _/ z0 w6 h8 F( m/ h; }! A& Z, R

  1. * b3 c4 f. P( E8 T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    9 M, ~6 R8 d  X6 k: x% t9 I

  3. 9 i, L5 m4 P9 ^  k( ^1 n6 h
  4. ### What we need ###
    - X; I% G8 O4 W& _& g! n
  5. Naturally, we will need a MySQL server to store the data for us, this document . N7 E* D4 `) C# t- D# B5 Z
  6. will not explain how this can be done - there are documents out there for the 8 U2 ^. x$ N) \( N8 g. G
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 H* o  H1 ~4 l' d; E! J& L
  8. and a user account (username + password) that has the permissions to do stuff
    4 k/ {$ g' S. T& i. F: f3 d
  9. with the database. Additionally, you will need a vendor library installed on the( x6 C5 @, {. E
  10. local machine, this came with my MySQL install.
    9 y0 T- J) t6 V3 f
  11. These instructions will not tell you how you might transfer your data from the1 v1 r" F: i& P3 Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 r5 x- G) v" M4 `- r# e
  13. database.( a( G4 `7 A5 X4 Y' A. h5 a4 l
  14. Some users have reported ways to import a SQLite database into MySQL, but at* r: X) \4 V9 h( J- G+ C
  15. the time of writing, there are still too many issues - check the current status
    8 p# @, s9 w  g( Q( n" F! T; \
  16. in the TeamSpeak forums if you are interested.. `; T+ m5 i1 }7 }9 O* N6 b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from" R9 R0 l& m2 Y, S/ ^9 `% d2 b
  18. Borland was used. This driver can only interface with the client library that + g2 B. T* y/ O: I& Q, x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    / g% x1 ]' ~$ Q( L2 x
  20. client library - basically all you have to do is to use a 3.x client library as . ]9 Z9 F, v' ]  a' S; G  r; \
  21. "VendorLib" and a 4.x database to connect to.; Q$ y; D2 W7 \% [. L# Y" B
  22. If you need more info about dbExpress, you can contact Borland.
    * L- C! v8 E; J( T' U. m0 [: U

  23. 2 @* [6 g; `1 c8 `! A. _: V+ d8 N
  24. ### Doing the work ###
    . D7 j- C( }( g. K8 ^% b2 X
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 W7 L2 _& W& M4 k9 H: v
  26. the perquisites right, just open your server.ini file, and add this section at
    * s& u- I& @3 R: b* A, }1 n# k
  27. the end:% R  O: @  _+ ]& k2 U$ z' @8 E& G% f
  28. ---cut here---
    8 U$ b! _  u7 |( {1 c" X& U
  29. [DBEXPRESS]0 H- Y" d) t" g" D+ |
  30. sqldir=mysql_sql; e- Z# T/ N5 u* M" q# x4 L6 ^
  31. Drivername=mysql
    0 s3 }8 ]: Q: |/ c
  32. Database=Your_Database_Name_Here' R# ^3 D7 i4 q0 |' Y( S. R( u; k
  33. Hostname=The_PC_the_MySQL-Server_is_on' H1 S, D$ L% a3 k7 g
  34. User_name=User_name_on_the_MySQL-Server2 n. Q! T) r! U  B* t
  35. Password=Password_to_go_with_above_user_name
    - [, M  J) t+ D4 m3 {) k) l+ `! |& p
  36. GetDriverFunc=getSQLDriverMYSQL; y6 K9 ]5 q! ~5 U% H9 e. s: W
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% e1 U2 Z  O# t
  38. LibraryName=path_to_libsqlmy_libary7 Y/ H" }) Q* ]; T5 Q3 N' f" d
  39. Active=1) ]: c" X5 _# ~$ d* ^: }
  40. ---cut here---
    0 n2 e- i+ Q/ v3 T: k0 S
  41. In my environment (a linux box with a MySQL server running locally) I have:7 f6 d+ Q$ e3 b* K2 d7 l- g
  42. ---example---
      N! J% h& h" K" R$ Y) d
  43. [DBEXPRESS]
    # C1 D4 U  }' X7 y7 w. w
  44. sqldir=mysql_sql; g: B" j* y# U8 o1 u1 ]8 g# ~: J
  45. Drivername=mysql( J" f1 L6 s; V  s
  46. Database=test
    " {; B* Z) c" l/ S9 d2 G
  47. Hostname=localhost7 J+ M$ `) \" b% }2 Y
  48. User_name=testuser5 H) q+ k0 Z% i$ k
  49. Password=my_password
    . a3 _. @6 j+ b4 W
  50. GetDriverFunc=getSQLDriverMYSQL
    1 l7 d8 g% S0 Q9 ?( ?' |$ O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. B% _7 ]3 e0 ?$ H- l
  52. LibraryName=./libsqlmy.so
    ! H4 Y# m5 k) h3 X$ S2 h
  53. Active=1
    % |; u. u) T9 L2 v" r
  54. ---example---
    $ n- x! Y, K: U% o4 t
  55. 6 j4 y- s& w8 M4 h* K
  56. On a windows box, also running the MySQL server locally, it would be:+ I; l: ^1 t1 l/ X0 O) N$ ~8 S5 ]
  57. ---example---
    9 T& s, S" S6 I: L
  58. [DBEXPRESS]5 y* `$ h% s( d' ~! b) y. _& e
  59. sqldir=mysql_sql8 \8 D, V; d1 }
  60. Drivername=mysql
      ?; E8 }# s  \6 k; F/ h3 r& W
  61. Database=test
    2 R0 C2 X+ i3 O
  62. Hostname=127.0.0.1
    4 s! n4 o: t5 a7 [) s. h
  63. User_name=testuser
    - V5 ?6 H# b: l9 \
  64. Password=my_password; L+ ]7 B! ]1 [: M) |6 B
  65. GetDriverFunc=getSQLDriverMYSQL( ~0 k+ {; l  A9 {/ o6 y
  66. VendorLib=libmysql.dll
    ; S, J+ C6 E% |8 f6 g# ~
  67. LibraryName=dbexpmysql.dll4 e6 i* ^0 E. w3 ?7 F5 T
  68. Active=1
    5 a! a! Y1 d2 t- X/ o+ a
  69. ---example----  X) X; R: M" d9 r% q: @% p, I4 [
  70. - written 02.03.04 by pwk.linuxfan
    7 V  _8 Z  j- v: q$ J, ]; z  A7 \

  71. . s) }- W" b! p7 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 G& P8 ]  l7 x8 a" p/ e( ^
  1. $ }4 M+ j; ~. R5 R
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    + h. _$ l4 w1 d1 I/ n% G
  3. , Y/ t  P  H; P9 T; F- `9 B
  4. # # #我们所需要# # # 2 n) g4 o: E; D9 H  T5 U) s* \9 Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# i* V( I4 y0 x' m
  6. 不会解释如何做到这一点-也有文件存在,为6 j( K1 {% h% [9 z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 ^* ~4 \! i  k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! }, G& b) p' z/ [3 A
  9. 随着数据库。此外,你需要一个卖方图书馆安装于' C: K/ j6 b* k
  10. 本地机器,这是我的MySQL安装。
    & X3 z: m3 s9 T% d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 t# h5 C* F; N% s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    - P1 p0 @& \: w! y0 Q4 J1 G
  13. 数据库。
    8 N1 ^/ W# |1 C0 h1 i: S& J% J! }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( l8 z# i2 l7 B/ D/ d
  15. 编写本报告的时候,仍然有太多的问题-检查现状* P: |6 h) j' X  \
  16. 在teamspeak论坛,如果你有兴趣。 ; ?' w1 x1 P2 v- Q" L# t3 N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - j! u# {! ?$ e: |3 B
  18. Borland公司使用。这个司机只能界面与客户端库
    # P7 c; K  i& E. E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ U) E9 U" \2 q! x0 \! F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" _8 i' S7 [/ ?* O" U, p
  21. " vendorlib " ,并解数据库连接。 & U4 c8 ?0 }! d" E& n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 + ?( H, U( J* E9 |' [" b
  23. 5 w* H8 F& l6 V. ?. N; M' Q% F# T
  24. # # #做好工作# # # 7 f, l& J: v6 e) j/ }! e2 o9 U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: T0 o, l, {! P- R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在! s& o. }! b( J: z) I' |5 m
  27. 结束:
    ) z  z) i. N- k; v, U8 f
  28. ---削减这里---
    ' @; u& V9 T, I& R! t; J
  29. [ dbexpress ]
    7 D3 b6 F4 f4 J+ Q/ I# K( `
  30. sqldir = mysql_sql 1 b1 l# ]$ q, v, X5 Q* X% U
  31. drivername = MySQL中9 o& K! C6 I7 `5 f- ?
  32. 数据库= your_database_name_here
    9 q1 m8 K8 p7 L6 B" S% g# _: ^
  33. 主机= the_pc_the_mysql - server_is_on : ?" U/ W8 H8 z% ?
  34. user_name = user_name_on_the_mysql服务器
    0 Q0 i, e2 }/ K3 H" q# h
  35. 密码= password_to_go_with_above_user_name / t8 O$ o8 W  j+ J/ y% O  [" |8 Q0 F
  36. getdriverfunc = getsqldrivermysql
    ! @; ~" R: J+ F) v& b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' l- K' y4 H1 W; Q, r: n0 U. U' |4 l
  38. libraryname = path_to_libsqlmy_libary - O. U9 N: U  v' d6 K. g: M. j3 F
  39. 积极= 1
      Y' Y* g- |+ H5 @5 ?/ s3 d9 \6 i
  40. ---削减这里--- 4 K* A/ U2 K4 W4 o
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 A8 M$ H3 r1 R, W) t
  42. ---例如--- % K  e( j9 D- b/ h: Y# g( j, u
  43. [ dbexpress ]
    4 ]. ~' h/ p7 h8 Z2 `
  44. sqldir = mysql_sql
    + N* {- w$ F  p, q
  45. drivername = MySQL中
    ( \# ]8 x2 D& _/ C
  46. 数据库=测试2 E4 v$ |* m6 Q! {; E/ _
  47. 主机=本地主机) o/ P- e$ Y5 ]3 {1 r
  48. user_name = testuser
      q& a  n% A0 N: O9 C4 n+ G
  49. 密码= my_password
    ; ~, I+ d/ S4 a7 r/ p8 @/ }
  50. getdriverfunc = getsqldrivermysql - h: Q4 c" z: \6 w4 O9 e( G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : c' c  t7 |+ q6 G' a( Q  X
  52. libraryname =. / libsqlmy.so
    : k8 U  Z1 B/ L2 ?! S" N- Q  m' R
  53. 积极= 1 2 _" U4 q% Z8 O  J
  54. ---例如--- 2 w% T: F" ^( ~3 D3 V% q
  55. % r( r7 p9 w) r& v$ ?) H8 f, z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # f5 @6 L) I! w5 f
  57. ---例如---
    ! t/ \. ~! Z3 S4 c$ [( k% e+ c) P
  58. [ dbexpress ] 9 s8 j6 G) ?, A8 Z/ d
  59. sqldir = mysql_sql 9 z( ~% [6 w6 t! I& g* U. T
  60. drivername = MySQL中/ Y" @" A! b% _; E) T, h% W1 R
  61. 数据库=测试5 U" n, x9 M: c; o2 u4 m
  62. 主机= 127.0.0.1
    * f. q7 {4 j( N& T
  63. user_name = testuser
    ; Y7 c6 A! z2 `
  64. 密码= my_password
    , q$ ?2 u. }8 A7 b' d' M: o2 Q
  65. getdriverfunc = getsqldrivermysql 7 q* l5 t7 M# F: ~- d
  66. vendorlib = libmysql.dll在
    + ^2 j( j3 o- P1 D! [3 j
  67. libraryname = dbexpmysql.dll
    4 B- a5 d7 j6 T0 }$ b; O
  68. 积极= 1 # L' L. f  m) C9 [5 t! K2 X  Y
  69. ---例如---- . z4 v9 ?/ N) k" g2 i" b* H, H0 U
  70. -写在0 2.03.04由p wk.linuxfan, |! E) j0 E) |9 E/ T
复制代码
发表于 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- Z" J8 U2 p1 G8 _9 e7 }
; q1 @' x2 d) n4 O0 V  ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-17 15:40 , Processed in 0.099277 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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