

If the plugin finds your password as weak, it will show the less estimated strength value. Since you enabled the password validation plugin for MySQL, you will be shown with the password strength as well to meet your desired answer ( 2 = Strong). Once you enter the answer, you will next be asked to enter a strong password, and re-enter the same to confirm the password for MySQL root user. Since it’s recommended to keep a strongest password level always for your MySQL root user, you should select 2 in the provided option.


You will be asked to select a level of password validation. Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 2 STRONG Length >= 8, numeric, mixed case, special characters and dictionary file MEDIUM Length >= 8, numeric, mixed case, and special characters There are three levels of password validation policy: LOW Length >= 8 Here’s the output you will receive on screen: You can also press other keys if you wish not to secure your MySQL with password. Would you like to setup VALIDATE PASSWORD plugin? It checks the strength of passwordĪnd allows the users to set only those passwords which are VALIDATE PASSWORD PLUGIN can be used to test passwordsĪnd improve security. In order to do so, we suggest to use a strong and unique password. This is necessary to make sure if your MySQL will reject any query to access the databases unless a matched password is entered. In order to execute the preinstalled MySQL security script, run the command here: sudo mysql_secure_installationĭoing this will ask you to configure the VALIDATE PASSWORD PLUGIN. This is basically done by running a security script which comes pre-installed with MySQL. Secure, means to remove some default insecure settings from the database management server. Now, it’s suggested to secure your MySQL installation.
