Open penberg opened 1 year ago
Known bug. No easy way to fix it because of the way we handle DNS and certificates. WDYT about blocking recreating a database with the same name for a while? Not the best experience, but will prevent such issues.
@athoscouto I don't like the workaround because the main reason you want to create a database with the same name is when your database gets in bad state. I found about this problem when I managed to get my database in bad state during migrations and wanted to just re-create it.
What's the complication on fixing this properly?
I did
db destroy
on a database and thendb create
with the same name, but nowdb shell
is failing to connect: