SQLSTATE[HY000] [1049] Unknown database 'laravel' (1049) code example Example: SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `posts`)" php artisan cache:clear