Actually that was my first idea but I did not find it (I did not spend so much time for it).
I changed it properly to this:
if (!$input->getOption('no-interaction')) {
$helper = $this->getHelper('question');
$question = new ConfirmationQuestion('Continue with the conversion (y/n)? [n] ', false);
if (!$helper->ask($input, $output, $question)) {
return;
}
}
Conversion to MySQL was running fine!
Thank you