I am a  newcomer to the list and fairly new at php/mysql. 

Something broke my functioning installation--win32 (XP sp2)
apache2.2/php5/mysql 5.0 running on localhost.

Two things I did that may (though I doubt it) be related: 
--rebooting to install latest MS security patch 
--placing into a working script dummy code for logging into mysql on
web host account; I thought it was commented-out, but?.

The first symptom of the problem was an  “undefined function” error on
a call to mysq from that previously working script. All scripts with
calls to mysql functions seem to be affected. 

At first, I could still access mysql from the command line. Now, I get
error 2013(HY000) “connection was lost during query.” Phpinfo() does
not indicate mysql is loaded.

I’ve studied everything and the installation seems in order: Apache &
Mysql running as services, listening on right ports. Ports are active.
Ini files all where they are supposed to be and say what they should.
Various components (dlls, eg) are where they belong. Windows
firewall “off”; Norton set to allow 3306.

I have reviewed on-line documentation and FAQ’s, and am stumped. Can
anyone help?

Thanks,

Reply via email to