On my main form when my program opens I have some labels as flags to indicate if there is a good connection to a couple of PLC’s. I did this by creating tags to diagnostics/is connected in the gateway.
Am I able to grab the database status flag in the gateway somehow to indicate a good connection to the database?
Those tags works for me if I stop and start the MySQL service.
Unfortunately they don’t if I drop the schema: in this case i still get a “valid” connection from the gateway and a connection “Available” from the tag.
In the Database Query Browser i still see the connection available with no table inside.
Running version 7.6.2
I just tested this in 7.6.4-rc1 and it works fine using the method that Travis suggested. Unfortunately I don't have an installation of 7.6.2 to test with. But I was able to stop the MySQL service and the boolean for available cleared. Can you test this again?