CS-5418 - newscoop-restore script breaks on mysql error
fix