Ubuntu 20.04 update and MSQL issues

My thinkzinc.com server was updated to 20.04 from 18.04 and the wordpress install was failing. Apparently there were issues with Mysql. I tried many things; it was so frustrating that I actually left it alone for over a week. Today I decided to try to fix the issue. So many things on the net would not work but at last I did find a solution here. If you find yourself in the same situation, try this – it might help:

$ sudo systemctl stop apparmor.service
$ sudo update-rc.d -f apparmor remove

$ sudo apt-get remove --purge mysql-server mysql-client mysql-common
$ sudo apt-get autoremove
$ sudo apt-get autoclean
$ sudo apt-get install mariadb-server

$ sudo systemctl start apparmor.service
$ sudo update-rc.d apparmor defaults

Leave a comment

Your email address will not be published. Required fields are marked *