Monthly Archives: July 2013

How to reset the MySQL root password on Ubuntu Linux

sudo /etc/init.d/mysql stop sudo mysqld –skip-grant-tables & UPDATE user SET Password=PASSWORD(‘NEWPASSWORDHERE’) WHERE User=’root’; FLUSH PRIVILEGES; exit; sudo /etc/init.d/mysql stop sudo /etc/init.d/mysql start