To set the QIEService64 service to be dependent on the MySQL or MariaDB service in Windows, open a command prompt as an administrator and type this:
sc config QIEService64 depend=QIEMariad
b
To do the same in Linux, edit the systemd startup file to include this in the [Unit] section:
After=mariadb.service