Relative Content

Tag Archive for pythonmysqlubuntusqlalchemy

Unable to connect to MySQL database through one Jupyter Notebook, but can connect through another notebook

I’m trying to script a process wherein I scrape data from a website and store it in a MySQL DB table. I was facing some configuration issues so I copied the MySQL connectivity segment into a separate Jupyter Notebook and tested the connection. After debugging, it worked out perfectly in this notebook. I then proceeded to integrate this solution into the original Jupyter Notebook, but whenever I run the script, it throws an error.