Could you comment out the settings.database.host line and try again? The Pythonanywhere instructions for MySQL show an example for Django that has no host specified, so it seems the database can be accessed as though it is on the same machine.Did you see instructions that say the database is on a remote server?
The official host name you should use for connecting to your account's MySQL database instance has changed from mysql.server to *yourusername*.mysql.pythonanywhere-services.com.
This bypasses a part of our infrastructure that has started showing
problems in recent weeks, and it should be much more efficient and
reliable than the old way. The old hostname will continue to work, but
we strongly advise you to move over to the new one."
Thanks that fixed it.
--
You received this message because you are subscribed to a topic in the Google Groups "Sahana-Eden" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sahana-eden/wjGdwEdZK6Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sahana-eden...@googlegroups.com.
To post to this group, send email to sahan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sahana-eden/c3c3820f-bfea-40a4-a214-04433b3dff9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.