Changed to mysqli check in install/cli_install.php

Close #1680