Exception handling added for communications errors that occur when MySQL
Server is not running in the background of the server.