Installing and upgrading help

Can't login to Moodle after Git upgrade 3.5 to 3.6 "Error reading from database"