我先前在 这里 提出了这个问题。
在安装 2.6.0-rc.1 之后,网站依然显示“拒绝连接”。
我该如何解决此问题?
下面是 log 的一段:
2023-05-30T11:26:42.730+08:00 INFO 7 --- [main] run.halo.app.Application : Starting Application v2.6.0-rc.1 using Java 17.0.7 with PID 7 (/application/BOOT-INF/classes started by root in /application)
2023-05-30T11:26:42.762+08:00 INFO 7 --- [main] run.halo.app.Application : No active profile set, falling back to 1 default profile: "default"
2023-05-30T11:26:45.715+08:00 INFO 7 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2023-05-30T11:26:45.719+08:00 INFO 7 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data R2DBC repositories in DEFAULT mode.
2023-05-30T11:26:46.043+08:00 INFO 7 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 301 ms. Found 1 R2DBC repository interfaces.
2023-05-30T11:26:47.554+08:00 INFO 7 --- [main] c.g.j.r.m.MysqlConnectionFactoryProvider : set jasync.mysql.CLIENT_FOUND_ROWS=true
2023-05-30T11:26:47.685+08:00 INFO 7 --- [main] c.github.jasync.sql.db.util.NettyUtils : jasync available transport - native (epoll)
2023-05-30T11:26:49.836+08:00 INFO 7 --- [main] org.pf4j.DefaultPluginStatusProvider : Enabled plugins: []
2023-05-30T11:26:49.839+08:00 INFO 7 --- [main] org.pf4j.DefaultPluginStatusProvider : Disabled plugins: []
2023-05-30T11:26:49.845+08:00 INFO 7 --- [main] org.pf4j.DefaultPluginManager : PF4J version 3.9.0 in 'deployment' mode
2023-05-30T11:26:52.263+08:00 INFO 7 --- [main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 5 endpoint(s) beneath base path '/actuator'
2023-05-30T11:26:52.980+08:00 ERROR 7 --- [db-sql-netty-thread-2] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-1> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.018+08:00 ERROR 7 --- [db-sql-netty-thread-4] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-2> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.023+08:00 WARN 7 --- [main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'r2dbcScriptDatabaseInitializer' defined in class path resource [org/springframework/boot/autoconfigure/sql/init/R2dbcInitializationConfiguration.class]: Failed to execute database script
2023-05-30T11:26:53.026+08:00 INFO 7 --- [main] r.h.a.e.c.DefaultControllerManager : Shutting down 0 controllers...
2023-05-30T11:26:53.027+08:00 INFO 7 --- [main] r.h.a.e.c.DefaultControllerManager : Shutdown 0 controllers.
2023-05-30T11:26:53.028+08:00 INFO 7 --- [main] r.h.a.e.controller.DefaultController : Disposing controller garbage-collector-controller
2023-05-30T11:26:53.029+08:00 INFO 7 --- [main] r.h.a.e.controller.DefaultController : Controller garbage-collector-controller is disposed
2023-05-30T11:26:53.081+08:00 INFO 7 --- [main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2023-05-30T11:26:53.085+08:00 ERROR 7 --- [db-sql-netty-thread-4] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-4> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.087+08:00 ERROR 7 --- [db-sql-netty-thread-4] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-6> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.090+08:00 ERROR 7 --- [db-sql-netty-thread-4] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-8> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.092+08:00 ERROR 7 --- [db-sql-netty-thread-2] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-3> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.093+08:00 ERROR 7 --- [db-sql-netty-thread-2] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-5> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.094+08:00 ERROR 7 --- [db-sql-netty-thread-4] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-10> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.095+08:00 ERROR 7 --- [db-sql-netty-thread-2] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-7> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.096+08:00 ERROR 7 --- [db-sql-netty-thread-2] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-9> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.098+08:00 ERROR 7 --- [db-sql-netty-thread-2] c.g.jasync.sql.db.mysql.MySQLConnection : <mysql-connection-11> Received an error message -> ErrorMessage(errorCode=1049, sqlState=#42000, errorMessage=Unknown database 'halo')
2023-05-30T11:26:53.115+08:00 ERROR 7 --- [main] o.s.boot.SpringApplication : Application run failed