Recently I had a problem on a site that I manage after an auto update went bad. The result was that I could not sign into the WordPress side of the site at all. I searched for a while and was unable to find anything that worked, although I did figure out a workaround, but I wanted to fix it. Go-Daddy suggested that I back up the whole site, delete it all, and then start over. I have done that before, and I know that the headache of connecting the Database files can be arduous.
After coming across this site: http://www.vashistha.in/2016/12/problem-solved-upgradephpwphttpreferer2.html I read what he had there, and I am putting what helped me below here
(Some of it was not grammatically correct, and I have updated that here)
How I solved my WordPress websites update problem in 2 Minutes upgrade.php?_wp_http_referer=%2Fw...