Is it okay to apply and mention that I had an interview with them previously?

It actually went well last time, I was the one to mess up and go by an advice/suggestion of an amatuer and so the HR told me "bye" indirectly.

Now I want to apply again, should I mention that I applied or had an interview with them or not? As it was a good one.

Or just apply as if nothing, and when we meet I mention it if they did?
Is it okay to apply and mention that I had an interview with them previously?
Post Opinion