How to fix the «Could not increase number of max_open_files to more than 1024» MySQL issue?

The full solution for Ubuntu 20.