Support --database option