private function DBConnectComand()
    {
        /*
        * Check Database Connection
        */
        switch ($this->DB_TYPE){
        case 'sqlite':
            $dsn = 'sqlite:'.$this->DB_DATABASE;
            $this->validateSqliteFile($this->DB_DATABASE);
            break;

        case 'pgsql':
            $dsn ='pgsql:host='.$this->DB_HOST.';dbname='.$this->DB_DATABASE.';port='.$this->DB_PORT;
            break;

        case 'sqlsrv':
            $availableDrivers = \PDO::getAvailableDrivers();
            if (in_array('dblib', $availableDrivers)) {
                $dsn = 'dblib:host='.$this->DB_HOST.$this->DB_PORT.';dbname='.$this->DB_DATABASE;
            }
            else {
                $dsn = 'sqlsrv:Server='.$this->DB_HOST.$this->DB_PORT.';Database='.$this->DB_DATABASE;
            }
            break;

        default:
            $dsn = 'mysql:host='.$this->DB_HOST.';dbname='.$this->DB_DATABASE.';port='.$this->DB_PORT;
            break;
        }

        return $dsn;
    }