How to reset Mysql (Mysql Version:mysql Ver 14.14 Distrib 5.6.26, for linux-glibc2.5 (x86_64) using EditLine wrapper)root password..? i have follow the bellow procedure but it's not working. Can you any one please suggest me how to change the password.
Steps:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables
mysql -u root
Setup new MySQL root user password use mysql;
update user set assword=PASSWORD("NEW-ROOT-PASSWORD") where User='root'; flush privileges; quit
- Stop MySQL Server:
/etc/init.d/mysql stop
- Start MySQL server and test it:
mysql -u root -p