how to solve SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select count(*) as aggregate from `users` where `email` code example
Example: SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `posts`)"
php artisan cache:clear