To create a grails project with MariaDB support go to the base directory for grails projects and issue the following command.
grails create-app yourProjectName
Change directory to yourProjectName and edit the build.gradle.
Include the following dependency ” runtimeOnly ‘org.mariadb.jdbc:mariadb-java-client:2.7.4′”. Save the file and issue the following command “grails compile”.
You should now be able to have access to the MariaDB drivers in Grails.
Mr. Arch Brooks, Software Engineer, Brooks Computing Systems, LLC authored this article.