From terminal execute:
sudo mysql;
Then create user and grant privileges:
CREATE USER 'MyUser'@'%' IDENTIFIED BY 'MyPassword';
GRANT ALL PRIVILEGES ON *.* TO 'MyUser'@'%';
SELECT user, host FROM mysql.user;
After, edit the following file:
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
Replace the bind-address property with the following value:
# update with the new value
bind-address = 0.0.0.0