MySQL error code
MySQL error 3091
MySQL server error 3091 is ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID, reported with SQLSTATE HY000.
DROP 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 %s; (2) SET GTID_NEXT='%s'; (3) DROP DATABASE `%s`.
| Error | 3091 |
|---|---|
| Name | ER_CANNOT_LOG_PARTIAL_DROP_DATABASE_WITH_GTID |
| SQLSTATE | HY000 |
| Group | Server errors |
Source: MySQL 8.4 Error Reference