How to Reset the MySQL Root Password on Ubuntu 22.04 | vetechno
How to Reset the MySQL Root Password on Ubuntu 22.04 | vetechno Have you failed / forgotten to remember the root password for MySQL database? Stress not, it works out, and there is an answer! In this article, we will reset the MySQL root password in Ubuntu 22.04 LTS by starting MySQL with the --skip-grant-tables option . It is a simple guide that works with any modern Linux distribution like CentOS 7 and Ubuntu 18.04, 20.04 LTS Before moving on to the solutions, it is assumed that you have the MYSQL 8.0 version of the MySQL database for Ubuntu. Also Read:- * How to install Mysql 8.0.29 on Ubuntu 22.04 LTS * How to install Mysql 8.0.28 on Ubuntu 22.04 LTS * How to install MySQL 5.5 on Ubuntu 20.04 LTS * How to Install mysql 5.6 ubuntu 20.04 LTS How to Reset the MySQL Root Password on Ubuntu 22.04 LTS Step 1. Check Mysql Version. First, you must confirm the version of MySQL on Ubuntu that you perform because the commands will be different. MySQL Version Output: vikash...