I reinstalled MySQL by following this guide and after installed it I checked whether the MySQL is ruining by 'service mysql status'. It gives success output. mysql start/running, process 16959
But when i try to check
mysqladmin -u root -p status it gives following error even the correct password provided (which is set in the installation process)
mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Please help me to get rid of this error and successfully install MySQL.