I was doing and following some tuts on udemy, but the instruction was using SQL lite. he created database.sqlite, and so I created database.mysql, and did the same on the same installation of laravel folder what he has done ↓
“No connection could be made because the target machine actively refused it.”
Are you sure your MySQL server is online, and listening to connections on 127.0.0.1 port 3306, and that there is no firewall rule blocking the connection?
Yes, I was able to resolve. I got panic it was like any other database installation. Finally created a database in mysql and then changed in .env file, and it seems to be working now.