By calid
I put a firewall on my site while I am in development so only one IP can access the site. Initially I couldn’t log in to phpmyadmin at all, I managed to resolve this by adding a new rule to the firewall which allowed inbound and outbound MySQL. If anyone seeing this is in a similar situation, it is worth knowing that this didn’t work automatically as I had to restart MySQL. Although MySQL not running could have been a problem from when I stopped the server and started it again.
I can now log in to phpmyadmin, only it is barely usable because the page information is glitching, some of the top row menu buttons are doubled and not in-line, and the text in the left panel where the databases are is jumbled up with overlaid duplicated text, and the text is not even of the databases. There are also no phpmyadmin logos anywhere, including the index page, or any button images whatsoever for that matter.
I say barely usable above because I was able to import a database, although I couldn’t edit it at all, and the databases are functional on the front end.
My guess is this is due to the firewall not letting in all of the information, currently I have:
All TCP | All ports | (one IP) SSH | 22 | All IPv4, All IPv6 MySQL | 3306 | All IPv4, All IPv6
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @calid,
You might have to open port 80 and 443 as PHPmyAdmin is mostlikely using Apache or Nginx. So in order to access it you need those HTTP and HTTPS ports open.
Regarding the problematic PHPmyAdmin UI, I could suggest 2 things:
https://www.digitalocean.com/community/questions/how-to-install-manually-phpmyadmin-on-ubuntu
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.