Fixing issue with MySQL not sendind database