Strapi run develop gives frequent server error, plus: getting "an error occured" message when trying to save changes in admin panel and strapi goes into endless load mode

Your database is either killing the connection or your database is taking far too long to respond.