How To Reset Your MySQL or MariaDB Root Password
Prerequisites To recover your root MySQL/MariaDB password, you will need: Access to the Linux server running MySQL or MariaDB with a sudo user. Step 1 — Identifying the Database Version Most modern Linux distributions ship with either MySQL or MariaDB,…