Is it possible that my code, which inserts stuff to a remote MySQL server executes the query successfully (new row appears in the remote table), but after that the network fails and the response from the server doesn’t get delivered to the script, to which it would look as if the insert failed?
Share
Yes, that’s possible. Nothing about failing to deliver the response to the client would prevent the server from successfully completing the operation, assuming of course that “autocommit” is on or the like.