Could not connect to database infinite loop on restore 27 admin October 18, 2018 Common Errors & Troubleshooting 5284 Could not connect to database infinite loop on restore Make sure that your mysql root password doesn’t contain any single or double quote characters.