Reputation: 191
This question may be a duplicate. I searched similar question, but the solutions of those problems did not help me fix the problem.
When I open mysql cmd line It asks me for password. Anyhow i did not set password to the server during configuration. So I just hit ENTER when it asks for password(it works on my Classmates' PCs), after I do that, an error message is displayed: error 2003(HY000) Can't connect to MySQL server on 'localhost' (10061).
So I thought there must be some problem with the windows service for mysql. I found out that the service was not running, so I tried to manually start the service, When I did so I got an error message: windows could not start the mysql service on local computer Error:193: 0xc1.
What Can I do...
Upvotes: 0
Views: 5431
Reputation: 196
Check the windows service for mysql running for not.If not running start it from services as administrator. You can resolve this in a better way by starting service {mysql56} from command line as Administrator
net start mysql56
Second method
From Run type regedit and navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
Select the mysql service (mysqlxx) and check its ImagePath value data as same as path to execute
If it is not change it
Upvotes: 1