• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Unable to Delete Database

B

ballubro

Guest
Hi,

We have created database in pleask. Now we wanted to delete that. We removed it from SQL server because we were unable to delete it from plesk. Now after deleting from sql server ,still we are unable to delete from Plesk.It Gives Following Error:

Delete database user failed: Could not locate entry in sysdatabases for database 'abc'. No entry found with that name. Make sure that the name is entered correctly.
---------------------- Debug Info -------------------------------
0: C:\Program Files\SWsoft\Plesk\admin\plib\DatabaseManagerMSSQL.php:52
DatabaseManagerMSSQL->dropUserImpl(string 'abc', string 'abc')
1: C:\Program Files\SWsoft\Plesk\admin\plib\DatabaseManager.php:175
DatabaseManager->deleteUser(object of type dbUser)
2: C:\Program Files\SWsoft\Plesk\admin\plib\class.DataBaseUsersList.php:126
DataBaseUsersList->remove(array)
3: C:\Program Files\SWsoft\Plesk\admin\htdocs\domains\databases\db_edit.php3:101

Since we are allowed to create only 4 database,whichwe have created and we want to delete 2 .But unable to do so.
 
in this case it is only possible to delete the entries from Plesk database

delete from data_bases where name= "databasename"
delete from db_users where db_id=X

where X is the id of the database in the table data_bases
 
Delete database...

ally was right - manualy delete databases from data folder and than go in plesk database and delete databasename in data_bases table - since user does not exist that's enough - but if user exists than also delete user from db_users.
 
Back
Top