ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) - ubuntu

i tried all the research when i run in skip-grant-tables it logins to mysql but later it doesnt show error all the time i tried everything but still i cant find the solution is there anyone to help me out with this ?


this problem came after i install ehcp ( easy hosting cpanel)

and i removed but still

when i do sudo dpkg-reconfigure mysql-server-5.7

insserv: warning: script ‘’ missing LSB tags and overrides its gives this error. any help please

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

FWIW, I see the same error message attempting to run mysqladmin. Any suggestions out there?