an't connect to MySQL server on '127.0.0.1' code example
Example: host 127.0 0.1 is not allowed to connect to this mysql server
UPDATE mysql.user SET host='%' WHERE user='root';
UPDATE mysql.user SET host='%' WHERE user='root';