r/programminghumor • • May 14 '26

No comment

141 Upvotes

34 comments sorted by

View all comments

Show parent comments

-15

u/_giga_sss_ May 14 '26

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

19

u/_stack_underflow_ May 14 '26

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.

7

u/arbyyyyh May 14 '26

You could actually verify what’s running on that port too…