v6.0 MariaDB Default Credentials

Try creating a new user with root privileges and logging into phpmyadmin with this user, and not root.

If I remember correctly this is a limitation of MariaDB i.e. root login not allowed, not DietPi.

Just found this:

http://www.unrelatedshit.com/2016/05/06/phpmyadmin-root-login-vs-mariadb/

John