Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Mysql loses its root password

I am sure i have mysql server installed on localhost with ubuntu with root user and required password. I have continued my daily developing job and suddenly password for root is no more required? Somehow, suddenly. I am aware that I did not change any settings related to mysql.

share|improve this question

marked as duplicate by Michael Hampton, MikeyB, rnxrx, mulaz, HopelessN00b Oct 6 '12 at 23:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
and i see now, i am not onlyone serverfault.com/questions/283549/mysql-loses-its-root-password/… –  Jakub Kuchar Sep 30 '12 at 9:42
    
You do realize you just said that you are posting a question that has already been asked. This is not allowed. –  Lucas Kauffman Sep 30 '12 at 9:55
    
I bet I just have encountered security issue related to Ruby On Rails framework. Sorry for any inconvenience. I have located steps which lead to password lost. Report was submitted to core team. I will be back, once this security bug is confirmed. –  Jakub Kuchar Sep 30 '12 at 14:53

1 Answer 1

You are aware that the root password can be saved in ~/my.cnf which would bypass the requirement to enter a root password on the command line.

Similarly, if you were so inclined, you can have phpmyadmin auto login without a password as any user too.

You may not have made these changes but perhaps another developer using the same machine did.

Passwords don't just 'reset' themselves without user intervention.

share|improve this answer
    
I bet I just have encountered security issue related to Ruby On Rails framework. Sorry for any inconvenience. I have located steps which lead to password lost. Report was submitted to core team. I will be back, once this security bug is confirmed. –  Jakub Kuchar Sep 30 '12 at 14:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.