Synology OpenEMR Installation "stuck" at Step 3 - : unable to connect to database as root

I don’t know anything about the specifics of your operating system but, is the root account prevented from login when not on the console? If so, you could create an additional user with root privileges and use this new user as the “root” user for the installation.