I have an application that connects to a database and retrieves information from it. The way it is written is: for every request received, create a new connection to the DB server and retrieve data.
When testing, if the network cable is removed from the host, and reconnected, the application goes back to retrieving data normally. However, if the "connected" option is unchecked and rechecked to simulate a disconnection, the application cannot connect to the database again, even though all handlers etc are created for each connection.
Question: Is disconnecting the network cable from the host different than unchecking the "Connected" option in VM configuration?