when i tried to run the following Sql command “$ ./mysqladmin -u root -p ‘”
it is showing “sql error access denied for user ‘root’@’localhost'”. How can i fix $ ./mysqladmin -u root -p ‘ ?
mysqladmin: connect to server at ‘localhost’ failed error:
mysqlerror access denied for user rootlocalhost using password yes
chandra_tech
To fix the “error access denied for user ‘root’@’localhost’ ” we need to check and verify the root password.
root@localhost access denied errors need to reset of root password.Please do follow the below steps to solve :
1.stop mysql
2.start mysql safe :
3.connect to mysql
4.change the password
5.stop mysql
6.start mysql