2020-03-12 11:32:15.710 INFO 8672 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on DESKTOP-J90MAVN with PID 8672 (E:\workingspace\demo-space\demo\target\classes started by lyc in E:\workingspace\demo-space\demo) 2020-03-12 11:32:15.716 INFO 8672 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default 2020-03-12 11:32:16.388 INFO 8672 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. 2020-03-12 11:32:16.444 INFO 8672 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 50ms. Found 3 repository interfaces. 2020-03-12 11:32:16.641 INFO 8672 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$2208748f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2020-03-12 11:32:16.809 INFO 8672 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8085 (http) 2020-03-12 11:32:16.823 INFO 8672 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2020-03-12 11:32:16.823 INFO 8672 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.22] 2020-03-12 11:32:16.919 INFO 8672 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2020-03-12 11:32:16.919 INFO 8672 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1120 ms Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 2020-03-12 11:32:17.065 INFO 8672 --- [ main] com.alibaba.druid.pool.DruidDataSource : {dataSource-1} inited 2020-03-12 11:32:17.558 ERROR 8672 --- [eate-1119371910] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://49.234.45.101:3306/work?characterEncoding=utf8, errorCode 1045, state 28000
java.sql.SQLException: Access denied for user 'root'@'115.60.149.255' (using password: YES) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:827) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:447) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:237) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199) ~[mysql-connector-java-8.0.17.jar:8.0.17] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1558) ~[druid-1.1.10.jar:1.1.10] at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1623) ~[druid-1.1.10.jar:1.1.10] at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2468) ~[druid-1.1.10.jar:1.1.10]