improved error messaging when mysqli is not available