I upgraded a test installation from 1.4.7 to 1.5.1. After the upgrade I wanted to change the database server.
As soon as I run /usr/local/src/imscp-1.5.1/engine/setup/imscp-reconfigure, my MySQL root user gets deleted.
This seems a similar issue to:
MySQL root user is deleted