utkarsh73
Journeyman
I just started learning very basic SQL queries yesterday and installed MySQL 5.5 client on my PC. While installing, the software asked for a root password.
Everything was fine yesterday and I made a few databases and tables. But today when I started the command-line client and entered my password, it threw an error like "ERROR 2003 (HY300): Can't connect to MySQL server on 'localhost' -(10061)".
Does anyone know what's the problem and how to solve it? The same issue happened a week ago. Everything worked fine the day I installed MySQL but the next day, it threw same error. So I removed and reinstalled it and this time it accepted the same root password and worked fine for the day. And next day, the same problem again.
Everything was fine yesterday and I made a few databases and tables. But today when I started the command-line client and entered my password, it threw an error like "ERROR 2003 (HY300): Can't connect to MySQL server on 'localhost' -(10061)".
Does anyone know what's the problem and how to solve it? The same issue happened a week ago. Everything worked fine the day I installed MySQL but the next day, it threw same error. So I removed and reinstalled it and this time it accepted the same root password and worked fine for the day. And next day, the same problem again.