ERROR: Cannot connect to the database, check script configuration