0
I am trying to connect remotely to a mysql in google cloud, but I can’t. in google I created an Ubuntu vm, last version, this is my ip,
I configured the firewall as follows:
surround the Namp -St command -The localhst, the port is open:
I’ve been trying for two days an external connection, but I always have the same mistake:
internally, per ssh, connects normally, only external connection q does not work.
You need to explain which IP the server will use, otherwise it will only listen in 127.0.0.1, in the file "my.cnf" use the parameter "bind-address", put right after the "port".
– Giovanni Nunes
should I put the internal ip? or the external one, as my external ip is not fixed, which I should put?
– alessandre martins
you need to free up external access on my.cnf. Change line
bind-address = 127.0.0.1
to#bind-address = 127.0.0.1
– Alessandro Schneider