fixed a bug in experimental utils where a database results writer would be created even when one was not needed, resulting in a crash on machines with no MySQL connection installed