Skip to main content

There was a problem deleting the database

Comments

8 comments

  • Metro2
    Just in case anyone else encounters this: I tried this on a whim and it worked - I just quickly created a new database and user via the Wizard, and the "ghost" database disappeared. I was then able to successfully delete the new database with no issue. Very odd, and has never happened in the 20~ years I've been running cPanel on my servers.
    1
  • cPRex Jurassic Moderator
    Hey there! The most likely explanation is that database was somehow disassociated with the cPanel server. It could have been created manually outside of cPanel, or there could have been an issue with the system at some point. If this happens again, I'd recommend trying the WHM >> Database Map Tool to see if you can link the existing database to the cPanel user, and then delete it through cPanel normally.
    0
  • Metro2
    Thanks @cPRex I was so mystified by the encounter and focused on the fact that it wasn't list in WHM's phpMyAdmin I didn't even think to use the DB Map Tool. smh
    0
  • cPRex Jurassic Moderator
    It's all good - you still got there!
    0
  • stormy
    I just had this happen. The ghost database can't be found in the map tool or in phpmyadmin. It's some kind of cached data for a recently deleted database. I tried deleting the .cpanel directory but that didn't fix it. Adding a new database, as above, did fix it. Very strange!
    0
  • Metro2
    @stormy - Glad my primitive improvised method worked for you. In all the 20+ years I've been handling mySQL databases with cPanel, that was the one and only time I ever encountered the issue. Strange indeed!
    0
  • shenzy
    Hello!, here today exactly the same thing happened to me, (the first time it has happened in more than 15 years using cPanel) I also tried the basics, deleting the .cpanel folder, checking phpmyadmin and the map tool. The trick of creating a new base was the solution. I had 4 with errors, I created a new one and the ones with errors disappeared. Thanks @Metro2
    0
  • AdrianP

    Man, this brings me nuts. Thanks. Weird, as I tried to clear any cache as possible. Still just adding a new DB clear it.

    0

Please sign in to leave a comment.