C.3.20. ERROR 1580 (HY000) at line 5093787: You cannot 'DROP' a log table if logging is enabled

Last Updated: 2013-11-01

Condition or Error

Loading a mysqldump into a MySQL server from a backup/restore fails.


  • This appears to be a bug in MySQL that causes mysqldump loads to fail.


  • You should be able to import the dump by switching off the slow query log globally before running the import:

    mysql> SET GLOBAL slow_query_log=0