I want to monitor the database size of my WP site over time.
Basically I need the number that’s displayed when you check Tools > Site Health – Info tab, Directories and sizes – https://i.ibb.co/jDrYwJw/image.png
I gave up on `wp-cli`, spent too much time fixing errors relating to permissions.
My assumption is that it should be trivial to just add up all the file sizes and log them in a file.
Where are all WP database files located?