Database doesn't import when change Local Environment from Preferred to Custom or vice versa

Just update local to 2.4.2 and face this strange issue. The database doesn’t import when changing Environment from Preferred to Custom or vice versa