MySql Cannot connect after installation
My issue got resolved using the information in URL below:

https://vladster.net/en/instructions/install-mysql-mac/

Steps taken:


Changed to MySQL directory:
cd /usr/local/mysql  
Since my initial root password was expired and was not able to connect to root, so ran the installation again:
sudo bin/mysql_secure_installation  
After providing machine password it automatically asked for new root password. 


Above steps resolved my issue.