Metabase and MySQL/MariaDB from localhost

Again, this is a beginner's query. I still haven't been able to add a database. I tried with SQLite and failed - but that might be a Java issue. So I constructed a MariaDB database, which is now sitting on my local hard drive, in the default directory /var/lib/mysql.

But I don't know how to make it available to Metabase: what permissions I need, where it should be moved to, etc.

As a check of addresses and ports, netstat -tln includes the line

tcp        0      0  *               LISTEN

I'm not sure why the IP address is given as instead of

I'm running Metabase using docker compose, on a host running Ubuntu 20.04LTS; my home system is ArchLinux.

Another issue is that I can't get Metabase to read my plugins; whose directory I've added as a bind mount. I've put the csv.metabase-driver.jar file in the plugins directory, but I'be never seen CSV as an option in the Add Database menu.

Currently I have Metabase running, but I can't as yet do anything with it!

Many thanks,

Here's the system info:

  "browser-info": {
    "language": "en-GB",
    "platform": "Linux x86_64",
    "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36",
    "vendor": "Google Inc."
  "system-info": {
    "file.encoding": "UTF-8",
    "": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.22+7",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "",
    "java.version": "11.0.22",
    "": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.22+7",
    "": "Linux",
    "os.version": "5.4.0-37-generic",
    "user.language": "en",
    "user.timezone": "GMT"
  "metabase-info": {
    "databases": [
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "16.2 (Debian 16.2-1.pgdg120+2)"
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.7.2"
    "run-mode": "prod",
    "version": {
      "date": "2024-03-14",
      "tag": "v0.49.0",
      "hash": "46c668b"
    "settings": {
      "report-timezone": "Australia/Melbourne"

I would strongly suggest you try with these examples are they’re all canned samples of Metabase running with different databases GitHub - paoliniluis/mysql-ssh: Metabase with MySQL App DB + MySQL + MariaDB (both directly and SSH tunneled)