if it still throw the same problem, from root folder run
php artisan cache:clear
php artisan config:cache
php artisan serve
if you still have the problem, check whether you are using multiple copies of sql server, for example through Ubuntu app, if so stop the MySQL server in ubuntu
sudo service MySQL stop