I am having an error that reads InterfaceError: (InterfaceError) 2003: Can't connect to MySQL server on '<michalr.mysql.pythonanywhere-services.com>:3306' (-2 Name or service not known) None None
I am attempting to complete “A beginner’s guide to building a simple database-backed Flask website on PythonAnywhere” made by Giles. I come across this error when I am creating tables using db.create_all()
michalr.mysql.pythonanywhere-services.com is the correct database host address and I have reviewed my code, I believe it is what the tutorial asks of me.
Do you have any suggestions on where I may be going wrong?
The error is a couple hundred lines wrong almost all of it I do not understand. The interface error described above is the last line.