GitHub下载压缩包
解压目录(注意不要用中文路径)


在mysql先创建数据库nacos,再执行sql脚本

配置数据库

#*************** Config Module Related Configurations ***************#
### If use MySQL as datasource:
### Deprecated configuration property, it is recommended to use `spring.sql.init.platform` replaced.
# spring.datasource.platform=mysql
spring.sql.init.platform=mysql
### Count of DB:
db.num=1
### Connect URL of DB:
db.url.0=jdbc:mysql://127.0.0.1:3306/nacos?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC
db.user.0=root
db.password.0=123456
### Connection pool configuration: hikariCP
db.pool.config.connectionTimeout=30000
db.pool.config.validationTimeout=10000
db.pool.config.maximumPoolSize=20
db.pool.config.minimumIdle=2

打开/bin 目录, 打开cmd
执行
./startup.cmd -m standalone

一定要加 -m standalone 单机模式启动, 否则默认是集群启动会报异常无法启动
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is
org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat at
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:165)
启动成功







![[Unity] ShaderGraph动态修改Keyword Enum,实现不同效果一键切换](https://i-blog.csdnimg.cn/direct/7a903fa1a90a49b4866069b089db6f4f.png)












