Nacos start error: [db-load-error]load error

created at 01-14-2022 views: 3

1 Check if it is started in cluster mode

In the startup script startup.cmd, modify MODE="standalone"

modify the MODE

2 Check the database configuration

in the configuration file conf/


Remove the comment from the database configuration. It's a very annoying thing to say, because the notepad is set to automatically wrap, I thought that the url line was released and there was no comment, so I checked it for a long time, which is really careless!

After these two steps are completed, it is basically ok, if another error occurs:

No DataSource set

It means that the database is not connected! ! !

To check the database connection and password, mine is mysql8, which is solved after authorizing the user.

  1. The last resort

If we can't find any problem, we can also adjust the log level to debug or trace, so that the log is detailed enough, and the problem can basically be located.

The log path is conf/nacos-logback.xml

created at:01-14-2022
edited at: 01-14-2022: