Error connecting to the database with error: SQLSTATE[HY000] [1040] Too many connections