An error was encountered

Error: Unable to connect to MySQL and select database. MySQL reported: Can't create a new thread (errno 12); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug.