Hello Mi app in cs50 contains from cs50 import SQL I comment and change it to import MySQLdb
How do I change to connect to my database? db = SQL("sqlite:///eval.db") # This does not work Thank you
Hello Mi app in cs50 contains from cs50 import SQL I comment and change it to import MySQLdb
How do I change to connect to my database? db = SQL("sqlite:///eval.db") # This does not work Thank you
What is the error you get?
Error in page web
Something went wrong :-(
Something went wrong while trying to load this website; please try again later.
If it is your site, you should check your logs to determine what the problem is.
What do you see in your logs? (link to logs are available on the "Web" page on PythonAnywhere)