This database doesn't have any tables. - MySQL

My Tables used to show up int he data viewer and when creating questions. But after a Metabase update or adding new tables (not sure which one) it seems the tables disappeared from the view and tables in the database are not selectable in new questions.

I have many other questions already created from that database and they are all still activley working and refreshing with new data. I have also made several new SQL charts, so i can query the database just fine, but I can't create new questions without mysql.

I was thinking to reconnect the db, but I really can't have these Metabase tables go down as they are connected to other apps that users are actively using all day.

I thought to roll back a version of Metabase, but wanted to check here before doing these things.

I have tried creating new users, different browsers, syncing schema, etc...

The connection to an external MySQL db is the problem here.

{
"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/120.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.22+7",
"java.vendor": "Eclipse Adoptium",
"java.vendor.url": "https://adoptium.net/",
"java.version": "11.0.22",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "11.0.22+7",
"os.name": "Linux",
"os.version": "5.15.0-91-generic",
"user.language": "en",
"user.timezone": "GMT"
},
"metabase-info": {
"databases": [
"mysql",
"h2"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "15.5 (Debian 15.5-1.pgdg120+1)"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.6.0"
}
},
"run-mode": "prod",
"version": {
"date": "2024-01-29",
"tag": "v0.48.4",
"hash": "62145b0"
},
"settings": {
"report-timezone": null
}
}
}

Here are the logs after running sync and rescan

I'm having the same issue. Are you also using Cloudron and hosting with DigitalOcean?

Same error for me. In my case, it a Mysql RDS, I conenct through SSL with the RDS certifiacate, an Metabase it's in my local environment with a Postgresql (not h2 database). Logs doesn't show any error.

{
"browser-info": {
"language": "es-ES",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "Java(TM) SE Runtime Environment",
"java.runtime.version": "18.0.2.1+1-1",
"java.vendor": "Oracle Corporation",
"java.vendor.url": "https://java.oracle.com/",
"java.version": "18.0.2.1",
"java.vm.name": "Java HotSpot(TM) 64-Bit Server VM",
"java.vm.version": "18.0.2.1+1-1",
"os.name": "Windows 11",
"os.version": "10.0",
"user.language": "es",
"user.timezone": "Europe/Madrid"
},
"metabase-info": {
"databases": [
"h2",
"mysql"
],
"hosting-env": "unknown",
"application-database": "postgres",
"application-database-details": {
"database": {
"name": "PostgreSQL",
"version": "16.1"
},
"jdbc-driver": {
"name": "PostgreSQL JDBC Driver",
"version": "42.6.0"
}
},
"run-mode": "prod",
"version": {
"date": "2024-01-29",
"tag": "v0.48.4",
"hash": "62145b0"
},
"settings": {
"report-timezone": null
}
}
}

Yes using Digital Ocean, not sure about Cloudron

I've logged a bug in GitHub (metabase/metabase) - Newly added MySQL DB tables not showing up, but old ones do show up · Issue #38499 · metabase/metabase · GitHub