Closed Axelfoley85 closed 1 year ago
After running this role with mostly default parameters, remote access was still blocked. After commenting both lines manually in /etc/mysql/mysql.conf.d/mysqld.cnf I was finally able to access from remote to my database.
/etc/mysql/mysql.conf.d/mysqld.cnf
root@db01 ~# grep -r "bind" /etc/mysql/ /etc/mysql/my.cnf:bind-address = 0.0.0.0 /etc/mysql/mysql.conf.d/mysqld.cnf:bind-address = 127.0.0.1 /etc/mysql/mysql.conf.d/mysqld.cnf:mysqlx-bind-address = 127.0.0.1
After running this role with mostly default parameters, remote access was still blocked. After commenting both lines manually in
/etc/mysql/mysql.conf.d/mysqld.cnf
I was finally able to access from remote to my database.