My problem: After reboot my Mac, I can not connect to mysql either with WorkBench or the terminal.
- When I try witch the terminal, sometimes it shows me correctly my bases / tables, sometimes it makes me a mistake.
When I open workbench and connect with root, I get an error message:
not connected
Connection: Name: root Host: localhost Port: 3306 NO CONNECTION
But sometime, i can see my tables with this:
And if i close and open again, i have error without connection... depend.
Here are all the steps I did:
1) I completely uninstall Mysql by following these steps: https://gist.github.com/vitorbritto/0555879fe4414d18569d
2) I installed mysql 8 with brew
brew install mysql
3) I have a file /Users/eoras/.my.cnf
[Mysqld]
bind-address = 127.0.0.1
default_authentication_plugin = mysql_native_password
ln -s /usr/local/etc/my.cnf / etc / my.cnf
ln -s /usr/local/etc/my.cnf ~ / .my.cnf
When i do this, all work fine, i can connect mysql and workbench and i have never errors...
BUT: if now, i restart my computer, mysql donc work anymore... i can't do nothing. I juste have to re-do this all steps.
I already search how to fix this, isn't permission issu, i don't realy know why.
Someone have the same issu ?