Some bugfixes for mySQL strict-mode during installation.