Hello,
Probably the easiest way to make MySQL listen on the localhost is to use echo and add this to the end of the file.
Code:
echo "bind-address=127.0.0.1" >> /etc/my.cnf
As an example, on my own server:
You can do this through the WHM under the Server Configuration, Terminal in WHM interface.
WHM > Server Configuration > Terminal in WHM
When that has been done, restart MySQL.
Home » Restart Services » SQL Server (MySQL)