Question: host is not allowed to connect to this mysql server ubuntu 18.04?
Answer: This error occurs due to the default configuration the MySQL database is currently using. This configuration allows connections only from the 'root' user when coming from 'localhost' and not other IP address ranges.