Sridhar Reddy wrote:
> The error is 2002: unable to connect to local host thru socket "\var\lib\mysoc"
> but cannot locate the mysql.sock in /tmp
> And the service is sqldb is also not working and cannot locate in services
I have experienced this error most often when the MySQL server failed to
start. There needs to be a mysqld process running, even if you are
connecting to databases locally.
Start on this page for troubleshooting tips:
<a style='text-decoration: underline;' href="http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html" target="_blank">http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html</a>
FWIW, I usually have to do some number of MySQL server restarts when I
install it on Linux.
Regards,
Bill K.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Installation and config of MYSQL