When exporting a sql dump with phpmyadmin it creates the VIEW table like this:
CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `
I use this simple script for removing after exporting with mysqldump
https://gist.github.com/kissarat/bbf33d10f9d7a3bc1adb