Home > Back-end >  Mysql after mysql - proxy agent by Spring configuration data source connection is not on the databas
Mysql after mysql - proxy agent by Spring configuration data source connection is not on the databas

Time:12-16

After various configuration, set up a separate mysql - proxy, speaking, reading and writing service, but at the time of data source connection through the spring configuration has been card at the time of loading cannot be started, log stuck place is as follows:
 2017-12-14 14:35:19, 226 [RMI TCP Connection (3) - 127.0.0.1] [org. Apache. Ibatis. IO. ResolverUtil] - [the DEBUG]. Checking to see if the class com geekfaith. Entity. The User matches the criteria [is assignable to Object] 
The 2017-12-14 14:35:19, 228 [RMI TCP Connection (3) - 127.0.0.1] [org. Apache. Ibatis. IO. ResolverUtil] - [the DEBUG] Checking to see if the class com. Geekfaith. Entity. UserOperation matches the criteria [is assignable to Object]
The 2017-12-14 14:35:19, 229 [RMI TCP Connection (3) - 127.0.0.1] [org. Apache. Ibatis. IO. ResolverUtil] - [the DEBUG] Checking to see if the class com. Geekfaith. Entity. UserOperationType matches the criteria [is assignable to Object]
The 2017-12-14 14:35:19, 231 [RMI TCP Connection (3) - 127.0.0.1] [org. Mybatis. Spring. SqlSessionFactoryBean] - [the DEBUG] Scanned package: 'com. Geekfaith. The entity' for aliases
The 2017-12-14 14:35:19, 231 [RMI TCP Connection (3) - 127.0.0.1] [org. Mybatis. Spring. SqlSessionFactoryBean] - [the DEBUG] Registered the plugin: 'com. Baomidou. Mybatisplus. Plugins. CachePaginationInterceptor @ 6 ce0a0d0'
Thu Dec 14 14:35:19 CST 2017 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
14 - Dec - 2017 14:35:22. 244 INFO] [localhost - startStop - 1 org. Apache. Catalina. Startup. HostConfig. DeployDirectory Deploying web application directory D: \ Java \ apache tomcat -- 8.0.28 \ webapps \ manager
14 - Dec - 2017 14:35:22. 349 INFO] [localhost - startStop - 1 org. Apache. Catalina. Startup. HostConfig. DeployDirectory Deployment of a web application directory D: \ Java \ apache tomcat -- 8.0.28 \ webapps \ manager has finished in 103 ms

Various online looking for but could not find don't know what the reason, it is my data and configuration file content
 JDBC. Driver=com. Mysql.. JDBC driver 
The JDBC url=JDBC: mysql://192.168.1.162:4040/blog? CharacterEncoding=utf-8
JDBC. Username=root
JDBC. Password=root

 & lt; ! - the database connection pool - & gt; 
The init method="init" destroy - method="close" & gt;

CodePudding user response:

To solve, I met the same problem
  • Related