Have you set up the script using the installer? Failed to connect to MySQL: (1040) Too many connections