Changed the mysql db host to localhost