Closed pgrenaud closed 2 years ago
What does ls -al /opt/homebrew/opt/mysql/
say?
What does
ls -al /opt/homebrew/opt/mysql/
say?
% ls -al /opt/homebrew/opt/mysql/
ls: /opt/homebrew/opt/mysql/: No such file or directory
Did you install in rosetta mode?
I did not know that was even possible, so I'm guessing no.
I don't understand. Mysql was installed using brew install mysql
. Right now, I tried to run brew reinstall mysql
but then I got a bunch of errors. Then, I ran brew uninstall mysql
then got Error: No available formula or cask with the name "mysql". Did you mean mysql++?
. Finally, I ran brew install mysql
and everything seems to be fine now.
This is so strange. Something was definitely broken, but again this is a freshly installed system. That should not happens.
@SMillerDev Do you want me to look at something before I erase this mac and try over again to see if I can reproduce?
Run brew doctor
and fix the problems it mentions.
Run
brew doctor
and fix the problems it mentions.
% brew doctor
Your system is ready to brew.
@MikeMcQuaid Do you want me to look at something else before I erase this mac and try over again to see if I can reproduce?
@pgrenaud sudo chown -R $USER /opt/homebrew
.
According to the result of find /opt/homebrew ! -user $USER
, no files or directories belongs to any other user.
After erasing the mac and reinstalling macOS, I no longer observe the issue.
However, I do notice a new issue: #399
Greetings,
I'm trying to provision a freshly installed M1 Mac mini, and I'm having this issue that I haven't seen a couple weeks ago when I did the same thing.
brew services
does not showmysql
services, even if themysql
formula is installed. Just to compared, I've installedhttpd
andphp
, and both show up inbrew services
.When running the
brew services start mysql
, I get the following message:I feel that this issue is somewhat related to https://github.com/Homebrew/homebrew-core/issues/79367 but I didn't find any commit that would explain why this isn't working suddenly, when it was working a couple weeks ago.
Also, I checked on an Intel Mac and I didn't get this issue with the latest version of Homebrew.