In order for Anaconda to work, it need to be prioritized in PATH
. However, this has unexpected side-effects. I was trying to set-up MySQL on my Ubuntu machine but kept running into the infamous
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
A long time afterwards, I randomly noticed that mysql
was actually being called from ~/anaconda3/bin
. I disabled conda
and could set up MySQL normally.
So, my question becomes: is it possible to deactivate the overriding of specific apps/packages from ~/anaconda3/bin
? I want to keep both my Anaconda environment and mysql
. I’ve run into a similar issue in the past when compiling a C++ project and had to rename the anaconda3
folder completely in order for the PATH to not be interfered with.
Help is appreciated.