• I was trying to upgrade wordrpess from version 4.9.3 to version 5.1.1. The upgrade failed. When I checked the MySQL database the database that was used for wordpress is no longer there.

    How can database be deleted during upgrade ?
    Is there any path where the backup might have been taken before dropping the data ?

    Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • wordpress does not create backups you have to use plugins or themes that do it for you, ask your hosting service if they have a backup.
    It is more prpbbile that you have been hacked and that the attacker has deleted the database even before updating.

    Dion

    (@diondesigns)

    If a hacker deleted the database before updating, it would have been kinda difficult to begin the update process. 😉

    There’s a big difference between a database being empty and it being deleted. WordPress can do the former but not the latter. Are you certain the database is completely gone? Check using an external application like phpMyAdmin, or even better, accessing MySQL from the command line and issuing the SHOW DATABASES; command.

    I also suggest checking with your hosting company to be certain there are no issues on their end.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Failed upgrade deleted my database’ is closed to new replies.