check_mysql: implement ok summary

This commit is contained in:
Lorenz Kästle 2026-06-04 23:51:37 +02:00
parent a0f9e31225
commit 92b42cb8fe

View file

@ -121,6 +121,8 @@ int main(int argc, char **argv) {
mp_check overall = mp_check_init();
mp_set_ok_summary(&overall, "Mariadb/MySQL seems to be ok");
mp_subcheck sc_connection = mp_subcheck_init();
/* establish a connection to the server and check for errors */
if (!mysql_real_connect(&mysql, config.db_host, config.db_user, config.db_pass, config.db,