如果网络电缆拔出,则更新数据库 [英] Database update if network cable unplug
问题描述
大家好,
我想更新数据库,如果拔掉网线,我就知道如何管理这个。
< b>我尝试了什么:
尝试谷歌但没有得到正确答案
Hi All,
I want to Update database if network cable is unplug , I caanot understand how to manage this .
What I have tried:
tried google but not getting proper answer
推荐答案
我猜数据库在你的网络上,服务器上。
I guess the database is on your network, on a server.
我想要更新数据库if拔掉网络电缆,我就知道如何管理这个。
I want to Update database if network cable is unplug , I caanot understand how to manage this .
简单,你没有。
您通过网线在PC和服务器之间进行通信,当您拔下电缆时,你切断了链接。没有程序可以重新插入电缆。无论如何,你的应用程序都会异常终止与服务器进行通信。
所有你可以做的就是重新插上电缆,希望应用还在等待答案,但没有超时。
Simple, you don't.
You communicate between you PC and the server by the network cables, When you unplug the cable, you cut the link. No program can replug the cable. your app will abend with a faillure to communicate with the server, no matter what.
All the things you can do is replug the cable in hope the app is still awaiting an answer and have not timed out.
这篇关于如果网络电缆拔出,则更新数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!