I installed a new web2py app and tried to connect to mysql database the same way I connected my first app which worked fine. This one is not working. I get an error, in the error log I see this: ERROR:root:RuntimeError: generator ignored GeneratorExit (if I am looking at the right error msg because there are so many)
Obviously I am doing something wrong but I have no idea what. When I use the sqlite development database as I originally installed the app it works on the server with no problem but when I replace the db = DAL() connection for the mysql I have no access to the site, it's crashing
Again, the funny thing is the my first app on the server is still connected to mysql and works fine and I tried to use the exact same code to connect this new app but now it doesn't work.
What am I missing?
Originally I created a msql database when I first signed up to pythonanywhere a long time ago. That works fine. Now I created a second mysql database for my new app. Here is where I am confused. I did not set a new password for the new mysql so both databases have the same password. I tried to connect the new app to both but neither one works.
How can I get some real advise or consulting on this because I obviously don't understand how I am supposed to set this up, although I set it up easily for the first time for the first app which still works fine.