Clear cache before using db with command, add real error output.