After installing Apache, PHP and MySQL. When I try to start MySQL from DOS base, I found a below error message : -
E:\WebServer\mysql\bin>mysql
ERROR 2003: Can't connect to MySQL server on 'localhost' (10061)
Please help me .......
Facing database MySQL problem.
Moderator: General Moderators
Re: Facing database MySQL problem.
mysql is the client, mysqld is the "server"
Re: Facing database MySQL problem.
As jshpro2 said, mysql is the command line client, but if it can't connect to your database, perhaps the mysql server is not running. You need to either explicitly start the server (from Start menu, Run, enter msconfig, go to Services tab) or set it up to start on Windows boot.
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: Facing database MySQL problem.
Just a heads up - you can also type "services.msc" into the Run prompt to get the services menu. Also, can launch Run with Windows key + R.califdon wrote:from Start menu, Run, enter msconfig, go to Services tab
Re: Facing database MySQL problem.
Good points. I always forget those other routes, since I don't use them very often.jayshields wrote:Just a heads up - you can also type "services.msc" into the Run prompt to get the services menu. Also, can launch Run with Windows key + R.califdon wrote:from Start menu, Run, enter msconfig, go to Services tab
Re: Facing database MySQL problem.
Thanks guys.
Try start from services.msc, still can't work.
Below error msg display :-
Could not start MYSQL service on Local Computer.
ERROR 1067 : The process terminated unexpectedly.
So, what so I need to do next.
Try start from services.msc, still can't work.
Below error msg display :-
Could not start MYSQL service on Local Computer.
ERROR 1067 : The process terminated unexpectedly.
So, what so I need to do next.
Re: Facing database MySQL problem.
Un-do whatever you last did / check error logs / re-configure mysql / re-install mysql