I downloaded the MySQL server and installed it on my Mac, but every time I tried to connect to it, I got the following error:
Can’t connect to MySQL server on ‘127.0.0.1’ (61)
There can be many reasons for this error, most of which are generously covered online, but in my case it was because MySQL was running on port 3307. I think the port was updated in a recent MySQL server update, because I’ve never had this issue with a previous MySQL server version. Here’s how to check if you have the same problem, and how to change it to port 3306 (unless you want to keep it running on port 3307).