On one PC (MySQL server was in the package from Denwer - MySQL version 5.5)
There I open mysql.exe, it immediately works. MySQL console opens On another PC, installed MySQL from the MySQL Installer Community package (the official MySQL Server installer)
On it when you open the file mysql.exe error immediately.
I tried using the command: mysql.exe -uroot -p[password] . Same error:
MySQL Server 5.5, error: ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061) .
Although the MySQL server itself works. Databases are opened, edited.
There is no experience with the MySQL console.
How to fix it?
And why in one case the console works, but not in the other?
UPD:
if you specify:mysql.exe -uroot -p[password] --host=localhost - the same thing (Eggog 2003).
What if:mysql.exe -uroot -p[password] --host=127.0.0.1 - then joins and the console opens.