Connection to server at "localhost" port 5432 failed

I’m getting this error I don’t have mysql access and /phpmyadmin access for now how do I fix it

By default mysql port is 3306 and not 5432 (Postgresql)