An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: Connection timed out.