Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'DEFAULT' #129

Open
ShivaliGoel opened this issue Oct 19, 2018 · 1 comment
Open

KeyError: 'DEFAULT' #129

ShivaliGoel opened this issue Oct 19, 2018 · 1 comment

Comments

@ShivaliGoel
Copy link

  • 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'

@henrymei
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants