Error message
Error creating bean with name 'dataSource' defined in class path resource [com/alibaba/druid/spring/boot/autoconfigure/DruidDataSourceAutoConfigure.class]: Invocation of init method failed; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsEx
solution
Check the configuration database information in the configuration file application.propertice or application.yml file;
My problem lies in the url of mysql: the port number is written wrong.
over. . .