change "Initial Catalog" to "Database"
auto change
add queryForDeviceGroup and two thread to query device status and group