Hey! So I'm new to Laravel and I set up my local environment on my Mac. I parked valet and set up a fresh project to work on, but when I set up my mysql configuration in the .env file and ran the migrate command on my specified database nothing happens. There are no logs and no errors, it just hangs forever.
I created a table named testDB and I changed the DB_DATABASE property to match it, I also changed my login credentials to match mysql. I also checked to make sure I was actually running mysql on port 3306, which it is. I tried restarting my computer, restarting mysql, clearing the cache with artisan, nothing seems to work.
Alright! So I finally figured out the issue!
The issue seemed to be my mysql installation through the homebrew package. All I had to do to get migrate working was to stop the mysql service, uninstall the homebrew package and reinstall mysql fresh from the dmg file from oracles' website. Once I had it installed and got the service running I tried php artisan migrate again and it worked fine.