In the following guide, we learn how to fix the roles and permissions issues in WordPress. Here, we also learn how to reset the roles to the default state that may have been changed by the plugins.
For any reason, you may have forgotten MySQL root password and need to reset it. You can reset it if you have access to the server and a user having sudo privileges. Follow this simple guide and know how to reset MySQL root user password in Ubuntu.
In this guide, we use Ubuntu version 18.10. It should work with any modern Linux distribution like Ubuntu 18.04 and CentOS 7.