changed the host address for sql database connect from 127.0.0.1 to 'localhost'; this seemed to resolve issues with 'can't connect to database' fatal errors.