database class handler autoconnect error