Database (MYSQL) not working after upgrade