my localhost mysql will not connect unless my laptop is connected to wireless network
Posted by: shannon shannon
Date: June 05, 2014 02:12PM

hello ... I am not sure which forum is the right one for this question ...

I have WAMP on my winxp, for many years with no problems.

about 2 months ago I installed SiteKiosk 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 just used phpmyadmin for the last couple of months)

about 2 weeks ago I uninstalled siteKiosk, but heidiSQL still wouldn't work.

Today I went to client meeting, with my laptop, to show them a new webapp. I was not connected to their wireless network (I don't need to be, because the webapp runs on my localhost). And the webapp threw a an error (php):
- "Warning: mysqli::mysqli() [mysqli.mysqli]: [2002] No 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"

line 177 is this:

$mysql = new mysqli($this->host, $this->user, $this->password, $this->dbName, $this->port);


When I came home, and my computer automagically connected to my home network, it worked fine. And so I intentionally disconnected from my network, and again the error.

- Any Thoughts about what is going on?
-- thanks, Shannon

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.