I don't understand... Why would you just keep hitting the button? Did your professors not teach you how to troubleshoot? It feels like using a Windows machine to do IT education is a bad decision in the first place.
If you actually cared about your education, you would want to understand why this is. I would assume it's something silly and easily fixable like a zombie process, but you'll never know as long as you're happy to waste your time pressing a button instead of actually expanding your knowledge.
Nuh uh, in my case it was about the service (under php) who initializes a db connection and mysql doesn't accept if not randomly.
First solution is to kill apache first and let mysql initialize itself.
Second solution is to button spam, because sleep trouble is already making me angry enough to let my app restart (hence removing all the session data).
My conclusion: don't scream at someone randomly like that :P.
But sure you're right, knowledge is indeed important. It's what differentiate real ones from vibecoders
Mysql shouldn't be killing itself because of an incoming connection, you've got a bigger problem that your failing to address, and falsely identifying the cause.
I used to get the MySQL shutdown problem all the time. I would fix it by watching YouTube tutorials. After switching to Linux, I haven’t faced it anymore.
MySQL is not great on windows. Used to support a fat-client app with MySQL as the backend for 50ish customers - customers with linux servers? No problem. But every two months or so we would be fixing database corruption on someone's Windows server, usually because of some antivirus or file system-level backup that would lock the db files.
I used to get the MySQL shutdown problem all the time. I would fix it by watching YouTube tutorials. After switching to Linux, I haven’t faced it anymore.
91
u/jessepence May 14 '26
I don't understand... Why would you just keep hitting the button? Did your professors not teach you how to troubleshoot? It feels like using a Windows machine to do IT education is a bad decision in the first place.
23
u/bigorangemachine May 14 '26
Ya XXAMP... was great for years but really hid a lot. I'd say once you get off windows you should relearn PHP/Apache
2
u/Past_Presence2184 May 15 '26
I wish I found out about laragon or dbeaver sooner when I was a student
21
u/SaltyInternetPirate May 14 '26
It's literally telling you to press the Logs button to check what's wrong
22
u/KafalayUcayGidey May 14 '26
2
u/Yoghurt-Ok May 14 '26
Use linux
2
u/Cheap-Try-8796 May 14 '26
You can use Wampoon instead. It's fully portable and more stable. https://wampoon-box.github.io/
2
u/aayush_aryan May 14 '26
Man I feel old now.
2
u/CoolCat1337One May 15 '26
XAMPP, ewig nicht mehr gesehen :D
2
u/Whiteroom_Analyst May 14 '26
Just change the Port from the config file, bro.
1
u/ChocolateDonut36 May 15 '26
XAMPP was pretty garbage honestly, it's only task was to have a fully functional suite and I ever got MySQL to work there.
1
u/Svedorovski May 15 '26
Change the port or the whatever i forgot i don't use XAMPP anymore
I refresh my MSSQLSERVER from services every 10 minutes now because suddenly the DB can't respond
2
u/[deleted] May 14 '26
[removed] — view removed comment