trying to install and use mysql with homebrew turns into the following error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
#5770
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
What's the output of |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
May be worth manually running foreground command with higher logging level to see if it outputs information on what is exact reason. The current logs oddly claim to use the dir and then claim it can't find the dir:
Could also check is if there is a running process for prior MySQL in Without additional information, only possibility I can think of is the MySQL 9 initialized DB at If you don't have any data already stored, then can try deleting it and running |
Beta Was this translation helpful? Give feedback.
-
That saved my ass. Thanks a lot @cho-m |
Beta Was this translation helpful? Give feedback.
May be worth manually running foreground command with higher logging level to see if it outputs information on what is exact reason. The current logs oddly claim to use the dir and then claim it can't find the dir:
Could also check is if there is a running process for prior MySQL in
ps
or Activity Monitor.Without additional information, only possibility I can think of is the MySQL 9 initialized DB at
/opt/homebrew/var/mysql
is inco…