IDEA INTELAJE AGREGA MYSQL CONECTOR

File->Project Structure->Libraries
Nice Newt