Check out example codes for "Your password does not satisfy the current policy requirements". It will help you in understanding the concepts better.

Code Example 1

mysql> SET GLOBAL validate_password.policy=LOW;

Code Example 2

SHOW VARIABLES LIKE 'validate_password%';

Learn ReactJs, React Native from akashmittal.com