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

Closing the sql magic connection

Open psychemedia opened this issue 9 years ago • 8 comments

Is there a way of closing a sql magic initiated connection?

psychemedia avatar Nov 04 '16 13:11 psychemedia

+1

pkasinathan avatar Nov 11 '16 21:11 pkasinathan

+1

ecrooks avatar Aug 01 '17 13:08 ecrooks

+1

esegal avatar Nov 19 '17 13:11 esegal

+1

Eagles0607 avatar May 17 '18 14:05 Eagles0607

+1

misurin avatar Jun 19 '20 10:06 misurin

+1

vishal-subedi avatar Jul 30 '20 18:07 vishal-subedi

It looks like there might be code in there for this now, but I can't seem to get it to work, no matter what I tell it to close. Basic_DB2_Connection_-_Jupyter_Notebook

ecrooks avatar Feb 02 '21 14:02 ecrooks

I made a pull request (https://github.com/catherinedevlin/ipython-sql/pull/203) that should fix this.

https://github.com/catherinedevlin/ipython-sql/issues/170 mentions a similar solution.

@ecrooks , you'll be able to call %sql --close desc_key with this PR.

meihkv avatar Oct 14 '21 19:10 meihkv