diff options
Diffstat (limited to 'plugins/check_mysql.c')
| -rw-r--r-- | plugins/check_mysql.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c index b70e0e22..eee32e71 100644 --- a/plugins/check_mysql.c +++ b/plugins/check_mysql.c | |||
| @@ -121,6 +121,8 @@ int main(int argc, char **argv) { | |||
| 121 | 121 | ||
| 122 | mp_check overall = mp_check_init(); | 122 | mp_check overall = mp_check_init(); |
| 123 | 123 | ||
| 124 | mp_set_ok_summary(&overall, "Mariadb/MySQL seems to be ok"); | ||
| 125 | |||
| 124 | mp_subcheck sc_connection = mp_subcheck_init(); | 126 | mp_subcheck sc_connection = mp_subcheck_init(); |
| 125 | /* establish a connection to the server and check for errors */ | 127 | /* establish a connection to the server and check for errors */ |
| 126 | if (!mysql_real_connect(&mysql, config.db_host, config.db_user, config.db_pass, config.db, | 128 | if (!mysql_real_connect(&mysql, config.db_host, config.db_user, config.db_pass, config.db, |
