...
This error is typically caused by the fact problem that the SQL database server is not working.
...
then we should find an event similar to the one below:
If we check in the Services, then we will find that the MySQL service, MySQL(DUAL), is not running.
RESOLUTION
Restart the SQL database service and make sure it is working properly.

