• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Database server cannot be removed

You find an ID of entity that prevents you from deleting your database server. You have to find it in the interface and delete it there first.
 
Hi Igor,
not sure I completely understand. Here is what I have:

MariaDB [psa]> select * from databaseservers;
+----+-------------------+------+-------+----------------+-------------+------------------------------------------------------------+---------------+------------+---------+
| id | host | port | type | server_version | admin_login | admin_password | parameters_id | last_error | fork |
+----+-------------------+------+-------+----------------+-------------+------------------------------------------------------------+---------------+------------+---------+
| 3 | localhost | | mssql | 14.00.3192 | sa | $AES-128-CBC$MLXpbRBvpdIzAjhM3q1ifA$4V2oy5fxtafoD/T2jYyG6Q | NULL | no_error | NULL |
| 4 | localhost | 3306 | mysql | 10.3.17 | admin | $AES-128-CBC$rhyq12+KPc0ouP+DbM5ywQ$G2AA/I/slIOESFa8Ux9FTA | NULL | no_error | mariadb |
| 8 | .\MSSQLSERVER2019 | | mssql | 15.00.2070 | sa | $AES-128-CBC$LhHdGJGAk9O1UVdVI2qGFA$UFNxYR95GWFeZYQmj0QR5w | NULL | no_error | |
+----+-------------------+------+-------+----------------+-------------+------------------------------------------------------------+---------------+------------+---------+
3 rows in set (0.001 sec)


mssql version 14.xx cannot be deleted from Plesk even though it has no databases anymore (migrated to 15.xx).
Do I simply delete the row where ID=3 then?

Franco
 
I get:

"Error: A database server cannot be deleted while there are databases or database users hosted on it. "

but of course there aren't any. However, I have still a few users assigned to that db ID 3. Shall I delete them first with a query (Plesk would not let me)?
 
If you really do not have entities in the Plesk interface with these IDs for some database or MySQL user, but somehow have orphaned records about them in the Plesk database, then you can delete them manually from the Plesk database. But it's better to find them in the Plesk interface first and delete them from there.
 
Indeed, it was due to some users left on the system; after having cleaned them up I could remove the db server, and directly from Plesk.
Resolved, thanks.
Franco
 
Back
Top