In NetCat, the database connection is configured in vars.inc.php file
This file is located in the root directory.
Open this file and find the following code.
'host' => 'servername',
'port' => false,
'user' => 'username',
'password' => 'password',
'database' => 'database_name',
'type' => 'mysql',