Mariadb cannot connect after dist-upgrade

Thanks for reporting.

I would not recommend running sudo apt-get dist-upgrade . Instead running sudo apt-get update && sudo apt-get upgrade will update all installed packages and apply any security fixes.

This issue is being discussed: