public function createDatabase($name, $charSet = null) {
		if ($charSet === null) {
			$charSet = self::DEFAULT_CHARACTER_SET;
		}

		$stmt = StringUtils::format(self::CREATE_DB_STMT, [
			'name' => $name,
			'charSet' => $charSet
		]);

		$this->db->exec($stmt);
	}