Unknown database Print

  • database, troubleshooting, cpanel, restore, migration, woocommerce, backup, errors, support
  • 0

The named database does not exist.

WHAT IT MEANS

The application is looking for a database that is not there.

THE COMMON CAUSES

The prefix is missing from the name in the configuration The database was never created on this server The database was deleted A migration copied the files without the database

CHECKING

cPanel > MySQL Databases lists every database on the account with its full prefixed name.

Compare that against what the configuration file specifies.

THE PREFIX

If cPanel shows username_shopdb and your configuration says shopdb, that is the problem.

AFTER A MIGRATION

The old database name will not match the new one, since prefixes differ between accounts.

Create the database with the new prefix, import the dump, and update the configuration.

IF THE DATABASE IS GENUINELY MISSING

Restore it from a backup. Without one, check whether we hold a restore point within your plan's retention, and open a ticket quickly.

IF IT WAS DELETED IN ERROR

Act promptly. Retention is finite.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot