MariaDB search for text in database routines SELECT ROUTINE_NAME FROM `information_schema`.`ROUTINES` WHERE `ROUTINE_DEFINITION` LIKE '%mysearchhere%';