I am running a local MySQL database on my Macbook, and when it works it works. But every once in awhile, it will have turned itself off. Then when I start it again, it will repeatedly stop and start itself every few seconds or so. If I stop it manually and start it again, it repeats the cycle.
How can I get it to stay on? What could be causing this? I have connected to it through Python and also use my terminal to access it, could that be causing the issue?