tk0miya / testing.postgresql

Apache License 2.0
290 stars 46 forks source link

Why can't I perform engine.connect() operation ? #31

Closed ashukid closed 5 years ago

ashukid commented 5 years ago

I tried using this for testing posgresql database. The engine creating part is working fine and I can execute commands directly using engine.execute().

But when I try using - conn = engine.connect() I get the error - terminating connection due to administrator command

Screenshot from 2019-07-03 18-51-44

ashukid commented 5 years ago

Actually it's working, since I'm not closing the connection manually, the library does it automatically at the end and that's throwing the error.