I have had a WAMP setup on my winXP laptop for many years with no problems.
But about 2 months ago I installed SiteKiosk (kiosk software that creates a 'shell' around the OS) on my laptop. Afterwards my HeidiSQL software quit working:
sql error (2003) in statement #0: can't connect to mysql server on '127.0.0.1' (10061)
... so I have been using my browser-based phpmyadmin to connect/access my mysql since then.
About 2 weeks ago I uninstalled siteKiosk, but heidiSQL still wouldn't work.
.
Today I went to a client meeting at the client's office, with my laptop, to show them a new webapp. I did not connect to their wireless network. It is very common for me to demo webapps while being un-connected; I don't need to be, of course, because the webapps run on my localhost.
But today the webapp threw a php error:
Warning: mysqli::mysqli() [mysqli.mysqli]: [2002]
N o connection could be made because the target machine actively
(trying to connect via tcp://localhost:3306) in
C:\Server\htdocs\keleia.com\clients\client_prevent_deloza
\project_uDesign\php\pkg_meekrodb.php on line 177
... this is line 177:
$mysql = new mysqli($this->host, $this->user, $this->password,
$this->dbName, $this->port);
After the meeting, I came home, with my computer now connected to my home network, and the webapp worked fine. And so then I intentionally disconnected from my network, and again the webapp threw the 'not connected to mysql' error.
Any Thoughts about what is going on?