I encountered the same issue. To resolve it, I deleted my database and recreated it with the same name, which worked perfectly. It's important to note that my database did not contain any sensitive information, so deleting and recreating it was a feasible solution in my case.