Problems with installing mysql
So, I've tried to install php and mysql via brew, and while php went right, I get a bunch of errors I don't really get, and so I don't know how to fix it!
First I get a warning during installation:
Warning: A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
the terminal suggests I should postinstall mysql, but that just gives me:
The post-install step did not complete successfully
You can try again using:
brew postinstall mysql
When I try any myswl command I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
when I navigate to the folder /home/linuxbrew it looks empty.
Of course, I tried some searching online, but the explanations are bit too high level for me.
So what I want to know is, how do I get mysql installed and working so I can use my homepc with bazzite to learn some basic php programming?
First I get a warning during installation:
Warning: A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
the terminal suggests I should postinstall mysql, but that just gives me:
The post-install step did not complete successfully
You can try again using:
brew postinstall mysql
When I try any myswl command I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
when I navigate to the folder /home/linuxbrew it looks empty.
Of course, I tried some searching online, but the explanations are bit too high level for me.
So what I want to know is, how do I get mysql installed and working so I can use my homepc with bazzite to learn some basic php programming?