MySQL Forums
Forum List  »  Data Recovery

How to drop mysql system database for mysql 8 version
Posted by: Swarna Gowri
Date: February 28, 2019 02:00AM

Hi ,

In older versions mysql system database could be dropped and restored from backup. But in mysql 8, drop database gives error for "mysql" system db.

mysql> drop database mysql;
ERROR 3552 (HY000): Access to system schema 'mysql' is rejected.

In case the database gets corrupted what is the recommended method to restore the database? I use mysqldump to backup to database.Also, why is the restriction introduced in mysql 8

Thanks,

Options: ReplyQuote


Subject
Views
Written By
Posted
How to drop mysql system database for mysql 8 version
6340
February 28, 2019 02:00AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.