Hubert-Dudek
Databricks MVP

Problem is that it is community edition so metastore with databases didn't survive.

please try:

CREATE DATABASE IF NOT EXISTS db_name LOCATION 'dbfs:/user/hive/warehouse/db_name.db'


My blog: https://databrickster.medium.com/

View solution in original post