Recently, I saw others playing nacos, and I started to play it. However, I didn't get a good job. I failed to download github many times. Later, I downloaded it successfully with Thunder. I encountered two small pits when I started it. Record it.
The first problem: db.num is null
database problem.
Solution:
Step 1: Create a new library in local mysql: nacos, character set: utf8, collation: utf8_general_ci
Step 2: The sql script in the nacos/conf/nacos-mysql.sql file is executed to the nacos library of the local database
Step 3: Modify the configuration in nacos/conf/application.properties. The
username and password are modified to the local mysql new library: the username and password of nacos.
The second question: Unable to start embedded Tomcat
startup file configuration problem
Solution:
Step 1: Modify the directory nacos/bin/startup.cmd startup file.
Modify it as follows: