Vladimir Lebedev
Vladimir Lebedev

Reputation: 115

mysql command freezing in windows console

When xampp's MySQL is stopped. I am typing this in git bash console, I am receiving this error.

    $ mysql -v
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061 "Unknown error")

And when it is on, console just freezing. Don't know what to do. Xammp installation is fresh and MySQL added to the PATH. Previously all commands works in ubuntu, there was no problem at all.

Upvotes: 1

Views: 1766

Answers (2)

Preston
Preston

Reputation: 11

Needs to be mysql -V (capital V)

Upvotes: 1

jomofrodo
jomofrodo

Reputation: 1149

Git bash doing the same thing to me. Powershell is working better.

Upvotes: 1

Related Questions