Steps to reproduce the issue. 1. Create dsn file 3. Run below commands %config SqlMagic.dsn_filename='./dsn.ini' %sql –section [DB_CONFIG_1] I get below error instead of connecting to db "Environment variable $DATABASE_URL not set, and no connect string given."