public static function saveConnectionParameters($bootstrap_location)
        {
            $string = "b2db:\n";
            $string .= "    driver: " . self::getDriver() . "\n";
            $string .= "    username: " . self::getUsername() . "\n";
            $string .= "    password: \"" . self::getPassword() . "\"\n";
            $string .= '    dsn: "' . self::getDSN() . "\"\n";
            $string .= "    tableprefix: '" . self::getTablePrefix() . "'\n";
            $string .= "\n";
            try {
                if (file_put_contents($bootstrap_location, $string) === false) {
                    throw new Exception('Could not save the database connection details');
                }
            } catch (\Exception $e) {
                throw $e;
            }
        }