Class Database: Error while connecting to MySQL Database Server: Too many connections