I followed the tutorial, I can check the maria and mysql version, but when i try to connect to my DB with the ip adress::port. It says I can't connect as if this ip didn't exist. Is there a part missing in this tutorial ?
I have a similar issue. One ubuntu vm running a web server and another ubuntu vm hosting the database. The web server wouldn't connect to the database. I double checked all settings - everything seems fine. I researched it a bit and found out that Apparmor might be prevent the webserver from connecting to the database. Haven't figured out how to fix that still. Also check if your firewall is up or down ($ sudo ufw status) and if it's up you have to create a rule or turn it off depending on the environment your machine is running in.
I followed the tutorial, I can check the maria and mysql version, but when i try to connect to my DB with the ip adress::port. It says I can't connect as if this ip didn't exist. Is there a part missing in this tutorial ?
I have a similar issue. One ubuntu vm running a web server and another ubuntu vm hosting the database. The web server wouldn't connect to the database. I double checked all settings - everything seems fine. I researched it a bit and found out that Apparmor might be prevent the webserver from connecting to the database. Haven't figured out how to fix that still.
Also check if your firewall is up or down ($ sudo ufw status) and if it's up you have to create a rule or turn it off depending on the environment your machine is running in.