Delete Database Connection Error

Hello,

I would like to delete an obsolete remote database connection via

Virtualmin => System => Settings => Database Servers

I’ve selected the respektive database server and hit the button “Remove Selected Servers”.

Now Virtualmin won’t delete the remote server due to: " Failed to remove database servers : A server in use by 2 domains cannot be removed"

As far as I can see, there is no domain associated with the database server:

Is there any way to force the deletion?

Best regards,
Phil

SYSTEM INFORMATION
OS type and version Debian 12
Virtualmin version 7.30.4

So you can’t see the database on any domain so you can Disassociate it?

Hello,

thanks for your answer. I’ve checked your question on my server and no Domain has this database associated.

I’ve searched along and found some outdated information about databases in the vserver files located at /etc/webmin/virtual-server/domains/.

e.g.

mysql_module=mysql-database
limit_mysql=1
mysql_pass=Iqmloe4IjKfgS7J
db_mysql=appdata
mysql_user=appdata

Can I safely remove the information?

I’ve activated database feature for all virtual servers who had no db associated. Then I moved the databases from one server to the current and was able to delete the respective database connection.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.