Chronic migraine started 3 months ago non stop, around the same time I also got my new prescription eyeglasses. No medication works. Is it glasses?

Migraine/ glasses. Possible,it could be would go back to the prescriber of the glasses and discuss the issue.But may be that the problem causing the vision issue is causing the headaches as well. Check for eye pressure,also go to doctor neurologist to check for any brain issues causing headache (pituitary adenoma) ,chronic sinusitis ( usually no eye issues) or infection like lyme, chikunga, West Nile,
Very possible . pls follow up with your optometrist/opt homologist. If that is not the issue pls see your doc .