can not enable mysql

Hello!

I’m using Ubuntu 14.04 with virtualmin. A while ago I made a mistake, thinking I was on my test server, I uninstalled virtualmin on my server. I re-installed, and almost everything is working.

But, on my domain, example.com, I deleted the database at that time (the real one was on another server), so when I imported the server to the new installation, it didn’t enable mysql. I had subdomain (abc.example.com) that use mysql, with the user example then.

So now, I want to add xyz.example.com with mysql, but it says that I need to activate mysql on the primary domain. And whenI try to enable mysql for example.com. it say the mysql user is already used by abc.example.com

I trid to rename the user. it doesn’t change anything.

How can I do?

Thank you :slight_smile:

Any idea? :slight_smile: