I am trying to get MySQL server (which is inside VM) to respond to client (which is on the host machine). All methods return same:
Host '10.0.2.2' is not allowed to connect to this MySQL server
I have ensured proper port forwardind. I also ensured, that in
my.cnf I have folowing lines:
skip-external-locking bind-address = 0.0.0.0
This did not work to me. I also tried to play a bit as folowing:
bind-address = 10.0.2.2
But this also did not work to me - server just could not start.
Any ideas, where I am wrong?
UPDATE. I did not check privilegies for
root@% as in How do I change the privileges for MySQL user that is already created?