I an having an issue with setting up MySQL as I am getting the following error:

Posted December 4, 2021 115 views
UbuntuMySQLApachePHPLAMP StackUbuntu 20.04

The error I keep getting is as follows:

Error 1819 (HY000): Your password does not satisfy the current policy requirements

This happens when I go to CREATE USER 'example_user'@'% IDENTIFIED WITH mysql_native_password BY '***********';
note this is not the password by the way however, does show how many characters are being used.

So for some reason, it is not allowing the example_user to be created.
Can you please inform me as what is wrong?

edited by bobbyiliev

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

You need to make sure that you are using a strong password that includes at least 1 special character.

You could try using a password generation tool like this one here:

Let me know how it goes.