Skip to content

Instantly share code, notes, and snippets.

@anupam-io
Created February 19, 2021 16:35
Show Gist options
  • Save anupam-io/64db3b232e1a225c6adb066adc0136ae to your computer and use it in GitHub Desktop.
Save anupam-io/64db3b232e1a225c6adb066adc0136ae to your computer and use it in GitHub Desktop.
Downgrade mysql settings for testing.
SET GLOBAL validate_password.length = 4;
SET GLOBAL validate_password.mixed_case_count = 0;
SET GLOBAL validate_password.number_count = 0;
SET GLOBAL validate_password.policy = LOW;
SET GLOBAL validate_password.special_char_count = 0;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'test';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment