Page 1 of 1
Facing database MySQL problem.
Posted: Wed Sep 17, 2008 7:47 am
by ian163
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 .......
Re: Facing database MySQL problem.
Posted: Fri Sep 19, 2008 5:30 pm
by josh
mysql is the client, mysqld is the "server"
Re: Facing database MySQL problem.
Posted: Fri Sep 19, 2008 5:53 pm
by califdon
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.
Re: Facing database MySQL problem.
Posted: Sat Sep 20, 2008 7:11 am
by jayshields
califdon wrote:from Start menu, Run, enter msconfig, go to Services tab
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.
Re: Facing database MySQL problem.
Posted: Sat Sep 20, 2008 10:55 am
by califdon
jayshields wrote:califdon wrote:from Start menu, Run, enter msconfig, go to Services tab
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.
Good points. I always forget those other routes, since I don't use them very often.
Re: Facing database MySQL problem.
Posted: Wed Oct 15, 2008 11:29 pm
by ian163
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.
Re: Facing database MySQL problem.
Posted: Thu Oct 16, 2008 8:55 am
by josh
Un-do whatever you last did / check error logs / re-configure mysql / re-install mysql