An error was encountered

Error: Unable to connect to MySQL server. MySQL reported: Can't connect to MySQL server on 'sql1' (111 "Connection refused").