You can follow some steps to remove this error listed below:
First, login in into mysql in your shell with the help of the command:
mysql -u root
Then run this command:
select user from mysql.user;
And then run this command:
create user 'oozie' identified by 'edureka'
Then there will be no error, I hope.