SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `posts`)"
snippet in sql

SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `posts`)"

user7631

php artisan cache:clear