At least in the latest version of Trixie for the Raspberry Pi, the instructions in the Docs (
Configuring MySQL / MariaDB - WeeWX 5.3) for installing MySQL/Mariadb support for weewx are wrong (presumably out of date). The first steps read:
sudo apt install mysql-client
sudo apt install python3-mysqldb
'The first command results in the following error message:
Package mysql-client is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
mariadb-client-compat
Error: Package 'mysql-client' has no installation candidate'
Hopefully the suggested replacement package will work with weewx - the python3-mysqldb install does run without problems after mariadb-client-compat has been installed. I am in the process of testing this, and will report back.