So I've tried installing mariadb and using the mysql
command but I always get the following error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)
If I uninstall mariadb and try using mysql
I get:
command not found: mysql
If I then do ps ax | grep mysql
I get this:
7809 s000 S+ 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox mysql
If I try killing it with the PID 7809 (This ID is changing every single time I run the command) I get this:
kill 7809 failed: no such process
I've deleted every single folder using this tutorial but it didn't help. I don't have mysql in my mac system preferences so I can't uninstall it there. I have no clue what else to try. I also tried all kinds of Launchctl unloading but mostly I just get this error:
Unload failed: 5: Input/output error
Every time I restart my mac and check what processes are running mysql is always there. Did anyone experience something similiar?