$ sudo vim /etc/my.cnf (for mysql)
$ sudo vimĀ /etc/mysql/my.cnf (for mariadb)
Find these variables, and set the value:
[mysqld] skip-grant-tables bind-address=0.0.0.0 ...
skip-grant-tables is optional, though.
$ sudo vim /etc/my.cnf (for mysql)
$ sudo vimĀ /etc/mysql/my.cnf (for mariadb)
Find these variables, and set the value:
[mysqld] skip-grant-tables bind-address=0.0.0.0 ...
skip-grant-tables is optional, though.