How to solve Ubuntu 22.04 potential custom configuration file issue with Local

Hi there!

Issue:
This tip is for Ubuntu users. Today, after upgrading to Ubuntu 22.04 LTS Local stopped creating or importing sites.

Cause:
During the upgrade I didn’t pay attention and just clicked YES to everything. Ubuntu 22.04 replaced all the configuration files including the MySQL files. Ooops!

Solution:
-Remove MySQL server completely. Please follow the steps here

-Install MySQL. Please follow the steps here

Sorry if this is common knowledge, but I thought I’d share it for non-tech savvy people who use Ubuntu and face this issue.

Thanks!