Hello everyone,
recorder.purge was not working on my database and I wanted to start over with a brand new database. Using phpMyAdmin I dropped the home assistant database. Unfortunately home assistant did not create a new one on boot but rather prefers to tell me that there is a problem
How can I make my home assistant supervised initiate a new database? I found nothing in the docs.
I take it back. It does work! I had disabled MariaDB and then restarted. But I overlooked a setting somewhere or I had to uninstall rather than just disable.
After uninstalling MariaDB and restarting, a new database was created.
Can MariaDB impact the recorder.purge? Because that was not fully purging either. That’s why I dropped via phpMyAdmin and deleted the file in the first place.
Yes, I might have deleted that entry and forgot to reboot.
Now I just need to get MariaDB back up and running. Everytime I want to use !secrets I get the error message Failed to save add-on configuration, Missing option 'logins' in root in MariaDB (core_mariadb). Got {'databases': ['homeassistant']}
It was much easier when this was all yaml and you could simply insert the yaml and reboot.