Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 stackoverflow.com Nov 23 '10 at 15:28

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

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

 
discard

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