An error was encountered

Error: Unable to connect to MySQL server. MySQL reported: Unknown MySQL server host 'mysql' (2).