macOS Mysql MariaDB SequelPro homebrew error: Program aborted!
- You can not login mysql in terminal when doing
mysql -u root
ormysqld
you 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)
Solution:
Just open the config file at /usr/local/etc/my.cnf
with your editor and comment out the following line:
!includedir /usr/local/etc/my.cnf.d
It should be the same as :
# !includedir /usr/local/etc/my.cnf.d
That’s the solution.
I would like to introduce two packages for Laravel that I have recently developed: Laravel Pay Pocket, a modern multi-wallet package, and Laravel Failed Jobs, a UI for the Laravel Failed Jobs Table. I hope they may be of help to you.
https://github.com/HPWebdeveloper/laravel-pay-pocket
https://github.com/HPWebdeveloper/laravel-failed-jobs