How to workaround the «mysql_upgrade» freeze error?

I have encountered this error with Cygwin.
To workaround this error just run the mysql_upgrade in anover console program: cmd or Git Bash.