I tried to follow valet installation with larval but I eventually gave up. It just wasn’t working with all my google powers.
I’ll just work with MAMP PRO. I got it working. I want to run some terminal commands and i’m trying to connect to mysql through terminal with MAMP PRO. Post Laravel Installation.
When I try
/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot
Error #2002 Can't connect to local MySQL server through socket '/Applications/MAMP/tmp/mysql/mysql.sock' (2)
Why is it even using a socket? I am running the mysql command directly.
When I try
mysql -u root
This connects to a different version of mysql. I don’t know where this is located. And I dont see this alias in my .bash_profile
And when i run show databases; it doesn’t show me the database that match from sequel pro. I have two version of mysql on my computer.
There are alot of similar questions to this and they don't seem to work for me. I maybe because i removed some symlinks when I did the valat installation. I'm just lost