No database selected

select rt.resource_name as package, rt.resource_name_action as display_name, rt.param from package__routes rt where rt.route = 'media'