This is a mysql command line error message, this Means you are logged into mysql with a default null user with just about zero privileges.
You can follow some steps to remove the error:
Run the mysql command which will bring you to mysql promt:
mysql -u root
Run the command
Then run another command:
select user from mysql.user;
I hope you won't get the error anymore.