#  Migrate from H2 to MySQL
java -DMB_DB_TYPE=mysql -DMB_DB_CONNECTION_URI="jdbc:mysql://127.0.0.1:3306/metabase?user=metabaseuser&password=ZscTZ1EqcEbOCBWV4Oru" -jar metabase.jar load-from-h2 metabase.db

# start Metabase with mysql
export MB_DB_TYPE=mysql
export MB_DB_CONNECTION_URI="jdbc:mysql://127.0.0.1:3306/metabase?user=metabaseuser&password=ZscTZ1EqcEbOCBWV4Oru"
java --add-opens java.base/java.nio=ALL-UNNAMED -jar metabase.jar
