I need some help to conect my VM with my SQL. I have found instructions about how to conect both but when you have the SQL instance appart. I have installed SQL and MySQL inside the VM instance so the instructions doesn´t work for me.
I believe that what I´m missing is the network connection and I don´t know how to do it. I tried with the following code from my VM
mysql --host=[INSTANCE_IP] --user=root --password and I got a connection error.
What I´m trying to do is to install WordPress but, WP can´t find the DDBB.
Any guidance will be welcome.ound instructions to conect both but