So I have been following the instructions

(https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04)

for installing myphpadmin and after completing the last step I tried to launch the url with:
http://your_domain_or_IP/phpmyadmin

All I got was a 404 error. When I tried to go back into PuTTY to find out what was wrong. This is when mysql started returning

ERROR 1045 (28000): Access denied for user ‘user’@'localhost’ (using password: NO)

I can get into mysql with “mysql -u root -p” and there don’t seem to be any issues once I am in there.
I am incredibly new to this so I apologize if I am not providing some important information.
My end goal is to upload an html file to the url I have. I have done all of the tutorials for apache, python, pip.

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.

×
1 answer

Hi there @jacobalanbaker,

I could suggest checking your Apache error logs for some more information.

You can take a look at this article here on how to troubleshoot common Apache problems:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-apache-issues-on-linux-server

The 404 could mean that the installation did not go through successfully, did you get any errors during the PHPmyAdmin installation process?

When you visit the /phpmyadmin page do you get the default Apache 404 page?

Another thing that I could suggest is rather than installing PHPmyAdmin via apt is to install it manually, as that you have better control over the version that is installed and the location of the installation as well:

https://www.digitalocean.com/community/questions/how-to-install-manually-phpmyadmin-on-ubuntu

Regards,
Bobby

Submit an Answer