Help with MariaDB Connection Timeout

I'm running Metabase locally on my Mac (Intel) and trying to connect to MariaDB that I have setup on a Raspberry Pi.

I keep getting a "Timed out after 10.0 s" error in Metabase and can't for the life of me figure out why.

I can connect from my Mac via the command line with the following command (and the connection happens instantly):

$ mariadb --host={host IP that I'd rather not share} --port={port that I'd rather not share} -u {username I'd rather not share} -p

What have I tried?

  • I tried going into the server and increasing the global connection timeout. This didn't make a difference. Not only did this not make a difference, but I got the same "Timed out after 10.0 s" error, so I would think that would indicate this is a client side issue.

Useful Info:

  • MariaDB version: Server version: 10.3.31-MariaDB-0+deb10u1 Raspbian 10
  • Diagnostic Info:
{
  "browser-info": {
    "language": "en-US",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.21+9",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.21",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.21+9",
    "os.name": "Linux",
    "os.version": "5.10.76-linuxkit",
    "user.language": "en",
    "user.timezone": "GMT"
  },
  "metabase-info": {
    "databases": [
      "h2"
    ],
    "hosting-env": "unknown",
    "application-database": "h2",
    "application-database-details": {
      "database": {
        "name": "H2",
        "version": "2.1.214 (2022-06-13)"
      },
      "jdbc-driver": {
        "name": "H2 JDBC Driver",
        "version": "2.1.214 (2022-06-13)"
      }
    },
    "run-mode": "prod",
    "version": {
      "date": "2024-01-05",
      "tag": "v0.48.2",
      "hash": "e66c075"
    },
    "settings": {
      "report-timezone": null
    }
  }
}

Any help greatly appreciated

is MariaDB open to Metabase along your mac?

also, is the firewall open?

Is MariaDB open to metabase along you mac?

What do you mean by this?

And yes the firewall is open; I can login via the command line with the same connection info