0

Does anyone know how we can remove the sample data from the database?

Please let me know if you have any suggestions.

Note: I don't want to remove the sample data modules, I'm looking for something that can help me to remove all the sample data entries from the database.

Thank You.

1 Answer 1

0

After complete these steps, the sample data should be uninstalled from your Magento 2 database.

php bin/magento maintenance:enable
php bin/magento sampledata:remove
php bin/magento cache:clean
php bin/magento maintenance:disable

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.