Currently, you can delete any object in the dependency chain without any issue, as long as you do it in the correct order. 😄
Host -> (DB/User) -> Grant
Deleting from right to left works fine, it for example DB is deleted, the grant will be broken because it can't find the referenced Database anymore. This is not an ideal scenario.
The suggestion is to check if something depends on DB/User/Host before allowing to delete.
Currently, you can delete any object in the dependency chain without any issue, as long as you do it in the correct order. 😄
Deleting from right to left works fine, it for example DB is deleted, the grant will be broken because it can't find the referenced Database anymore. This is not an ideal scenario.
The suggestion is to check if something depends on DB/User/Host before allowing to delete.