I have MySQL Server 5.5.32 running on Ubuntu 12.04. Ubuntu runs in a virtual machine. The host platform is Windows 7. How can I connect to Ubuntu MySQL from Windows?
I have done the following:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES;
Running a show grant for root; displays this:
+-------------------------------------------------------------+ | Grants for root@% | +-------------------------------------------------------------+ | GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION | +-------------------------------------------------------------+
But when I try to connect to this server from SQLYog running on Windows, I get Error 2003 Cannot connect to mysql server on '192.168.xxx.xxx' error message.
The IP channel served to SQLYog received it from ifconfig . Comes with an optional add-on.
inet addr:192.168.226.xxx Bcast:192.168.226.yyy
Is the wrong address used or are these problems provided? Please advice.
mysql virtual-machine
Rickesh john
source share