MySQL: How to reset or change the MySQL root password?
Set / change / reset the MySQL root password on Ubuntu Linux. Enter the following lines in your terminal. Stop the MySQL Server: sudo /etc/init.d/mysql stop Start the mysqld configuration: sudo mysqld –skip-grant-tables & In some cases, you’ve to create the /var/run/mysqld first: Login to MySQL as root: mysql -u root mysql Replace YOURNEWPASSWORD with … Read more