You can run ISPConfig with mysql5 as well, but you will have to install the mysql5 developemnt librararys then to install ISPConfig.
apt-get install libmysqlclient15-dev
Before you try to install ISPConfig again, run:
rm -rf /root/ispconfig
rm -rf /home/admispconfig
and delete the ISPConfig mysql database, if it exists.