MySQL Error: Error while storing the user information. The user might have been deleted. Please refresh the user list. RRS feed


  • User-718146471 posted

    What exactly are you using to create the admin users? In a command line method, creating an admin user is like this:

    Let’s start by making a new user within the MySQL shell: CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
    Sadly, at this point newuser has no permissions to do anything with the databases. In fact, if newuser even tries to login (with the password, password), they will not be able to reach the MySQL shell. 
    Therefore, the first thing to do is to provide the user with access to the information they will need. GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
    The asterisks in this command refer to the database and table (respectively) that they can access—this specific command allows to the user to read, edit, execute and perform all tasks across all the databases and tables. 
    Once you have finalized the permissions that you want to set up for your new users, always be sure to reload all the privileges. FLUSH PRIVILEGES;

    from: https://www.digitalocean.com/community/articles/how-to-create-a-new-user-and-grant-permissions-in-mysql 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 3, 2013 2:36 PM