cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to apply data patch Magento\BundleSampleData

Unable to apply data patch Magento\BundleSampleData

Preconditions (*)

  1. Magento 2.4.3-p1
  2. windows 10
  3. xampp
  4. PHP 7.4.9

Steps to reproduce (*)

the steps is like Magento docs for installing sample data

  1. php bin/magento sampledata:deploy
  2. php bin/magento setup:upgrade

Expected result (*)

we Expect that after executing the first command successfully and start executing the second it will work normally and get sample data

Actual result (*)

magento.png

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.
2 REPLIES 2

Re: Unable to apply data patch Magento\BundleSampleData

@kiakaha230aa74 

You may check your mysql_error.log file in order to find the exact cause of the issue.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Unable to apply data patch Magento\BundleSampleData

same error here, mysql.log shows nothing relevant