Permission denied in phpmyadmin

Opensuse tumbleweed, first time user opensuse after 20+ years using Linux.
I setup apache2, service starts and I can point browser to localhost and get reply.
Setup mariadb, run secure installation, and I can login at the CLI in mysql and do some operations (create database, create user, grant privileges.
Installed phpmyadmin, and I get to its login page, but when I fill in my credentials, I get “Permission denied”.
Googled and replaced “localhost” in config.inc.php by “127.0.0.1” (restarted apache) as I found on a few instances, but no result.
I must be overlooking something, but what???

Hello and welcome to the openSUSE forums.

Just a few wild suggestions.

Are the credentials correct. Of course a rather stupid remark, but it is something we can not check for you. And be aware that the administrative user of mariadb is called “the root user”, but it is not the same as the systems user root (confusing).

I am not a Tumbleweed user, but from topic here I understand that it switched from AppArmor to SELinux and that that lead to some problems (and bug reports) about permissions.

I know the root story with mariadb, I run it (apache, mariadb and phpmyadmin) on my main desktop with Mageia, so I consider this not as unknown territory.
SELinux is brandnew for me, can you give me a hint as to these permission problems??

I do not use AppArmor nor SELinux. Thus better wait for other here to post. In any case you can look for recent topics about SELinux and how to switch it off. Then you can check if switching it off helps or not.

Portal:SELinux - openSUSE Wiki

setting SELINUX=disabled in /etc/selinux/config and rebooting solved the issue for phpMyAdmin.
Note: I had to boot in recovery mode, normal mode seemed to hang, but as lo,g as I can go on, this is somthing I can live with for the moment.

In this case if you are using openSUSE packages you need to submit bug report as instructed on the wiki page.

And instead of using SELinux and the disabling it were better to switch back to AppArmor. That gives you at least some protection for system services.