Cant access root @localhost in MYSQL
Logged into phpmyadmin and changed a password there and then ever since was unable to get beyond the phpmyadmin welcome page and getting error 1045, even though inputting the password just chosen. Since there was no data on the site yet, as the site was being prepared for a wordpress database migration from a locally hosted site, the decision was made to deinstall and then possibly reinstall phpmyadmin, when this was attempted, during the deinstallation was asked for a mysql root password, the process was denied in part and the same error 1045 showed up at the command line.
Now how would one override or reconfigure the mysql root user so as to be able to reinstall phpmydmin and gain the necessary user privileges to administer the site in the future. Suggestions would be greatly appreciated.