Throw exception when not connected to any database
Do not load the config file if already loaded