NOTICE: Your database requires updates to work with this version of Metabase.

Hello, first of all, I apologize for my level of English.

Metabase v0.31.2
MySQL 5.7.38

I have a problem trying to run:
java -DMB_DB_TYPE=mysql -DMB_DB_CONNECTION_URI="jdbc:mysql://localhost:3306/mebase?user=user&password=password&useSSL=false" -jar metabase.jar

I get the following error message:

07-18 21:50:12 INFO metabase.core :: Setting up and migrating Metabase DB. Please sit tight, this may take a minute...
07-18 21:50:12 INFO metabase.db :: Verifying mysql Database Connection ...
07-18 21:50:13 INFO metabase.db :: Verify Database Connection ... ?
07-18 21:50:13 INFO metabase.db :: Running Database Migrations...
07-18 21:50:13 INFO metabase.db :: Setting up Liquibase...
07-18 21:50:13 INFO metabase.db :: Liquibase is ready.
-- ************************************************ *********************
-- Update Database Script
-- ************************************************ *********************
-- Change Log: liquibase.yaml
-- Ran at: 7/18/22 9:50 PM
-- Against: aalvarez@localhost@jdbc:mysql://localhost:3306/metabase?type=%3Amysql&useSSL=false
-- Liquidbase version: 3.6.2
-- ************************************************ *********************

--Lock Database
UPDATE metabase.DATABASECHANGELOGLOCK SET LOCKED = 1, LOCKEDBY = 'srv-mebase (', LOCKGRANTED = '2022-07-18 21:50:13.417' WHERE ID = 1 AND LOCKED = 0;

--Release Database Lock

07-18 21:50:14 INFO metabase.db :: Database Upgrade Required

NOTICE: Your database requires updates to work with this version of Metabase. Please execute the following sql commands on your database before proceeding.


Once your database is updated try running the application again.

07-18 21:50:14 ERROR metabase.core :: Metabase Initialization FAILED
java.lang.Exception: Database requires manual upgrade.
at metabase.db$print_migrations_and_quit_BANG_.invokeStatic(db.clj:421)
at metabase.db$print_migrations_and_quit_BANG_.invoke(db.clj:416)
at metabase.db$run_schema_migrations_BANG_.invokeStatic(db.clj:448)
at metabase.db$run_schema_migrations_BANG_.invoke(db.clj:429)
at metabase.db$setup_db_BANG_.invokeStatic(db.clj:465)
at metabase.db$setup_db_BANG_.doInvoke(db.clj:458)
at clojure.lang.RestFn.invoke(
at metabase.core$init_BANG_.invokeStatic(core.clj:162)
at metabase.core$init_BANG_.invoke(core.clj:139)
at metabase.core$start_normally.invokeStatic(core.clj:246)
at metabase.core$start_normally.invoke(core.clj:240)
at metabase.core$_main.invokeStatic(core.clj:266)
at metabase.core$_main.doInvoke(core.clj:261)
at clojure.lang.RestFn.invoke(
at clojure.lang.AFn.applyToHelper(
at clojure.lang.RestFn.applyTo(
at metabase.core.main(Unknown Source)
07-18 21:50:14 INFO metabase.core :: Metabase Shutting Down ...
07-18 21:50:14 INFO metabase.core :: Metabase Shutdown COMPLETE

I don't understand what I have to do to start the service :somnoliento:

Please help.

You should only see this if you set MB_DB_AUTOMIGRATE=false. See for more info.

Metabase v0.43.4 is the latest version too -- v0.31.2 is almost 4 years old at this point. It hasn't been supported for years and is missing critical security fixes. Why are you trying to run such an old version?