Access to the database by the root user is limited to the local host, so if you are installing the database on another server, you might need to make several changes to the system to get this to work. The default root password for MySQL/MariaDB is not very challenging, so host-based security is essential. You may need to modify the permissions on the database so that other hosts and users have the proper admin privileges.