For MySQL:
In Ubuntu, open:
Change this:
to
now, the MySQL status will work.
In Ubuntu, open:
Code:
vim /etc/mysql/my.cnf
Code:
bind-address = 127.0.0.1
Code:
bind-address = your server IP