Restore rejected all views and stored procedures
The error messages all start with
Warning: Do not know how to handle this statement at line 2149:
CREATE ALGORITHM=UNDEFINED DEFINER=root@localhost SQL SECURITY DEFINER VIEW rec1. ( then continued with the definition of the view)
I was restoring a database that was on another system.