Ok, i see, there we have the issue.
My MariaDB only has one root user (root@%). The production MariaDB is actually a galera cluster with no local access, so no root@localhost exists. When I say I cloned the MariaDB server, I actually ment I added a galera cluster node, synced all data and then split the node from the cluster. This leaves me with a single MariaDB server, that I can use for testing.
Of course, this also leaves me with only the root@% account, which will be removed by the installer code you linked (https://github.com/i-MSCP/imsc…d/mysql/installer.pm#L770)
Summing this up leaves me with the question, whether it is a good idea to connect i-MSCP to such a database cluster. Actually, I don't want to allow i-MSCP root access to the cluster, I only do this at the moment while testing.
In your opinion, is this a good or a bad idea? Will it break many of the automatic installer or upgrade scripts?