Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
I 've put the dependency of mariadb in pom.xml and I put this on an application.properties file
I asked those questions because they are the common errors that do happen, one more silly thing that happened with me at the start was that I put my application.properties in the wrong directory.
Coming to your question again, you are using mariadb right??
And you also have the mariadb java client instead of mysql connector
The default configuration for MariaDB under Mageia may include the skip-networking directive in /etc/my.cnf. You will need to remove (or comment out) that directive if you want to connect to the database via JDBC because JDBC connections always look like "network" connections to MySQL/MariaDB, even if they are connections from localhost. (You may need to tweak the bind-address value to something like 0.0.0.0 as well.)