public function preventNoLocalDriver($prevented = true)
    {
        if ($prevented && !array_key_exists($this->getType(), $this->connectionStrings)) {
            $this->availableDrivers[] = $this->getType();
            $this->rebuildConnectionString();
        }

        $this->preventNoLocalDriver = $prevented;
    }