Downgrade MariaDB version 10.5 -> 10.4

Hi. I did downgrade from 10.5 to 10.4(remove the newest and install the older version). In ssh I can connect to Mysql, it’s fine. But looks like in GUI it still displays the old Mysql data(users/databases) which are absent in the older version. How can I fix that? I would like to see the correct data in Hestia GUI. When I trying to re-save data or create a new user/database it displays - Error: Connection to localhost failed

It also doesn’t allow connection to Phpmyadmin.

Could you please advise the correct way to resolve it? Thanks