ipython-sql icon indicating copy to clipboard operation
ipython-sql copied to clipboard

KeyError: 'DEFAULT'

Open ShivaliGoel opened this issue 7 years ago • 2 comments

  • mysql+pymysql://dbuser:***@localhost/mydb 1 rows affected.

I am able to connect to the database but unable to see results.

get_ipython().run_line_magic('sql', 'select 2+3') KeyError: 'DEFAULT'

ShivaliGoel avatar Oct 19 '18 20:10 ShivaliGoel

For other people who ran into this, I just configured ipython-sql to look for an accepted style enum--super weird though.

%config SqlMagic.style='NONE'

henrymei avatar Nov 14 '20 00:11 henrymei