Fix MySQL 127.0.0.1 cant resolve

MySQL 127.0.0.1 localhost cant resolve cause phpMyAdmin cannot login issue

// Comment our this in MySQL config file 

nano /etc/my.cnf 

#skip-name-resolve
// Save and restart mysql daemon 
service mysqld restart

Photo by Valerie Elash on Unsplash