MySQL User Grant and Password Policy Reset (Linux)

Background story

Syed Hasan
1 min readSep 3, 2020

It is a common scenario that we often forget out database password. On this regard I have created a github gist, which is shared below. Keep in mind, this is only for ethical purpose. I will be happy to have your constructive comments.

Reference

  1. https://stackoverflow.com/questions/41645309/mysql-error-access-denied-for-user-rootlocalhost
  2. https://hoststud.com/resources/resolved-mysql-error-your-password-does-not-satisfy-the-current-policy-requirements.464/

--

--

Syed Hasan
Syed Hasan

Written by Syed Hasan

Software Engineer | Back-End Developer | Spring Developer | Cloud Enthusiast

No responses yet