OCTOBER 10, 2024
The issue is that, by default, Laravel came with DB_HOST as 127.0.0.1 but MySQL 9 will reject that host in favor of localhost.
127.0.0.1
localhost
If everything else is configured correctly, simply set your DB_HOST to localhost, and you should be good to go.
DB_HOST
BlogLaravel