I have copied my old data to the pythonanywhere. It look ok as SQL queries from mySQL console work. Python script is failing. My Hostname is ABB.mysql.pythonanywhere-services.com in Python This is what is set for MYSQLHOST=' ABB.mysql.pythonanywhere-services.com' The database name is ABB$default
Python MySQLdb.connect returns error
mysql_exceptions.OperationalError: (2005, "Unknown MySQL server host ' ABB.mysql.pythonanywhere-services.com' (11)")
What is wrong here?