I have a raspberry that I use as a development web server. The other day I had to reinstall the OS and when I tried to reinstall everything I have some problems.
When I installed MySql I saw that I wasn't asked for a root password like the last time. I investigated a bit, and saw that I have installed MariaDB instead of MySql, and that MariaDB changed the login system with something like UNIX_SOCKET that use the root user of the system.
The problem is that when I'm trying to install phpmyadmin, I'm asked for the root password during the installation.
I've seen a lot of messages saying to disable the UNIX_SOCKET and use the old system. I put a password to the root user but during the installation it says Access denied for 'root'@'localhost' using password YES, sometimes it says NO.
What I can I do to install phpmyadmin?
I'm installing it through ssh and I tried to connecting a keyboard directly to the raspberry and it doesn't works too.