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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s