Installing phpmyadmin on Ubuntu 12.04

Posted July 12, 2014 4.2k views

I’ve install digitial ocean lamp stack application

following these steps

I keep on getting this error message installing
phpmyadmin on Ubuntu 14-04

An error occurred while installing the database: │
│ │
│ ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using │
│ password: YES) │
│ │
│ If at this point you choose “retry”, you will be prompted with all the │
│ configuration questions once more and another attempt will be made at │
│ performing the operation. “retry (skip questions)” will immediately │
│ attempt the operation again, skipping all questions. If you choose │
│ “abort”, the operation will fail and you will need to downgrade, │
│ reinstall, reconfigure this package, or otherwise manually intervene to │
│ continue using it. If you choose “ignore”, the operation will continue, │
│ ignoring further errors from dbconfig-common.

Any suggestions?

Thanks for your help

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.

Submit an Answer
2 answers


cat /root/.my.cnf | tail -1 | awk -F'=' '{print $2}'

to get MySQL’s root password. Copy it and run the phpmyadmin installer again and use it when it asks you for the root password.

Is that right answer ? I have the some problems… But this answer can’t solve the problem

anyone ??