/** * Set the database name * * @param string $dbname */ public static function setDBname($dbname) { self::$_db_name = $dbname; self::$_dsn = null; }