On Fri, 2009-10-30 at 07:02 +0000, Patrick Kaldawy wrote: > System.Net.Sockets.SocketException: Connection refused Suggests your mysql server is not running or not listening on the port you expect. What do you get from running:- $ netstat -ln -p|grep mysql Ian