Check your MySQL configuration (my.cnf or my.ini) and make sure the socket file(socket '/tmp/mysql.sock') is correctly specified in both Sequel Ace and the MySQL server.
If you can’t connect, ensure your MySQL server is running (brew services start mysql or sudo systemctl start mysql).