MaridDB 10.3.29 prevents me from deleting a foreign key
This is actually a bug in MariaDB. See the bugtracker.
They recommended to do FLUSH TABLES; before the ALTER statement.
I can confirm that this &quot;hides the bug&quot;.