MySQL & MariaDB error 3091 ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID
MySQLDROP DATABASE failed; some tables may have been dropped but the database directory remains. The GTID has not been added to GTID_EXECUTED and the statement was not written to the binary log. Fix this as follows: (1) remove all files from the database directory …; (2) SET GTID_NEXT='…'; (3) DROP DATABASE `…`.