### If use MySQL as datasource:
spring.datasource.platform=mysql
### Count of DB:
db.num=1
### Connect URL of DB:
db.url.0=jdbc:mysql://127.0.0.1:3306/nacos_config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.user=root
db.password=root
First add the nacos_config library in mysql, and then execute sql to create the table structure. Add configuration to application.properties.
I use mysql 5.7, nacos1.1.4, just copy it, it may be different from the latest configuration. This version is no problem with mysq 5.5.68-MariaDB .
It should be noted that the lower version does not support mysql8, and the higher version, above 1.3.1. 1.1.4 version does not work, tried it.