I am getting strange issue with mysql server after every 2 days I am working on moodle plugin development so as normally I installed moodle in my xampp htdocs folder before 2 days I was writing my plugin and it was working fine after weekend I open my system and now mysql is not running. This happened third or fourth times. I am attaching the error
I even changed my machine to high configuration by thinking that the other machine could be out of memory etc.
So far I tried to backup the data but if I do backup then it doesn't have my moodle database everytime.
I know I should take backup time to time but problem is why this error is coming after every 2-3 days I tried running xampp as admin tried changing port etc. and tried various solution also but If I do copy from backup folder it will wipe out all my moodle database and I need to start if from scratch and Dont mark it as duplicate and I tried almost every solution but nothing working for me I even tried this one(Error: MySQL shutdown unexpectedly XAMPP)
Updated here is the actual error before doing anything which coming after every 2 daysOriginal error