I'm using Mac OS Sierra (safari 10.0.3), MAMP 4.0.6, phpMyAdmin and netBeans.
All was well, I had run the application sometime until the computer crashed.
I restarted the laptop and when I opened MAMP again the MySql server indication does not turn green like Apache Server (it's normal for the two to stay). Opening Safari by typing localhost / phpmyadmin , as I always did and it worked, went on to inform
0 # 2002 - No such file or directory - The server is not responding (or the local server socket is misconfigured).
This has happened before, I decided to install MAMP again, but I had to create the BD and its tables again in phpMyAdmin, which was a lot of work and I would not want to do it again, because I'm afraid that the problem will happen again .
I did some research on the internet, I found solutions to similar problems, but not exactly the same, but I tried to apply them and it did not work.
I would like some solution where you do not need to reinstall MAMP.