Question

How to allow root login to phpmyadmin while keeping rng password

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-18-04 I need to setup phpmyadmin to allow root login in my OneClick app template. However the above linked page doesn’t help, as it requires I give all new instances the same root password for phpmyadmin. This would leave the databases in the instances of the users of my app vulnerable to intrusion.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I’ve tried that, doesn’t work. Still had to use the guide I referenced, which is the only thing I’ve found that works. Edit: I thought I did at any rate. Will try again to double-check. Edit2: iirc when I tried it didn’t have that option, and did nothing when I manually added it in.

Hello, @jadianradiator

You should be able to login as the MySQL root user in phpMyAdmin unless AllowRoot is set to false in the config.inc.php

$cfg['Servers'][$i]['AllowRoot'] = FALSE;

If you want to enable the root login you need to set this to TRUE

You’re not forced to set the exact same password for each username.

Regards, Alex