An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: No connection could be made because the target machine actively refused it. .