the steps is like Magento docs for installing sample data
we Expect that after executing the first command successfully and start executing the second it will work normally and get sample data
i get after php bin/magento setup:upgrade
Unable to apply data patch Magento\BundleSampleData\Setup\Patch\Data\InstallBundleSampleData for module Magento_BundleSampleData. Original exception message: Rolled back transacTion has not been completed correctly.
You may check your mysql_error.log file in order to find the exact cause of the issue.
same error here, mysql.log shows nothing relevant