macOS Mysql MariaDB SequelPro homebrew error: Program aborted!
- You can not login mysql in terminal when doing
mysql -u rootor
mysqldyou may see such error:
mysql: Can’t read dir of ‘/usr/local/etc/my.cnf.d’ (Errcode: 2 — No such file or directory)mysql: [ERROR] Fatal error in defaults handling. Program aborted!
Or you can not login Sequel Pro via Host:127.0.0.1. It alarms you:
sequel pro MySQL said: Can’t connect to MySQL server on ‘127.0.0.1’ (61)
Just open the config file at
/usr/local/etc/my.cnf with your editor and comment out the following line:
It should be the same as :
# !includedir /usr/local/etc/my.cnf.d
That’s the solution.