Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

unfortunately I deleted mysql user and now I can't access mysql I tried MySQL - ERROR 1045 - Access denied But it is not proper for me because I don't have any user for mysql even I uninstalled and install the mysql but I can't access mysql what should I do? I wanted to have phpmyadmin without login and I ruined the whole

share|improve this question

migrated from Aug 15 '12 at 8:43

This question came from our site for professional and enthusiast programmers.

Why would you do that? I think you're basically screwed and have to re-install MySQL. –  ratbum Aug 13 '12 at 11:54
I reinstalled the whole it is in linux but I really don't know why still I can't access the mysql –  Negin Nicki Aug 13 '12 at 11:54
You really should read the documentation next time before trying… –  feeela Aug 13 '12 at 11:56
You can reset the root user with these steps. –  Fluffeh Aug 13 '12 at 11:57
thanks but it is for reseting the password not the user I don't have any user to reset it –  Negin Nicki Aug 13 '12 at 12:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.