Random Project

Error in nagios Server

The script works fine on windows, but on the Nagios server it always gives “SQL CRITICAL – can’t open db *****

some help please?