Reputation: 1
Hi, guys I have set up MySql Server 8 for my java project on Ubuntu 18.04 Possibly I am missing out something while upgrading from MySql server 5.7. Although I am using it any how but cannot issue some of the commands: show databases, show tables etc.
mysql> show databases;
ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist
mysql> show tables;
ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist
output:
ERROR 1449 (HY000): The user specified as a definer ('mysql.infoschema'@'localhost') does not exist
Upvotes: 0
Views: 551
Reputation: 11
The error has been fixed after this command:
sudo mysql_upgrade -u root -p
Upvotes: 1