I seem to have locked myself out of my admin section while working on hardening my website. The last task I ran was to change the database prefix... apparently that failed, because upon reload of the site, it acted like a new install, which I recognized as being a problem with wp-config.php, which, when I check it, had not been updated with the new prefix. I manually updated it, and then the site was loading, so I thought I was done, but now when I try to go to wp-admin I get a permission denied error that says "Sorry, you are not allowed to access this page."
I checked the wp-admin folder for a .htaccess, nothing. I also checked the folder permissions, and they were fine. I did try renaming wp-defender in wp-content/plugins to see if the plugin would deactivate itself, but that does not seem to have helped.
Any ideas? Thanks in advance!