Mysql Restore - ERROR 1227 (42000) at line 30908: Access denied DEFINER issue
sed -r -e 's/DEFINER\s*=\s*\S+//'


Notes:

-r : better syntax

\s : any whitespace (eg, tabs, too)

\S : non-space

(I tested on Ubuntu, not CentOS.)