The most direct and effective solution to the problem that nacos1.1.4 cannot be started after mysql8.0 or above is configured!

When connecting to nacos1.1.4 to configure mysql8.0 or above, it has experienced a series of useless situations such as modifying the time zone and adding new jar packages. After an hour of BUG searching. Finally found a solution to the problem.

Don't talk nonsense, just go to the text! (It's another day to find bugs. I'm tired...)

wrong description

 

The reason for the error: the database is not connected, and the version of mysql and nacos does not match. I have
read some blogs on the Internet, and the solution is mostly to create a folder in the nacos directory and put the jdbc driver package, but it does not work for me. There
is success on the Internet, you can refer to it : Nacos1.2 perfectly solves the incompatibility problem of mysql8.0

How did I solve it:

Find the installation directory of nacos, open the application.properties file in the conf directory and modify the name to boostrap.properties
————————————————
Before modification:

After modification:

finally:

Started successfully.

Another night to find bugs, hereby record.

 

Guess you like

Origin blog.csdn.net/m0_46405589/article/details/114949818
Recommended