How did I fix «The detected system (debian jessie) is not supported by MySQL» on `dpkg-reconfigure mysql-apt-config` on Debian 10 (Buster)?

2023-08-07--08-46-31

Configuring mysql-apt-config
The detected system (debian jessie) is not supported by MySQL.
If you believe the platform is compatible with one of the supported systems, one of the correspondingrepositories may be selected.
Add repository to unsupported system?

I replaced «jessie» with «buster» in /etc/apt/sources.list.d/mysql.list: