bug tested mysqli functions and corrected in mainLIB of ENSserver.