during setup: upgrade
Module 'Magento_PurchaseOrder':
Unable to apply data patch Magento\PurchaseOrder\Setup\Patch\Data\InitPurchaseOrderSalesSequence for module Magento_PurchaseOrder. Original exception message: DDL statements are not allowed in transactions
Hello @karuna_khatri
Please check your MySQL version is compatible with Magento 2.4?
More info:
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html
Hope this helps you.
Hi @dragon,
currently I am using 10.4.11 -MariaDB source
Hi @karuna_khatri ,
Please check this
https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html#database
Hope this will solve your issue.
Same here!!! I'm upgrading from 2.3.3... All the requirements are ok...
got similar errors after clean install
issue solved
bin/magento setup:db-declaration:generate-patch [options] <module-name> <patch-name>