Unable to configure phpmyadmin

I am setting up phpmyadmin for my server. But when I follow the steps of installation this gives me following error:

n error occurred while installing the database:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Also when I view phpmyadmin in browser it gives me 404 error. Anyone Please help.

Thanks.

2 Replies

Hello,

It sounds as though you're using the wrong password for your MySQL root user. Chances are, when you installed MySQL you may have used another root password than your system's root password.

Regarding the 404 error, you may not have the phpMyAdmin files symlinked to your DocumentRoot, or you may be trying to access it via HTTP when you need to be accessing it by HTTPS.

Thanks,

Dave.

Try to login to the MySQL server from the terminal. Further, you can check the webserver logs for the 404 issues.

Can you post the logs here ?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct