Q:

not able to connect to phpmyadin

The  apache server stopped and lamp is started.
The terminal shows lamp server is working fine but not able to enter phpmyadmin

A:

You need to stop the already installed MySQL server.

stop lampp
stop the MySQL server by one of these commands:

sudo service mysql stop
sudo /etc/init.d/mysql stop

start lampp again

