MySQL databases vanished on our VPS (DigitalOcean)

Solution 1:

turns out symfony profiler has phpinfo and the .env file is loaded into it with all sensitive credentials. lesson learned, don't use dev mode on publicly available domain even if indexing is disabled.