added --ignore-database-errors argument