Run the command below in the MySQL CLI.
Note:
> CREATE USER 'monty'@'localhost' IDENTIFIED BY 'some_pass';
> GRANT ALL PRIVILEGES ON *.* TO 'monty'@ 'localhost WITH GRANT OPTION;
> CREATE USER 'monty'@'%' IDENTIFIED BY 'some_pass';
> GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%' WITH GRANT OPTION;
> CREATE USER 'admin'@'localhost';
> GRANT RELOAD,PROCESS ON *.* TO 'admin'@'localhost';
> CREATE USER 'dummy'@'localhost';
Next, update the content inside '/etc/mysql/conf.d/mysql.cnf' file by setting bind-address to this value:
bind-address = 0.0.0.0