MYSQL Port 3306 is blocked on Ubuntu server

After installing Mysql 5.5 on ubuntu 12.04 server, you cannot connect to the server using port 3306.

This is because mysql allows connections from localhost only, by default.

To disable this, remove or comment the line "bind-address = 127.0.0.1" from /etc/mysql/my.conf file

Note:
Also you should have a user which is allowed to connect to mysql from other host. To do this you can refer my old blog

Create Users in MYSQL

No comments:

Post a Comment