Closed mx-tc closed 2 years ago
This appears that it [would be] fixed by #193 .
I think gh-193 was released as part of ipython-sql 0.4.1, @mx-tc @hozn could you try it? And if it works this issue can be closed
I can confirm that in ipython-sql==0.4.1 this bug is fixed and using DSN-connection is working now. Tested it with same instruction as provided with this ticket to reproduce the bug.
It seems using a DSN connection is broken. It keeps showing the following message, although database-connection is configured by DSN-file properly
I was tracking it down to magic.py:205 where a connection-string, that was received from the DSN-file and therefor stored in the variable
connect_str
won't get used.So the easy fix is to just apply following patch