Check out example codes for "SQLSTATE[HY000] [1049] Unknown database 'laravel' (SQL: select * from `posts`)"". It will help you in understanding the concepts better.

Code Example 1

php artisan cache:clear

Learn ReactJs, React Native from akashmittal.com