I stopped a php program by ctrl-z, and bg 1 right away, but the connection seems not valid any more.
Isn't sleep supposed to restore all resources correctly?
The local state is preserved when you stop a process, but the state of remote resources obviously cannot be maintained. If the remote MySQL instance times out the connection you need to reconnect.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
6 years ago