You might run into errors while injecting a WP SQL dump into a local db (say your remote db is MySQL 5+ and your local one is MySQL 8).
In this case…
cp orig-dump.sql sanitized-dump.sql
perl -pi -e "s/DEFAULT '0000-00-00 00:00:00'/DEFAULT CURRENT_TIMESTAMP/g" sanitized-dump.sql
perl -pi -e "s/0000-00-00 00:00:00/2023-12-28 02:00:00/g" sanitized-dump.sql
You should be good to go (tested it on a 273Mb dump).