使用1panel升级metabase版本后无法链接数据库服务

我今天使用1panel升级了metabase的版本,结果在容器启动的时候打不开了。日志复制到ai显示无法连接数据库,可是我的数据库没有动过,用的mysql8,然后我使用备份恢复,也没能成功链接数据库 ,这是哪里有问题呢? at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:12)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:2083)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Caused by: java.sql.SQLNonTransientConnectionException: Socket fail to connect to host:mysql8, port:3307. Connection refused
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.createException(ExceptionFactory.java:73)
at org.mariadb.jdbc.internal.util.exceptions.ExceptionFactory.create(ExceptionFactory.java:188)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.createSocket(AbstractConnectProtocol.java:265)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.createConnection(AbstractConnectProtocol.java:537)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1390)
… 13 more
Caused by: java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.createSocket(AbstractConnectProtocol.java:257)
… 15 more
2025-12-12 06:03:01,365 INFO core.core :: Metabase Shutting Down …
2025-12-12 06:03:01,366 INFO server.instance :: Shutting Down Embedded Jetty Webserver
2025-12-12 06:03:01,387 INFO analytics.prometheus :: Prometheus web-server shut down
2025-12-12 06:03:01,395 INFO notification.send :: Shutting down notification dispatchers… {mb-dispatcher-count=2}
2025-12-12 06:03:01,406 INFO notification.send :: Starting notification thread pool with 3 threads {mb-dispatcher-count=2}
2025-12-12 06:03:01,409 INFO notification.send :: Gracefully shutting down notification dispatcher with 0 pending notifications to process {mb-dispatcher-count=2}
2025-12-12 06:03:02,411 INFO notification.send :: Notification worker shut down successfully {mb-dispatcher-count=2}
2025-12-12 06:03:02,413 INFO notification.send :: Starting notification thread pool with 5 threads {mb-dispatcher-count=2}
2025-12-12 06:03:02,416 INFO notification.send :: Gracefully shutting down notification dispatcher with 0 pending notifications to process {mb-dispatcher-count=2}
2025-12-12 06:03:03,417 INFO notification.send :: Notification worker shut down successfully {mb-dispatcher-count=2}
2025-12-12 06:03:03,417 INFO notification.send :: All notification workers shut down successfully {mb-dispatcher-count=2}
2025-12-12 06:03:03,421 WARN app-db.liquibase :: ()
2025-12-12 06:03:03,422 INFO core.core :: Metabase Shutdown COMPLETE
Warning: environ value jdk-21.0.9+10 for key :java-version has been overwritten with 21.0.9
2025-12-12 06:03:13,460 INFO metabase.util :: Maximum memory available to JVM: 17.7 GB
2025-12-12 06:03:17,554 INFO util.encryption :: Saved credentials encryption is DISABLED for this Metabase instance. :unlock:
For more information, see https://metabase.com/docs/latest/operations-guide/encrypting-database-details-at-rest.html

我尝试用1panel商店新建一个metabase服务,也失败了

显示已启动。但是根本进不去 连不上数据库 但是我用数据库管理软件是能链接到它所需要的mysql数据库的

而且实际上,我新建的应用所需的新的数据库在mysql中已经建立了 就是有这个分库了 但是这个库里面一张表都没有



没人吗,每次都是卡在这里 显示链接不上数据库 但是我的mysql数据库也是通过1panel安装的啊,应该没问题才对