Phpmyadmin databases, but not root

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.1.25 (stable)

Describe your issue

I’ve yunohost on a proxmox vm.
My installed app is moodle and phpmyadmin.
I would access to moodle mysql database but when i open phpmyadmin, it make autologin with phpmyadmin_root@localhost so i can’t view moodle databases.
i try to logout but doesn’t works.
please how can I do? Thanks

Share relevant logs or error messages

general info.

Hello @unecc

AFAIK, Moodle uses postgresql with yunohost.
Check the output of

sudo mariadb -e "SHOW DATABASES;"
sudo -u postgres psql -p 5432 -c "\l"

*port for postgresql may be different

But moodle db is empty, maybe i’ve created that db…

which db are you mentionning ?
First table returns mariadb DB (sudo mariadb -e "SHOW DATABASES;"),
Second one postgresql DB (sudo -u postgres psql -p 5432 -c "\l"

Does

sudo -u postgres psql -d moodle -c "\dt"

return noting ?

1 Like

Can you please use copy/paste what’s in the terminal instead of screenshots?

yes, right!
with sudo -u postgres psql -d moodle -c “\dt”
i can see schema of moodle db.

wrong screenshot ?

1 Like

yes i’ve closed the result. Otm thanks, maybe you are saying to me that moodle don’t use mysql but pgsql?

I am :wink:

1 Like

So thanks for your help!
pgweb app can connect to database. thanks :smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.