How To Change/Update MySQL Password
How To Update MySQL Password - Method: Plain Text String (eg. '321asdFDSA0...etc')
How To Update MySQL Password - Method: Password Hash String (eg. '*E9DA6A838E...etc')
How To Reset Root Password
adds skip-grant-tables to /etc/my.cnf in the first [mysqld] section
Restart MySQL/MariaDB
Connect to MySQL
Enable Privileges Again
Update Root Password & SHUTDOWN MySQL
Remove skip-grant-tables from /etc/my.cnf
Start MySQL/MariaDB
Tested Working On The Following Version:
• Server version 5.7
Tested Working On Prior Versions with modification - Prior Versions Use "Password" instead of "Authentication_string" to identify the password field so modify the above commands accordingly.
• Server version 5.5.5-10.3.35-MariaDB