The DISCOVER_DB parameter specifies if the database will respond to a discovery request from a client. It is recommended that this parameter be set to DISABLE. Rationale: Setting the database discovery to disabled can hide a database with sensitive data.
Solution
Connect to the Db2 database db2 => connect to <dbname> Run the following command: db2 => update database configuration using discover_db disable