NixUser

NixUser.com | Unix User | Linux User | NixUser

cPanel backup error : mysqldump: Got error: 1049: “Unknown database when selecting the database”

cPanel backup error, backup logs error messages like this below.

mysqldump: Got error: 1049: “Unknown database ‘user_`db_name`'” when selecting the database

Login to cPanel of that account and check if there any empty databases with that name and if there are any, remove those 0kb databases from cPanel and run the backup script again. It should work without any error.