Failed to connect to MySQL: (2002) Connection refusedError while fetching data from database.