Cant connect to mysql server on localhost 10061 after installation

728    Asked by CarolBower in SQL Server , Asked on Apr 19, 2021

I have installed MySql using mysql-installer-5.5.20.0msi on Windows


and in command prompt i have tried to run "mysqlshow -u root -p"


and when i entered password its showing an error


 "Can't connect to MySQL server on 'localhost' (10061)"

Answered by Carol Bower
Try the following steps:

c:mysqlin>mysqld --install
c:mysqlin>mysqld --initialize
and click on
 "Windows key + R" type "services.msc", run as admin
This will resolve installation error “can t connect to mysql server on localhost 10061”.

Your Answer

Interviews

Parent Categories