An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: Can't connect to MySQL server on '127.0.0.1' (111).