I managed to create a cluster with one node, but after rebooting my lxd is broken

I don’t know how, but somehow I managed to enable clustering in lxd but using the same address and port for the database as the lxd itself. After rebooting, lxd doesn’t of course start because the database is using that port.

Now, I have actually changed my mind since and don’t want to use clustering on this instance, but I’d rather not have to reinstall lxd unless absolutely necessary. It’s embarassing, but I’m doubting my backups are actually 100% - lesson learned.

I assume I can somehow edit the global database and either change the db ip and/or port it binds to? If so, how?

There is no separate IP/port for the database, it uses the main API endpoint for the DB traffic.