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

I have upgraded Ubuntu 9.10 to Ubuntu 10.10 but I cannot access PhpMyAdmin. How can I change the username and password for PhpMyAdmin? I urgently need to access PhpMyaAmin because my database is there. I need to upload the database onto my server but I can't access it.

The error message shown is #1045 Cannot log in to the MySQL server.

share|improve this question

migrated from Nov 23 '10 at 15:28

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

2 Answers 2

The password for phpMyAdmin is your mysql admin username and password. There are not separate login details for phpMyAdmin itself.

share|improve this answer

In Command line:>

$ mysqladmin -u root -p 'oldpassword' password newpass
share|improve this answer

Your Answer


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