<user-mention data-id="1185">@tejas_surve</user-mention>
I installed mariadb 10.11.3, used the same driver as <user-mention data-id="206">@Bikram</user-mention> shared.
I was able to connect to the database and see the data in sample table i had created.

make sure your data collector has access to the database. i am using dockers so i made sure my sdc docker and my mariadb docker are in the same docker network.