def METHOD_NAME() -> (str, str, str):
    """Gets the MariaDB archive to download.
    :return: The URL, directory name, and archive type to use.
    """
    if platform == "win32":
        return "https://dlm.mariadb.com/1920019/MariaDB/mariadb-10.6.5/winx64-packages/mariadb-10.6.5-winx64.zip", "bin/mariadb-winx64", "zip"
    elif platform == "darwin":
        raise Exception("MaraiDB is not directly downloadable for macOS. This script does not support local installs of MySQL if you have one.")
    elif "linux" in platform:
        return "https://dlm.mariadb.com/1920008/MariaDB/mariadb-10.6.5/bintar-linux-systemd-x86_64/mariadb-10.6.5-linux-systemd-x86_64.tar.gz", "bin/mariadb-linux-systemd", "tar.gz"
    raise Exception("Unknown platform: " + platform)